@fluid-topics/ft-tabs 1.1.8 → 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-tabs.light.js +13 -13
- package/build/ft-tabs.min.js +6 -6
- package/package.json +7 -7
package/build/ft-tabs.light.js
CHANGED
|
@@ -134,13 +134,13 @@
|
|
|
134
134
|
* Copyright 2017 Google LLC
|
|
135
135
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
136
136
|
*/
|
|
137
|
-
const I=globalThis,R=I.trustedTypes,$=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,U="$lit$",W=`lit$${(Math.random()+"").slice(9)}$`,E="?"+W,L=`<${E}>`,k=document,K=()=>k.createComment(""),Z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,D="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,A=/>/g,H=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,j=/"/g,P=/^(?:script|style|textarea|title)$/i,M=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),T=Symbol.for("lit-noChange"),
|
|
137
|
+
const I=globalThis,R=I.trustedTypes,$=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,U="$lit$",W=`lit$${(Math.random()+"").slice(9)}$`,E="?"+W,L=`<${E}>`,k=document,K=()=>k.createComment(""),Z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,D="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,A=/>/g,H=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,j=/"/g,P=/^(?:script|style|textarea|title)$/i,M=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),T=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),_=new WeakMap,V=k.createTreeWalker(k,129);function X(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==$?$.createHTML(o):o}const q=(t,o)=>{const e=t.length-1,r=[];let a,i=2===o?"<svg>":"",n=F;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,f=0;for(;f<e.length&&(n.lastIndex=f,c=n.exec(e),null!==c);)f=n.lastIndex,n===F?"!--"===c[1]?n=B:void 0!==c[1]?n=A:void 0!==c[2]?(P.test(c[2])&&(a=RegExp("</"+c[2],"g")),n=H):void 0!==c[3]&&(n=H):n===H?">"===c[0]?(n=a??F,p=-1):void 0===c[1]?p=-2:(p=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?H:'"'===c[3]?j:G):n===j||n===G?n=H:n===B||n===A?n=F:(n=H,a=void 0);const s=n===H&&t[o+1].startsWith("/>")?" ":"";i+=n===F?e+L:p>=0?(r.push(l),e.slice(0,p)+U+e.slice(p)+W+s):e+W+(-2===p?o:s)}return[X(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class J{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let a=0,i=0;const n=t.length-1,l=this.parts,[c,p]=q(t,o);if(this.el=J.createElement(c,e),V.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=V.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(U)){const o=p[i++],e=r.getAttribute(t).split(W),n=/([.?@])?(.*)/.exec(o);l.push({type:1,index:a,name:n[2],strings:e,ctor:"."===n[1]?rt:"?"===n[1]?at:"@"===n[1]?it:et}),r.removeAttribute(t)}else t.startsWith(W)&&(l.push({type:6,index:a}),r.removeAttribute(t));if(P.test(r.tagName)){const t=r.textContent.split(W),o=t.length-1;if(o>0){r.textContent=R?R.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],K()),V.nextNode(),l.push({type:2,index:++a});r.append(t[o],K())}}}else if(8===r.nodeType)if(r.data===E)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(W,t+1));)l.push({type:7,index:a}),t+=W.length-1}a++}}static createElement(t,o){const e=k.createElement("template");return e.innerHTML=t,e}}function Q(t,o,e=t,r){if(o===T)return o;let a=void 0!==r?e._$Co?.[r]:e._$Cl;const i=Z(o)?void 0:o._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),void 0===i?a=void 0:(a=new i(t),a._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=a:e._$Cl=a),void 0!==a&&(o=Q(t,a._$AS(t,o.values),a,r)),o}class tt{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??k).importNode(o,!0);V.currentNode=r;let a=V.nextNode(),i=0,n=0,l=e[0];for(;void 0!==l;){if(i===l.index){let o;2===l.type?o=new ot(a,a.nextSibling,this,t):1===l.type?o=new l.ctor(a,l.name,l.strings,this,t):6===l.type&&(o=new nt(a,this,t)),this._$AV.push(o),l=e[++n]}i!==l?.index&&(a=V.nextNode(),i++)}return V.currentNode=k,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 ot{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=Y,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=Q(this,t,o),Z(t)?t===Y||null==t||""===t?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>z(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!==Y&&Z(this._$AH)?this._$AA.nextSibling.data=t:this.$(k.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=J.createElement(X(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new tt(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=_.get(t.strings);return void 0===o&&_.set(t.strings,o=new J(t)),o}T(t){z(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const a of t)r===o.length?o.push(e=new ot(this.k(K()),this.k(K()),this,this.options)):e=o[r],e._$AI(a),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){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 et{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,a){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=a,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Y}_$AI(t,o=this,e,r){const a=this.strings;let i=!1;if(void 0===a)t=Q(this,t,o,0),i=!Z(t)||t!==this._$AH&&t!==T,i&&(this._$AH=t);else{const r=t;let n,l;for(t=a[0],n=0;n<a.length-1;n++)l=Q(this,r[e+n],o,n),l===T&&(l=this._$AH[n]),i||=!Z(l)||l!==this._$AH[n],l===Y?t=Y:t!==Y&&(t+=(l??"")+a[n+1]),this._$AH[n]=l}i&&!r&&this.O(t)}O(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class rt extends et{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Y?void 0:t}}class at extends et{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Y)}}class it extends et{constructor(t,o,e,r,a){super(t,o,e,r,a),this.type=5}_$AI(t,o=this){if((t=Q(this,t,o,0)??Y)===T)return;const e=this._$AH,r=t===Y&&e!==Y||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,a=t!==Y&&(e===Y||r);r&&this.element.removeEventListener(this.name,this,e),a&&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 nt{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){Q(this,t)}}const lt=I.litHtmlPolyfillSupport;lt?.(J,ot),(I.litHtmlVersions??=[]).push("3.1.0");
|
|
138
138
|
/**
|
|
139
139
|
* @license
|
|
140
140
|
* Copyright 2020 Google LLC
|
|
141
141
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
142
142
|
*/
|
|
143
|
-
const ct=Symbol.for(""),pt=t=>{if(t?.r===ct)return t?._$litStatic$},ft=t=>({_$litStatic$:t,r:ct}),st=new Map,dt=(t=>(o,...e)=>{const r=e.length;let a,i;const n=[],l=[];let c,p=0,f=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(i=e[p],a=pt(i));)c+=a+o[++p],f=!0;p!==r&&l.push(i),n.push(c),p++}if(p===r&&n.push(o[r]),f){const t=n.join("$$lit$$");void 0===(o=st.get(t))&&(n.raw=n,st.set(t,o=n)),e=l}return t(o,...e)})(M);var ht;!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"}(ht||(ht={}));const yt=t=>"string"==typeof t?e.unsafeCSS(t):t;class gt{static create(t,o,r,a){const i=t=>yt(null!=t?t:a),n=e.css`var(${yt(t)}, ${i(a)})`;return n.name=t,n.description=o,n.category=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${yt(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>a,n}static extend(t,o,r,a){const i=t=>r.get(null!=t?t:a),n=e.css`var(${yt(t)}, ${i(a)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${yt(t)}, ${i(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=a?a:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):yt(null!=o?o:t.lastResortDefaultValue()),a=e.css`var(${yt(t.name)}, ${r(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=r,a.get=o=>e.css`var(${yt(t.name)}, ${r(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const bt={colorWhite:gt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:gt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:gt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:gt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:gt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:gt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:gt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:gt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:gt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:gt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:gt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:gt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:gt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:gt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:gt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:gt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:gt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:gt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:gt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:gt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:gt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:gt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:gt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:gt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:gt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:gt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:gt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:gt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:gt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:gt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:gt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:gt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:gt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:gt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:gt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:gt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:gt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:gt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:gt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:gt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:gt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:gt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:gt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:gt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:gt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:gt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:gt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:gt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:gt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:gt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:gt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:gt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:gt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:gt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:gt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:gt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:gt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:gt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:gt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:gt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:gt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:gt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:gt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:gt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:gt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:gt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:gt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:gt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:gt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:gt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:gt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:gt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:gt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:gt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:gt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:gt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:gt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:gt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:gt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:gt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:gt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:gt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:gt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:gt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:gt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:gt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:gt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:gt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:gt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:gt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:gt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:gt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:gt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:gt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:gt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:gt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:gt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:gt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:gt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:gt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:gt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:gt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:gt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:gt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:gt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:gt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:gt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:gt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:gt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:gt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:gt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:gt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:gt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:gt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:gt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:gt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:gt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:gt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:gt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:gt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:gt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:gt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:gt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:gt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:gt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:gt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:gt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:gt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:gt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:gt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:gt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:gt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:gt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:gt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:gt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:gt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:gt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:gt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:gt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:gt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:gt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:gt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:gt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:gt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:gt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:gt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:gt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:gt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:gt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:gt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:gt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:gt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:gt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:gt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:gt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:gt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:gt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:gt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:gt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:gt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:gt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:gt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:gt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:gt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:gt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:gt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:gt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:gt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:gt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:gt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:gt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:gt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:gt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:gt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:gt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:gt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:gt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:gt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:gt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:gt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:gt.create("--ft-opacity-0","","NUMBER","0"),opacity8:gt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:gt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:gt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:gt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:gt.create("--ft-opacity-80","","NUMBER","0.8")},ut={display:{fontFamily:gt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:gt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:gt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:gt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:gt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:gt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:gt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:gt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:gt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:gt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:gt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:gt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:gt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:gt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:gt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:gt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:gt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:gt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:gt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:gt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:gt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:gt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:gt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:gt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:gt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:gt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:gt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:gt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:gt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:gt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:gt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:gt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:gt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:gt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:gt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:gt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:gt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:gt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:gt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:gt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:gt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:gt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:gt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:gt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:gt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:gt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},mt={backgroundActionPrimary:gt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",bt.colorBrand0),backgroundErrorPrimary:gt.extend("--ft-background-error-primary","Used as background of error components.",bt.colorRed0),backgroundErrorSubtle:gt.extend("--ft-background-error-subtle","Used as background of subtle error components.",bt.colorRed10),backgroundInfoPrimary:gt.extend("--ft-background-info-primary","Used as background of information components.",bt.colorCyan200),backgroundInfoSubtle:gt.extend("--ft-background-info-subtle","Used as background of subtle information components.",bt.colorCyan10),backgroundWarningPrimary:gt.extend("--ft-background-warning-primary","Used as background of warning components.",bt.colorOrange300),backgroundWarningSubtle:gt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",bt.colorOrange10),backgroundSuccessPrimary:gt.extend("--ft-background-success-primary","Used as background of success components.",bt.colorGreen200),backgroundSuccessSubtle:gt.extend("--ft-background-success-subtle","Used as background of subtle success components.",bt.colorGreen10),backgroundGlobalSurface:gt.extend("--ft-background-global-surface","Used as app background.",bt.colorWhite),backgroundGlobalOnSurface:gt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",bt.colorGray10),backgroundGlobalOnSurfaceDark:gt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",bt.colorGray30),contentActionPrimary:gt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",bt.colorBrand0),contentWarningPrimary:gt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",bt.colorOrange300),contentWarningIconOnly:gt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",bt.colorOrange0),contentErrorPrimary:gt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",bt.colorRed0),contentErrorIconOnly:gt.extend("--ft-content-error-icon-only","Used on error status icons alone",bt.colorRed0),contentInfoPrimary:gt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",bt.colorCyan200),contentInfoIconOnly:gt.extend("--ft-content-info-icon-only","Used on info status icons alone",bt.colorCyan0),contentSuccessIconOnly:gt.extend("--ft-content-success-icon-only","Used on success status icons alone",bt.colorGreen0),contentSuccessPrimary:gt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",bt.colorGreen200),contentGlobalPrimary:gt.extend("--ft-content-global-primary","Used for main content on the page.",bt.colorGray500),contentGlobalSecondary:gt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",bt.colorGray200),contentGlobalSubtle:gt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",bt.colorGray0),contentGlobalOnColor:gt.extend("--ft-content-global-on-color","Used for content on a dominant color.",bt.colorWhite),borderActionPrimary:gt.extend("--ft-border-action-primary","Used as border for primary action components.",bt.colorBrand0),borderActionFocusRing:gt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",bt.colorCyan0),borderWarningPrimary:gt.extend("--ft-border-warning-primary","Used as border for warning components.",bt.colorOrange30),borderSuccessPrimary:gt.extend("--ft-border-success-primary","Used as border for success components.",bt.colorGreen30),borderErrorPrimary:gt.extend("--ft-border-error-primary","Used as border for error components.",bt.colorRed30),borderInfoPrimary:gt.extend("--ft-border-info-primary","Used as border for information components.",bt.colorCyan30),borderGlobalSubtle:gt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",bt.colorGray30),borderGlobalPrimary:gt.extend("--ft-border-global-primary","Used as border for element like input.",bt.colorGray50),borderInputPrimary:gt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",bt.colorGray80)};gt.create("--ft-button-large-height","","SIZE","40px"),gt.extend("--ft-button-large-horizontal-padding","",bt.spacing4),gt.extend("--ft-button-large-gap","",bt.spacing2),gt.extend("--ft-button-large-border-radius","",bt.borderRadiusS),gt.extend("--ft-button-large-icon-size","",bt.iconSize3),gt.create("--ft-button-large-border-width","","SIZE","1px"),gt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),gt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),gt.create("--ft-button-large-icon-only-width","","SIZE","40px"),gt.create("--ft-button-small-height","","SIZE","30px"),gt.extend("--ft-button-small-horizontal-padding","",bt.spacing3),gt.extend("--ft-button-small-gap","",bt.spacing2),gt.extend("--ft-button-small-border-radius","",bt.borderRadiusS),gt.extend("--ft-button-small-icon-size","",bt.iconSize2),gt.create("--ft-button-small-border-width","","SIZE","1px"),gt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),gt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),gt.create("--ft-button-small-icon-only-width","","SIZE","30px"),gt.extend("--ft-button-primary-background-color","",mt.backgroundActionPrimary),gt.extend("--ft-button-primary-color","",mt.contentGlobalOnColor),gt.extend("--ft-button-primary-icon-color","",mt.contentGlobalOnColor),gt.extend("--ft-button-primary-state-layer-color","",mt.contentGlobalOnColor),gt.extend("--ft-button-primary-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-button-primary-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-button-primary-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-button-primary-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-button-focus-focus-ring-color","",mt.borderActionFocusRing),gt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),gt.extend("--ft-button-tertiary-color","",mt.contentActionPrimary),gt.extend("--ft-button-tertiary-icon-color","",mt.contentActionPrimary),gt.extend("--ft-button-tertiary-state-layer-color","",mt.contentActionPrimary),gt.extend("--ft-button-tertiary-state-layer-opacity-hover","",bt.opacity8),gt.extend("--ft-button-tertiary-state-layer-opacity-focus","",bt.opacity8),gt.extend("--ft-button-tertiary-state-layer-opacity-active","",bt.opacity16),gt.extend("--ft-button-tertiary-component-opacity-disabled","",bt.opacity40),gt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),gt.extend("--ft-button-secondary-color","",mt.contentActionPrimary),gt.extend("--ft-button-secondary-icon-color","",mt.contentActionPrimary),gt.extend("--ft-button-secondary-state-layer-color","",mt.contentActionPrimary),gt.extend("--ft-button-secondary-state-layer-opacity-hover","",bt.opacity8),gt.extend("--ft-button-secondary-state-layer-opacity-focus","",bt.opacity8),gt.extend("--ft-button-secondary-state-layer-opacity-active","",bt.opacity16),gt.extend("--ft-button-secondary-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-button-secondary-border-color","",mt.borderActionPrimary),gt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),gt.extend("--ft-button-neutral-icon-color","",mt.contentGlobalSecondary),gt.extend("--ft-button-neutral-color","",mt.contentGlobalSecondary),gt.extend("--ft-button-neutral-state-layer-color","",mt.contentGlobalSecondary),gt.extend("--ft-button-neutral-state-layer-opacity-hover","",bt.opacity8),gt.extend("--ft-button-neutral-state-layer-opacity-focus","",bt.opacity8),gt.extend("--ft-button-neutral-state-layer-opacity-active","",bt.opacity16),gt.extend("--ft-button-neutral-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-tabs-top-left-border-radius","",bt.borderRadiusS),gt.extend("--ft-tabs-top-right-border-radius","",bt.borderRadiusS),gt.extend("--ft-tabs-label-horizontal-padding","",bt.spacing4),gt.extend("--ft-tabs-label-vertical-padding","",bt.spacing3),gt.extend("--ft-tabs-label-gap","",bt.spacing1),gt.extend("--ft-switch-group-horizontal-padding","",bt.spacing1),gt.extend("--ft-switch-group-vertical-padding","",bt.spacing1),gt.extend("--ft-switch-group-gap","",bt.spacing1),gt.extend("--ft-switch-group-background-color","",mt.backgroundGlobalSurface),gt.extend("--ft-switch-group-border-color","",mt.borderGlobalSubtle),gt.create("--ft-switch-group-border-radius","","SIZE","6px"),gt.extend("--ft-switch-label-horizontal-padding","",bt.spacing2),gt.extend("--ft-switch-label-vertical-padding","",bt.spacing1),gt.extend("--ft-switch-icon-horizontal-padding","",bt.spacing1),gt.extend("--ft-switch-icon-vertical-padding","",bt.spacing1),gt.create("--ft-switch-focus-outline-width","","SIZE","2px"),gt.extend("--ft-switch-focus-focus-ring-color","",mt.borderActionFocusRing),gt.extend("--ft-switch-option-border-radius","",bt.borderRadiusS),gt.extend("--ft-switch-off-state-layer-opacity-hover","",bt.opacity8),gt.extend("--ft-switch-off-state-layer-opacity-focus","",bt.opacity8),gt.extend("--ft-switch-off-state-layer-opacity-active","",bt.opacity16),gt.extend("--ft-switch-off-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-switch-off-color","",mt.contentGlobalSubtle),gt.extend("--ft-switch-off-state-layer-color","",mt.contentGlobalSubtle),gt.extend("--ft-chart-1-light","for area color charts",bt.colorBrand40),gt.extend("--ft-chart-1-base","for line charts",bt.colorBrand0),gt.extend("--ft-chart-2-light","for area color charts",bt.colorYellow60),gt.extend("--ft-chart-2-base","for line charts",bt.colorYellow100),gt.extend("--ft-chart-3-light","",bt.colorUltramarine40),gt.extend("--ft-chart-3-base","",bt.colorUltramarine70),gt.extend("--ft-chart-4-light","",bt.colorCyan50),gt.extend("--ft-chart-4-base","",bt.colorCyan100),gt.extend("--ft-chart-5-light","",bt.colorRed40),gt.extend("--ft-chart-5-base","",bt.colorRed60),gt.extend("--ft-chart-6-light","",bt.colorGreen40),gt.extend("--ft-chart-6-base","",bt.colorGreen70),gt.extend("--ft-chart-7-light","",bt.colorOrange70),gt.extend("--ft-chart-7-base","",bt.colorOrange100),gt.extend("--ft-chart-8-light","",bt.colorAvocado70),gt.extend("--ft-chart-8-base","",bt.colorAvocado200),gt.extend("--ft-chart-9-light","",bt.colorBrown50),gt.extend("--ft-chart-9-base","",bt.colorBrown200),gt.extend("--ft-chart-10-light","",bt.colorGray50),gt.extend("--ft-chart-10-base","",bt.colorGray80),gt.extend("--ft-chart-monochrome-10","",bt.colorBrand10),gt.extend("--ft-chart-monochrome-20","",bt.colorBrand20),gt.extend("--ft-chart-monochrome-30","",bt.colorBrand40),gt.extend("--ft-chart-monochrome-40","",bt.colorBrand60),gt.extend("--ft-chart-monochrome-50","",bt.colorBrand0),gt.extend("--ft-chart-monochrome-60","",bt.colorBrand200),gt.extend("--ft-chip-large-horizontal-padding","",bt.spacing4),gt.extend("--ft-chip-large-vertical-padding","",bt.spacing2),gt.extend("--ft-chip-large-gap","",bt.spacing1),gt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),gt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),gt.extend("--ft-chip-large-border-radius","",bt.borderRadiusPill),gt.create("--ft-chip-large-border-width","","SIZE","1px"),gt.extend("--ft-chip-large-icon-size","",bt.iconSize3),gt.extend("--ft-chip-medium-horizontal-padding","",bt.spacing3),gt.extend("--ft-chip-medium-vertical-padding","",bt.spacing1),gt.extend("--ft-chip-medium-gap","",bt.spacing1),gt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),gt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),gt.extend("--ft-chip-medium-border-radius","",bt.borderRadiusPill),gt.create("--ft-chip-medium-border-width","","SIZE","1px"),gt.extend("--ft-chip-medium-icon-size","",bt.iconSize2),gt.extend("--ft-chip-small-horizontal-padding","",bt.spacing2),gt.extend("--ft-chip-small-vertical-padding","",bt.spacing05),gt.extend("--ft-chip-small-gap","",bt.spacing1),gt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),gt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),gt.extend("--ft-chip-small-border-radius","",bt.borderRadiusPill),gt.create("--ft-chip-small-border-width","","SIZE","1px"),gt.extend("--ft-chip-small-icon-size","",bt.iconSize1),gt.extend("--ft-chip-neutral-background-color","",mt.backgroundGlobalOnSurface),gt.extend("--ft-chip-neutral-color","",mt.contentGlobalPrimary),gt.extend("--ft-chip-neutral-border-color","",mt.borderGlobalSubtle),gt.extend("--ft-chip-info-background-color","",mt.backgroundInfoSubtle),gt.extend("--ft-chip-info-color","",mt.contentInfoPrimary),gt.extend("--ft-chip-info-border-color","",mt.borderInfoPrimary),gt.extend("--ft-chip-success-background-color","",mt.backgroundSuccessSubtle),gt.extend("--ft-chip-success-color","",mt.contentSuccessPrimary),gt.extend("--ft-chip-success-border-color","",mt.borderSuccessPrimary),gt.extend("--ft-chip-warning-background-color","",mt.backgroundWarningSubtle),gt.extend("--ft-chip-warning-color","",mt.contentWarningPrimary),gt.extend("--ft-chip-warning-border-color","",mt.borderWarningPrimary),gt.extend("--ft-chip-error-background-color","",mt.backgroundErrorSubtle),gt.extend("--ft-chip-error-color","",mt.contentErrorPrimary),gt.extend("--ft-chip-error-border-color","",mt.borderErrorPrimary),gt.create("--ft-notice-border-width","","SIZE","1px"),gt.extend("--ft-notice-horizontal-padding","",bt.spacing2),gt.extend("--ft-notice-vertical-padding","",bt.spacing1),gt.extend("--ft-notice-border-radius","",bt.borderRadiusS),gt.extend("--ft-notice-gap","",bt.spacing2),gt.extend("--ft-notice-icon-size","",bt.iconSize3),gt.extend("--ft-notice-info-background-color","",mt.backgroundInfoSubtle),gt.extend("--ft-notice-info-border-color","",mt.borderInfoPrimary),gt.extend("--ft-notice-info-color","",mt.contentInfoPrimary),gt.extend("--ft-notice-warning-background-color","",mt.backgroundWarningSubtle),gt.extend("--ft-notice-warning-border-color","",mt.borderWarningPrimary),gt.extend("--ft-notice-warning-color","",mt.contentWarningPrimary),gt.extend("--ft-checkbox-label-color","",mt.contentGlobalPrimary),gt.extend("--ft-checkbox-checked-background-color","",mt.contentActionPrimary),gt.extend("--ft-checkbox-checked-state-layer-color","",mt.contentActionPrimary),gt.extend("--ft-checkbox-checked-color","",mt.contentGlobalOnColor),gt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-checkbox-checked-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-checkbox-checked-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-checkbox-unchecked-border-color","",bt.colorGray80),gt.extend("--ft-checkbox-unchecked-state-layer-color","",bt.colorGray80),gt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-checkbox-focus-focus-ring-color","",mt.borderActionFocusRing),gt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),gt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gt.extend("--ft-checkbox-gap","",bt.spacing3),gt.extend("--ft-toggle-off-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-toggle-off-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-toggle-off-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-toggle-off-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-toggle-off-background-color","",mt.contentGlobalSubtle),gt.extend("--ft-toggle-off-icon-color","",mt.contentGlobalSubtle),gt.extend("--ft-toggle-off-state-layer-color","",mt.contentGlobalSubtle),gt.extend("--ft-toggle-on-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-toggle-on-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-toggle-on-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-toggle-on-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-toggle-on-background-color","",mt.contentActionPrimary),gt.extend("--ft-toggle-on-icon-color","",mt.contentActionPrimary),gt.extend("--ft-toggle-on-state-layer-color","",mt.contentActionPrimary),gt.extend("--ft-toggle-label-color","",mt.contentGlobalPrimary),gt.extend("--ft-toggle-focus-focus-ring-color","",mt.borderActionFocusRing),gt.extend("--ft-toggle-gap","",bt.spacing3),gt.extend("--ft-radio-label-color","",mt.contentGlobalPrimary),gt.extend("--ft-radio-selected-color","",mt.contentActionPrimary),gt.extend("--ft-radio-selected-state-layer-color","",mt.contentActionPrimary),gt.extend("--ft-radio-selected-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-radio-selected-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-radio-selected-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-radio-selected-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-radio-unselected-state-layer-color","",bt.colorGray80),gt.extend("--ft-radio-unselected-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-radio-unselected-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-radio-unselected-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-radio-unselected-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-radio-focus-focus-ring-color","",mt.borderActionFocusRing),gt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),gt.create("--ft-radio-focus-outline-width","","SIZE","2px"),gt.extend("--ft-radio-gap","",bt.spacing3),gt.extend("--ft-notification-icon-size","",bt.iconSize4),gt.extend("--ft-notification-horizontal-padding","",bt.spacing4),gt.extend("--ft-notification-vertical-padding","",bt.spacing4),gt.extend("--ft-notification-info-background-color","",mt.backgroundInfoSubtle),gt.extend("--ft-notification-info-color","",mt.contentInfoPrimary),gt.extend("--ft-notification-info-border-color","",mt.borderInfoPrimary),gt.extend("--ft-notification-success-background-color","",mt.backgroundSuccessSubtle),gt.extend("--ft-notification-success-color","",mt.contentSuccessPrimary),gt.extend("--ft-notification-success-border-color","",mt.borderSuccessPrimary),gt.extend("--ft-notification-warning-background-color","",mt.backgroundWarningSubtle),gt.extend("--ft-notification-warning-color","",mt.contentWarningPrimary),gt.extend("--ft-notification-warning-border-color","",mt.borderWarningPrimary),gt.extend("--ft-notification-error-background-color","",mt.backgroundErrorSubtle),gt.extend("--ft-notification-error-color","",mt.contentErrorPrimary),gt.extend("--ft-notification-error-border-color","",mt.borderErrorPrimary),gt.extend("--ft-notification-border-radius","",bt.borderRadiusPill),gt.create("--ft-notification-border-width","","SIZE","1px"),gt.extend("--ft-notification-gap-leading","",bt.spacing2),gt.extend("--ft-notification-gap-trailing","",bt.spacing8);const xt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Ot=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),Nt={fontFamily:Ot,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},vt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",xt),St=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",Nt.fontSize,"20px"),wt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",Nt.fontWeight,"normal"),Ct=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",Nt.letterSpacing,"0.15px"),It=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",Nt.lineHeight,"1.2"),Rt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",Nt.textTransform,"inherit"),$t=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",xt),Ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",Nt.fontSize,"14px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",Nt.fontWeight,"normal"),Et=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",Nt.letterSpacing,"0.105px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",Nt.lineHeight,"1.7"),kt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",Nt.textTransform,"inherit"),Kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ot),Zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",Nt.fontSize,"16px"),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",Nt.fontWeight,"600"),Dt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",Nt.letterSpacing,"0.144px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",Nt.lineHeight,"1.5"),Bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",Nt.textTransform,"inherit"),At=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ot),Ht=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",Nt.fontSize,"14px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",Nt.fontWeight,"normal"),jt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",Nt.letterSpacing,"0.098px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",Nt.lineHeight,"1.7"),Mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",Nt.textTransform,"inherit"),Tt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ot),_t=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",Nt.fontSize,"16px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",Nt.fontWeight,"normal"),Vt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",Nt.letterSpacing,"0.496px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",Nt.lineHeight,"1.5"),qt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",Nt.textTransform,"inherit"),Jt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ot),Qt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",Nt.fontSize,"14px"),to=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",Nt.fontWeight,"normal"),oo=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",Nt.letterSpacing,"0.252px"),eo=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",Nt.lineHeight,"1.4"),ro=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",Nt.textTransform,"inherit"),ao=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ot),io=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",Nt.fontSize,"12px"),no=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",Nt.fontWeight,"normal"),lo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",Nt.letterSpacing,"0.396px"),co=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",Nt.lineHeight,"1.33"),po=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",Nt.textTransform,"inherit"),fo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ot),so=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",Nt.fontSize,"10px"),ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",Nt.fontWeight,"normal"),yo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",Nt.letterSpacing,"0.33px"),go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",Nt.lineHeight,"1.6"),bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",Nt.textTransform,"inherit"),uo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ot),mo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",Nt.fontSize,"10px"),xo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",Nt.fontWeight,"normal"),Oo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",Nt.letterSpacing,"1.5px"),No=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",Nt.lineHeight,"1.6"),vo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",Nt.textTransform,"uppercase"),So=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ot),wo=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",Nt.fontSize,"14px"),Co=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",Nt.fontWeight,"600"),Io=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",Nt.letterSpacing,"1.246px"),Ro=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",Nt.lineHeight,"1.15"),$o=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",Nt.textTransform,"uppercase"),Uo=e.css`
|
|
143
|
+
const ct=Symbol.for(""),pt=t=>{if(t?.r===ct)return t?._$litStatic$},ft=t=>({_$litStatic$:t,r:ct}),st=new Map,dt=(t=>(o,...e)=>{const r=e.length;let a,i;const n=[],l=[];let c,p=0,f=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(i=e[p],a=pt(i));)c+=a+o[++p],f=!0;p!==r&&l.push(i),n.push(c),p++}if(p===r&&n.push(o[r]),f){const t=n.join("$$lit$$");void 0===(o=st.get(t))&&(n.raw=n,st.set(t,o=n)),e=l}return t(o,...e)})(M);var ht;!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"}(ht||(ht={}));const yt=t=>"string"==typeof t?e.unsafeCSS(t):t;class gt{static create(t,o,r,a){const i=t=>yt(null!=t?t:a),n=e.css`var(${yt(t)}, ${i(a)})`;return n.name=t,n.description=o,n.category=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${yt(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>a,n}static extend(t,o,r,a){const i=t=>r.get(null!=t?t:a),n=e.css`var(${yt(t)}, ${i(a)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${yt(t)}, ${i(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=a?a:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):yt(null!=o?o:t.lastResortDefaultValue()),a=e.css`var(${yt(t.name)}, ${r(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=r,a.get=o=>e.css`var(${yt(t.name)}, ${r(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const bt={colorWhite:gt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:gt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:gt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:gt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:gt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:gt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:gt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:gt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:gt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:gt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:gt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:gt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:gt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:gt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:gt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:gt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:gt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:gt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:gt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:gt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:gt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:gt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:gt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:gt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:gt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:gt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:gt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:gt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:gt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:gt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:gt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:gt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:gt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:gt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:gt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:gt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:gt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:gt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:gt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:gt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:gt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:gt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:gt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:gt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:gt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:gt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:gt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:gt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:gt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:gt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:gt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:gt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:gt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:gt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:gt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:gt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:gt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:gt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:gt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:gt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:gt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:gt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:gt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:gt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:gt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:gt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:gt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:gt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:gt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:gt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:gt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:gt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:gt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:gt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:gt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:gt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:gt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:gt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:gt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:gt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:gt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:gt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:gt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:gt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:gt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:gt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:gt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:gt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:gt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:gt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:gt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:gt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:gt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:gt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:gt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:gt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:gt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:gt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:gt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:gt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:gt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:gt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:gt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:gt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:gt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:gt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:gt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:gt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:gt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:gt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:gt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:gt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:gt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:gt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:gt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:gt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:gt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:gt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:gt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:gt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:gt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:gt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:gt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:gt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:gt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:gt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:gt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:gt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:gt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:gt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:gt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:gt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:gt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:gt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:gt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:gt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:gt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:gt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:gt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:gt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:gt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:gt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:gt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:gt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:gt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:gt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:gt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:gt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:gt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:gt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:gt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:gt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:gt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:gt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:gt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:gt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:gt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:gt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:gt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:gt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:gt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:gt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:gt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:gt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:gt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:gt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:gt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:gt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:gt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:gt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:gt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:gt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:gt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:gt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:gt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:gt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:gt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:gt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:gt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:gt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:gt.create("--ft-opacity-0","","NUMBER","0"),opacity8:gt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:gt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:gt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:gt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:gt.create("--ft-opacity-80","","NUMBER","0.8")},ut={display:{fontFamily:gt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:gt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:gt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:gt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:gt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:gt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:gt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:gt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:gt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:gt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:gt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:gt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:gt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:gt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:gt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:gt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:gt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:gt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:gt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:gt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:gt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:gt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:gt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:gt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:gt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:gt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:gt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:gt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:gt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:gt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:gt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:gt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:gt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:gt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:gt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:gt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:gt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:gt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:gt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:gt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:gt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:gt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:gt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:gt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:gt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:gt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},mt={backgroundActionPrimary:gt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",bt.colorBrand0),backgroundErrorPrimary:gt.extend("--ft-background-error-primary","Used as background of error components.",bt.colorRed0),backgroundErrorSubtle:gt.extend("--ft-background-error-subtle","Used as background of subtle error components.",bt.colorRed10),backgroundInfoPrimary:gt.extend("--ft-background-info-primary","Used as background of information components.",bt.colorCyan200),backgroundInfoSubtle:gt.extend("--ft-background-info-subtle","Used as background of subtle information components.",bt.colorCyan10),backgroundWarningPrimary:gt.extend("--ft-background-warning-primary","Used as background of warning components.",bt.colorOrange300),backgroundWarningSubtle:gt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",bt.colorOrange10),backgroundSuccessPrimary:gt.extend("--ft-background-success-primary","Used as background of success components.",bt.colorGreen200),backgroundSuccessSubtle:gt.extend("--ft-background-success-subtle","Used as background of subtle success components.",bt.colorGreen10),backgroundGlobalSurface:gt.extend("--ft-background-global-surface","Used as app background.",bt.colorWhite),backgroundGlobalOnSurface:gt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",bt.colorGray10),backgroundGlobalOnSurfaceDark:gt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",bt.colorGray30),contentActionPrimary:gt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",bt.colorBrand0),contentWarningPrimary:gt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",bt.colorOrange300),contentWarningIconOnly:gt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",bt.colorOrange0),contentErrorPrimary:gt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",bt.colorRed0),contentErrorIconOnly:gt.extend("--ft-content-error-icon-only","Used on error status icons alone",bt.colorRed0),contentInfoPrimary:gt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",bt.colorCyan200),contentInfoIconOnly:gt.extend("--ft-content-info-icon-only","Used on info status icons alone",bt.colorCyan0),contentSuccessIconOnly:gt.extend("--ft-content-success-icon-only","Used on success status icons alone",bt.colorGreen0),contentSuccessPrimary:gt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",bt.colorGreen200),contentGlobalPrimary:gt.extend("--ft-content-global-primary","Used for main content on the page.",bt.colorGray500),contentGlobalSecondary:gt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",bt.colorGray200),contentGlobalSubtle:gt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",bt.colorGray0),contentGlobalOnColor:gt.extend("--ft-content-global-on-color","Used for content on a dominant color.",bt.colorWhite),borderActionPrimary:gt.extend("--ft-border-action-primary","Used as border for primary action components.",bt.colorBrand0),borderActionFocusRing:gt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",bt.colorCyan0),borderWarningPrimary:gt.extend("--ft-border-warning-primary","Used as border for warning components.",bt.colorOrange30),borderSuccessPrimary:gt.extend("--ft-border-success-primary","Used as border for success components.",bt.colorGreen30),borderErrorPrimary:gt.extend("--ft-border-error-primary","Used as border for error components.",bt.colorRed30),borderInfoPrimary:gt.extend("--ft-border-info-primary","Used as border for information components.",bt.colorCyan30),borderGlobalSubtle:gt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",bt.colorGray30),borderGlobalPrimary:gt.extend("--ft-border-global-primary","Used as border for element like input.",bt.colorGray50),borderInputPrimary:gt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",bt.colorGray80)};gt.create("--ft-button-large-height","","SIZE","40px"),gt.extend("--ft-button-large-horizontal-padding","",bt.spacing4),gt.extend("--ft-button-large-gap","",bt.spacing2),gt.extend("--ft-button-large-border-radius","",bt.borderRadiusS),gt.extend("--ft-button-large-icon-size","",bt.iconSize3),gt.create("--ft-button-large-border-width","","SIZE","1px"),gt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),gt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),gt.create("--ft-button-large-icon-only-width","","SIZE","40px"),gt.create("--ft-button-small-height","","SIZE","30px"),gt.extend("--ft-button-small-horizontal-padding","",bt.spacing3),gt.extend("--ft-button-small-gap","",bt.spacing2),gt.extend("--ft-button-small-border-radius","",bt.borderRadiusS),gt.extend("--ft-button-small-icon-size","",bt.iconSize2),gt.create("--ft-button-small-border-width","","SIZE","1px"),gt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),gt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),gt.create("--ft-button-small-icon-only-width","","SIZE","30px"),gt.extend("--ft-button-primary-background-color","",mt.backgroundActionPrimary),gt.extend("--ft-button-primary-color","",mt.contentGlobalOnColor),gt.extend("--ft-button-primary-icon-color","",mt.contentGlobalOnColor),gt.extend("--ft-button-primary-state-layer-color","",mt.contentGlobalOnColor),gt.extend("--ft-button-primary-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-button-primary-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-button-primary-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-button-primary-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-button-focus-focus-ring-color","",mt.borderActionFocusRing),gt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),gt.extend("--ft-button-tertiary-color","",mt.contentActionPrimary),gt.extend("--ft-button-tertiary-icon-color","",mt.contentActionPrimary),gt.extend("--ft-button-tertiary-state-layer-color","",mt.contentActionPrimary),gt.extend("--ft-button-tertiary-state-layer-opacity-hover","",bt.opacity8),gt.extend("--ft-button-tertiary-state-layer-opacity-focus","",bt.opacity8),gt.extend("--ft-button-tertiary-state-layer-opacity-active","",bt.opacity16),gt.extend("--ft-button-tertiary-component-opacity-disabled","",bt.opacity40),gt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),gt.extend("--ft-button-secondary-color","",mt.contentActionPrimary),gt.extend("--ft-button-secondary-icon-color","",mt.contentActionPrimary),gt.extend("--ft-button-secondary-state-layer-color","",mt.contentActionPrimary),gt.extend("--ft-button-secondary-state-layer-opacity-hover","",bt.opacity8),gt.extend("--ft-button-secondary-state-layer-opacity-focus","",bt.opacity8),gt.extend("--ft-button-secondary-state-layer-opacity-active","",bt.opacity16),gt.extend("--ft-button-secondary-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-button-secondary-border-color","",mt.borderActionPrimary),gt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),gt.extend("--ft-button-neutral-icon-color","",mt.contentGlobalSecondary),gt.extend("--ft-button-neutral-color","",mt.contentGlobalSecondary),gt.extend("--ft-button-neutral-state-layer-color","",mt.contentGlobalSecondary),gt.extend("--ft-button-neutral-state-layer-opacity-hover","",bt.opacity8),gt.extend("--ft-button-neutral-state-layer-opacity-focus","",bt.opacity8),gt.extend("--ft-button-neutral-state-layer-opacity-active","",bt.opacity16),gt.extend("--ft-button-neutral-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-tabs-top-left-border-radius","",bt.borderRadiusS),gt.extend("--ft-tabs-top-right-border-radius","",bt.borderRadiusS),gt.extend("--ft-tabs-label-horizontal-padding","",bt.spacing4),gt.extend("--ft-tabs-label-vertical-padding","",bt.spacing3),gt.extend("--ft-tabs-label-gap","",bt.spacing1),gt.extend("--ft-switch-group-horizontal-padding","",bt.spacing1),gt.extend("--ft-switch-group-vertical-padding","",bt.spacing1),gt.extend("--ft-switch-group-gap","",bt.spacing1),gt.extend("--ft-switch-group-background-color","",mt.backgroundGlobalSurface),gt.extend("--ft-switch-group-border-color","",mt.borderGlobalSubtle),gt.create("--ft-switch-group-border-radius","","SIZE","6px"),gt.extend("--ft-switch-label-horizontal-padding","",bt.spacing2),gt.extend("--ft-switch-label-vertical-padding","",bt.spacing1),gt.extend("--ft-switch-icon-horizontal-padding","",bt.spacing1),gt.extend("--ft-switch-icon-vertical-padding","",bt.spacing1),gt.create("--ft-switch-focus-outline-width","","SIZE","2px"),gt.extend("--ft-switch-focus-focus-ring-color","",mt.borderActionFocusRing),gt.extend("--ft-switch-option-border-radius","",bt.borderRadiusS),gt.extend("--ft-switch-off-state-layer-opacity-hover","",bt.opacity8),gt.extend("--ft-switch-off-state-layer-opacity-focus","",bt.opacity8),gt.extend("--ft-switch-off-state-layer-opacity-active","",bt.opacity16),gt.extend("--ft-switch-off-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-switch-off-color","",mt.contentGlobalSubtle),gt.extend("--ft-switch-off-state-layer-color","",mt.contentGlobalSubtle),gt.extend("--ft-chart-1-light","for area color charts",bt.colorBrand40),gt.extend("--ft-chart-1-base","for line charts",bt.colorBrand0),gt.extend("--ft-chart-2-light","for area color charts",bt.colorYellow60),gt.extend("--ft-chart-2-base","for line charts",bt.colorYellow100),gt.extend("--ft-chart-3-light","",bt.colorUltramarine40),gt.extend("--ft-chart-3-base","",bt.colorUltramarine70),gt.extend("--ft-chart-4-light","",bt.colorCyan50),gt.extend("--ft-chart-4-base","",bt.colorCyan100),gt.extend("--ft-chart-5-light","",bt.colorRed40),gt.extend("--ft-chart-5-base","",bt.colorRed60),gt.extend("--ft-chart-6-light","",bt.colorGreen40),gt.extend("--ft-chart-6-base","",bt.colorGreen70),gt.extend("--ft-chart-7-light","",bt.colorOrange70),gt.extend("--ft-chart-7-base","",bt.colorOrange100),gt.extend("--ft-chart-8-light","",bt.colorAvocado70),gt.extend("--ft-chart-8-base","",bt.colorAvocado200),gt.extend("--ft-chart-9-light","",bt.colorBrown50),gt.extend("--ft-chart-9-base","",bt.colorBrown200),gt.extend("--ft-chart-10-light","",bt.colorGray50),gt.extend("--ft-chart-10-base","",bt.colorGray80),gt.extend("--ft-chart-monochrome-10","",bt.colorBrand10),gt.extend("--ft-chart-monochrome-20","",bt.colorBrand20),gt.extend("--ft-chart-monochrome-30","",bt.colorBrand40),gt.extend("--ft-chart-monochrome-40","",bt.colorBrand60),gt.extend("--ft-chart-monochrome-50","",bt.colorBrand0),gt.extend("--ft-chart-monochrome-60","",bt.colorBrand200),gt.extend("--ft-chip-large-horizontal-padding","",bt.spacing4),gt.extend("--ft-chip-large-vertical-padding","",bt.spacing2),gt.extend("--ft-chip-large-gap","",bt.spacing1),gt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),gt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),gt.extend("--ft-chip-large-border-radius","",bt.borderRadiusPill),gt.create("--ft-chip-large-border-width","","SIZE","1px"),gt.extend("--ft-chip-large-icon-size","",bt.iconSize3),gt.extend("--ft-chip-medium-horizontal-padding","",bt.spacing3),gt.extend("--ft-chip-medium-vertical-padding","",bt.spacing1),gt.extend("--ft-chip-medium-gap","",bt.spacing1),gt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),gt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),gt.extend("--ft-chip-medium-border-radius","",bt.borderRadiusPill),gt.create("--ft-chip-medium-border-width","","SIZE","1px"),gt.extend("--ft-chip-medium-icon-size","",bt.iconSize2),gt.extend("--ft-chip-small-horizontal-padding","",bt.spacing2),gt.extend("--ft-chip-small-vertical-padding","",bt.spacing05),gt.extend("--ft-chip-small-gap","",bt.spacing1),gt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),gt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),gt.extend("--ft-chip-small-border-radius","",bt.borderRadiusPill),gt.create("--ft-chip-small-border-width","","SIZE","1px"),gt.extend("--ft-chip-small-icon-size","",bt.iconSize1),gt.extend("--ft-chip-neutral-background-color","",mt.backgroundGlobalOnSurface),gt.extend("--ft-chip-neutral-color","",mt.contentGlobalPrimary),gt.extend("--ft-chip-neutral-border-color","",mt.borderGlobalSubtle),gt.extend("--ft-chip-info-background-color","",mt.backgroundInfoSubtle),gt.extend("--ft-chip-info-color","",mt.contentInfoPrimary),gt.extend("--ft-chip-info-border-color","",mt.borderInfoPrimary),gt.extend("--ft-chip-success-background-color","",mt.backgroundSuccessSubtle),gt.extend("--ft-chip-success-color","",mt.contentSuccessPrimary),gt.extend("--ft-chip-success-border-color","",mt.borderSuccessPrimary),gt.extend("--ft-chip-warning-background-color","",mt.backgroundWarningSubtle),gt.extend("--ft-chip-warning-color","",mt.contentWarningPrimary),gt.extend("--ft-chip-warning-border-color","",mt.borderWarningPrimary),gt.extend("--ft-chip-error-background-color","",mt.backgroundErrorSubtle),gt.extend("--ft-chip-error-color","",mt.contentErrorPrimary),gt.extend("--ft-chip-error-border-color","",mt.borderErrorPrimary),gt.create("--ft-notice-border-width","","SIZE","1px"),gt.extend("--ft-notice-horizontal-padding","",bt.spacing2),gt.extend("--ft-notice-vertical-padding","",bt.spacing1),gt.extend("--ft-notice-border-radius","",bt.borderRadiusS),gt.extend("--ft-notice-gap","",bt.spacing2),gt.extend("--ft-notice-icon-size","",bt.iconSize3),gt.extend("--ft-notice-info-background-color","",mt.backgroundInfoSubtle),gt.extend("--ft-notice-info-border-color","",mt.borderInfoPrimary),gt.extend("--ft-notice-info-color","",mt.contentInfoPrimary),gt.extend("--ft-notice-warning-background-color","",mt.backgroundWarningSubtle),gt.extend("--ft-notice-warning-border-color","",mt.borderWarningPrimary),gt.extend("--ft-notice-warning-color","",mt.contentWarningPrimary),gt.extend("--ft-checkbox-label-color","",mt.contentGlobalPrimary),gt.extend("--ft-checkbox-checked-background-color","",mt.contentActionPrimary),gt.extend("--ft-checkbox-checked-state-layer-color","",mt.contentActionPrimary),gt.extend("--ft-checkbox-checked-color","",mt.contentGlobalOnColor),gt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-checkbox-checked-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-checkbox-checked-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-checkbox-unchecked-border-color","",bt.colorGray80),gt.extend("--ft-checkbox-unchecked-state-layer-color","",bt.colorGray80),gt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-checkbox-focus-focus-ring-color","",mt.borderActionFocusRing),gt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),gt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gt.extend("--ft-checkbox-gap","",bt.spacing3),gt.extend("--ft-toggle-off-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-toggle-off-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-toggle-off-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-toggle-off-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-toggle-off-background-color","",mt.contentGlobalSubtle),gt.extend("--ft-toggle-off-icon-color","",mt.contentGlobalSubtle),gt.extend("--ft-toggle-off-state-layer-color","",mt.contentGlobalSubtle),gt.extend("--ft-toggle-on-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-toggle-on-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-toggle-on-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-toggle-on-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-toggle-on-background-color","",mt.contentActionPrimary),gt.extend("--ft-toggle-on-icon-color","",mt.contentActionPrimary),gt.extend("--ft-toggle-on-state-layer-color","",mt.contentActionPrimary),gt.extend("--ft-toggle-label-color","",mt.contentGlobalPrimary),gt.extend("--ft-toggle-focus-focus-ring-color","",mt.borderActionFocusRing),gt.extend("--ft-toggle-gap","",bt.spacing3),gt.extend("--ft-radio-label-color","",mt.contentGlobalPrimary),gt.extend("--ft-radio-selected-color","",mt.contentActionPrimary),gt.extend("--ft-radio-selected-state-layer-color","",mt.contentActionPrimary),gt.extend("--ft-radio-selected-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-radio-selected-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-radio-selected-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-radio-selected-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-radio-unselected-state-layer-color","",bt.colorGray80),gt.extend("--ft-radio-unselected-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-radio-unselected-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-radio-unselected-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-radio-unselected-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-radio-focus-focus-ring-color","",mt.borderActionFocusRing),gt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),gt.create("--ft-radio-focus-outline-width","","SIZE","2px"),gt.extend("--ft-radio-gap","",bt.spacing3),gt.extend("--ft-notification-icon-size","",bt.iconSize4),gt.extend("--ft-notification-horizontal-padding","",bt.spacing4),gt.extend("--ft-notification-vertical-padding","",bt.spacing4),gt.extend("--ft-notification-info-background-color","",mt.backgroundInfoSubtle),gt.extend("--ft-notification-info-color","",mt.contentInfoPrimary),gt.extend("--ft-notification-info-border-color","",mt.borderInfoPrimary),gt.extend("--ft-notification-success-background-color","",mt.backgroundSuccessSubtle),gt.extend("--ft-notification-success-color","",mt.contentSuccessPrimary),gt.extend("--ft-notification-success-border-color","",mt.borderSuccessPrimary),gt.extend("--ft-notification-warning-background-color","",mt.backgroundWarningSubtle),gt.extend("--ft-notification-warning-color","",mt.contentWarningPrimary),gt.extend("--ft-notification-warning-border-color","",mt.borderWarningPrimary),gt.extend("--ft-notification-error-background-color","",mt.backgroundErrorSubtle),gt.extend("--ft-notification-error-color","",mt.contentErrorPrimary),gt.extend("--ft-notification-error-border-color","",mt.borderErrorPrimary),gt.extend("--ft-notification-border-radius","",bt.borderRadiusPill),gt.create("--ft-notification-border-width","","SIZE","1px"),gt.extend("--ft-notification-gap-leading","",bt.spacing2),gt.extend("--ft-notification-gap-trailing","",bt.spacing8);const xt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Ot=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),Nt={fontFamily:Ot,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},vt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",xt),St=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",Nt.fontSize,"20px"),wt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",Nt.fontWeight,"normal"),Ct=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",Nt.letterSpacing,"0.15px"),It=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",Nt.lineHeight,"1.2"),Rt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",Nt.textTransform,"inherit"),$t=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",xt),Ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",Nt.fontSize,"14px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",Nt.fontWeight,"normal"),Et=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",Nt.letterSpacing,"0.105px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",Nt.lineHeight,"1.7"),kt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",Nt.textTransform,"inherit"),Kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ot),Zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",Nt.fontSize,"16px"),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",Nt.fontWeight,"600"),Dt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",Nt.letterSpacing,"0.144px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",Nt.lineHeight,"1.5"),Bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",Nt.textTransform,"inherit"),At=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ot),Ht=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",Nt.fontSize,"14px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",Nt.fontWeight,"normal"),jt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",Nt.letterSpacing,"0.098px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",Nt.lineHeight,"1.7"),Mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",Nt.textTransform,"inherit"),Tt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ot),Yt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",Nt.fontSize,"16px"),_t=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",Nt.fontWeight,"normal"),Vt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",Nt.letterSpacing,"0.496px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",Nt.lineHeight,"1.5"),qt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",Nt.textTransform,"inherit"),Jt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ot),Qt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",Nt.fontSize,"14px"),to=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",Nt.fontWeight,"normal"),oo=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",Nt.letterSpacing,"0.252px"),eo=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",Nt.lineHeight,"1.4"),ro=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",Nt.textTransform,"inherit"),ao=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ot),io=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",Nt.fontSize,"12px"),no=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",Nt.fontWeight,"normal"),lo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",Nt.letterSpacing,"0.396px"),co=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",Nt.lineHeight,"1.33"),po=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",Nt.textTransform,"inherit"),fo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ot),so=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",Nt.fontSize,"10px"),ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",Nt.fontWeight,"normal"),yo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",Nt.letterSpacing,"0.33px"),go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",Nt.lineHeight,"1.6"),bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",Nt.textTransform,"inherit"),uo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ot),mo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",Nt.fontSize,"10px"),xo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",Nt.fontWeight,"normal"),Oo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",Nt.letterSpacing,"1.5px"),No=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",Nt.lineHeight,"1.6"),vo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",Nt.textTransform,"uppercase"),So=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ot),wo=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",Nt.fontSize,"14px"),Co=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",Nt.fontWeight,"600"),Io=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",Nt.letterSpacing,"1.246px"),Ro=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",Nt.lineHeight,"1.15"),$o=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",Nt.textTransform,"uppercase"),Uo=e.css`
|
|
144
144
|
.ft-typography--title {
|
|
145
145
|
font-family: ${vt};
|
|
146
146
|
font-size: ${St};
|
|
@@ -180,8 +180,8 @@ const ct=Symbol.for(""),pt=t=>{if(t?.r===ct)return t?._$litStatic$},ft=t=>({_$li
|
|
|
180
180
|
`,ko=e.css`
|
|
181
181
|
.ft-typography--body1 {
|
|
182
182
|
font-family: ${Tt};
|
|
183
|
-
font-size: ${
|
|
184
|
-
font-weight: ${
|
|
183
|
+
font-size: ${Yt};
|
|
184
|
+
font-weight: ${_t};
|
|
185
185
|
letter-spacing: ${Vt};
|
|
186
186
|
line-height: ${Xt};
|
|
187
187
|
text-transform: ${qt};
|
|
@@ -251,7 +251,7 @@ const ct=Symbol.for(""),pt=t=>{if(t?.r===ct)return t?._$litStatic$},ft=t=>({_$li
|
|
|
251
251
|
</${ft(this.element)}>
|
|
252
252
|
`:dt`
|
|
253
253
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
254
|
-
`}}Po.styles=[Uo,Wo,Eo,Lo,ko,Ko,Zo,zo,Do,Fo,Bo,...Ao],jo([r.property()],Po.prototype,"element",void 0),jo([r.property()],Po.prototype,"variant",void 0),o.customElement("ft-typography")(Po),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=""}(Ho||(Ho={})),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=""}(Go||(Go={})),new Map([...["abw"].map((t=>[t,Go.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,Go.AUDIO])),...["avi"].map((t=>[t,Go.AVI])),...["chm","xhs"].map((t=>[t,Go.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,Go.CODE])),...["csv"].map((t=>[t,Go.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Go.DITA])),...["epub"].map((t=>[t,Go.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Go.EXCEL])),...["flac"].map((t=>[t,Go.FLAC])),...["gif"].map((t=>[t,Go.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Go.GZIP])),...["html","htm","xhtml"].map((t=>[t,Go.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,Go.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Go.JPEG])),...["json"].map((t=>[t,Go.JSON])),...["m4a","m4p"].map((t=>[t,Go.M4A])),...["mov","qt"].map((t=>[t,Go.MOV])),...["mp3"].map((t=>[t,Go.MP3])),...["mp4","m4v"].map((t=>[t,Go.MP4])),...["ogg","oga"].map((t=>[t,Go.OGG])),...["pdf","ps"].map((t=>[t,Go.PDF])),...["png"].map((t=>[t,Go.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Go.POWERPOINT])),...["rar"].map((t=>[t,Go.RAR])),...["stp"].map((t=>[t,Go.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Go.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,Go.VIDEO])),...["wav"].map((t=>[t,Go.WAV])),...["wma"].map((t=>[t,Go.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Go.WORD])),...["xml","xsl","rdf"].map((t=>[t,Go.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Go.YAML])),...["zip"].map((t=>[t,Go.ZIP]))]);const Mo=o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),To=o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),
|
|
254
|
+
`}}Po.styles=[Uo,Wo,Eo,Lo,ko,Ko,Zo,zo,Do,Fo,Bo,...Ao],jo([r.property()],Po.prototype,"element",void 0),jo([r.property()],Po.prototype,"variant",void 0),o.customElement("ft-typography")(Po),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=""}(Ho||(Ho={})),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=""}(Go||(Go={})),new Map([...["abw"].map((t=>[t,Go.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,Go.AUDIO])),...["avi"].map((t=>[t,Go.AVI])),...["chm","xhs"].map((t=>[t,Go.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,Go.CODE])),...["csv"].map((t=>[t,Go.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Go.DITA])),...["epub"].map((t=>[t,Go.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Go.EXCEL])),...["flac"].map((t=>[t,Go.FLAC])),...["gif"].map((t=>[t,Go.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Go.GZIP])),...["html","htm","xhtml"].map((t=>[t,Go.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,Go.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Go.JPEG])),...["json"].map((t=>[t,Go.JSON])),...["m4a","m4p"].map((t=>[t,Go.M4A])),...["mov","qt"].map((t=>[t,Go.MOV])),...["mp3"].map((t=>[t,Go.MP3])),...["mp4","m4v"].map((t=>[t,Go.MP4])),...["ogg","oga"].map((t=>[t,Go.OGG])),...["pdf","ps"].map((t=>[t,Go.PDF])),...["png"].map((t=>[t,Go.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Go.POWERPOINT])),...["rar"].map((t=>[t,Go.RAR])),...["stp"].map((t=>[t,Go.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Go.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,Go.VIDEO])),...["wav"].map((t=>[t,Go.WAV])),...["wma"].map((t=>[t,Go.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Go.WORD])),...["xml","xsl","rdf"].map((t=>[t,Go.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Go.YAML])),...["zip"].map((t=>[t,Go.ZIP]))]);const Mo=o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),To=o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),Yo=o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),_o=o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),Vo=o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset"),Xo=e.css`
|
|
255
255
|
:host, i.ft-icon {
|
|
256
256
|
display: inline-flex;
|
|
257
257
|
align-items: center;
|
|
@@ -293,11 +293,11 @@ const ct=Symbol.for(""),pt=t=>{if(t?.r===ct)return t?._$litStatic$},ft=t=>({_$li
|
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
.ft-icon--file-format {
|
|
296
|
-
font-family: ${
|
|
296
|
+
font-family: ${Yo}, ft-mime, sans-serif;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
.ft-icon--material {
|
|
300
|
-
font-family: ${
|
|
300
|
+
font-family: ${_o}, "Material Icons", sans-serif;
|
|
301
301
|
}
|
|
302
302
|
`;var qo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(qo||(qo={}));var Jo,Qo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class te extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(qo).includes(this.variant)?this.variant:qo.fluid_topics,o=t!==qo.material||!!this.value;return e.html`
|
|
303
303
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
@@ -408,7 +408,7 @@ const ct=Symbol.for(""),pt=t=>{if(t?.r===ct)return t?._$litStatic$},ft=t=>({_$li
|
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
.ft-tooltip {
|
|
411
|
-
position:
|
|
411
|
+
position: fixed;
|
|
412
412
|
box-sizing: border-box;
|
|
413
413
|
overflow: hidden;
|
|
414
414
|
width: max-content;
|
|
@@ -426,7 +426,7 @@ const ct=Symbol.for(""),pt=t=>{if(t?.r===ct)return t?._$litStatic$},ft=t=>({_$li
|
|
|
426
426
|
position: relative;
|
|
427
427
|
word-break: break-word;
|
|
428
428
|
}
|
|
429
|
-
`,fe=["start","end"],se=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+fe[0],o+"-"+fe[1])),[]),de=Math.min,he=Math.max,ye=Math.round,ge=t=>({x:t,y:t}),be={left:"right",right:"left",bottom:"top",top:"bottom"},ue={start:"end",end:"start"};function me(t,o,e){return he(t,de(o,e))}function xe(t,o){return"function"==typeof t?t(o):t}function Oe(t){return t.split("-")[0]}function Ne(t){return t.split("-")[1]}function ve(t){return"x"===t?"y":"x"}function Se(t){return"y"===t?"height":"width"}function we(t){return["top","bottom"].includes(Oe(t))?"y":"x"}function Ce(t){return ve(we(t))}function Ie(t){return t.replace(/left|right|bottom|top/g,(t=>be[t]))}function Re(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function $e(t,o,e){let{reference:r,floating:a}=t;const i=we(o),n=Ce(o),l=Se(n),c=Oe(o),p="y"===i,f=r.x+r.width/2-a.width/2,s=r.y+r.height/2-a.height/2,d=r[l]/2-a[l]/2;let h;switch(c){case"top":h={x:f,y:r.y-a.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:s};break;case"left":h={x:r.x-a.width,y:s};break;default:h={x:r.x,y:r.y}}switch(Ne(o)){case"start":h[n]-=d*(e&&p?-1:1);break;case"end":h[n]+=d*(e&&p?-1:1)}return h}async function Ue(t,o){var e;void 0===o&&(o={});const{x:r,y:a,platform:i,rects:n,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:f="viewport",elementContext:s="floating",altBoundary:d=!1,padding:h=0}=xe(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"===s?"reference":"floating":s],b=Re(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:f,strategy:c})),u="floating"===s?{...n.floating,x:r,y:a}:n.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),x=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},O=Re(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:u,offsetParent:m,strategy:c}):u);return{top:(b.top-O.top+y.top)/x.y,bottom:(O.bottom-b.bottom+y.bottom)/x.y,left:(b.left-O.left+y.left)/x.x,right:(O.right-b.right+y.right)/x.x}}function We(t,o,e){return(t?[...e.filter((o=>Ne(o)===t)),...e.filter((o=>Ne(o)!==t))]:e.filter((t=>Oe(t)===t))).filter((e=>!t||(Ne(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ue[t]))}(e)!==e)))}const Ee=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,a;const{rects:i,middlewareData:n,placement:l,platform:c,elements:p}=o,{crossAxis:f=!1,alignment:s,allowedPlacements:d=se,autoAlignment:h=!0,...y}=xe(t,o),g=void 0!==s||d===se?We(s||null,h,d):d,b=await Ue(o,y),u=(null==(e=n.autoPlacement)?void 0:e.index)||0,m=g[u];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=Ne(t),a=Ce(t),i=Se(a);let n="x"===a?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[i]>o.floating[i]&&(n=Ie(n)),[n,Ie(n)]}(m,i,await(null==c.isRTL?void 0:c.isRTL(p.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[b[Oe(m)],b[x[0]],b[x[1]]],N=[...(null==(r=n.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],v=g[u+1];if(v)return{data:{index:u+1,overflows:N},reset:{placement:v}};const S=N.map((t=>{const o=Ne(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,Ne(t[0])?2:3).every((t=>t<=0)))),C=(null==(a=w[0])?void 0:a[0])||S[0][0];return C!==l?{data:{index:u+1,overflows:N},reset:{placement:C}}:{}}}};function Le(t){return Ze(t)?(t.nodeName||"").toLowerCase():"#document"}function ke(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ke(t){var o;return null==(o=(Ze(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ze(t){return t instanceof Node||t instanceof ke(t).Node}function ze(t){return t instanceof Element||t instanceof ke(t).Element}function De(t){return t instanceof HTMLElement||t instanceof ke(t).HTMLElement}function Fe(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ke(t).ShadowRoot)}function Be(t){const{overflow:o,overflowX:e,overflowY:r,display:a}=Pe(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(a)}function Ae(t){return["table","td","th"].includes(Le(t))}function He(t){const o=Ge(),e=Pe(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 Ge(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function je(t){return["html","body","#document"].includes(Le(t))}function Pe(t){return ke(t).getComputedStyle(t)}function Me(t){return ze(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Te(t){if("html"===Le(t))return t;const o=t.assignedSlot||t.parentNode||Fe(t)&&t.host||Ke(t);return Fe(o)?o.host:o}function _e(t){const o=Te(t);return je(o)?t.ownerDocument?t.ownerDocument.body:t.body:De(o)&&Be(o)?o:_e(o)}function Ye(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const a=_e(t),i=a===(null==(r=t.ownerDocument)?void 0:r.body),n=ke(a);return i?o.concat(n,n.visualViewport||[],Be(a)?a:[],n.frameElement&&e?Ye(n.frameElement):[]):o.concat(a,Ye(a,[],e))}function Ve(t){const o=Pe(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const a=De(t),i=a?t.offsetWidth:e,n=a?t.offsetHeight:r,l=ye(e)!==i||ye(r)!==n;return l&&(e=i,r=n),{width:e,height:r,$:l}}function Xe(t){return ze(t)?t:t.contextElement}function qe(t){const o=Xe(t);if(!De(o))return ge(1);const e=o.getBoundingClientRect(),{width:r,height:a,$:i}=Ve(o);let n=(i?ye(e.width):e.width)/r,l=(i?ye(e.height):e.height)/a;return n&&Number.isFinite(n)||(n=1),l&&Number.isFinite(l)||(l=1),{x:n,y:l}}const Je=ge(0);function Qe(t){const o=ke(t);return Ge()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Je}function tr(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const a=t.getBoundingClientRect(),i=Xe(t);let n=ge(1);o&&(r?ze(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}(i,e,r)?Qe(i):ge(0);let c=(a.left+l.x)/n.x,p=(a.top+l.y)/n.y,f=a.width/n.x,s=a.height/n.y;if(i){const t=ke(i),o=r&&ze(r)?ke(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=qe(e),o=e.getBoundingClientRect(),r=Pe(e),a=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,i=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,p*=t.y,f*=t.x,s*=t.y,c+=a,p+=i,e=ke(e).frameElement}}return Re({width:f,height:s,x:c,y:p})}function or(t){return tr(Ke(t)).left+Me(t).scrollLeft}function er(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=ke(t),r=Ke(t),a=e.visualViewport;let i=r.clientWidth,n=r.clientHeight,l=0,c=0;if(a){i=a.width,n=a.height;const t=Ge();(!t||t&&"fixed"===o)&&(l=a.offsetLeft,c=a.offsetTop)}return{width:i,height:n,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Ke(t),e=Me(t),r=t.ownerDocument.body,a=he(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),i=he(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let n=-e.scrollLeft+or(t);const l=-e.scrollTop;return"rtl"===Pe(r).direction&&(n+=he(o.clientWidth,r.clientWidth)-a),{width:a,height:i,x:n,y:l}}(Ke(t));else if(ze(o))r=function(t,o){const e=tr(t,!0,"fixed"===o),r=e.top+t.clientTop,a=e.left+t.clientLeft,i=De(t)?qe(t):ge(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:a*i.x,y:r*i.y}}(o,e);else{const e=Qe(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Re(r)}function rr(t,o){const e=Te(t);return!(e===o||!ze(e)||je(e))&&("fixed"===Pe(e).position||rr(e,o))}function ar(t,o,e){const r=De(o),a=Ke(o),i="fixed"===e,n=tr(t,!0,i,o);let l={scrollLeft:0,scrollTop:0};const c=ge(0);if(r||!r&&!i)if(("body"!==Le(o)||Be(a))&&(l=Me(o)),r){const t=tr(o,!0,i,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else a&&(c.x=or(a));return{x:n.left+l.scrollLeft-c.x,y:n.top+l.scrollTop-c.y,width:n.width,height:n.height}}function ir(t,o){return De(t)&&"fixed"!==Pe(t).position?o?o(t):t.offsetParent:null}function nr(t,o){const e=ke(t);if(!De(t))return e;let r=ir(t,o);for(;r&&Ae(r)&&"static"===Pe(r).position;)r=ir(r,o);return r&&("html"===Le(r)||"body"===Le(r)&&"static"===Pe(r).position&&!He(r))?e:r||function(t){let o=Te(t);for(;De(o)&&!je(o);){if(He(o))return o;o=Te(o)}return null}(t)||e}const lr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const a=De(e),i=Ke(e);if(e===i)return o;let n={scrollLeft:0,scrollTop:0},l=ge(1);const c=ge(0);if((a||!a&&"fixed"!==r)&&(("body"!==Le(e)||Be(i))&&(n=Me(e)),De(e))){const t=tr(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:Ke,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:a}=t;const i=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Ye(t,[],!1).filter((t=>ze(t)&&"body"!==Le(t))),a=null;const i="fixed"===Pe(t).position;let n=i?Te(t):t;for(;ze(n)&&!je(n);){const o=Pe(n),e=He(n);e||"fixed"!==o.position||(a=null),(i?!e&&!a:!e&&"static"===o.position&&a&&["absolute","fixed"].includes(a.position)||Be(n)&&!e&&rr(t,n))?r=r.filter((t=>t!==n)):a=o,n=Te(n)}return o.set(t,r),r}(o,this._c):[].concat(e),r],n=i[0],l=i.reduce(((t,e)=>{const r=er(o,e,a);return t.top=he(r.top,t.top),t.right=de(r.right,t.right),t.bottom=de(r.bottom,t.bottom),t.left=he(r.left,t.left),t}),er(o,n,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:nr,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const a=this.getOffsetParent||nr,i=this.getDimensions;return{reference:ar(o,await a(e),r),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ve(t)},getScale:qe,isElement:ze,isRTL:function(t){return"rtl"===Pe(t).direction}},cr=(t,o,e)=>{const r=new Map,a={platform:lr,...e},i={...a.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:n}=e,l=i.filter(Boolean),c=await(null==n.isRTL?void 0:n.isRTL(o));let p=await n.getElementRects({reference:t,floating:o,strategy:a}),{x:f,y:s}=$e(p,r,c),d=r,h={},y=0;for(let e=0;e<l.length;e++){const{name:i,fn:g}=l[e],{x:b,y:u,data:m,reset:x}=await g({x:f,y:s,initialPlacement:r,placement:d,strategy:a,middlewareData:h,rects:p,platform:n,elements:{reference:t,floating:o}});f=null!=b?b:f,s=null!=u?u:s,h={...h,[i]:{...h[i],...m}},x&&y<=50&&(y++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(p=!0===x.rects?await n.getElementRects({reference:t,floating:o,strategy:a}):x.rects),({x:f,y:s}=$e(p,d,c))),e=-1)}return{x:f,y:s,placement:d,strategy:a,middlewareData:h}})(t,o,{...a,platform:i})};var pr=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class fr 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`
|
|
429
|
+
`,fe=["start","end"],se=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+fe[0],o+"-"+fe[1])),[]),de=Math.min,he=Math.max,ye=Math.round,ge=t=>({x:t,y:t}),be={left:"right",right:"left",bottom:"top",top:"bottom"},ue={start:"end",end:"start"};function me(t,o,e){return he(t,de(o,e))}function xe(t,o){return"function"==typeof t?t(o):t}function Oe(t){return t.split("-")[0]}function Ne(t){return t.split("-")[1]}function ve(t){return"x"===t?"y":"x"}function Se(t){return"y"===t?"height":"width"}function we(t){return["top","bottom"].includes(Oe(t))?"y":"x"}function Ce(t){return ve(we(t))}function Ie(t){return t.replace(/left|right|bottom|top/g,(t=>be[t]))}function Re(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function $e(t,o,e){let{reference:r,floating:a}=t;const i=we(o),n=Ce(o),l=Se(n),c=Oe(o),p="y"===i,f=r.x+r.width/2-a.width/2,s=r.y+r.height/2-a.height/2,d=r[l]/2-a[l]/2;let h;switch(c){case"top":h={x:f,y:r.y-a.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:s};break;case"left":h={x:r.x-a.width,y:s};break;default:h={x:r.x,y:r.y}}switch(Ne(o)){case"start":h[n]-=d*(e&&p?-1:1);break;case"end":h[n]+=d*(e&&p?-1:1)}return h}async function Ue(t,o){var e;void 0===o&&(o={});const{x:r,y:a,platform:i,rects:n,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:f="viewport",elementContext:s="floating",altBoundary:d=!1,padding:h=0}=xe(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"===s?"reference":"floating":s],b=Re(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:f,strategy:c})),u="floating"===s?{...n.floating,x:r,y:a}:n.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),x=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},O=Re(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:u,offsetParent:m,strategy:c}):u);return{top:(b.top-O.top+y.top)/x.y,bottom:(O.bottom-b.bottom+y.bottom)/x.y,left:(b.left-O.left+y.left)/x.x,right:(O.right-b.right+y.right)/x.x}}function We(t,o,e){return(t?[...e.filter((o=>Ne(o)===t)),...e.filter((o=>Ne(o)!==t))]:e.filter((t=>Oe(t)===t))).filter((e=>!t||(Ne(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ue[t]))}(e)!==e)))}const Ee=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,a;const{rects:i,middlewareData:n,placement:l,platform:c,elements:p}=o,{crossAxis:f=!1,alignment:s,allowedPlacements:d=se,autoAlignment:h=!0,...y}=xe(t,o),g=void 0!==s||d===se?We(s||null,h,d):d,b=await Ue(o,y),u=(null==(e=n.autoPlacement)?void 0:e.index)||0,m=g[u];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=Ne(t),a=Ce(t),i=Se(a);let n="x"===a?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[i]>o.floating[i]&&(n=Ie(n)),[n,Ie(n)]}(m,i,await(null==c.isRTL?void 0:c.isRTL(p.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[b[Oe(m)],b[x[0]],b[x[1]]],N=[...(null==(r=n.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],v=g[u+1];if(v)return{data:{index:u+1,overflows:N},reset:{placement:v}};const S=N.map((t=>{const o=Ne(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,Ne(t[0])?2:3).every((t=>t<=0)))),C=(null==(a=w[0])?void 0:a[0])||S[0][0];return C!==l?{data:{index:u+1,overflows:N},reset:{placement:C}}:{}}}};function Le(t){return Ze(t)?(t.nodeName||"").toLowerCase():"#document"}function ke(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ke(t){var o;return null==(o=(Ze(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ze(t){return t instanceof Node||t instanceof ke(t).Node}function ze(t){return t instanceof Element||t instanceof ke(t).Element}function De(t){return t instanceof HTMLElement||t instanceof ke(t).HTMLElement}function Fe(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ke(t).ShadowRoot)}function Be(t){const{overflow:o,overflowX:e,overflowY:r,display:a}=Pe(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(a)}function Ae(t){return["table","td","th"].includes(Le(t))}function He(t){const o=Ge(),e=Pe(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 Ge(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function je(t){return["html","body","#document"].includes(Le(t))}function Pe(t){return ke(t).getComputedStyle(t)}function Me(t){return ze(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Te(t){if("html"===Le(t))return t;const o=t.assignedSlot||t.parentNode||Fe(t)&&t.host||Ke(t);return Fe(o)?o.host:o}function Ye(t){const o=Te(t);return je(o)?t.ownerDocument?t.ownerDocument.body:t.body:De(o)&&Be(o)?o:Ye(o)}function _e(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const a=Ye(t),i=a===(null==(r=t.ownerDocument)?void 0:r.body),n=ke(a);return i?o.concat(n,n.visualViewport||[],Be(a)?a:[],n.frameElement&&e?_e(n.frameElement):[]):o.concat(a,_e(a,[],e))}function Ve(t){const o=Pe(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const a=De(t),i=a?t.offsetWidth:e,n=a?t.offsetHeight:r,l=ye(e)!==i||ye(r)!==n;return l&&(e=i,r=n),{width:e,height:r,$:l}}function Xe(t){return ze(t)?t:t.contextElement}function qe(t){const o=Xe(t);if(!De(o))return ge(1);const e=o.getBoundingClientRect(),{width:r,height:a,$:i}=Ve(o);let n=(i?ye(e.width):e.width)/r,l=(i?ye(e.height):e.height)/a;return n&&Number.isFinite(n)||(n=1),l&&Number.isFinite(l)||(l=1),{x:n,y:l}}const Je=ge(0);function Qe(t){const o=ke(t);return Ge()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Je}function tr(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const a=t.getBoundingClientRect(),i=Xe(t);let n=ge(1);o&&(r?ze(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}(i,e,r)?Qe(i):ge(0);let c=(a.left+l.x)/n.x,p=(a.top+l.y)/n.y,f=a.width/n.x,s=a.height/n.y;if(i){const t=ke(i),o=r&&ze(r)?ke(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=qe(e),o=e.getBoundingClientRect(),r=Pe(e),a=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,i=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,p*=t.y,f*=t.x,s*=t.y,c+=a,p+=i,e=ke(e).frameElement}}return Re({width:f,height:s,x:c,y:p})}function or(t){return tr(Ke(t)).left+Me(t).scrollLeft}function er(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=ke(t),r=Ke(t),a=e.visualViewport;let i=r.clientWidth,n=r.clientHeight,l=0,c=0;if(a){i=a.width,n=a.height;const t=Ge();(!t||t&&"fixed"===o)&&(l=a.offsetLeft,c=a.offsetTop)}return{width:i,height:n,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Ke(t),e=Me(t),r=t.ownerDocument.body,a=he(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),i=he(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let n=-e.scrollLeft+or(t);const l=-e.scrollTop;return"rtl"===Pe(r).direction&&(n+=he(o.clientWidth,r.clientWidth)-a),{width:a,height:i,x:n,y:l}}(Ke(t));else if(ze(o))r=function(t,o){const e=tr(t,!0,"fixed"===o),r=e.top+t.clientTop,a=e.left+t.clientLeft,i=De(t)?qe(t):ge(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:a*i.x,y:r*i.y}}(o,e);else{const e=Qe(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Re(r)}function rr(t,o){const e=Te(t);return!(e===o||!ze(e)||je(e))&&("fixed"===Pe(e).position||rr(e,o))}function ar(t,o,e){const r=De(o),a=Ke(o),i="fixed"===e,n=tr(t,!0,i,o);let l={scrollLeft:0,scrollTop:0};const c=ge(0);if(r||!r&&!i)if(("body"!==Le(o)||Be(a))&&(l=Me(o)),r){const t=tr(o,!0,i,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else a&&(c.x=or(a));return{x:n.left+l.scrollLeft-c.x,y:n.top+l.scrollTop-c.y,width:n.width,height:n.height}}function ir(t,o){return De(t)&&"fixed"!==Pe(t).position?o?o(t):t.offsetParent:null}function nr(t,o){const e=ke(t);if(!De(t))return e;let r=ir(t,o);for(;r&&Ae(r)&&"static"===Pe(r).position;)r=ir(r,o);return r&&("html"===Le(r)||"body"===Le(r)&&"static"===Pe(r).position&&!He(r))?e:r||function(t){let o=Te(t);for(;De(o)&&!je(o);){if(He(o))return o;o=Te(o)}return null}(t)||e}const lr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const a=De(e),i=Ke(e);if(e===i)return o;let n={scrollLeft:0,scrollTop:0},l=ge(1);const c=ge(0);if((a||!a&&"fixed"!==r)&&(("body"!==Le(e)||Be(i))&&(n=Me(e)),De(e))){const t=tr(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:Ke,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:a}=t;const i=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=_e(t,[],!1).filter((t=>ze(t)&&"body"!==Le(t))),a=null;const i="fixed"===Pe(t).position;let n=i?Te(t):t;for(;ze(n)&&!je(n);){const o=Pe(n),e=He(n);e||"fixed"!==o.position||(a=null),(i?!e&&!a:!e&&"static"===o.position&&a&&["absolute","fixed"].includes(a.position)||Be(n)&&!e&&rr(t,n))?r=r.filter((t=>t!==n)):a=o,n=Te(n)}return o.set(t,r),r}(o,this._c):[].concat(e),r],n=i[0],l=i.reduce(((t,e)=>{const r=er(o,e,a);return t.top=he(r.top,t.top),t.right=de(r.right,t.right),t.bottom=de(r.bottom,t.bottom),t.left=he(r.left,t.left),t}),er(o,n,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:nr,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const a=this.getOffsetParent||nr,i=this.getDimensions;return{reference:ar(o,await a(e),r),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ve(t)},getScale:qe,isElement:ze,isRTL:function(t){return"rtl"===Pe(t).direction}},cr=(t,o,e)=>{const r=new Map,a={platform:lr,...e},i={...a.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:n}=e,l=i.filter(Boolean),c=await(null==n.isRTL?void 0:n.isRTL(o));let p=await n.getElementRects({reference:t,floating:o,strategy:a}),{x:f,y:s}=$e(p,r,c),d=r,h={},y=0;for(let e=0;e<l.length;e++){const{name:i,fn:g}=l[e],{x:b,y:u,data:m,reset:x}=await g({x:f,y:s,initialPlacement:r,placement:d,strategy:a,middlewareData:h,rects:p,platform:n,elements:{reference:t,floating:o}});f=null!=b?b:f,s=null!=u?u:s,h={...h,[i]:{...h[i],...m}},x&&y<=50&&(y++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(p=!0===x.rects?await n.getElementRects({reference:t,floating:o,strategy:a}):x.rects),({x:f,y:s}=$e(p,d,c))),e=-1)}return{x:f,y:s,placement:d,strategy:a,middlewareData:h}})(t,o,{...a,platform:i})};function pr(t){return function(t){for(let o=t;o;o=fr(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=fr(t);o;o=fr(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 fr(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var sr=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class 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`
|
|
430
430
|
<div part="container"
|
|
431
431
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
432
432
|
@mouseenter=${this.onHover}
|
|
@@ -434,7 +434,7 @@ const ct=Symbol.for(""),pt=t=>{if(t?.r===ct)return t?._$litStatic$},ft=t=>({_$li
|
|
|
434
434
|
@focusin=${this.onHover}
|
|
435
435
|
@focusout=${this.onOut}
|
|
436
436
|
@touchstart=${this.onTouch}>
|
|
437
|
-
<slot></slot>
|
|
437
|
+
<slot part="slot"></slot>
|
|
438
438
|
<div part="tooltip" role="tooltip" inert
|
|
439
439
|
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
440
440
|
?hidden=${!this.visible}>
|
|
@@ -444,7 +444,7 @@ const ct=Symbol.for(""),pt=t=>{if(t?.r===ct)return t?._$litStatic$},ft=t=>({_$li
|
|
|
444
444
|
</div>
|
|
445
445
|
</div>
|
|
446
446
|
</div>
|
|
447
|
-
`}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="",cr(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:a}=o,{mainAxis:i=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=xe(t,o),p={x:e,y:r},f=await Ue(o,c),s=we(Oe(a)),d=ve(s);let h=p[d],y=p[s];if(i){const t="y"===d?"bottom":"right";h=me(h+f["y"===d?"top":"left"],h,h-f[t])}if(n){const t="y"===s?"bottom":"right";y=me(y+f["y"===s?"top":"left"],y,y-f[t])}const g=l.fn({...o,[d]:h,[s]:y});return{...g,data:{x:g.x-e,y:g.y-r}}}}),Ee({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))}}
|
|
447
|
+
`}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="",cr(this.slottedElement,this.tooltip,{platform:{...lr,getOffsetParent:t=>lr.getOffsetParent(t,pr)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:a}=o,{mainAxis:i=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=xe(t,o),p={x:e,y:r},f=await Ue(o,c),s=we(Oe(a)),d=ve(s);let h=p[d],y=p[s];if(i){const t="y"===d?"bottom":"right";h=me(h+f["y"===d?"top":"left"],h,h-f[t])}if(n){const t="y"===s?"bottom":"right";y=me(y+f["y"===s?"top":"left"],y,y-f[t])}const g=l.fn({...o,[d]:h,[s]:y});return{...g,data:{x:g.x-e,y:g.y-r}}}}),Ee({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))}}dr.elementDefinitions={"ft-typography":Po},dr.styles=pe,sr([r.property()],dr.prototype,"text",void 0),sr([r.property({type:Boolean})],dr.prototype,"manual",void 0),sr([r.property({type:Boolean})],dr.prototype,"inline",void 0),sr([r.property({type:Number})],dr.prototype,"delay",void 0),sr([r.property()],dr.prototype,"position",void 0),sr([r.queryAssignedNodes()],dr.prototype,"slotNodes",void 0),sr([r.query(".ft-tooltip--container")],dr.prototype,"container",void 0),sr([r.query(".ft-tooltip")],dr.prototype,"tooltip",void 0),sr([r.query(".ft-tooltip--content")],dr.prototype,"tooltipContent",void 0),sr([r.state()],dr.prototype,"visible",void 0),sr([r.eventOptions({passive:!0})],dr.prototype,"onTouch",null),sr([r.eventOptions({passive:!0})],dr.prototype,"onHover",null),sr([r.eventOptions({passive:!0})],dr.prototype,"onOut",null),o.customElement("ft-tooltip")(dr);var hr=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class yr extends CustomEvent{constructor(t){super("index-change",{detail:t})}}class gr extends o.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.contentBefore=!1,this.alignTabs=t.FtTabsAlignment.justify,this.ftTabs=[],this.activeIndex=0,this.updateDebouncer=new o.Debouncer(2),this.onTabUpdated=()=>this.updateDebouncer.run((()=>{this.requestUpdate(),this.dispatchEvent(new o.PostResizeEvent)})),this.resizeObserver=new ResizeObserver((()=>this.placeIndicator()))}render(){var t;const o={"ft-tabs":!0,"ft-tabs--reverse":this.contentBefore,"ft-tabs--dense":this.dense},r=null===(t=this.ftTabs[this.activeIndex])||void 0===t?void 0:t.color;return e.html`
|
|
448
448
|
<div class="${i.classMap(o)}" part="container">
|
|
449
449
|
<div class="ft-tabs--align-${this.alignTabs}" role="tablist" part="tablist">
|
|
450
450
|
${a.repeat(this.ftTabs,((t,o)=>this.addTooltipIfNecessary(t,e.html`
|
|
@@ -484,11 +484,11 @@ const ct=Symbol.for(""),pt=t=>{if(t?.r===ct)return t?._$litStatic$},ft=t=>({_$li
|
|
|
484
484
|
<slot @slotchange=${this.onContentChange}></slot>
|
|
485
485
|
</div>
|
|
486
486
|
</div>
|
|
487
|
-
`}onContentChange(t){const o=t.composedPath()[0];this.ftTabs=o.assignedElements().map((t=>t)),this.ftTabs.forEach((t=>{t.removeEventListener("updated",this.onTabUpdated),t.addEventListener("updated",this.onTabUpdated)})),this.updateTabs()}update(t){super.update(t),t.has("activeIndex")&&this.dispatchEvent(new o.PreResizeEvent),(t.has("ftTabs")||t.has("activeIndex"))&&this.updateTabs(),t.has("activeIndex")&&this.dispatchEvent(new
|
|
487
|
+
`}onContentChange(t){const o=t.composedPath()[0];this.ftTabs=o.assignedElements().map((t=>t)),this.ftTabs.forEach((t=>{t.removeEventListener("updated",this.onTabUpdated),t.addEventListener("updated",this.onTabUpdated)})),this.updateTabs()}update(t){super.update(t),t.has("activeIndex")&&this.dispatchEvent(new o.PreResizeEvent),(t.has("ftTabs")||t.has("activeIndex"))&&this.updateTabs(),t.has("activeIndex")&&this.dispatchEvent(new yr(this.activeIndex))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.tabsContainer&&this.resizeObserver.observe(this.tabsContainer),this.placeIndicator()}placeIndicator(){var t,o,e,r,a,i,n;if(this.activeTabIndicator){const l=null!==(o=null===(t=this.activeTab)||void 0===t?void 0:t.closest(".ft-tabs--tab-tooltip"))&&void 0!==o?o:this.activeTab;this.activeTabIndicator.style.width=(null!==(e=null==l?void 0:l.clientWidth)&&void 0!==e?e:0)+"px",this.activeTabIndicator.style.left=(null!==(r=null==l?void 0:l.offsetLeft)&&void 0!==r?r:0)+"px",this.contentBefore?this.activeTabIndicator.style.top=(null!==(a=null==l?void 0:l.offsetTop)&&void 0!==a?a:0)+"px":this.activeTabIndicator.style.top=(null!==(i=null==l?void 0:l.offsetTop)&&void 0!==i?i:0)+(null!==(n=null==l?void 0:l.clientHeight)&&void 0!==n?n:0)-this.activeTabIndicator.clientHeight+"px"}}updateTabs(){this.ftTabs.forEach(((t,o)=>{t.active=o==this.activeIndex}))}addTooltipIfNecessary(t,o){return this.dense&&t.label&&t.icon?e.html`
|
|
488
488
|
<ft-tooltip class="ft-tabs--tab-tooltip"
|
|
489
489
|
part="tab-tooltip"
|
|
490
490
|
text="${t.label}"
|
|
491
491
|
position="${this.contentBefore?"top":"bottom"}">
|
|
492
492
|
${o}
|
|
493
493
|
</ft-tooltip>
|
|
494
|
-
`:o}}
|
|
494
|
+
`:o}}gr.elementDefinitions={"ft-tab":c,"ft-ripple":C,"ft-tooltip":dr,"ft-typography":Po,"ft-icon":te},gr.styles=ee,hr([r.property({type:Boolean})],gr.prototype,"dense",void 0),hr([r.property({type:Boolean})],gr.prototype,"contentBefore",void 0),hr([r.property()],gr.prototype,"alignTabs",void 0),hr([r.state()],gr.prototype,"ftTabs",void 0),hr([r.query("[role='tablist']")],gr.prototype,"tabsContainer",void 0),hr([r.query("[aria-selected='true']")],gr.prototype,"activeTab",void 0),hr([r.query(".ft-tabs--active-tab-indicator")],gr.prototype,"activeTabIndicator",void 0),hr([r.property({type:Number,reflect:!0})],gr.prototype,"activeIndex",void 0);o.customElement("ft-tab")(c),o.customElement("ft-tabs")(gr),t.FtTab=c,t.FtTabCssVariables={},t.FtTabs=gr,t.FtTabsCssVariables=oe,t.IndexChangeEvent=yr,t.styles=ee}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|
package/build/ft-tabs.min.js
CHANGED
|
@@ -549,7 +549,7 @@ class rr extends eo{constructor(t){if(super(t),this.et=tt,t.type!==Qe)throw Erro
|
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
.ft-tooltip {
|
|
552
|
-
position:
|
|
552
|
+
position: fixed;
|
|
553
553
|
box-sizing: border-box;
|
|
554
554
|
overflow: hidden;
|
|
555
555
|
width: max-content;
|
|
@@ -567,7 +567,7 @@ class rr extends eo{constructor(t){if(super(t),this.et=tt,t.type!==Qe)throw Erro
|
|
|
567
567
|
position: relative;
|
|
568
568
|
word-break: break-word;
|
|
569
569
|
}
|
|
570
|
-
`,Er=["start","end"],Ur=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Er[0],e+"-"+Er[1])),[]),$r=Math.min,Ir=Math.max,kr=Math.round,Wr=t=>({x:t,y:t}),Lr={left:"right",right:"left",bottom:"top",top:"bottom"},Kr={start:"end",end:"start"};function Zr(t,e,o){return Ir(t,$r(e,o))}function zr(t,e){return"function"==typeof t?t(e):t}function Fr(t){return t.split("-")[0]}function Mr(t){return t.split("-")[1]}function Ar(t){return"x"===t?"y":"x"}function Dr(t){return"y"===t?"height":"width"}function Br(t){return["top","bottom"].includes(Fr(t))?"y":"x"}function Pr(t){return Ar(Br(t))}function jr(t){return t.replace(/left|right|bottom|top/g,(t=>Lr[t]))}function Hr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Tr(t,e,o){let{reference:i,floating:r}=t;const n=Br(e),a=Pr(e),s=Dr(a),l=Fr(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Mr(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function _r(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=zr(e,t),u=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}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Hr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=Hr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function Gr(t,e,o){return(t?[...o.filter((e=>Mr(e)===t)),...o.filter((e=>Mr(e)!==t))]:o.filter((t=>Fr(t)===t))).filter((o=>!t||(Mr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Kr[t]))}(o)!==o)))}const Yr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Ur,autoAlignment:d=!0,...u}=zr(t,e),y=void 0!==f||h===Ur?Gr(f||null,d,h):h,g=await _r(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Mr(t),r=Pr(t),n=Dr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=jr(a)),[a,jr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[Fr(m)],g[x[0]],g[x[1]]],v=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const e=Mr(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=S.filter((t=>t[2].slice(0,Mr(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Vr(t){return Xr(t)?(t.nodeName||"").toLowerCase():"#document"}function Jr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function qr(t){var e;return null==(e=(Xr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Xr(t){return t instanceof Node||t instanceof Jr(t).Node}function Qr(t){return t instanceof Element||t instanceof Jr(t).Element}function tn(t){return t instanceof HTMLElement||t instanceof Jr(t).HTMLElement}function en(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Jr(t).ShadowRoot)}function on(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=ln(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function rn(t){return["table","td","th"].includes(Vr(t))}function nn(t){const e=an(),o=ln(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function an(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function sn(t){return["html","body","#document"].includes(Vr(t))}function ln(t){return Jr(t).getComputedStyle(t)}function cn(t){return Qr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pn(t){if("html"===Vr(t))return t;const e=t.assignedSlot||t.parentNode||en(t)&&t.host||qr(t);return en(e)?e.host:e}function fn(t){const e=pn(t);return sn(e)?t.ownerDocument?t.ownerDocument.body:t.body:tn(e)&&on(e)?e:fn(e)}function hn(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=fn(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Jr(r);return n?e.concat(a,a.visualViewport||[],on(r)?r:[],a.frameElement&&o?hn(a.frameElement):[]):e.concat(r,hn(r,[],o))}function dn(t){const e=ln(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=tn(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=kr(o)!==n||kr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function un(t){return Qr(t)?t:t.contextElement}function yn(t){const e=un(t);if(!tn(e))return Wr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=dn(e);let a=(n?kr(o.width):o.width)/i,s=(n?kr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const gn=Wr(0);function bn(t){const e=Jr(t);return an()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:gn}function mn(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=un(t);let a=Wr(1);e&&(i?Qr(i)&&(a=yn(i)):a=yn(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Jr(t))&&e}(n,o,i)?bn(n):Wr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=Jr(n),e=i&&Qr(i)?Jr(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=yn(o),e=o.getBoundingClientRect(),i=ln(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=Jr(o).frameElement}}return Hr({width:p,height:f,x:l,y:c})}function xn(t){return mn(qr(t)).left+cn(t).scrollLeft}function On(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Jr(t),i=qr(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=an();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=qr(t),o=cn(t),i=t.ownerDocument.body,r=Ir(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Ir(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+xn(t);const s=-o.scrollTop;return"rtl"===ln(i).direction&&(a+=Ir(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(qr(t));else if(Qr(e))i=function(t,e){const o=mn(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=tn(t)?yn(t):Wr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=bn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Hr(i)}function vn(t,e){const o=pn(t);return!(o===e||!Qr(o)||sn(o))&&("fixed"===ln(o).position||vn(o,e))}function Nn(t,e,o){const i=tn(e),r=qr(e),n="fixed"===o,a=mn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Wr(0);if(i||!i&&!n)if(("body"!==Vr(e)||on(r))&&(s=cn(e)),i){const t=mn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=xn(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Sn(t,e){return tn(t)&&"fixed"!==ln(t).position?e?e(t):t.offsetParent:null}function wn(t,e){const o=Jr(t);if(!tn(t))return o;let i=Sn(t,e);for(;i&&rn(i)&&"static"===ln(i).position;)i=Sn(i,e);return i&&("html"===Vr(i)||"body"===Vr(i)&&"static"===ln(i).position&&!nn(i))?o:i||function(t){let e=pn(t);for(;tn(e)&&!sn(e);){if(nn(e))return e;e=pn(e)}return null}(t)||o}const Cn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=tn(o),n=qr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Wr(1);const l=Wr(0);if((r||!r&&"fixed"!==i)&&(("body"!==Vr(o)||on(n))&&(a=cn(o)),tn(o))){const t=mn(o);s=yn(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:qr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=hn(t,[],!1).filter((t=>Qr(t)&&"body"!==Vr(t))),r=null;const n="fixed"===ln(t).position;let a=n?pn(t):t;for(;Qr(a)&&!sn(a);){const e=ln(a),o=nn(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||on(a)&&!o&&vn(t,a))?i=i.filter((t=>t!==a)):r=e,a=pn(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=On(e,o,r);return t.top=Ir(i.top,t.top),t.right=$r(i.right,t.right),t.bottom=$r(i.bottom,t.bottom),t.left=Ir(i.left,t.left),t}),On(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:wn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||wn,n=this.getDimensions;return{reference:Nn(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return dn(t)},getScale:yn,isElement:Qr,isRTL:function(t){return"rtl"===ln(t).direction}},Rn=(t,e,o)=>{const i=new Map,r={platform:Cn,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=Tr(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:p,y:f}=Tr(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};var En=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Un extends Me{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 $,this.revealDebouncer=new $}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return re`
|
|
570
|
+
`,Er=["start","end"],Ur=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Er[0],e+"-"+Er[1])),[]),$r=Math.min,Ir=Math.max,kr=Math.round,Wr=t=>({x:t,y:t}),Lr={left:"right",right:"left",bottom:"top",top:"bottom"},Kr={start:"end",end:"start"};function Zr(t,e,o){return Ir(t,$r(e,o))}function zr(t,e){return"function"==typeof t?t(e):t}function Fr(t){return t.split("-")[0]}function Mr(t){return t.split("-")[1]}function Ar(t){return"x"===t?"y":"x"}function Dr(t){return"y"===t?"height":"width"}function Br(t){return["top","bottom"].includes(Fr(t))?"y":"x"}function Pr(t){return Ar(Br(t))}function jr(t){return t.replace(/left|right|bottom|top/g,(t=>Lr[t]))}function Hr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Tr(t,e,o){let{reference:i,floating:r}=t;const n=Br(e),a=Pr(e),s=Dr(a),l=Fr(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Mr(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function _r(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=zr(e,t),u=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}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Hr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=Hr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function Gr(t,e,o){return(t?[...o.filter((e=>Mr(e)===t)),...o.filter((e=>Mr(e)!==t))]:o.filter((t=>Fr(t)===t))).filter((o=>!t||(Mr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Kr[t]))}(o)!==o)))}const Yr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Ur,autoAlignment:d=!0,...u}=zr(t,e),y=void 0!==f||h===Ur?Gr(f||null,d,h):h,g=await _r(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Mr(t),r=Pr(t),n=Dr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=jr(a)),[a,jr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[Fr(m)],g[x[0]],g[x[1]]],v=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const e=Mr(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=S.filter((t=>t[2].slice(0,Mr(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Vr(t){return Xr(t)?(t.nodeName||"").toLowerCase():"#document"}function Jr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function qr(t){var e;return null==(e=(Xr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Xr(t){return t instanceof Node||t instanceof Jr(t).Node}function Qr(t){return t instanceof Element||t instanceof Jr(t).Element}function tn(t){return t instanceof HTMLElement||t instanceof Jr(t).HTMLElement}function en(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Jr(t).ShadowRoot)}function on(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=ln(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function rn(t){return["table","td","th"].includes(Vr(t))}function nn(t){const e=an(),o=ln(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function an(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function sn(t){return["html","body","#document"].includes(Vr(t))}function ln(t){return Jr(t).getComputedStyle(t)}function cn(t){return Qr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pn(t){if("html"===Vr(t))return t;const e=t.assignedSlot||t.parentNode||en(t)&&t.host||qr(t);return en(e)?e.host:e}function fn(t){const e=pn(t);return sn(e)?t.ownerDocument?t.ownerDocument.body:t.body:tn(e)&&on(e)?e:fn(e)}function hn(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=fn(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Jr(r);return n?e.concat(a,a.visualViewport||[],on(r)?r:[],a.frameElement&&o?hn(a.frameElement):[]):e.concat(r,hn(r,[],o))}function dn(t){const e=ln(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=tn(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=kr(o)!==n||kr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function un(t){return Qr(t)?t:t.contextElement}function yn(t){const e=un(t);if(!tn(e))return Wr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=dn(e);let a=(n?kr(o.width):o.width)/i,s=(n?kr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const gn=Wr(0);function bn(t){const e=Jr(t);return an()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:gn}function mn(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=un(t);let a=Wr(1);e&&(i?Qr(i)&&(a=yn(i)):a=yn(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Jr(t))&&e}(n,o,i)?bn(n):Wr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=Jr(n),e=i&&Qr(i)?Jr(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=yn(o),e=o.getBoundingClientRect(),i=ln(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=Jr(o).frameElement}}return Hr({width:p,height:f,x:l,y:c})}function xn(t){return mn(qr(t)).left+cn(t).scrollLeft}function On(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Jr(t),i=qr(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=an();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=qr(t),o=cn(t),i=t.ownerDocument.body,r=Ir(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Ir(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+xn(t);const s=-o.scrollTop;return"rtl"===ln(i).direction&&(a+=Ir(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(qr(t));else if(Qr(e))i=function(t,e){const o=mn(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=tn(t)?yn(t):Wr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=bn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Hr(i)}function vn(t,e){const o=pn(t);return!(o===e||!Qr(o)||sn(o))&&("fixed"===ln(o).position||vn(o,e))}function Nn(t,e,o){const i=tn(e),r=qr(e),n="fixed"===o,a=mn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Wr(0);if(i||!i&&!n)if(("body"!==Vr(e)||on(r))&&(s=cn(e)),i){const t=mn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=xn(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Sn(t,e){return tn(t)&&"fixed"!==ln(t).position?e?e(t):t.offsetParent:null}function wn(t,e){const o=Jr(t);if(!tn(t))return o;let i=Sn(t,e);for(;i&&rn(i)&&"static"===ln(i).position;)i=Sn(i,e);return i&&("html"===Vr(i)||"body"===Vr(i)&&"static"===ln(i).position&&!nn(i))?o:i||function(t){let e=pn(t);for(;tn(e)&&!sn(e);){if(nn(e))return e;e=pn(e)}return null}(t)||o}const Cn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=tn(o),n=qr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Wr(1);const l=Wr(0);if((r||!r&&"fixed"!==i)&&(("body"!==Vr(o)||on(n))&&(a=cn(o)),tn(o))){const t=mn(o);s=yn(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:qr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=hn(t,[],!1).filter((t=>Qr(t)&&"body"!==Vr(t))),r=null;const n="fixed"===ln(t).position;let a=n?pn(t):t;for(;Qr(a)&&!sn(a);){const e=ln(a),o=nn(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||on(a)&&!o&&vn(t,a))?i=i.filter((t=>t!==a)):r=e,a=pn(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=On(e,o,r);return t.top=Ir(i.top,t.top),t.right=$r(i.right,t.right),t.bottom=$r(i.bottom,t.bottom),t.left=Ir(i.left,t.left),t}),On(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:wn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||wn,n=this.getDimensions;return{reference:Nn(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return dn(t)},getScale:yn,isElement:Qr,isRTL:function(t){return"rtl"===ln(t).direction}},Rn=(t,e,o)=>{const i=new Map,r={platform:Cn,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=Tr(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:p,y:f}=Tr(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function En(t){return function(t){for(let e=t;e;e=Un(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Un(t);e;e=Un(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Un(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var $n=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class In extends Me{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 $,this.revealDebouncer=new $}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return re`
|
|
571
571
|
<div part="container"
|
|
572
572
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
573
573
|
@mouseenter=${this.onHover}
|
|
@@ -575,7 +575,7 @@ class rr extends eo{constructor(t){if(super(t),this.et=tt,t.type!==Qe)throw Erro
|
|
|
575
575
|
@focusin=${this.onHover}
|
|
576
576
|
@focusout=${this.onOut}
|
|
577
577
|
@touchstart=${this.onTouch}>
|
|
578
|
-
<slot></slot>
|
|
578
|
+
<slot part="slot"></slot>
|
|
579
579
|
<div part="tooltip" role="tooltip" inert
|
|
580
580
|
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
581
581
|
?hidden=${!this.visible}>
|
|
@@ -585,7 +585,7 @@ class rr extends eo{constructor(t){if(super(t),this.et=tt,t.type!==Qe)throw Erro
|
|
|
585
585
|
</div>
|
|
586
586
|
</div>
|
|
587
587
|
</div>
|
|
588
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&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="",Rn(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=zr(t,e),c={x:o,y:i},p=await _r(e,l),f=Br(Fr(r)),h=Ar(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Zr(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Zr(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...e,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),Yr({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}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,e){return Math.max(t,Math.min(0,-e))}}
|
|
588
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&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="",Rn(this.slottedElement,this.tooltip,{platform:{...Cn,getOffsetParent:t=>Cn.getOffsetParent(t,En)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=zr(t,e),c={x:o,y:i},p=await _r(e,l),f=Br(Fr(r)),h=Ar(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Zr(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Zr(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...e,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),Yr({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}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,e){return Math.max(t,Math.min(0,-e))}}In.elementDefinitions={"ft-typography":ir},In.styles=Rr,$n([w()],In.prototype,"text",void 0),$n([w({type:Boolean})],In.prototype,"manual",void 0),$n([w({type:Boolean})],In.prototype,"inline",void 0),$n([w({type:Number})],In.prototype,"delay",void 0),$n([w()],In.prototype,"position",void 0),$n([function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],In.prototype,"slotNodes",void 0),$n([U(".ft-tooltip--container")],In.prototype,"container",void 0),$n([U(".ft-tooltip")],In.prototype,"tooltip",void 0),$n([U(".ft-tooltip--content")],In.prototype,"tooltipContent",void 0),$n([C()],In.prototype,"visible",void 0),$n([R({passive:!0})],In.prototype,"onTouch",null),$n([R({passive:!0})],In.prototype,"onHover",null),$n([R({passive:!0})],In.prototype,"onOut",null),k("ft-tooltip")(In);var kn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Wn extends CustomEvent{constructor(t){super("index-change",{detail:t})}}class Ln extends Me{constructor(){super(...arguments),this.dense=!1,this.contentBefore=!1,this.alignTabs=t.FtTabsAlignment.justify,this.ftTabs=[],this.activeIndex=0,this.updateDebouncer=new $(2),this.onTabUpdated=()=>this.updateDebouncer.run((()=>{this.requestUpdate(),this.dispatchEvent(new $e)})),this.resizeObserver=new ResizeObserver((()=>this.placeIndicator()))}render(){var t;const e={"ft-tabs":!0,"ft-tabs--reverse":this.contentBefore,"ft-tabs--dense":this.dense},o=null===(t=this.ftTabs[this.activeIndex])||void 0===t?void 0:t.color;return re`
|
|
589
589
|
<div class="${po(e)}" part="container">
|
|
590
590
|
<div class="ft-tabs--align-${this.alignTabs}" role="tablist" part="tablist">
|
|
591
591
|
${co(this.ftTabs,((t,e)=>this.addTooltipIfNecessary(t,re`
|
|
@@ -625,11 +625,11 @@ class rr extends eo{constructor(t){if(super(t),this.et=tt,t.type!==Qe)throw Erro
|
|
|
625
625
|
<slot @slotchange=${this.onContentChange}></slot>
|
|
626
626
|
</div>
|
|
627
627
|
</div>
|
|
628
|
-
`}onContentChange(t){const e=t.composedPath()[0];this.ftTabs=e.assignedElements().map((t=>t)),this.ftTabs.forEach((t=>{t.removeEventListener("updated",this.onTabUpdated),t.addEventListener("updated",this.onTabUpdated)})),this.updateTabs()}update(t){super.update(t),t.has("activeIndex")&&this.dispatchEvent(new Ue),(t.has("ftTabs")||t.has("activeIndex"))&&this.updateTabs(),t.has("activeIndex")&&this.dispatchEvent(new
|
|
628
|
+
`}onContentChange(t){const e=t.composedPath()[0];this.ftTabs=e.assignedElements().map((t=>t)),this.ftTabs.forEach((t=>{t.removeEventListener("updated",this.onTabUpdated),t.addEventListener("updated",this.onTabUpdated)})),this.updateTabs()}update(t){super.update(t),t.has("activeIndex")&&this.dispatchEvent(new Ue),(t.has("ftTabs")||t.has("activeIndex"))&&this.updateTabs(),t.has("activeIndex")&&this.dispatchEvent(new Wn(this.activeIndex))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.tabsContainer&&this.resizeObserver.observe(this.tabsContainer),this.placeIndicator()}placeIndicator(){var t,e,o,i,r,n,a;if(this.activeTabIndicator){const s=null!==(e=null===(t=this.activeTab)||void 0===t?void 0:t.closest(".ft-tabs--tab-tooltip"))&&void 0!==e?e:this.activeTab;this.activeTabIndicator.style.width=(null!==(o=null==s?void 0:s.clientWidth)&&void 0!==o?o:0)+"px",this.activeTabIndicator.style.left=(null!==(i=null==s?void 0:s.offsetLeft)&&void 0!==i?i:0)+"px",this.contentBefore?this.activeTabIndicator.style.top=(null!==(r=null==s?void 0:s.offsetTop)&&void 0!==r?r:0)+"px":this.activeTabIndicator.style.top=(null!==(n=null==s?void 0:s.offsetTop)&&void 0!==n?n:0)+(null!==(a=null==s?void 0:s.clientHeight)&&void 0!==a?a:0)-this.activeTabIndicator.clientHeight+"px"}}updateTabs(){this.ftTabs.forEach(((t,e)=>{t.active=e==this.activeIndex}))}addTooltipIfNecessary(t,e){return this.dense&&t.label&&t.icon?re`
|
|
629
629
|
<ft-tooltip class="ft-tabs--tab-tooltip"
|
|
630
630
|
part="tab-tooltip"
|
|
631
631
|
text="${t.label}"
|
|
632
632
|
position="${this.contentBefore?"top":"bottom"}">
|
|
633
633
|
${e}
|
|
634
634
|
</ft-tooltip>
|
|
635
|
-
`:e}}
|
|
635
|
+
`:e}}Ln.elementDefinitions={"ft-tab":qe,"ft-ripple":Uo,"ft-tooltip":In,"ft-typography":ir,"ft-icon":br},Ln.styles=xr,kn([w({type:Boolean})],Ln.prototype,"dense",void 0),kn([w({type:Boolean})],Ln.prototype,"contentBefore",void 0),kn([w()],Ln.prototype,"alignTabs",void 0),kn([C()],Ln.prototype,"ftTabs",void 0),kn([U("[role='tablist']")],Ln.prototype,"tabsContainer",void 0),kn([U("[aria-selected='true']")],Ln.prototype,"activeTab",void 0),kn([U(".ft-tabs--active-tab-indicator")],Ln.prototype,"activeTabIndicator",void 0),kn([w({type:Number,reflect:!0})],Ln.prototype,"activeIndex",void 0);k("ft-tab")(qe),k("ft-tabs")(Ln),t.FtTab=qe,t.FtTabCssVariables={},t.FtTabs=Ln,t.FtTabsCssVariables=mr,t.IndexChangeEvent=Wn,t.styles=xr}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-tabs",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"description": "Generic tabs component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-icon": "1.1.
|
|
23
|
-
"@fluid-topics/ft-ripple": "1.1.
|
|
24
|
-
"@fluid-topics/ft-tooltip": "1.1.
|
|
25
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-icon": "1.1.10",
|
|
23
|
+
"@fluid-topics/ft-ripple": "1.1.10",
|
|
24
|
+
"@fluid-topics/ft-tooltip": "1.1.10",
|
|
25
|
+
"@fluid-topics/ft-typography": "1.1.10",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.1.10",
|
|
27
27
|
"lit": "3.1.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "dd861ad18248198f16fe78602cb5d72049c15ec2"
|
|
30
30
|
}
|