@fluid-topics/ft-search-saved-searches 1.1.2 → 1.1.4
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-search-saved-searches.light.js +119 -119
- package/build/ft-search-saved-searches.min.js +269 -269
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,o,e,i,
|
|
1
|
+
!function(t,o,e,r,i,n,a){const l=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),s={color:l,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",l),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},c=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),p=c,f=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",c),h=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),d=h,u=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",h),y=e.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
56
|
-
background-color: ${
|
|
56
|
+
background-color: ${u};
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
@@ -110,32 +110,32 @@
|
|
|
110
110
|
opacity: ${s.opacityContentOnSurfacePressed};
|
|
111
111
|
transform: translate(-50%, -50%) scale(1);
|
|
112
112
|
}
|
|
113
|
-
`;var g=function(t,o,e,
|
|
113
|
+
`;var g=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class b extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
|
|
114
114
|
<style>
|
|
115
115
|
.ft-ripple .ft-ripple--effect {
|
|
116
116
|
left: ${this.originX}px;
|
|
117
117
|
top: ${this.originY}px;
|
|
118
118
|
}
|
|
119
119
|
</style>
|
|
120
|
-
<div class="${
|
|
120
|
+
<div class="${i.classMap(t)}">
|
|
121
121
|
<div class="ft-ripple--background"></div>
|
|
122
122
|
<div class="ft-ripple--effect"></div>
|
|
123
123
|
</div>
|
|
124
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),
|
|
124
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}b.elementDefinitions={},b.styles=y,g([r.property({type:Boolean})],b.prototype,"primary",void 0),g([r.property({type:Boolean})],b.prototype,"secondary",void 0),g([r.property({type:Boolean})],b.prototype,"unbounded",void 0),g([r.property({type:Boolean})],b.prototype,"activated",void 0),g([r.property({type:Boolean})],b.prototype,"selected",void 0),g([r.property({type:Boolean})],b.prototype,"disabled",void 0),g([r.state()],b.prototype,"hovered",void 0),g([r.state()],b.prototype,"focused",void 0),g([r.state()],b.prototype,"pressed",void 0),g([r.state()],b.prototype,"rippling",void 0),g([r.state()],b.prototype,"originX",void 0),g([r.state()],b.prototype,"originY",void 0),g([r.query(".ft-ripple")],b.prototype,"ripple",void 0),g([r.query(".ft-ripple--effect")],b.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(b);
|
|
125
125
|
/**
|
|
126
126
|
* @license
|
|
127
127
|
* Copyright 2017 Google LLC
|
|
128
128
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
129
129
|
*/
|
|
130
|
-
const m=globalThis,v=m.trustedTypes,x=v?v.createPolicy("lit-html",{createHTML:t=>t}):void 0,O="$lit$",
|
|
130
|
+
const m=globalThis,v=m.trustedTypes,x=v?v.createPolicy("lit-html",{createHTML:t=>t}):void 0,O="$lit$",S=`lit$${(Math.random()+"").slice(9)}$`,N="?"+S,w=`<${N}>`,$=document,C=()=>$.createComment(""),E=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,R="[ \t\n\f\r]",U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,L=/>/g,W=RegExp(`>|${R}(?:([^\\s"'>=/]+)(${R}*=${R}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),B=/'/g,K=/"/g,z=/^(?:script|style|textarea|title)$/i,A=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Z=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),F=new WeakMap,T=$.createTreeWalker($,129);function P(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==x?x.createHTML(o):o}const H=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=U;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,s=a.exec(e),null!==s);)p=a.lastIndex,a===U?"!--"===s[1]?a=k:void 0!==s[1]?a=L:void 0!==s[2]?(z.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=W):void 0!==s[3]&&(a=W):a===W?">"===s[0]?(a=i??U,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?W:'"'===s[3]?K:B):a===K||a===B?a=W:a===k||a===L?a=U:(a=W,i=void 0);const f=a===W&&t[o+1].startsWith("/>")?" ":"";n+=a===U?e+w:c>=0?(r.push(l),e.slice(0,c)+O+e.slice(c)+S+f):e+S+(-2===c?o:f)}return[P(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class j{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[s,c]=H(t,o);if(this.el=j.createElement(s,e),T.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=T.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(O)){const o=c[n++],e=r.getAttribute(t).split(S),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?V:"?"===a[1]?q:"@"===a[1]?X:Y}),r.removeAttribute(t)}else t.startsWith(S)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(z.test(r.tagName)){const t=r.textContent.split(S),o=t.length-1;if(o>0){r.textContent=v?v.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],C()),T.nextNode(),l.push({type:2,index:++i});r.append(t[o],C())}}}else if(8===r.nodeType)if(r.data===N)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(S,t+1));)l.push({type:7,index:i}),t+=S.length-1}i++}}static createElement(t,o){const e=$.createElement("template");return e.innerHTML=t,e}}function M(t,o,e=t,r){if(o===Z)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=E(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=M(t,i._$AS(t,o.values),i,r)),o}class G{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??$).importNode(o,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new _(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new J(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=T.nextNode(),n++)}return T.currentNode=$,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 _{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=D,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=M(this,t,o),E(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==Z&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>I(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!==D&&E(this._$AH)?this._$AA.nextSibling.data=t:this.$($.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(P(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new G(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=F.get(t.strings);return void 0===o&&F.set(t.strings,o=new j(t)),o}T(t){I(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new _(this.k(C()),this.k(C()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Y{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=D}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=M(this,t,o,0),n=!E(t)||t!==this._$AH&&t!==Z,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=M(this,r[e+a],o,a),l===Z&&(l=this._$AH[a]),n||=!E(l)||l!==this._$AH[a],l===D?t=D:t!==D&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class V extends Y{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===D?void 0:t}}class q extends Y{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}}class X extends Y{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=M(this,t,o,0)??D)===Z)return;const e=this._$AH,r=t===D&&e!==D||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==D&&(e===D||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class J{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){M(this,t)}}const Q=m.litHtmlPolyfillSupport;Q?.(j,_),(m.litHtmlVersions??=[]).push("3.1.0");
|
|
131
131
|
/**
|
|
132
132
|
* @license
|
|
133
133
|
* Copyright 2020 Google LLC
|
|
134
134
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
135
135
|
*/
|
|
136
|
-
const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$litStatic$:t,r:tt}),it=new Map,rt=(t=>(o,...e)=>{const i=e.length;let r,a;const n=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(a=e[c],r=ot(a));)s+=r+o[++c],p=!0;c!==i&&l.push(a),n.push(s),c++}if(c===i&&n.push(o[i]),p){const t=n.join("$$lit$$");void 0===(o=it.get(t))&&(n.raw=n,it.set(t,o=n)),e=l}return t(o,...e)})(Z);var at;!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"}(at||(at={}));const nt=t=>"string"==typeof t?e.unsafeCSS(t):t;class lt{static create(t,o,i,r){const a=t=>nt(null!=t?t:r),n=e.css`var(${nt(t)}, ${a(r)})`;return n.name=t,n.description=o,n.category=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${nt(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,i,r){const a=t=>i.get(null!=t?t:r),n=e.css`var(${nt(t)}, ${a(r)})`;return n.name=t,n.description=o,n.category=i.category,n.fallbackVariable=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${nt(t)}, ${a(o)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),n}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):nt(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${nt(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${nt(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const st={colorWhite:lt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:lt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:lt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:lt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:lt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:lt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:lt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:lt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:lt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:lt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:lt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:lt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:lt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:lt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:lt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:lt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:lt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:lt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:lt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:lt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:lt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:lt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:lt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:lt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:lt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:lt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:lt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:lt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:lt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:lt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:lt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:lt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:lt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:lt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:lt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:lt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:lt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:lt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:lt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:lt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:lt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:lt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:lt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:lt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:lt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:lt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:lt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:lt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:lt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:lt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:lt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:lt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:lt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:lt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:lt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:lt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:lt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:lt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:lt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:lt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:lt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:lt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:lt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:lt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:lt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:lt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:lt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:lt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:lt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:lt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:lt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:lt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:lt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:lt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:lt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:lt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:lt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:lt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:lt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:lt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:lt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:lt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:lt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:lt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:lt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:lt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:lt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:lt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:lt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:lt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:lt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:lt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:lt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:lt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:lt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:lt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:lt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:lt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:lt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:lt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:lt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:lt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:lt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:lt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:lt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:lt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:lt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:lt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:lt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:lt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:lt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:lt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:lt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:lt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:lt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:lt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:lt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:lt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:lt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:lt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:lt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:lt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:lt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:lt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:lt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:lt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:lt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:lt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:lt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:lt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:lt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:lt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:lt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:lt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:lt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:lt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:lt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:lt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:lt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:lt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:lt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:lt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:lt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:lt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:lt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:lt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:lt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:lt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:lt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:lt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:lt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:lt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:lt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:lt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:lt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:lt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:lt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:lt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:lt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:lt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:lt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:lt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:lt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:lt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:lt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:lt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:lt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:lt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:lt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:lt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:lt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:lt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:lt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:lt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:lt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:lt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:lt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:lt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:lt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:lt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:lt.create("--ft-opacity-0","","NUMBER","0"),opacity8:lt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:lt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:lt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:lt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:lt.create("--ft-opacity-80","","NUMBER","0.8")},ct={display:{fontFamily:lt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:lt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:lt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:lt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:lt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:lt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:lt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:lt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:lt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:lt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:lt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:lt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:lt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:lt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:lt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:lt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:lt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:lt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:lt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:lt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:lt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:lt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:lt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:lt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:lt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:lt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:lt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:lt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:lt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},pt={backgroundActionPrimary:lt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",st.colorBrand0),backgroundErrorPrimary:lt.extend("--ft-background-error-primary","Used as background of error components.",st.colorRed0),backgroundErrorSubtle:lt.extend("--ft-background-error-subtle","Used as background of subtle error components.",st.colorRed10),backgroundInfoPrimary:lt.extend("--ft-background-info-primary","Used as background of information components.",st.colorCyan200),backgroundInfoSubtle:lt.extend("--ft-background-info-subtle","Used as background of subtle information components.",st.colorCyan10),backgroundWarningPrimary:lt.extend("--ft-background-warning-primary","Used as background of warning components.",st.colorOrange300),backgroundWarningSubtle:lt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",st.colorOrange10),backgroundSuccessPrimary:lt.extend("--ft-background-success-primary","Used as background of success components.",st.colorGreen200),backgroundSuccessSubtle:lt.extend("--ft-background-success-subtle","Used as background of subtle success components.",st.colorGreen10),backgroundGlobalSurface:lt.extend("--ft-background-global-surface","Used as app background.",st.colorWhite),backgroundGlobalOnSurface:lt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",st.colorGray10),backgroundGlobalOnSurfaceDark:lt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",st.colorGray30),contentActionPrimary:lt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",st.colorBrand0),contentWarningPrimary:lt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",st.colorOrange300),contentWarningIconOnly:lt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",st.colorOrange0),contentErrorPrimary:lt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",st.colorRed0),contentErrorIconOnly:lt.extend("--ft-content-error-icon-only","Used on error status icons alone",st.colorRed0),contentInfoPrimary:lt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",st.colorCyan200),contentInfoIconOnly:lt.extend("--ft-content-info-icon-only","Used on info status icons alone",st.colorCyan0),contentSuccessIconOnly:lt.extend("--ft-content-success-icon-only","Used on success status icons alone",st.colorGreen0),contentSuccessPrimary:lt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",st.colorGreen200),contentGlobalPrimary:lt.extend("--ft-content-global-primary","Used for main content on the page.",st.colorGray500),contentGlobalSecondary:lt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",st.colorGray200),contentGlobalSubtle:lt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",st.colorGray0),contentGlobalOnColor:lt.extend("--ft-content-global-on-color","Used for content on a dominant color.",st.colorWhite),borderActionPrimary:lt.extend("--ft-border-action-primary","Used as border for primary action components.",st.colorBrand0),borderActionFocusRing:lt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",st.colorCyan0),borderWarningPrimary:lt.extend("--ft-border-warning-primary","Used as border for warning components.",st.colorOrange30),borderSuccessPrimary:lt.extend("--ft-border-success-primary","Used as border for success components.",st.colorGreen30),borderErrorPrimary:lt.extend("--ft-border-error-primary","Used as border for error components.",st.colorRed30),borderInfoPrimary:lt.extend("--ft-border-info-primary","Used as border for information components.",st.colorCyan30),borderGlobalSubtle:lt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",st.colorGray30),borderGlobalPrimary:lt.extend("--ft-border-global-primary","Used as border for element like input.",st.colorGray50),borderInputPrimary:lt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",st.colorGray80)},ft={largeHeight:lt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:lt.extend("--ft-button-large-horizontal-padding","",st.spacing4),largeGap:lt.extend("--ft-button-large-gap","",st.spacing2),largeBorderRadius:lt.extend("--ft-button-large-border-radius","",st.borderRadiusS),largeIconSize:lt.extend("--ft-button-large-icon-size","",st.iconSize3),largeBorderWidth:lt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:lt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:lt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:lt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:lt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:lt.extend("--ft-button-small-horizontal-padding","",st.spacing3),smallGap:lt.extend("--ft-button-small-gap","",st.spacing2),smallBorderRadius:lt.extend("--ft-button-small-border-radius","",st.borderRadiusS),smallIconSize:lt.extend("--ft-button-small-icon-size","",st.iconSize2),smallBorderWidth:lt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:lt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:lt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:lt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:lt.extend("--ft-button-primary-background-color","",pt.backgroundActionPrimary),primaryColor:lt.extend("--ft-button-primary-color","",pt.contentGlobalOnColor),primaryIconColor:lt.extend("--ft-button-primary-icon-color","",pt.contentGlobalOnColor),primaryStateLayerColor:lt.extend("--ft-button-primary-state-layer-color","",pt.contentGlobalOnColor),primaryStateLayerOpacityHover:lt.extend("--ft-button-primary-state-layer-opacity-hover","",st.opacity16),primaryStateLayerOpacityFocus:lt.extend("--ft-button-primary-state-layer-opacity-focus","",st.opacity16),primaryStateLayerOpacityActive:lt.extend("--ft-button-primary-state-layer-opacity-active","",st.opacity24),primaryComponentOpacityDisabled:lt.extend("--ft-button-primary-component-opacity-disabled","",st.opacity40),focusFocusRingColor:lt.extend("--ft-button-focus-focus-ring-color","",pt.borderActionFocusRing),tertiaryBackgroundColor:lt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:lt.extend("--ft-button-tertiary-color","",pt.contentActionPrimary),tertiaryIconColor:lt.extend("--ft-button-tertiary-icon-color","",pt.contentActionPrimary),tertiaryStateLayerColor:lt.extend("--ft-button-tertiary-state-layer-color","",pt.contentActionPrimary),tertiaryStateLayerOpacityHover:lt.extend("--ft-button-tertiary-state-layer-opacity-hover","",st.opacity8),tertiaryStateLayerOpacityFocus:lt.extend("--ft-button-tertiary-state-layer-opacity-focus","",st.opacity8),tertiaryStateLayerOpacityActive:lt.extend("--ft-button-tertiary-state-layer-opacity-active","",st.opacity16),tertiaryComponentOpacityDisabled:lt.extend("--ft-button-tertiary-component-opacity-disabled","",st.opacity40),secondaryBackgroundColor:lt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:lt.extend("--ft-button-secondary-color","",pt.contentActionPrimary),secondaryIconColor:lt.extend("--ft-button-secondary-icon-color","",pt.contentActionPrimary),secondaryStateLayerColor:lt.extend("--ft-button-secondary-state-layer-color","",pt.contentActionPrimary),secondaryStateLayerOpacityHover:lt.extend("--ft-button-secondary-state-layer-opacity-hover","",st.opacity8),secondaryStateLayerOpacityFocus:lt.extend("--ft-button-secondary-state-layer-opacity-focus","",st.opacity8),secondaryStateLayerOpacityActive:lt.extend("--ft-button-secondary-state-layer-opacity-active","",st.opacity16),secondaryComponentOpacityDisabled:lt.extend("--ft-button-secondary-component-opacity-disabled","",st.opacity40),secondaryBorderColor:lt.extend("--ft-button-secondary-border-color","",pt.borderActionPrimary),neutralBackgroundColor:lt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:lt.extend("--ft-button-neutral-icon-color","",pt.contentGlobalSecondary),neutralColor:lt.extend("--ft-button-neutral-color","",pt.contentGlobalSecondary),neutralStateLayerColor:lt.extend("--ft-button-neutral-state-layer-color","",pt.contentGlobalSecondary),neutralStateLayerOpacityHover:lt.extend("--ft-button-neutral-state-layer-opacity-hover","",st.opacity8),neutralStateLayerOpacityFocus:lt.extend("--ft-button-neutral-state-layer-opacity-focus","",st.opacity8),neutralStateLayerOpacityActive:lt.extend("--ft-button-neutral-state-layer-opacity-active","",st.opacity16),neutralComponentOpacityDisabled:lt.extend("--ft-button-neutral-component-opacity-disabled","",st.opacity40)};lt.extend("--ft-tabs-top-left-border-radius","",st.borderRadiusS),lt.extend("--ft-tabs-top-right-border-radius","",st.borderRadiusS),lt.extend("--ft-tabs-label-horizontal-padding","",st.spacing4),lt.extend("--ft-tabs-label-vertical-padding","",st.spacing3),lt.extend("--ft-tabs-label-gap","",st.spacing1),lt.extend("--ft-switch-group-horizontal-padding","",st.spacing1),lt.extend("--ft-switch-group-vertical-padding","",st.spacing1),lt.extend("--ft-switch-group-gap","",st.spacing1),lt.extend("--ft-switch-group-background-color","",pt.backgroundGlobalSurface),lt.extend("--ft-switch-group-border-color","",pt.borderGlobalSubtle),lt.create("--ft-switch-group-border-radius","","SIZE","6px"),lt.extend("--ft-switch-label-horizontal-padding","",st.spacing2),lt.extend("--ft-switch-label-vertical-padding","",st.spacing1),lt.extend("--ft-switch-icon-horizontal-padding","",st.spacing1),lt.extend("--ft-switch-icon-vertical-padding","",st.spacing1),lt.create("--ft-switch-focus-outline-width","","SIZE","2px"),lt.extend("--ft-switch-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-switch-option-border-radius","",st.borderRadiusS),lt.extend("--ft-switch-off-state-layer-opacity-hover","",st.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-focus","",st.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-active","",st.opacity16),lt.extend("--ft-switch-off-component-opacity-disabled","",st.opacity40),lt.extend("--ft-switch-off-color","",pt.contentGlobalSubtle),lt.extend("--ft-switch-off-state-layer-color","",pt.contentGlobalSubtle),lt.extend("--ft-chart-1-light","for area color charts",st.colorBrand40),lt.extend("--ft-chart-1-base","for line charts",st.colorBrand0),lt.extend("--ft-chart-2-light","for area color charts",st.colorYellow60),lt.extend("--ft-chart-2-base","for line charts",st.colorYellow100),lt.extend("--ft-chart-3-light","",st.colorUltramarine40),lt.extend("--ft-chart-3-base","",st.colorUltramarine70),lt.extend("--ft-chart-4-light","",st.colorCyan50),lt.extend("--ft-chart-4-base","",st.colorCyan100),lt.extend("--ft-chart-5-light","",st.colorRed40),lt.extend("--ft-chart-5-base","",st.colorRed60),lt.extend("--ft-chart-6-light","",st.colorGreen40),lt.extend("--ft-chart-6-base","",st.colorGreen70),lt.extend("--ft-chart-7-light","",st.colorOrange70),lt.extend("--ft-chart-7-base","",st.colorOrange100),lt.extend("--ft-chart-8-light","",st.colorAvocado70),lt.extend("--ft-chart-8-base","",st.colorAvocado200),lt.extend("--ft-chart-9-light","",st.colorBrown50),lt.extend("--ft-chart-9-base","",st.colorBrown200),lt.extend("--ft-chart-10-light","",st.colorGray50),lt.extend("--ft-chart-10-base","",st.colorGray80),lt.extend("--ft-chart-monochrome-10","",st.colorBrand10),lt.extend("--ft-chart-monochrome-20","",st.colorBrand20),lt.extend("--ft-chart-monochrome-30","",st.colorBrand40),lt.extend("--ft-chart-monochrome-40","",st.colorBrand60),lt.extend("--ft-chart-monochrome-50","",st.colorBrand0),lt.extend("--ft-chart-monochrome-60","",st.colorBrand200),lt.extend("--ft-chip-large-horizontal-padding","",st.spacing4),lt.extend("--ft-chip-large-vertical-padding","",st.spacing2),lt.extend("--ft-chip-large-gap","",st.spacing1),lt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-large-border-radius","",st.borderRadiusPill),lt.create("--ft-chip-large-border-width","","SIZE","1px"),lt.extend("--ft-chip-large-icon-size","",st.iconSize3),lt.extend("--ft-chip-medium-horizontal-padding","",st.spacing3),lt.extend("--ft-chip-medium-vertical-padding","",st.spacing1),lt.extend("--ft-chip-medium-gap","",st.spacing1),lt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-medium-border-radius","",st.borderRadiusPill),lt.create("--ft-chip-medium-border-width","","SIZE","1px"),lt.extend("--ft-chip-medium-icon-size","",st.iconSize2),lt.extend("--ft-chip-small-horizontal-padding","",st.spacing2),lt.extend("--ft-chip-small-vertical-padding","",st.spacing05),lt.extend("--ft-chip-small-gap","",st.spacing1),lt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-small-border-radius","",st.borderRadiusPill),lt.create("--ft-chip-small-border-width","","SIZE","1px"),lt.extend("--ft-chip-small-icon-size","",st.iconSize1),lt.extend("--ft-chip-neutral-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-chip-neutral-color","",pt.contentGlobalPrimary),lt.extend("--ft-chip-neutral-border-color","",pt.borderGlobalSubtle),lt.extend("--ft-chip-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-chip-info-color","",pt.contentInfoPrimary),lt.extend("--ft-chip-info-border-color","",pt.borderInfoPrimary),lt.extend("--ft-chip-success-background-color","",pt.backgroundSuccessSubtle),lt.extend("--ft-chip-success-color","",pt.contentSuccessPrimary),lt.extend("--ft-chip-success-border-color","",pt.borderSuccessPrimary),lt.extend("--ft-chip-warning-background-color","",pt.backgroundWarningSubtle),lt.extend("--ft-chip-warning-color","",pt.contentWarningPrimary),lt.extend("--ft-chip-warning-border-color","",pt.borderWarningPrimary),lt.extend("--ft-chip-error-background-color","",pt.backgroundErrorSubtle),lt.extend("--ft-chip-error-color","",pt.contentErrorPrimary),lt.extend("--ft-chip-error-border-color","",pt.borderErrorPrimary),lt.create("--ft-notice-border-width","","SIZE","1px"),lt.extend("--ft-notice-horizontal-padding","",st.spacing2),lt.extend("--ft-notice-vertical-padding","",st.spacing1),lt.extend("--ft-notice-border-radius","",st.borderRadiusS),lt.extend("--ft-notice-gap","",st.spacing2),lt.extend("--ft-notice-icon-size","",st.iconSize3),lt.extend("--ft-notice-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-notice-info-border-color","",pt.borderInfoPrimary),lt.extend("--ft-notice-info-color","",pt.contentInfoPrimary),lt.extend("--ft-notice-warning-background-color","",pt.backgroundWarningSubtle),lt.extend("--ft-notice-warning-border-color","",pt.borderWarningPrimary),lt.extend("--ft-notice-warning-color","",pt.contentWarningPrimary),lt.extend("--ft-checkbox-label-color","",pt.contentGlobalPrimary),lt.extend("--ft-checkbox-checked-background-color","",pt.contentActionPrimary),lt.extend("--ft-checkbox-checked-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-checkbox-checked-color","",pt.contentGlobalOnColor),lt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",st.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",st.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-active","",st.opacity24),lt.extend("--ft-checkbox-checked-component-opacity-disabled","",st.opacity40),lt.extend("--ft-checkbox-unchecked-border-color","",st.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-color","",st.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",st.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",st.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",st.opacity24),lt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",st.opacity40),lt.extend("--ft-checkbox-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),lt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),lt.extend("--ft-checkbox-gap","",st.spacing3),lt.extend("--ft-toggle-off-state-layer-opacity-hover","",st.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-focus","",st.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-active","",st.opacity24),lt.extend("--ft-toggle-off-component-opacity-disabled","",st.opacity40),lt.extend("--ft-toggle-off-background-color","",pt.contentGlobalSubtle),lt.extend("--ft-toggle-off-icon-color","",pt.contentGlobalSubtle),lt.extend("--ft-toggle-off-state-layer-color","",pt.contentGlobalSubtle),lt.extend("--ft-toggle-on-state-layer-opacity-hover","",st.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-focus","",st.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-active","",st.opacity24),lt.extend("--ft-toggle-on-component-opacity-disabled","",st.opacity40),lt.extend("--ft-toggle-on-background-color","",pt.contentActionPrimary),lt.extend("--ft-toggle-on-icon-color","",pt.contentActionPrimary),lt.extend("--ft-toggle-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-toggle-label-color","",pt.contentGlobalPrimary),lt.extend("--ft-toggle-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-toggle-gap","",st.spacing3),lt.extend("--ft-radio-label-color","",pt.contentGlobalPrimary),lt.extend("--ft-radio-selected-color","",pt.contentActionPrimary),lt.extend("--ft-radio-selected-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-radio-selected-state-layer-opacity-hover","",st.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-focus","",st.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-active","",st.opacity24),lt.extend("--ft-radio-selected-component-opacity-disabled","",st.opacity40),lt.extend("--ft-radio-unselected-state-layer-color","",st.colorGray80),lt.extend("--ft-radio-unselected-state-layer-opacity-hover","",st.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-focus","",st.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-active","",st.opacity24),lt.extend("--ft-radio-unselected-component-opacity-disabled","",st.opacity40),lt.extend("--ft-radio-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),lt.create("--ft-radio-focus-outline-width","","SIZE","2px"),lt.extend("--ft-radio-gap","",st.spacing3),lt.extend("--ft-notification-icon-size","",st.iconSize4),lt.extend("--ft-notification-horizontal-padding","",st.spacing4),lt.extend("--ft-notification-vertical-padding","",st.spacing4),lt.extend("--ft-notification-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-notification-info-color","",pt.contentInfoPrimary),lt.extend("--ft-notification-info-border-color","",pt.borderInfoPrimary),lt.extend("--ft-notification-success-background-color","",pt.backgroundSuccessSubtle),lt.extend("--ft-notification-success-color","",pt.contentSuccessPrimary),lt.extend("--ft-notification-success-border-color","",pt.borderSuccessPrimary),lt.extend("--ft-notification-warning-background-color","",pt.backgroundWarningSubtle),lt.extend("--ft-notification-warning-color","",pt.contentWarningPrimary),lt.extend("--ft-notification-warning-border-color","",pt.borderWarningPrimary),lt.extend("--ft-notification-error-background-color","",pt.backgroundErrorSubtle),lt.extend("--ft-notification-error-color","",pt.contentErrorPrimary),lt.extend("--ft-notification-error-border-color","",pt.borderErrorPrimary),lt.extend("--ft-notification-border-radius","",st.borderRadiusPill),lt.create("--ft-notification-border-width","","SIZE","1px"),lt.extend("--ft-notification-gap-leading","",st.spacing2),lt.extend("--ft-notification-gap-trailing","",st.spacing8);const ht=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),dt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),yt={fontFamily:dt,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")},ut=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ht),gt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",yt.fontSize,"20px"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",yt.fontWeight,"normal"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",yt.letterSpacing,"0.15px"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",yt.lineHeight,"1.2"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",yt.textTransform,"inherit"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ht),Nt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",yt.fontSize,"14px"),St=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",yt.fontWeight,"normal"),wt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",yt.letterSpacing,"0.105px"),$t=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",yt.lineHeight,"1.7"),Ct=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",yt.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",dt),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",yt.fontSize,"16px"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",yt.fontWeight,"600"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",yt.letterSpacing,"0.144px"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",yt.lineHeight,"1.5"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",yt.textTransform,"inherit"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",dt),Kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",yt.fontSize,"14px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",yt.fontWeight,"normal"),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",yt.letterSpacing,"0.098px"),Zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",yt.lineHeight,"1.7"),At=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",yt.textTransform,"inherit"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",dt),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",yt.fontSize,"16px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",yt.fontWeight,"normal"),Ht=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",yt.letterSpacing,"0.496px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",yt.lineHeight,"1.5"),jt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",yt.textTransform,"inherit"),Mt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",yt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",yt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",yt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",yt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",yt.textTransform,"inherit")},Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",dt),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",yt.fontSize,"12px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",yt.fontWeight,"normal"),qt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",yt.letterSpacing,"0.396px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",yt.lineHeight,"1.33"),Xt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",yt.textTransform,"inherit"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",dt),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",yt.fontSize,"10px"),to=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",yt.fontWeight,"normal"),oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",yt.letterSpacing,"0.33px"),eo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",yt.lineHeight,"1.6"),io=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",yt.textTransform,"inherit"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",dt),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",yt.fontSize,"10px"),no=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",yt.fontWeight,"normal"),lo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",yt.letterSpacing,"1.5px"),so=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",yt.lineHeight,"1.6"),co=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",yt.textTransform,"uppercase"),po={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",yt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",yt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",yt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",yt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",yt.textTransform,"uppercase")},fo=e.css`
|
|
136
|
+
const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$litStatic$:t,r:tt}),rt=new Map,it=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let s,c=0,p=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(n=e[c],i=ot(n));)s+=i+o[++c],p=!0;c!==r&&l.push(n),a.push(s),c++}if(c===r&&a.push(o[r]),p){const t=a.join("$$lit$$");void 0===(o=rt.get(t))&&(a.raw=a,rt.set(t,o=a)),e=l}return t(o,...e)})(A);var nt;!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"}(nt||(nt={}));const at=t=>"string"==typeof t?e.unsafeCSS(t):t;class lt{static create(t,o,r,i){const n=t=>at(null!=t?t:i),a=e.css`var(${at(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${at(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${at(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${at(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):at(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${at(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${at(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const st={colorWhite:lt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:lt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:lt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:lt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:lt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:lt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:lt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:lt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:lt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:lt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:lt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:lt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:lt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:lt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:lt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:lt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:lt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:lt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:lt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:lt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:lt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:lt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:lt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:lt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:lt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:lt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:lt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:lt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:lt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:lt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:lt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:lt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:lt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:lt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:lt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:lt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:lt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:lt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:lt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:lt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:lt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:lt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:lt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:lt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:lt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:lt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:lt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:lt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:lt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:lt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:lt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:lt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:lt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:lt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:lt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:lt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:lt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:lt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:lt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:lt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:lt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:lt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:lt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:lt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:lt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:lt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:lt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:lt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:lt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:lt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:lt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:lt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:lt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:lt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:lt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:lt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:lt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:lt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:lt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:lt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:lt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:lt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:lt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:lt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:lt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:lt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:lt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:lt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:lt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:lt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:lt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:lt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:lt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:lt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:lt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:lt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:lt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:lt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:lt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:lt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:lt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:lt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:lt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:lt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:lt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:lt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:lt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:lt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:lt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:lt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:lt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:lt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:lt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:lt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:lt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:lt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:lt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:lt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:lt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:lt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:lt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:lt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:lt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:lt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:lt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:lt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:lt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:lt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:lt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:lt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:lt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:lt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:lt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:lt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:lt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:lt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:lt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:lt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:lt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:lt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:lt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:lt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:lt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:lt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:lt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:lt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:lt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:lt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:lt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:lt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:lt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:lt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:lt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:lt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:lt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:lt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:lt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:lt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:lt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:lt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:lt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:lt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:lt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:lt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:lt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:lt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:lt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:lt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:lt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:lt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:lt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:lt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:lt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:lt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:lt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:lt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:lt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:lt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:lt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:lt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:lt.create("--ft-opacity-0","","NUMBER","0"),opacity8:lt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:lt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:lt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:lt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:lt.create("--ft-opacity-80","","NUMBER","0.8")},ct={display:{fontFamily:lt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:lt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:lt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:lt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:lt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:lt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:lt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:lt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:lt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:lt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:lt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:lt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:lt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:lt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:lt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:lt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:lt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:lt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:lt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:lt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:lt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:lt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:lt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:lt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:lt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:lt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:lt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:lt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:lt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},pt={backgroundActionPrimary:lt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",st.colorBrand0),backgroundErrorPrimary:lt.extend("--ft-background-error-primary","Used as background of error components.",st.colorRed0),backgroundErrorSubtle:lt.extend("--ft-background-error-subtle","Used as background of subtle error components.",st.colorRed10),backgroundInfoPrimary:lt.extend("--ft-background-info-primary","Used as background of information components.",st.colorCyan200),backgroundInfoSubtle:lt.extend("--ft-background-info-subtle","Used as background of subtle information components.",st.colorCyan10),backgroundWarningPrimary:lt.extend("--ft-background-warning-primary","Used as background of warning components.",st.colorOrange300),backgroundWarningSubtle:lt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",st.colorOrange10),backgroundSuccessPrimary:lt.extend("--ft-background-success-primary","Used as background of success components.",st.colorGreen200),backgroundSuccessSubtle:lt.extend("--ft-background-success-subtle","Used as background of subtle success components.",st.colorGreen10),backgroundGlobalSurface:lt.extend("--ft-background-global-surface","Used as app background.",st.colorWhite),backgroundGlobalOnSurface:lt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",st.colorGray10),backgroundGlobalOnSurfaceDark:lt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",st.colorGray30),contentActionPrimary:lt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",st.colorBrand0),contentWarningPrimary:lt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",st.colorOrange300),contentWarningIconOnly:lt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",st.colorOrange0),contentErrorPrimary:lt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",st.colorRed0),contentErrorIconOnly:lt.extend("--ft-content-error-icon-only","Used on error status icons alone",st.colorRed0),contentInfoPrimary:lt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",st.colorCyan200),contentInfoIconOnly:lt.extend("--ft-content-info-icon-only","Used on info status icons alone",st.colorCyan0),contentSuccessIconOnly:lt.extend("--ft-content-success-icon-only","Used on success status icons alone",st.colorGreen0),contentSuccessPrimary:lt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",st.colorGreen200),contentGlobalPrimary:lt.extend("--ft-content-global-primary","Used for main content on the page.",st.colorGray500),contentGlobalSecondary:lt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",st.colorGray200),contentGlobalSubtle:lt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",st.colorGray0),contentGlobalOnColor:lt.extend("--ft-content-global-on-color","Used for content on a dominant color.",st.colorWhite),borderActionPrimary:lt.extend("--ft-border-action-primary","Used as border for primary action components.",st.colorBrand0),borderActionFocusRing:lt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",st.colorCyan0),borderWarningPrimary:lt.extend("--ft-border-warning-primary","Used as border for warning components.",st.colorOrange30),borderSuccessPrimary:lt.extend("--ft-border-success-primary","Used as border for success components.",st.colorGreen30),borderErrorPrimary:lt.extend("--ft-border-error-primary","Used as border for error components.",st.colorRed30),borderInfoPrimary:lt.extend("--ft-border-info-primary","Used as border for information components.",st.colorCyan30),borderGlobalSubtle:lt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",st.colorGray30),borderGlobalPrimary:lt.extend("--ft-border-global-primary","Used as border for element like input.",st.colorGray50),borderInputPrimary:lt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",st.colorGray80)},ft={largeHeight:lt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:lt.extend("--ft-button-large-horizontal-padding","",st.spacing4),largeGap:lt.extend("--ft-button-large-gap","",st.spacing2),largeBorderRadius:lt.extend("--ft-button-large-border-radius","",st.borderRadiusS),largeIconSize:lt.extend("--ft-button-large-icon-size","",st.iconSize3),largeBorderWidth:lt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:lt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:lt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:lt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:lt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:lt.extend("--ft-button-small-horizontal-padding","",st.spacing3),smallGap:lt.extend("--ft-button-small-gap","",st.spacing2),smallBorderRadius:lt.extend("--ft-button-small-border-radius","",st.borderRadiusS),smallIconSize:lt.extend("--ft-button-small-icon-size","",st.iconSize2),smallBorderWidth:lt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:lt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:lt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:lt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:lt.extend("--ft-button-primary-background-color","",pt.backgroundActionPrimary),primaryColor:lt.extend("--ft-button-primary-color","",pt.contentGlobalOnColor),primaryIconColor:lt.extend("--ft-button-primary-icon-color","",pt.contentGlobalOnColor),primaryStateLayerColor:lt.extend("--ft-button-primary-state-layer-color","",pt.contentGlobalOnColor),primaryStateLayerOpacityHover:lt.extend("--ft-button-primary-state-layer-opacity-hover","",st.opacity16),primaryStateLayerOpacityFocus:lt.extend("--ft-button-primary-state-layer-opacity-focus","",st.opacity16),primaryStateLayerOpacityActive:lt.extend("--ft-button-primary-state-layer-opacity-active","",st.opacity24),primaryComponentOpacityDisabled:lt.extend("--ft-button-primary-component-opacity-disabled","",st.opacity40),focusFocusRingColor:lt.extend("--ft-button-focus-focus-ring-color","",pt.borderActionFocusRing),tertiaryBackgroundColor:lt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:lt.extend("--ft-button-tertiary-color","",pt.contentActionPrimary),tertiaryIconColor:lt.extend("--ft-button-tertiary-icon-color","",pt.contentActionPrimary),tertiaryStateLayerColor:lt.extend("--ft-button-tertiary-state-layer-color","",pt.contentActionPrimary),tertiaryStateLayerOpacityHover:lt.extend("--ft-button-tertiary-state-layer-opacity-hover","",st.opacity8),tertiaryStateLayerOpacityFocus:lt.extend("--ft-button-tertiary-state-layer-opacity-focus","",st.opacity8),tertiaryStateLayerOpacityActive:lt.extend("--ft-button-tertiary-state-layer-opacity-active","",st.opacity16),tertiaryComponentOpacityDisabled:lt.extend("--ft-button-tertiary-component-opacity-disabled","",st.opacity40),secondaryBackgroundColor:lt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:lt.extend("--ft-button-secondary-color","",pt.contentActionPrimary),secondaryIconColor:lt.extend("--ft-button-secondary-icon-color","",pt.contentActionPrimary),secondaryStateLayerColor:lt.extend("--ft-button-secondary-state-layer-color","",pt.contentActionPrimary),secondaryStateLayerOpacityHover:lt.extend("--ft-button-secondary-state-layer-opacity-hover","",st.opacity8),secondaryStateLayerOpacityFocus:lt.extend("--ft-button-secondary-state-layer-opacity-focus","",st.opacity8),secondaryStateLayerOpacityActive:lt.extend("--ft-button-secondary-state-layer-opacity-active","",st.opacity16),secondaryComponentOpacityDisabled:lt.extend("--ft-button-secondary-component-opacity-disabled","",st.opacity40),secondaryBorderColor:lt.extend("--ft-button-secondary-border-color","",pt.borderActionPrimary),neutralBackgroundColor:lt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:lt.extend("--ft-button-neutral-icon-color","",pt.contentGlobalSecondary),neutralColor:lt.extend("--ft-button-neutral-color","",pt.contentGlobalSecondary),neutralStateLayerColor:lt.extend("--ft-button-neutral-state-layer-color","",pt.contentGlobalSecondary),neutralStateLayerOpacityHover:lt.extend("--ft-button-neutral-state-layer-opacity-hover","",st.opacity8),neutralStateLayerOpacityFocus:lt.extend("--ft-button-neutral-state-layer-opacity-focus","",st.opacity8),neutralStateLayerOpacityActive:lt.extend("--ft-button-neutral-state-layer-opacity-active","",st.opacity16),neutralComponentOpacityDisabled:lt.extend("--ft-button-neutral-component-opacity-disabled","",st.opacity40)};lt.extend("--ft-tabs-top-left-border-radius","",st.borderRadiusS),lt.extend("--ft-tabs-top-right-border-radius","",st.borderRadiusS),lt.extend("--ft-tabs-label-horizontal-padding","",st.spacing4),lt.extend("--ft-tabs-label-vertical-padding","",st.spacing3),lt.extend("--ft-tabs-label-gap","",st.spacing1),lt.extend("--ft-switch-group-horizontal-padding","",st.spacing1),lt.extend("--ft-switch-group-vertical-padding","",st.spacing1),lt.extend("--ft-switch-group-gap","",st.spacing1),lt.extend("--ft-switch-group-background-color","",pt.backgroundGlobalSurface),lt.extend("--ft-switch-group-border-color","",pt.borderGlobalSubtle),lt.create("--ft-switch-group-border-radius","","SIZE","6px"),lt.extend("--ft-switch-label-horizontal-padding","",st.spacing2),lt.extend("--ft-switch-label-vertical-padding","",st.spacing1),lt.extend("--ft-switch-icon-horizontal-padding","",st.spacing1),lt.extend("--ft-switch-icon-vertical-padding","",st.spacing1),lt.create("--ft-switch-focus-outline-width","","SIZE","2px"),lt.extend("--ft-switch-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-switch-option-border-radius","",st.borderRadiusS),lt.extend("--ft-switch-off-state-layer-opacity-hover","",st.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-focus","",st.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-active","",st.opacity16),lt.extend("--ft-switch-off-component-opacity-disabled","",st.opacity40),lt.extend("--ft-switch-off-color","",pt.contentGlobalSubtle),lt.extend("--ft-switch-off-state-layer-color","",pt.contentGlobalSubtle),lt.extend("--ft-chart-1-light","for area color charts",st.colorBrand40),lt.extend("--ft-chart-1-base","for line charts",st.colorBrand0),lt.extend("--ft-chart-2-light","for area color charts",st.colorYellow60),lt.extend("--ft-chart-2-base","for line charts",st.colorYellow100),lt.extend("--ft-chart-3-light","",st.colorUltramarine40),lt.extend("--ft-chart-3-base","",st.colorUltramarine70),lt.extend("--ft-chart-4-light","",st.colorCyan50),lt.extend("--ft-chart-4-base","",st.colorCyan100),lt.extend("--ft-chart-5-light","",st.colorRed40),lt.extend("--ft-chart-5-base","",st.colorRed60),lt.extend("--ft-chart-6-light","",st.colorGreen40),lt.extend("--ft-chart-6-base","",st.colorGreen70),lt.extend("--ft-chart-7-light","",st.colorOrange70),lt.extend("--ft-chart-7-base","",st.colorOrange100),lt.extend("--ft-chart-8-light","",st.colorAvocado70),lt.extend("--ft-chart-8-base","",st.colorAvocado200),lt.extend("--ft-chart-9-light","",st.colorBrown50),lt.extend("--ft-chart-9-base","",st.colorBrown200),lt.extend("--ft-chart-10-light","",st.colorGray50),lt.extend("--ft-chart-10-base","",st.colorGray80),lt.extend("--ft-chart-monochrome-10","",st.colorBrand10),lt.extend("--ft-chart-monochrome-20","",st.colorBrand20),lt.extend("--ft-chart-monochrome-30","",st.colorBrand40),lt.extend("--ft-chart-monochrome-40","",st.colorBrand60),lt.extend("--ft-chart-monochrome-50","",st.colorBrand0),lt.extend("--ft-chart-monochrome-60","",st.colorBrand200),lt.extend("--ft-chip-large-horizontal-padding","",st.spacing4),lt.extend("--ft-chip-large-vertical-padding","",st.spacing2),lt.extend("--ft-chip-large-gap","",st.spacing1),lt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-large-border-radius","",st.borderRadiusPill),lt.create("--ft-chip-large-border-width","","SIZE","1px"),lt.extend("--ft-chip-large-icon-size","",st.iconSize3),lt.extend("--ft-chip-medium-horizontal-padding","",st.spacing3),lt.extend("--ft-chip-medium-vertical-padding","",st.spacing1),lt.extend("--ft-chip-medium-gap","",st.spacing1),lt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-medium-border-radius","",st.borderRadiusPill),lt.create("--ft-chip-medium-border-width","","SIZE","1px"),lt.extend("--ft-chip-medium-icon-size","",st.iconSize2),lt.extend("--ft-chip-small-horizontal-padding","",st.spacing2),lt.extend("--ft-chip-small-vertical-padding","",st.spacing05),lt.extend("--ft-chip-small-gap","",st.spacing1),lt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-small-border-radius","",st.borderRadiusPill),lt.create("--ft-chip-small-border-width","","SIZE","1px"),lt.extend("--ft-chip-small-icon-size","",st.iconSize1),lt.extend("--ft-chip-neutral-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-chip-neutral-color","",pt.contentGlobalPrimary),lt.extend("--ft-chip-neutral-border-color","",pt.borderGlobalSubtle),lt.extend("--ft-chip-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-chip-info-color","",pt.contentInfoPrimary),lt.extend("--ft-chip-info-border-color","",pt.borderInfoPrimary),lt.extend("--ft-chip-success-background-color","",pt.backgroundSuccessSubtle),lt.extend("--ft-chip-success-color","",pt.contentSuccessPrimary),lt.extend("--ft-chip-success-border-color","",pt.borderSuccessPrimary),lt.extend("--ft-chip-warning-background-color","",pt.backgroundWarningSubtle),lt.extend("--ft-chip-warning-color","",pt.contentWarningPrimary),lt.extend("--ft-chip-warning-border-color","",pt.borderWarningPrimary),lt.extend("--ft-chip-error-background-color","",pt.backgroundErrorSubtle),lt.extend("--ft-chip-error-color","",pt.contentErrorPrimary),lt.extend("--ft-chip-error-border-color","",pt.borderErrorPrimary),lt.create("--ft-notice-border-width","","SIZE","1px"),lt.extend("--ft-notice-horizontal-padding","",st.spacing2),lt.extend("--ft-notice-vertical-padding","",st.spacing1),lt.extend("--ft-notice-border-radius","",st.borderRadiusS),lt.extend("--ft-notice-gap","",st.spacing2),lt.extend("--ft-notice-icon-size","",st.iconSize3),lt.extend("--ft-notice-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-notice-info-border-color","",pt.borderInfoPrimary),lt.extend("--ft-notice-info-color","",pt.contentInfoPrimary),lt.extend("--ft-notice-warning-background-color","",pt.backgroundWarningSubtle),lt.extend("--ft-notice-warning-border-color","",pt.borderWarningPrimary),lt.extend("--ft-notice-warning-color","",pt.contentWarningPrimary),lt.extend("--ft-checkbox-label-color","",pt.contentGlobalPrimary),lt.extend("--ft-checkbox-checked-background-color","",pt.contentActionPrimary),lt.extend("--ft-checkbox-checked-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-checkbox-checked-color","",pt.contentGlobalOnColor),lt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",st.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",st.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-active","",st.opacity24),lt.extend("--ft-checkbox-checked-component-opacity-disabled","",st.opacity40),lt.extend("--ft-checkbox-unchecked-border-color","",st.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-color","",st.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",st.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",st.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",st.opacity24),lt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",st.opacity40),lt.extend("--ft-checkbox-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),lt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),lt.extend("--ft-checkbox-gap","",st.spacing3),lt.extend("--ft-toggle-off-state-layer-opacity-hover","",st.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-focus","",st.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-active","",st.opacity24),lt.extend("--ft-toggle-off-component-opacity-disabled","",st.opacity40),lt.extend("--ft-toggle-off-background-color","",pt.contentGlobalSubtle),lt.extend("--ft-toggle-off-icon-color","",pt.contentGlobalSubtle),lt.extend("--ft-toggle-off-state-layer-color","",pt.contentGlobalSubtle),lt.extend("--ft-toggle-on-state-layer-opacity-hover","",st.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-focus","",st.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-active","",st.opacity24),lt.extend("--ft-toggle-on-component-opacity-disabled","",st.opacity40),lt.extend("--ft-toggle-on-background-color","",pt.contentActionPrimary),lt.extend("--ft-toggle-on-icon-color","",pt.contentActionPrimary),lt.extend("--ft-toggle-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-toggle-label-color","",pt.contentGlobalPrimary),lt.extend("--ft-toggle-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-toggle-gap","",st.spacing3),lt.extend("--ft-radio-label-color","",pt.contentGlobalPrimary),lt.extend("--ft-radio-selected-color","",pt.contentActionPrimary),lt.extend("--ft-radio-selected-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-radio-selected-state-layer-opacity-hover","",st.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-focus","",st.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-active","",st.opacity24),lt.extend("--ft-radio-selected-component-opacity-disabled","",st.opacity40),lt.extend("--ft-radio-unselected-state-layer-color","",st.colorGray80),lt.extend("--ft-radio-unselected-state-layer-opacity-hover","",st.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-focus","",st.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-active","",st.opacity24),lt.extend("--ft-radio-unselected-component-opacity-disabled","",st.opacity40),lt.extend("--ft-radio-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),lt.create("--ft-radio-focus-outline-width","","SIZE","2px"),lt.extend("--ft-radio-gap","",st.spacing3),lt.extend("--ft-notification-icon-size","",st.iconSize4),lt.extend("--ft-notification-horizontal-padding","",st.spacing4),lt.extend("--ft-notification-vertical-padding","",st.spacing4),lt.extend("--ft-notification-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-notification-info-color","",pt.contentInfoPrimary),lt.extend("--ft-notification-info-border-color","",pt.borderInfoPrimary),lt.extend("--ft-notification-success-background-color","",pt.backgroundSuccessSubtle),lt.extend("--ft-notification-success-color","",pt.contentSuccessPrimary),lt.extend("--ft-notification-success-border-color","",pt.borderSuccessPrimary),lt.extend("--ft-notification-warning-background-color","",pt.backgroundWarningSubtle),lt.extend("--ft-notification-warning-color","",pt.contentWarningPrimary),lt.extend("--ft-notification-warning-border-color","",pt.borderWarningPrimary),lt.extend("--ft-notification-error-background-color","",pt.backgroundErrorSubtle),lt.extend("--ft-notification-error-color","",pt.contentErrorPrimary),lt.extend("--ft-notification-error-border-color","",pt.borderErrorPrimary),lt.extend("--ft-notification-border-radius","",st.borderRadiusPill),lt.create("--ft-notification-border-width","","SIZE","1px"),lt.extend("--ft-notification-gap-leading","",st.spacing2),lt.extend("--ft-notification-gap-trailing","",st.spacing8);const ht=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),dt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),ut={fontFamily:dt,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")},yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ht),gt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",ut.fontSize,"20px"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",ut.fontWeight,"normal"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",ut.letterSpacing,"0.15px"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ut.lineHeight,"1.2"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ut.textTransform,"inherit"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ht),St=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ut.fontSize,"14px"),Nt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ut.fontWeight,"normal"),wt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ut.letterSpacing,"0.105px"),$t=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ut.lineHeight,"1.7"),Ct=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ut.textTransform,"inherit"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",dt),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ut.fontSize,"16px"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ut.fontWeight,"600"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ut.letterSpacing,"0.144px"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ut.lineHeight,"1.5"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ut.textTransform,"inherit"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",dt),Bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ut.fontSize,"14px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ut.fontWeight,"normal"),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ut.letterSpacing,"0.098px"),At=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ut.lineHeight,"1.7"),Zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ut.textTransform,"inherit"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",dt),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ut.fontSize,"16px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ut.fontWeight,"normal"),Pt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ut.letterSpacing,"0.496px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ut.lineHeight,"1.5"),jt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ut.textTransform,"inherit"),Mt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",ut.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",ut.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",ut.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",ut.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",ut.textTransform,"inherit")},Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",dt),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ut.fontSize,"12px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ut.fontWeight,"normal"),Vt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ut.letterSpacing,"0.396px"),qt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ut.lineHeight,"1.33"),Xt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ut.textTransform,"inherit"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",dt),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ut.fontSize,"10px"),to=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ut.fontWeight,"normal"),oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ut.letterSpacing,"0.33px"),eo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ut.lineHeight,"1.6"),ro=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ut.textTransform,"inherit"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",dt),no=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ut.fontSize,"10px"),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ut.fontWeight,"normal"),lo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ut.letterSpacing,"1.5px"),so=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ut.lineHeight,"1.6"),co=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ut.textTransform,"uppercase"),po={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",ut.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",ut.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",ut.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",ut.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",ut.textTransform,"uppercase")},fo=e.css`
|
|
137
137
|
.ft-typography--title {
|
|
138
|
-
font-family: ${
|
|
138
|
+
font-family: ${yt};
|
|
139
139
|
font-size: ${gt};
|
|
140
140
|
font-weight: ${bt};
|
|
141
141
|
letter-spacing: ${mt};
|
|
@@ -145,38 +145,38 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
145
145
|
`,ho=e.css`
|
|
146
146
|
.ft-typography--title-dense {
|
|
147
147
|
font-family: ${Ot};
|
|
148
|
-
font-size: ${
|
|
149
|
-
font-weight: ${
|
|
148
|
+
font-size: ${St};
|
|
149
|
+
font-weight: ${Nt};
|
|
150
150
|
letter-spacing: ${wt};
|
|
151
151
|
line-height: ${$t};
|
|
152
152
|
text-transform: ${Ct};
|
|
153
153
|
}
|
|
154
|
-
`,
|
|
154
|
+
`,uo=e.css`
|
|
155
155
|
.ft-typography--subtitle1 {
|
|
156
|
-
font-family: ${
|
|
157
|
-
font-size: ${
|
|
156
|
+
font-family: ${Et};
|
|
157
|
+
font-size: ${It};
|
|
158
158
|
font-weight: ${Rt};
|
|
159
159
|
letter-spacing: ${Ut};
|
|
160
160
|
line-height: ${kt};
|
|
161
161
|
text-transform: ${Lt};
|
|
162
162
|
}
|
|
163
|
-
`,
|
|
163
|
+
`,yo=e.css`
|
|
164
164
|
.ft-typography--subtitle2 {
|
|
165
165
|
font-family: ${Wt};
|
|
166
|
-
font-size: ${
|
|
167
|
-
font-weight: ${
|
|
166
|
+
font-size: ${Bt};
|
|
167
|
+
font-weight: ${Kt};
|
|
168
168
|
letter-spacing: ${zt};
|
|
169
|
-
line-height: ${
|
|
170
|
-
text-transform: ${
|
|
169
|
+
line-height: ${At};
|
|
170
|
+
text-transform: ${Zt};
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
`,go=e.css`
|
|
174
174
|
.ft-typography--body1 {
|
|
175
|
-
font-family: ${
|
|
176
|
-
font-size: ${
|
|
175
|
+
font-family: ${Dt};
|
|
176
|
+
font-size: ${Ft};
|
|
177
177
|
font-weight: ${Tt};
|
|
178
|
-
letter-spacing: ${
|
|
179
|
-
line-height: ${
|
|
178
|
+
letter-spacing: ${Pt};
|
|
179
|
+
line-height: ${Ht};
|
|
180
180
|
text-transform: ${jt};
|
|
181
181
|
}
|
|
182
182
|
`,bo=e.css`
|
|
@@ -193,8 +193,8 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
193
193
|
font-family: ${Gt};
|
|
194
194
|
font-size: ${_t};
|
|
195
195
|
font-weight: ${Yt};
|
|
196
|
-
letter-spacing: ${
|
|
197
|
-
line-height: ${
|
|
196
|
+
letter-spacing: ${Vt};
|
|
197
|
+
line-height: ${qt};
|
|
198
198
|
text-transform: ${Xt};
|
|
199
199
|
}
|
|
200
200
|
`,vo=e.css`
|
|
@@ -204,13 +204,13 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
204
204
|
font-weight: ${to};
|
|
205
205
|
letter-spacing: ${oo};
|
|
206
206
|
line-height: ${eo};
|
|
207
|
-
text-transform: ${
|
|
207
|
+
text-transform: ${ro};
|
|
208
208
|
}
|
|
209
209
|
`,xo=e.css`
|
|
210
210
|
.ft-typography--overline {
|
|
211
|
-
font-family: ${
|
|
212
|
-
font-size: ${
|
|
213
|
-
font-weight: ${
|
|
211
|
+
font-family: ${io};
|
|
212
|
+
font-size: ${no};
|
|
213
|
+
font-weight: ${ao};
|
|
214
214
|
letter-spacing: ${lo};
|
|
215
215
|
line-height: ${so};
|
|
216
216
|
text-transform: ${co};
|
|
@@ -224,11 +224,11 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
224
224
|
line-height: ${po.lineHeight};
|
|
225
225
|
text-transform: ${po.textTransform};
|
|
226
226
|
}
|
|
227
|
-
`,
|
|
227
|
+
`,So=e.css`
|
|
228
228
|
.ft-typography {
|
|
229
229
|
vertical-align: inherit;
|
|
230
230
|
}
|
|
231
|
-
`,
|
|
231
|
+
`,No=[Object.keys(ct).map((t=>function(t){const o=ct[t];return e.css`
|
|
232
232
|
.ft-typography--${e.unsafeCSS(t)} {
|
|
233
233
|
font-family: ${o.fontFamily};
|
|
234
234
|
font-size: ${o.fontSize};
|
|
@@ -237,14 +237,14 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
237
237
|
line-height: ${o.lineHeight};
|
|
238
238
|
text-transform: ${o.textCase};
|
|
239
239
|
}
|
|
240
|
-
`}(t)))];var wo=function(t,o,e,
|
|
240
|
+
`}(t)))];var wo=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class $o extends o.FtLitElement{constructor(){super(...arguments),this.variant=nt.body1}render(){return this.element?it`
|
|
241
241
|
<${et(this.element)}
|
|
242
242
|
class="ft-typography ft-typography--${this.variant}">
|
|
243
243
|
<slot></slot>
|
|
244
244
|
</${et(this.element)}>
|
|
245
|
-
`:
|
|
245
|
+
`:it`
|
|
246
246
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
247
|
-
`}}$o.styles=[fo,ho,yo,
|
|
247
|
+
`}}$o.styles=[fo,ho,uo,yo,go,bo,mo,vo,xo,Oo,So,...No],wo([r.property()],$o.prototype,"element",void 0),wo([r.property()],$o.prototype,"variant",void 0),o.customElement("ft-typography")($o);const Co={padding:o.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.FtCssVariableFactory.extend("--ft-card-border-radius","",o.designSystemVariables.borderRadiusM),borderStyle:o.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.FtCssVariableFactory.extend("--ft-card-border-color","",o.designSystemVariables.colorOutline),hoverBorderColor:o.FtCssVariableFactory.extend("--ft-card-hover-border-color","",o.designSystemVariables.colorPrimary),outlineStyle:o.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:o.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:o.FtCssVariableFactory.extend("--ft-card-outline-color","",o.designSystemVariables.colorPrimary),selectedOutlineStyle:o.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:o.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:o.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",o.designSystemVariables.colorPrimary),selectedBorderRadius:o.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",o.designSystemVariables.borderRadiusM),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceMedium:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceHigh:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceHigh,"Design system"),elevation02:o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),elevation04:o.FtCssVariableFactory.external(o.designSystemVariables.elevation04,"Design system")},Eo=e.css`
|
|
248
248
|
:host {
|
|
249
249
|
display: block;
|
|
250
250
|
}
|
|
@@ -322,8 +322,8 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
322
322
|
#action {
|
|
323
323
|
grid-area: actions;
|
|
324
324
|
}
|
|
325
|
-
`;var
|
|
326
|
-
<div id="container" part="container" class=${
|
|
325
|
+
`;var Io,Ro,Uo,ko,Lo=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Wo extends o.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){const t={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return e.html`
|
|
326
|
+
<div id="container" part="container" class=${i.classMap(t)}>
|
|
327
327
|
${this.clickable?e.html`
|
|
328
328
|
<ft-ripple primary ?selected=${this.selected}></ft-ripple>
|
|
329
329
|
`:e.nothing}
|
|
@@ -340,20 +340,20 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
340
340
|
</ft-typography>
|
|
341
341
|
</div>
|
|
342
342
|
</div>
|
|
343
|
-
`}}Wo.elementDefinitions={"ft-ripple":b,"ft-typography":$o},Wo.styles=
|
|
343
|
+
`}}Wo.elementDefinitions={"ft-ripple":b,"ft-typography":$o},Wo.styles=Eo,Lo([r.property()],Wo.prototype,"title",void 0),Lo([r.property({type:Boolean})],Wo.prototype,"clickable",void 0),Lo([r.property({type:Boolean})],Wo.prototype,"selected",void 0),Lo([r.property({type:Boolean})],Wo.prototype,"noHeader",void 0),o.customElement("ft-card")(Wo);const Bo={color:o.FtCssVariableFactory.extend("--ft-search-saved-searches-color","",o.designSystemVariables.colorOnSurface),activeButtonTextColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-active-button-text-color","",o.designSystemVariables.colorPrimary),activeSearchBackgroundColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-background-color","",o.designSystemVariables.colorContent),activeSearchBorderStyle:o.FtCssVariableFactory.create("--ft-search-saved-searches-active-search-border-style","","BORDER-STYLE",null!==(Io=Co.selectedOutlineStyle.lastResortDefaultValue())&&void 0!==Io?Io:"solid"),activeSearchBorderColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-border-color","",o.designSystemVariables.colorPrimary),activeSearchBorderWidth:o.FtCssVariableFactory.create("--ft-search-saved-searches-active-search-border-width","","SIZE",null!==(Ro=Co.selectedOutlineWidth.lastResortDefaultValue())&&void 0!==Ro?Ro:"2px"),activeSearchBorderRadius:o.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-border-radius","",o.designSystemVariables.borderRadiusM),inactiveButtonTextColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-button-text-color","",o.designSystemVariables.colorPrimary),inactiveSearchBackgroundColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-background-color","",o.designSystemVariables.colorContent),inactiveSearchBorderStyle:o.FtCssVariableFactory.create("--ft-search-saved-searches-inactive-search-border-style","","BORDER-STYLE",null!==(Uo=Co.outlineStyle.lastResortDefaultValue())&&void 0!==Uo?Uo:"solid"),inactiveSearchBorderColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-border-color","",o.designSystemVariables.colorPrimary),inactiveSearchBorderWidth:o.FtCssVariableFactory.create("--ft-search-saved-searches-inactive-search-border-width","","SIZE",null!==(ko=Co.outlineWidth.lastResortDefaultValue())&&void 0!==ko?ko:"0"),inactiveSearchBorderRadius:o.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-border-radius","",o.designSystemVariables.borderRadiusM)},Ko=e.css`
|
|
344
344
|
#container {
|
|
345
345
|
display: flex;
|
|
346
346
|
flex-direction: column;
|
|
347
347
|
gap: 24px;
|
|
348
348
|
margin: 3px;
|
|
349
349
|
|
|
350
|
-
${o.setVariable(Co.colorOnSurfaceHigh,
|
|
351
|
-
${o.setVariable(Co.colorOnSurfaceMedium,
|
|
350
|
+
${o.setVariable(Co.colorOnSurfaceHigh,Bo.color)};
|
|
351
|
+
${o.setVariable(Co.colorOnSurfaceMedium,Bo.color)};
|
|
352
352
|
}
|
|
353
353
|
`,zo=e.css`
|
|
354
|
-
`,
|
|
354
|
+
`,Ao=o.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Zo{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=Ao.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?Zo.build(t):null!==(o=Zo.API)&&void 0!==o?o:Zo.API=Zo.build()}static await(t){return new Promise((o=>{let e=Zo.get(t);if(e)o(e);else{const r=Ao.subscribe((()=>{e=Zo.get(t),e&&(r(),o(e))}))}}))}}var Do;const Fo=Symbol("clearAfterUnitTest");class To{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[Do]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=Ao.getState().uiLocale,Ao.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Ao.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var r;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var i,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...r)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}Do=Fo,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new To((async(t,o)=>(await Zo.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new To((async(t,o)=>(await Zo.await()).getCustomMessageContext(t,o))));const Po=window.FluidTopicsI18nService,Ho=window.FluidTopicsCustomI18nService;var jo=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Mo extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Zo.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
|
|
355
355
|
<slot></slot>
|
|
356
|
-
`}update(t){super.update(t),t.has("baseUrl")&&Zo.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Zo.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Zo.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Zo.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Zo.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Zo.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Zo.actions.setSession(this.session),t.has("availableUiLocales")&&Zo.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ho.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Mo.elementDefinitions={},Mo.styles=zo,jo([i.property()],Mo.prototype,"baseUrl",void 0),jo([i.property()],Mo.prototype,"apiIntegrationIdentifier",void 0),jo([i.property()],Mo.prototype,"uiLocale",void 0),jo([o.jsonProperty([])],Mo.prototype,"availableUiLocales",void 0),jo([i.property({type:Boolean})],Mo.prototype,"editorMode",void 0),jo([i.property({type:Boolean})],Mo.prototype,"noCustom",void 0),jo([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Mo.prototype,"noCustomComponent",void 0),jo([i.property({type:Boolean})],Mo.prototype,"withManualResources",void 0),jo([o.jsonProperty([])],Mo.prototype,"messageContexts",void 0),jo([o.jsonProperty(void 0)],Mo.prototype,"session",void 0),jo([i.property({type:Object})],Mo.prototype,"apiProvider",void 0);class Go{async listMySearches(){var t;return(null===(t=Zo.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ao.await()).listMySearches(Zo.getState().session.profile.userId):[]}}const _o=new o.CacheRegistry;class Yo{async listMyBookmarks(){return _o.get("bookmarks",(async()=>(await Ao.await()).listMyBookmarks(Zo.getState().session.profile.userId)))}clearCache(){_o.clear("bookmarks")}}const qo=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Vo=new class{constructor(){this.currentSession=Zo.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Yo,Zo.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Zo.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){qo.actions.savedSearches(void 0)}clearMyBookmarks(){qo.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Go,o=await t.listMySearches();qo.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;qo.actions.bookmarks(o)}}};var Xo,Jo,Qo,te,oe,ee,ie,re,ae,ne,le,se,ce,pe;o.customElement("ft-app-context")(Mo),function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function a(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function n(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=a(t),o=n(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[a(t)]},s.prototype.get=function(t){return t=a(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(a(t))},s.prototype.set=function(t,o){this.map[a(t)]=n(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function u(t,o){var e,i,r=(o=o||{}).body;if(t instanceof u){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),y.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}u.prototype.clone=function(){return new u(this,{body:this._bodyInit})},d.call(u.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,i){return new Promise((function(r,a){var n=new u(t,i);if(n.signal&&n.signal.aborted)return a(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new b(i,e))},l.onerror=function(){a(new TypeError("Network request failed"))},l.ontimeout=function(){a(new TypeError("Network request failed"))},l.onabort=function(){a(new o.DOMException("Aborted","AbortError"))},l.open(n.method,n.url,!0),"include"===n.credentials?l.withCredentials=!0:"omit"===n.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),n.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),n.signal&&(n.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&n.signal.removeEventListener("abort",c)}),l.send(void 0===n._bodyInit?null:n._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=s,t.Request=u,t.Response=b),o.Headers=s,o.Request=u,o.Response=b,o.fetch=v,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Xo||(Xo={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Jo||(Jo={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Qo||(Qo={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(te||(te={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(oe||(oe={})),function(t){t.ASC="ASC",t.DESC="DESC"}(ee||(ee={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(ie||(ie={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(re||(re={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ae||(ae={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(ne||(ne={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(le||(le={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(se||(se={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(ce||(ce={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(pe||(pe={})),pe.PERSONAL_BOOK_SHARE_USER,pe.PERSONAL_BOOK_USER,pe.HTML_EXPORT_USER,pe.PERSONAL_BOOK_USER,pe.PDF_EXPORT_USER,pe.PERSONAL_BOOK_USER,pe.KHUB_ADMIN,pe.CONTENT_PUBLISHER,pe.ADMIN,pe.KHUB_ADMIN,pe.USERS_ADMIN,pe.PORTAL_ADMIN,pe.DEVELOPER,pe.BETA_USER,pe.DEBUG_USER;class fe extends Event{constructor(){super(fe.eventName)}}fe.eventName="search-context-clear-all-filters";var he=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class de extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const ye=Symbol("registerInterval");class ue extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ye]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ye]):this.dispatchEvent(new de)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=ye,he([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var ge,be;!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=""}(ge||(ge={})),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=""}(be||(be={})),new Map([...["abw"].map((t=>[t,be.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,be.AUDIO])),...["avi"].map((t=>[t,be.AVI])),...["chm","xhs"].map((t=>[t,be.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,be.CODE])),...["csv"].map((t=>[t,be.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,be.DITA])),...["epub"].map((t=>[t,be.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,be.EXCEL])),...["flac"].map((t=>[t,be.FLAC])),...["gif"].map((t=>[t,be.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,be.GZIP])),...["html","htm","xhtml"].map((t=>[t,be.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,be.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,be.JPEG])),...["json"].map((t=>[t,be.JSON])),...["m4a","m4p"].map((t=>[t,be.M4A])),...["mov","qt"].map((t=>[t,be.MOV])),...["mp3"].map((t=>[t,be.MP3])),...["mp4","m4v"].map((t=>[t,be.MP4])),...["ogg","oga"].map((t=>[t,be.OGG])),...["pdf","ps"].map((t=>[t,be.PDF])),...["png"].map((t=>[t,be.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,be.POWERPOINT])),...["rar"].map((t=>[t,be.RAR])),...["stp"].map((t=>[t,be.STP])),...["txt","rtf","md","mdown"].map((t=>[t,be.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,be.VIDEO])),...["wav"].map((t=>[t,be.WAV])),...["wma"].map((t=>[t,be.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,be.WORD])),...["xml","xsl","rdf"].map((t=>[t,be.XML])),...["yaml","yml","x-yaml"].map((t=>[t,be.YAML])),...["zip"].map((t=>[t,be.ZIP]))]);const me={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ve=e.css`
|
|
356
|
+
`}update(t){super.update(t),t.has("baseUrl")&&Ao.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Ao.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Ao.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Ao.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Ao.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Ao.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Ao.actions.setSession(this.session),t.has("availableUiLocales")&&Ao.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Po.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Mo.elementDefinitions={},Mo.styles=zo,jo([r.property()],Mo.prototype,"baseUrl",void 0),jo([r.property()],Mo.prototype,"apiIntegrationIdentifier",void 0),jo([r.property()],Mo.prototype,"uiLocale",void 0),jo([o.jsonProperty([])],Mo.prototype,"availableUiLocales",void 0),jo([r.property({type:Boolean})],Mo.prototype,"editorMode",void 0),jo([r.property({type:Boolean})],Mo.prototype,"noCustom",void 0),jo([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Mo.prototype,"noCustomComponent",void 0),jo([r.property({type:Boolean})],Mo.prototype,"withManualResources",void 0),jo([o.jsonProperty([])],Mo.prototype,"messageContexts",void 0),jo([o.jsonProperty(void 0)],Mo.prototype,"session",void 0),jo([r.property({type:Object})],Mo.prototype,"apiProvider",void 0);class Go{async listMySearches(){var t;return(null===(t=Ao.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Zo.await()).listMySearches(Ao.getState().session.profile.userId):[]}}const _o=new o.CacheRegistry;class Yo{async listMyBookmarks(){return _o.get("bookmarks",(async()=>(await Zo.await()).listMyBookmarks(Ao.getState().session.profile.userId)))}clearCache(){_o.clear("bookmarks")}}const Vo=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const qo=new class{constructor(){this.currentSession=Ao.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Yo,Ao.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Ao.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Vo.actions.savedSearches(void 0)}clearMyBookmarks(){Vo.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Go,o=await t.listMySearches();Vo.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Vo.actions.bookmarks(o)}}};var Xo,Jo,Qo,te,oe,ee,re,ie,ne,ae,le,se,ce,pe;o.customElement("ft-app-context")(Mo),function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,r=c(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,o){this.map[n(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,r,i=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),u.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),i=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(i))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var i=e.join(":").trim();o.append(r,i)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;i(new b(r,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=s,t.Request=y,t.Response=b),o.Headers=s,o.Request=y,o.Response=b,o.fetch=v,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Xo||(Xo={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Jo||(Jo={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Qo||(Qo={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(te||(te={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(oe||(oe={})),function(t){t.ASC="ASC",t.DESC="DESC"}(ee||(ee={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(re||(re={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(ie||(ie={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ne||(ne={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(ae||(ae={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(le||(le={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(se||(se={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(ce||(ce={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(pe||(pe={})),pe.PERSONAL_BOOK_SHARE_USER,pe.PERSONAL_BOOK_USER,pe.HTML_EXPORT_USER,pe.PERSONAL_BOOK_USER,pe.PDF_EXPORT_USER,pe.PERSONAL_BOOK_USER,pe.KHUB_ADMIN,pe.CONTENT_PUBLISHER,pe.ADMIN,pe.KHUB_ADMIN,pe.USERS_ADMIN,pe.PORTAL_ADMIN,pe.DEVELOPER,pe.BETA_USER,pe.DEBUG_USER;class fe extends Event{constructor(){super(fe.eventName)}}fe.eventName="search-context-clear-all-filters";var he=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class de extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const ue=Symbol("registerInterval");class ye extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ue]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ue]):this.dispatchEvent(new de)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=ue,he([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var ge,be;!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=""}(ge||(ge={})),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=""}(be||(be={})),new Map([...["abw"].map((t=>[t,be.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,be.AUDIO])),...["avi"].map((t=>[t,be.AVI])),...["chm","xhs"].map((t=>[t,be.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,be.CODE])),...["csv"].map((t=>[t,be.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,be.DITA])),...["epub"].map((t=>[t,be.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,be.EXCEL])),...["flac"].map((t=>[t,be.FLAC])),...["gif"].map((t=>[t,be.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,be.GZIP])),...["html","htm","xhtml"].map((t=>[t,be.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,be.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,be.JPEG])),...["json"].map((t=>[t,be.JSON])),...["m4a","m4p"].map((t=>[t,be.M4A])),...["mov","qt"].map((t=>[t,be.MOV])),...["mp3"].map((t=>[t,be.MP3])),...["mp4","m4v"].map((t=>[t,be.MP4])),...["ogg","oga"].map((t=>[t,be.OGG])),...["pdf","ps"].map((t=>[t,be.PDF])),...["png"].map((t=>[t,be.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,be.POWERPOINT])),...["rar"].map((t=>[t,be.RAR])),...["stp"].map((t=>[t,be.STP])),...["txt","rtf","md","mdown"].map((t=>[t,be.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,be.VIDEO])),...["wav"].map((t=>[t,be.WAV])),...["wma"].map((t=>[t,be.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,be.WORD])),...["xml","xsl","rdf"].map((t=>[t,be.XML])),...["yaml","yml","x-yaml"].map((t=>[t,be.YAML])),...["zip"].map((t=>[t,be.ZIP]))]);const me={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ve=e.css`
|
|
357
357
|
:host, i.ft-icon {
|
|
358
358
|
display: inline-flex;
|
|
359
359
|
align-items: center;
|
|
@@ -401,12 +401,12 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
401
401
|
.ft-icon--material {
|
|
402
402
|
font-family: ${me.materialFontFamily}, "Material Icons", sans-serif;
|
|
403
403
|
}
|
|
404
|
-
`;var xe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(xe||(xe={}));var Oe=function(t,o,e,
|
|
404
|
+
`;var xe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(xe||(xe={}));var Oe=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Se extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(xe).includes(this.variant)?this.variant:xe.fluid_topics,o=t!==xe.material||!!this.value;return e.html`
|
|
405
405
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
406
|
-
${
|
|
406
|
+
${n.unsafeHTML(this.resolvedIcon)}
|
|
407
407
|
<slot ?hidden=${o}></slot>
|
|
408
408
|
</i>
|
|
409
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let
|
|
409
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case xe.file_format:this.resolvedIcon=null!==(t=be[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case xe.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=ge[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Se.elementDefinitions={},Se.styles=ve,Oe([r.property()],Se.prototype,"variant",void 0),Oe([r.property()],Se.prototype,"value",void 0),Oe([r.state()],Se.prototype,"resolvedIcon",void 0),Oe([r.query("slot")],Se.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Se);const Ne={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},we=e.css`
|
|
410
410
|
:host {
|
|
411
411
|
line-height: 0;
|
|
412
412
|
}
|
|
@@ -415,8 +415,8 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
415
415
|
display: inline-block;
|
|
416
416
|
position: relative;
|
|
417
417
|
|
|
418
|
-
width: ${
|
|
419
|
-
height: ${
|
|
418
|
+
width: ${Ne.size};
|
|
419
|
+
height: ${Ne.size};
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
.ft-loader div {
|
|
@@ -425,7 +425,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
425
425
|
width: 25%;
|
|
426
426
|
height: 25%;
|
|
427
427
|
border-radius: 50%;
|
|
428
|
-
background: ${
|
|
428
|
+
background: ${Ne.color};
|
|
429
429
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
430
430
|
}
|
|
431
431
|
|
|
@@ -472,10 +472,10 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
472
472
|
transform: translate(0, 0);
|
|
473
473
|
}
|
|
474
474
|
100% {
|
|
475
|
-
transform: translate(calc(0.35 * ${
|
|
475
|
+
transform: translate(calc(0.35 * ${Ne.size}), 0);
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
`,$e=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Ce={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:$e,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",po.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",$e),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},
|
|
478
|
+
`,$e=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Ce={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:$e,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",po.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",$e),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Ee=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Ie={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Ee,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ee)},Re=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Ue=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),ke=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Le=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),We=[e.css`
|
|
479
479
|
:host {
|
|
480
480
|
display: inline-block;
|
|
481
481
|
max-width: 100%;
|
|
@@ -560,9 +560,9 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
.ft-button.ft-button--primary {
|
|
563
|
-
background-color: ${
|
|
564
|
-
--ft-button-internal-color: ${
|
|
565
|
-
${o.setVariable(s.color,
|
|
563
|
+
background-color: ${Ie.backgroundColor};
|
|
564
|
+
--ft-button-internal-color: ${Ie.color};
|
|
565
|
+
${o.setVariable(s.color,Ie.rippleColor)};
|
|
566
566
|
}
|
|
567
567
|
|
|
568
568
|
.ft-button:focus {
|
|
@@ -609,10 +609,10 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
609
609
|
}
|
|
610
610
|
|
|
611
611
|
ft-loader {
|
|
612
|
-
${o.setVariable(
|
|
613
|
-
${o.setVariable(
|
|
612
|
+
${o.setVariable(Ne.size,Ce.iconSize)};
|
|
613
|
+
${o.setVariable(Ne.color,"var(--ft-button-internal-color)")};
|
|
614
614
|
}
|
|
615
|
-
`,o.noTextSelect],
|
|
615
|
+
`,o.noTextSelect],Be=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Ke=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ze=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Ae=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Ze=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),De=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Fe=e.css`
|
|
616
616
|
.ft-tooltip--container {
|
|
617
617
|
display: block;
|
|
618
618
|
}
|
|
@@ -627,21 +627,21 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
627
627
|
box-sizing: border-box;
|
|
628
628
|
overflow: hidden;
|
|
629
629
|
width: max-content;
|
|
630
|
-
max-width: ${
|
|
630
|
+
max-width: ${De};
|
|
631
631
|
text-align: center;
|
|
632
|
-
padding: ${
|
|
633
|
-
z-index: ${
|
|
632
|
+
padding: ${Be};
|
|
633
|
+
z-index: ${Ae};
|
|
634
634
|
}
|
|
635
635
|
|
|
636
636
|
.ft-tooltip--content {
|
|
637
637
|
padding: 4px 8px;
|
|
638
|
-
border-radius: ${
|
|
638
|
+
border-radius: ${Ze};
|
|
639
639
|
background-color: ${ze};
|
|
640
|
-
color: ${
|
|
640
|
+
color: ${Ke};
|
|
641
641
|
position: relative;
|
|
642
642
|
word-break: break-word;
|
|
643
643
|
}
|
|
644
|
-
`;var Te=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class He extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
644
|
+
`,Te=["start","end"],Pe=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Te[0],o+"-"+Te[1])),[]),He=Math.min,je=Math.max,Me=Math.round,Ge=t=>({x:t,y:t}),_e={left:"right",right:"left",bottom:"top",top:"bottom"},Ye={start:"end",end:"start"};function Ve(t,o,e){return je(t,He(o,e))}function qe(t,o){return"function"==typeof t?t(o):t}function Xe(t){return t.split("-")[0]}function Je(t){return t.split("-")[1]}function Qe(t){return"x"===t?"y":"x"}function tr(t){return"y"===t?"height":"width"}function or(t){return["top","bottom"].includes(Xe(t))?"y":"x"}function er(t){return Qe(or(t))}function rr(t){return t.replace(/left|right|bottom|top/g,(t=>_e[t]))}function ir(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function nr(t,o,e){let{reference:r,floating:i}=t;const n=or(o),a=er(o),l=tr(a),s=Xe(o),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[l]/2-i[l]/2;let d;switch(s){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(Je(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function ar(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=qe(o,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=l[h?"floating"===f?"reference":"floating":f],g=ir(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=ir(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(g.top-x.top+u.top)/v.y,bottom:(x.bottom-g.bottom+u.bottom)/v.y,left:(g.left-x.left+u.left)/v.x,right:(x.right-g.right+u.right)/v.x}}function lr(t,o,e){return(t?[...e.filter((o=>Je(o)===t)),...e.filter((o=>Je(o)!==t))]:e.filter((t=>Xe(t)===t))).filter((e=>!t||(Je(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ye[t]))}(e)!==e)))}const sr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Pe,autoAlignment:d=!0,...u}=qe(t,o),y=void 0!==f||h===Pe?lr(f||null,d,h):h,g=await ar(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=Je(t),i=er(t),n=tr(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=rr(a)),[a,rr(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:y[0]}};const x=[g[Xe(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const N=O.map((t=>{const o=Je(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=N.filter((t=>t[2].slice(0,Je(t[0])?2:3).every((t=>t<=0)))),$=(null==(i=w[0])?void 0:i[0])||N[0][0];return $!==l?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function cr(t){return hr(t)?(t.nodeName||"").toLowerCase():"#document"}function pr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function fr(t){var o;return null==(o=(hr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function hr(t){return t instanceof Node||t instanceof pr(t).Node}function dr(t){return t instanceof Element||t instanceof pr(t).Element}function ur(t){return t instanceof HTMLElement||t instanceof pr(t).HTMLElement}function yr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof pr(t).ShadowRoot)}function gr(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Or(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function br(t){return["table","td","th"].includes(cr(t))}function mr(t){const o=vr(),e=Or(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 vr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function xr(t){return["html","body","#document"].includes(cr(t))}function Or(t){return pr(t).getComputedStyle(t)}function Sr(t){return dr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Nr(t){if("html"===cr(t))return t;const o=t.assignedSlot||t.parentNode||yr(t)&&t.host||fr(t);return yr(o)?o.host:o}function wr(t){const o=Nr(t);return xr(o)?t.ownerDocument?t.ownerDocument.body:t.body:ur(o)&&gr(o)?o:wr(o)}function $r(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=wr(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=pr(i);return n?o.concat(a,a.visualViewport||[],gr(i)?i:[],a.frameElement&&e?$r(a.frameElement):[]):o.concat(i,$r(i,[],e))}function Cr(t){const o=Or(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=ur(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=Me(e)!==n||Me(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function Er(t){return dr(t)?t:t.contextElement}function Ir(t){const o=Er(t);if(!ur(o))return Ge(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Cr(o);let a=(n?Me(e.width):e.width)/r,l=(n?Me(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Rr=Ge(0);function Ur(t){const o=pr(t);return vr()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Rr}function kr(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Er(t);let a=Ge(1);o&&(r?dr(r)&&(a=Ir(r)):a=Ir(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==pr(t))&&o}(n,e,r)?Ur(n):Ge(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=pr(n),o=r&&dr(r)?pr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Ir(e),o=e.getBoundingClientRect(),r=Or(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=i,c+=n,e=pr(e).frameElement}}return ir({width:p,height:f,x:s,y:c})}function Lr(t){return kr(fr(t)).left+Sr(t).scrollLeft}function Wr(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=pr(t),r=fr(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){n=i.width,a=i.height;const t=vr();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)r=function(t){const o=fr(t),e=Sr(t),r=t.ownerDocument.body,i=je(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=je(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Lr(t);const l=-e.scrollTop;return"rtl"===Or(r).direction&&(a+=je(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(fr(t));else if(dr(o))r=function(t,o){const e=kr(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=ur(t)?Ir(t):Ge(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=Ur(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return ir(r)}function Br(t,o){const e=Nr(t);return!(e===o||!dr(e)||xr(e))&&("fixed"===Or(e).position||Br(e,o))}function Kr(t,o,e){const r=ur(o),i=fr(o),n="fixed"===e,a=kr(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Ge(0);if(r||!r&&!n)if(("body"!==cr(o)||gr(i))&&(l=Sr(o)),r){const t=kr(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else i&&(s.x=Lr(i));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function zr(t,o){return ur(t)&&"fixed"!==Or(t).position?o?o(t):t.offsetParent:null}function Ar(t,o){const e=pr(t);if(!ur(t))return e;let r=zr(t,o);for(;r&&br(r)&&"static"===Or(r).position;)r=zr(r,o);return r&&("html"===cr(r)||"body"===cr(r)&&"static"===Or(r).position&&!mr(r))?e:r||function(t){let o=Nr(t);for(;ur(o)&&!xr(o);){if(mr(o))return o;o=Nr(o)}return null}(t)||e}const Zr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=ur(e),n=fr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Ge(1);const s=Ge(0);if((i||!i&&"fixed"!==r)&&(("body"!==cr(e)||gr(n))&&(a=Sr(e)),ur(e))){const t=kr(e);l=Ir(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:fr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=$r(t,[],!1).filter((t=>dr(t)&&"body"!==cr(t))),i=null;const n="fixed"===Or(t).position;let a=n?Nr(t):t;for(;dr(a)&&!xr(a);){const o=Or(a),e=mr(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||gr(a)&&!e&&Br(t,a))?r=r.filter((t=>t!==a)):i=o,a=Nr(a)}return o.set(t,r),r}(o,this._c):[].concat(e),a=[...n,r],l=a[0],s=a.reduce(((t,e)=>{const r=Wr(o,e,i);return t.top=je(r.top,t.top),t.right=He(r.right,t.right),t.bottom=He(r.bottom,t.bottom),t.left=je(r.left,t.left),t}),Wr(o,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ar,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ar,n=this.getDimensions;return{reference:Kr(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Cr(t)},getScale:Ir,isElement:dr,isRTL:function(t){return"rtl"===Or(t).direction}},Dr=(t,o,e)=>{const r=new Map,i={platform:Zr,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=nr(c,r,s),h=r,d={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:g,y:b,data:m,reset:v}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:p,y:f}=nr(c,h,s))),e=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,o,{...i,platform:n})};var Fr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Tr 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`
|
|
645
645
|
<div part="container"
|
|
646
646
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
647
647
|
@mouseenter=${this.onHover}
|
|
@@ -659,16 +659,16 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
659
659
|
</div>
|
|
660
660
|
</div>
|
|
661
661
|
</div>
|
|
662
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent()
|
|
662
|
+
`}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="",Dr(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=qe(t,o),c={x:e,y:r},p=await ar(o,s),f=or(Xe(i)),h=Qe(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Ve(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Ve(u+p["y"===f?"top":"left"],u,u-p[t])}const y=l.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-r}}}}),sr({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))}}Tr.elementDefinitions={"ft-typography":$o},Tr.styles=Fe,Fr([r.property()],Tr.prototype,"text",void 0),Fr([r.property({type:Boolean})],Tr.prototype,"manual",void 0),Fr([r.property({type:Boolean})],Tr.prototype,"inline",void 0),Fr([r.property({type:Number})],Tr.prototype,"delay",void 0),Fr([r.property()],Tr.prototype,"position",void 0),Fr([r.queryAssignedNodes()],Tr.prototype,"slotNodes",void 0),Fr([r.query(".ft-tooltip--container")],Tr.prototype,"container",void 0),Fr([r.query(".ft-tooltip")],Tr.prototype,"tooltip",void 0),Fr([r.query(".ft-tooltip--content")],Tr.prototype,"tooltipContent",void 0),Fr([r.state()],Tr.prototype,"visible",void 0),o.customElement("ft-tooltip")(Tr);class Pr extends o.FtLitElement{render(){return e.html`
|
|
663
663
|
<div class="ft-loader">
|
|
664
664
|
<div></div>
|
|
665
665
|
<div></div>
|
|
666
666
|
<div></div>
|
|
667
667
|
<div></div>
|
|
668
668
|
</div>
|
|
669
|
-
`}}
|
|
669
|
+
`}}Pr.styles=we,o.customElement("ft-loader")(Pr);var Hr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class jr extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
|
|
670
670
|
<button part="button"
|
|
671
|
-
class="${
|
|
671
|
+
class="${i.classMap(this.buttonClasses)}"
|
|
672
672
|
aria-label="${this.getLabel()}"
|
|
673
673
|
?disabled=${this.isDisabled()}>
|
|
674
674
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
@@ -689,7 +689,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
689
689
|
</ft-tooltip>
|
|
690
690
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
691
691
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
692
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
692
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}jr.elementDefinitions={"ft-ripple":b,"ft-tooltip":Tr,"ft-typography":$o,"ft-icon":Se,"ft-loader":Pr},Hr([r.property({type:String,reflect:!0})],jr.prototype,"role",void 0),Hr([r.property()],jr.prototype,"type",void 0),Hr([r.property({type:Boolean})],jr.prototype,"disabled",void 0),Hr([r.property()],jr.prototype,"label",void 0),Hr([r.property()],jr.prototype,"icon",void 0),Hr([r.property()],jr.prototype,"iconVariant",void 0),Hr([r.property({type:Boolean})],jr.prototype,"trailingIcon",void 0),Hr([r.property({type:Boolean})],jr.prototype,"loading",void 0),Hr([r.property()],jr.prototype,"tooltipPosition",void 0),Hr([r.property({type:Boolean})],jr.prototype,"hideTooltip",void 0),Hr([r.property({type:Boolean})],jr.prototype,"forceTooltip",void 0),Hr([r.query(".ft-button")],jr.prototype,"button",void 0),Hr([r.query(".ft-button--label slot")],jr.prototype,"slottedContent",void 0);var Mr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Gr extends jr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Gr.styles=[o.safariEllipsisFix,We],Mr([r.property({type:Boolean})],Gr.prototype,"primary",void 0),Mr([r.property({type:Boolean})],Gr.prototype,"outlined",void 0),Mr([r.property({type:Boolean})],Gr.prototype,"dense",void 0),Mr([r.property({type:Boolean})],Gr.prototype,"round",void 0);const _r=[e.css`
|
|
693
693
|
:host {
|
|
694
694
|
display: inline-block;
|
|
695
695
|
max-width: 100%;
|
|
@@ -768,7 +768,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
768
768
|
/** Primary styles **/
|
|
769
769
|
|
|
770
770
|
.ft-button--primary {
|
|
771
|
-
${o.setVariable(
|
|
771
|
+
${o.setVariable(Ne.color,ft.primaryIconColor)};
|
|
772
772
|
|
|
773
773
|
${o.setVariable(s.color,ft.primaryStateLayerColor)};
|
|
774
774
|
${o.setVariable(s.opacityContentOnSurfaceHover,ft.primaryStateLayerOpacityHover)};
|
|
@@ -792,7 +792,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
792
792
|
/** Secondary styles **/
|
|
793
793
|
|
|
794
794
|
.ft-button--secondary {
|
|
795
|
-
${o.setVariable(
|
|
795
|
+
${o.setVariable(Ne.color,ft.secondaryIconColor)};
|
|
796
796
|
|
|
797
797
|
${o.setVariable(s.color,ft.secondaryStateLayerColor)};
|
|
798
798
|
${o.setVariable(s.opacityContentOnSurfaceHover,ft.secondaryStateLayerOpacityHover)};
|
|
@@ -817,7 +817,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
817
817
|
/** Tertiary styles **/
|
|
818
818
|
|
|
819
819
|
.ft-button--tertiary {
|
|
820
|
-
${o.setVariable(
|
|
820
|
+
${o.setVariable(Ne.color,ft.tertiaryIconColor)};
|
|
821
821
|
|
|
822
822
|
${o.setVariable(s.color,ft.tertiaryStateLayerColor)};
|
|
823
823
|
${o.setVariable(s.opacityContentOnSurfaceHover,ft.tertiaryStateLayerOpacityHover)};
|
|
@@ -841,7 +841,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
841
841
|
/** Neutral styles **/
|
|
842
842
|
|
|
843
843
|
.ft-button--neutral {
|
|
844
|
-
${o.setVariable(
|
|
844
|
+
${o.setVariable(Ne.color,ft.neutralIconColor)};
|
|
845
845
|
|
|
846
846
|
${o.setVariable(s.backgroundColor,ft.neutralStateLayerColor)};
|
|
847
847
|
${o.setVariable(s.opacityContentOnSurfaceHover,ft.neutralStateLayerOpacityHover)};
|
|
@@ -866,7 +866,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
866
866
|
|
|
867
867
|
.ft-button--large {
|
|
868
868
|
${o.setVariable(me.size,ft.largeIconSize)};
|
|
869
|
-
${o.setVariable(
|
|
869
|
+
${o.setVariable(Ne.size,ft.largeIconSize)};
|
|
870
870
|
|
|
871
871
|
height: ${ft.largeHeight};
|
|
872
872
|
padding: 0 ${ft.largeHorizontalPadding};
|
|
@@ -889,7 +889,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
889
889
|
|
|
890
890
|
.ft-button--small {
|
|
891
891
|
${o.setVariable(me.size,ft.smallIconSize)};
|
|
892
|
-
${o.setVariable(
|
|
892
|
+
${o.setVariable(Ne.size,ft.smallIconSize)};
|
|
893
893
|
|
|
894
894
|
height: ${ft.smallHeight};
|
|
895
895
|
padding: 0 ${ft.smallHorizontalPadding};
|
|
@@ -907,12 +907,12 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
907
907
|
width: ${ft.smallIconOnlyWidth};
|
|
908
908
|
padding: unset;
|
|
909
909
|
}
|
|
910
|
-
`,o.noTextSelect];var
|
|
911
|
-
`;var
|
|
910
|
+
`,o.noTextSelect];var Yr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Vr extends jr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?nt.caption1medium:nt.body2medium}}Vr.styles=[o.safariEllipsisFix,_r],Yr([r.property({type:Boolean})],Vr.prototype,"primary",void 0),Yr([r.property({type:Boolean})],Vr.prototype,"secondary",void 0),Yr([r.property({type:Boolean})],Vr.prototype,"tertiary",void 0),Yr([r.property({type:Boolean})],Vr.prototype,"neutral",void 0),Yr([r.property({type:Boolean})],Vr.prototype,"small",void 0),o.customElement("ft-button")(Gr),o.customElement("ftds-button")(Vr);const qr=e.css`
|
|
911
|
+
`;var Xr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Jr=Symbol("i18nProperties"),Qr=Symbol("i18nUnsubs");function ti(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Ho:Po}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o;null===(o=this[Jr])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[Jr])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Jr]&&new Set([...this[Jr].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Qr].has(t)||this[Qr].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Qr].forEach((t=>t())),this[Qr].clear()}}return o=Qr,Xr([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class oi extends(ti(o.FtLitElement)){}class ei extends(ti(o.FtLitElementRedux)){}var ri=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ii extends ei{constructor(){super(),this.editorMode=!1,this.addStore(Ao)}render(){return this.key&&this.context?e.html`
|
|
912
912
|
<span class="ft-i18n">
|
|
913
913
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
914
914
|
</span>
|
|
915
|
-
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){super.update(t),this.context&&this.key&&this.
|
|
915
|
+
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}ii.elementDefinitions={},ii.styles=qr,ri([o.redux()],ii.prototype,"editorMode",void 0),ri([r.property()],ii.prototype,"context",void 0),ri([r.property()],ii.prototype,"key",void 0),ri([o.jsonProperty([])],ii.prototype,"args",void 0),ri([r.property()],ii.prototype,"defaultMessage",void 0);class ni{static build(t){return new ni(t)}static fromGwt(t){return new ni(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>Po.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(ii);const ai=ni.build("savedSearchesComponent"),li={displaySavedSearchesHere:"Display saved searches here.",missingRole:"Saved search unavailable: missing role {0}.",keywords:"Keywords",language:"Language",sort:"Sort",period:"Period",relevance:"Relevance",lastUpdate:"Last update",lastWeek:"Less than one week",lastMonth:"Less than one month",lastYear:"Less than one year",customPeriod:"Custom period",search:"Search",in:"In",titles:"Titles",resultsType:"Results type",documentsOnly:"Documents only"},si=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),ci={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:si,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Mt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",si),horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},pi=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),fi={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:pi,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",pi)},hi=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),di=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),ui=[o.noTextSelect,e.css`
|
|
916
916
|
:host {
|
|
917
917
|
display: inline-block;
|
|
918
918
|
max-width: 100%;
|
|
@@ -928,20 +928,20 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
928
928
|
box-sizing: border-box;
|
|
929
929
|
pointer-events: auto;
|
|
930
930
|
|
|
931
|
-
--ft-chip-internal-font-size: ${
|
|
931
|
+
--ft-chip-internal-font-size: ${ci.fontSize};
|
|
932
932
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
933
|
-
${o.setVariable(me.size,
|
|
934
|
-
--ft-chip-internal-vertical-padding: ${
|
|
935
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
933
|
+
${o.setVariable(me.size,ci.iconSize)};
|
|
934
|
+
--ft-chip-internal-vertical-padding: ${ci.verticalPadding};
|
|
935
|
+
--ft-chip-internal-horizontal-padding: ${ci.horizontalPadding};
|
|
936
936
|
--ft-chip-internal-icon-padding: 3px;
|
|
937
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
937
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${ci.iconSize});
|
|
938
938
|
|
|
939
|
-
border: 1px solid ${
|
|
940
|
-
color: ${
|
|
941
|
-
${o.setVariable(s.color,
|
|
939
|
+
border: 1px solid ${ci.colorOutline};
|
|
940
|
+
color: ${ci.color};
|
|
941
|
+
${o.setVariable(s.color,ci.rippleColor)};
|
|
942
942
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
943
943
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
944
|
-
background-color: ${
|
|
944
|
+
background-color: ${ci.backgroundColor};
|
|
945
945
|
line-height: var(--ft-chip-internal-content-height);
|
|
946
946
|
}
|
|
947
947
|
|
|
@@ -951,8 +951,8 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
951
951
|
|
|
952
952
|
.ft-chip--dense {
|
|
953
953
|
--ft-chip-internal-icon-padding: 3px;
|
|
954
|
-
--ft-chip-internal-vertical-padding: ${
|
|
955
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
954
|
+
--ft-chip-internal-vertical-padding: ${di};
|
|
955
|
+
--ft-chip-internal-horizontal-padding: ${hi};
|
|
956
956
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
957
957
|
}
|
|
958
958
|
|
|
@@ -964,15 +964,15 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
964
964
|
cursor: default;
|
|
965
965
|
pointer-events: none;
|
|
966
966
|
filter: grayscale(1);
|
|
967
|
-
opacity: ${
|
|
967
|
+
opacity: ${ci.opacityDisabled};
|
|
968
968
|
}
|
|
969
969
|
|
|
970
970
|
.ft-chip--highlighted {
|
|
971
971
|
border: none;
|
|
972
972
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
973
|
-
background-color: ${
|
|
974
|
-
${o.setVariable(s.color,
|
|
975
|
-
color: ${
|
|
973
|
+
background-color: ${fi.backgroundColor};
|
|
974
|
+
${o.setVariable(s.color,fi.rippleColor)};
|
|
975
|
+
color: ${fi.color};
|
|
976
976
|
}
|
|
977
977
|
|
|
978
978
|
.ft-chip--clickable {
|
|
@@ -1002,7 +1002,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1002
1002
|
}
|
|
1003
1003
|
|
|
1004
1004
|
.ft-chip--icon-button {
|
|
1005
|
-
${o.setVariable(Ce.iconSize,
|
|
1005
|
+
${o.setVariable(Ce.iconSize,ci.iconSize)};
|
|
1006
1006
|
${o.setVariable(Ce.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1007
1007
|
${o.setVariable(Ce.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1008
1008
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
@@ -1049,8 +1049,8 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1049
1049
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1050
1050
|
order: -1;
|
|
1051
1051
|
}
|
|
1052
|
-
`];var
|
|
1053
|
-
<div class="${
|
|
1052
|
+
`];var yi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gi extends CustomEvent{constructor(){super("icon-click")}}class bi extends o.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":o.isSafari};return e.html`
|
|
1053
|
+
<div class="${i.classMap(t)}"
|
|
1054
1054
|
aria-label="${this.getLabel()}"
|
|
1055
1055
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
1056
1056
|
@keyup=${this.onKeyUp}>
|
|
@@ -1072,7 +1072,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1072
1072
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
1073
1073
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
1074
1074
|
</div>
|
|
1075
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
1075
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new gi))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new gi))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}bi.elementDefinitions={"ft-ripple":b,"ft-typography":$o,"ft-icon":Se,"ft-button":Gr},bi.styles=ui,yi([r.property({type:Boolean})],bi.prototype,"highlighted",void 0),yi([r.property({type:Boolean})],bi.prototype,"removable",void 0),yi([r.property({type:Boolean})],bi.prototype,"disabled",void 0),yi([r.property({type:Boolean})],bi.prototype,"clickable",void 0),yi([r.property({type:Boolean})],bi.prototype,"iconClickable",void 0),yi([r.property({type:Boolean})],bi.prototype,"dense",void 0),yi([r.property({type:Boolean})],bi.prototype,"multiLine",void 0),yi([r.property()],bi.prototype,"label",void 0),yi([r.property()],bi.prototype,"iconLabel",void 0),yi([r.property()],bi.prototype,"icon",void 0),yi([r.property()],bi.prototype,"iconVariant",void 0),yi([r.property({type:Boolean})],bi.prototype,"trailingIcon",void 0),yi([r.query("ft-typography slot")],bi.prototype,"slottedContent",void 0),o.customElement("ft-chip")(bi);var mi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vi extends(ti(ye)){constructor(){super(),this.showDescription=!1,this.showSearchFilters=!1,this.showSearchButton=!1,this.showAlertStatus=!1,this.selected=!1,this.addI18nContext(ai,li)}render(){var t;return e.html`
|
|
1076
1076
|
<ft-card title="${null===(t=this.search)||void 0===t?void 0:t.title}" clickable ?selected="${this.selected}">
|
|
1077
1077
|
${this.renderAlertStatus()}
|
|
1078
1078
|
<div id="container">
|
|
@@ -1081,37 +1081,37 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1081
1081
|
${this.renderSearchButton()}
|
|
1082
1082
|
</div>
|
|
1083
1083
|
</ft-card>
|
|
1084
|
-
`}renderDescription(){var t;return this.showDescription?e.html`<div id="description" class="content">${null===(t=this.search)||void 0===t?void 0:t.description}</div>`:e.nothing}renderSearchButton(){return this.showSearchButton?e.html`<div id="searchButton" class="content"><ft-button id="search" icon="search">${
|
|
1085
|
-
${null!==(o=null===(t=this.search)||void 0===t?void 0:t.searchRequest.query.length)&&void 0!==o&&o?this.renderMetadata(
|
|
1086
|
-
${(null===(
|
|
1087
|
-
${(null===(
|
|
1088
|
-
${null===(
|
|
1089
|
-
${null!==(c=null===(s=null===(l=this.search)||void 0===l?void 0:l.searchRequest.contentLocale)||void 0===s?void 0:s.length)&&void 0!==c&&c?this.renderMetadata(
|
|
1090
|
-
${null!==(d=null===(h=null===(f=this.search)||void 0===f?void 0:f.searchRequest.sort[0])||void 0===h?void 0:h.key.length)&&void 0!==d&&d?this.renderMetadata(
|
|
1091
|
-
${(null===(
|
|
1092
|
-
</div>`:e.nothing}renderMetadata(t,o,
|
|
1084
|
+
`}renderDescription(){var t;return this.showDescription?e.html`<div id="description" class="content">${null===(t=this.search)||void 0===t?void 0:t.description}</div>`:e.nothing}renderSearchButton(){return this.showSearchButton?e.html`<div id="searchButton" class="content"><ft-button id="search" icon="search">${ai.messages.search()}</ft-button></div>`:e.nothing}renderAlertStatus(){var t;return this.showAlertStatus&&(null===(t=this.search)||void 0===t?void 0:t.alert)?e.html`<ft-icon id="alertStatus" slot="header">alert</ft-icon>`:e.nothing}renderSearchFilters(){var t,o,r,i,n,a,l,s,c,p,f,h,d,u,y,g;return this.showSearchFilters?e.html`<div id="searchFilters" class="content">
|
|
1085
|
+
${null!==(o=null===(t=this.search)||void 0===t?void 0:t.searchRequest.query.length)&&void 0!==o&&o?this.renderMetadata(ai.messages.keywords(),null===(r=this.search)||void 0===r?void 0:r.searchRequest.query,!0):e.nothing}
|
|
1086
|
+
${(null===(i=this.search)||void 0===i?void 0:i.searchRequest.virtualField)==ie.TITLE_ONLY?this.renderMetadata(ai.messages.in(),ai.messages.titles(),!0):e.nothing}
|
|
1087
|
+
${(null===(n=this.search)||void 0===n?void 0:n.searchRequest.scope)==ce.DOCUMENTS?this.renderMetadata(ai.messages.resultsType(),ai.messages.documentsOnly(),!0):e.nothing}
|
|
1088
|
+
${null===(a=this.search)||void 0===a?void 0:a.searchRequest.filters.map((t=>this.renderMetadata(t.label,t.values)))}
|
|
1089
|
+
${null!==(c=null===(s=null===(l=this.search)||void 0===l?void 0:l.searchRequest.contentLocale)||void 0===s?void 0:s.length)&&void 0!==c&&c?this.renderMetadata(ai.messages.language(),null===(p=this.search)||void 0===p?void 0:p.searchRequest.contentLocale,!0):e.nothing}
|
|
1090
|
+
${null!==(d=null===(h=null===(f=this.search)||void 0===f?void 0:f.searchRequest.sort[0])||void 0===h?void 0:h.key.length)&&void 0!==d&&d?this.renderMetadata(ai.messages.sort(),this.mapSortKey(null===(u=this.search)||void 0===u?void 0:u.searchRequest.sort[0].key),!0):e.nothing}
|
|
1091
|
+
${(null===(y=this.search)||void 0===y?void 0:y.searchRequest.periodFilter)?this.renderMetadata(ai.messages.period(),this.mapPeriodFilter(null===(g=this.search)||void 0===g?void 0:g.searchRequest.periodFilter),!0):e.nothing}
|
|
1092
|
+
</div>`:e.nothing}renderMetadata(t,o,r=!1){return e.html`<ft-chip dense ?highlighted=${r}><span class="metadata-label">${t}</span><span class="metadata-values">${Array.isArray(o)?o.join(", "):o}</span></ft-chip>`}mapSortKey(t){switch(t){case"afs:relevance":return ai.messages.relevance();case"ft:lastEdition":return ai.messages.lastUpdate();default:return t}}mapPeriodFilter(t){switch(t.periodType){case"LAST_WEEK":return ai.messages.lastWeek();case"LAST_MONTH":return ai.messages.lastMonth();case"LAST_YEAR":return ai.messages.lastYear();case"CUSTOM":return ai.messages.customPeriod();default:return"--"}}}vi.elementDefinitions={"ft-icon":Se,"ft-card":Wo,"ft-chip":bi,"ft-button":Gr},vi.styles=e.css`
|
|
1093
1093
|
ft-card {
|
|
1094
|
-
${o.setVariable(Co.outlineStyle,
|
|
1095
|
-
${o.setVariable(Co.outlineWidth,
|
|
1096
|
-
${o.setVariable(Co.outlineColor,
|
|
1097
|
-
${o.setVariable(Co.borderRadius,
|
|
1098
|
-
${o.setVariable(Co.selectedOutlineStyle,
|
|
1099
|
-
${o.setVariable(Co.selectedOutlineWidth,
|
|
1100
|
-
${o.setVariable(Co.selectedOutlineColor,
|
|
1101
|
-
${o.setVariable(Co.selectedBorderRadius,
|
|
1102
|
-
${o.setVariable(s.backgroundColor,
|
|
1094
|
+
${o.setVariable(Co.outlineStyle,Bo.inactiveSearchBorderStyle)};
|
|
1095
|
+
${o.setVariable(Co.outlineWidth,Bo.inactiveSearchBorderWidth)};
|
|
1096
|
+
${o.setVariable(Co.outlineColor,Bo.inactiveSearchBorderColor)};
|
|
1097
|
+
${o.setVariable(Co.borderRadius,Bo.inactiveSearchBorderRadius)};
|
|
1098
|
+
${o.setVariable(Co.selectedOutlineStyle,Bo.activeSearchBorderStyle)};
|
|
1099
|
+
${o.setVariable(Co.selectedOutlineWidth,Bo.activeSearchBorderWidth)};
|
|
1100
|
+
${o.setVariable(Co.selectedOutlineColor,Bo.activeSearchBorderColor)};
|
|
1101
|
+
${o.setVariable(Co.selectedBorderRadius,Bo.activeSearchBorderRadius)};
|
|
1102
|
+
${o.setVariable(s.backgroundColor,Bo.inactiveSearchBackgroundColor)};
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
1105
1105
|
ft-card[selected] {
|
|
1106
|
-
${o.setVariable(s.backgroundColor,
|
|
1106
|
+
${o.setVariable(s.backgroundColor,Bo.activeSearchBackgroundColor)};
|
|
1107
1107
|
}
|
|
1108
1108
|
|
|
1109
1109
|
#search {
|
|
1110
|
-
${o.setVariable(Ce.color,
|
|
1110
|
+
${o.setVariable(Ce.color,Bo.inactiveButtonTextColor)};
|
|
1111
1111
|
}
|
|
1112
1112
|
|
|
1113
1113
|
ft-card[selected] #search {
|
|
1114
|
-
${o.setVariable(Ce.color,
|
|
1114
|
+
${o.setVariable(Ce.color,Bo.activeButtonTextColor)};
|
|
1115
1115
|
}
|
|
1116
1116
|
|
|
1117
1117
|
#searchFilters {
|
|
@@ -1140,13 +1140,13 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1140
1140
|
}
|
|
1141
1141
|
|
|
1142
1142
|
#alertStatus {
|
|
1143
|
-
color: ${
|
|
1143
|
+
color: ${Bo.color};
|
|
1144
1144
|
}
|
|
1145
|
-
`,
|
|
1146
|
-
<ft-typography>${
|
|
1147
|
-
<ft-typography>${
|
|
1145
|
+
`,mi([r.property()],vi.prototype,"search",void 0),mi([r.property({type:Boolean})],vi.prototype,"showDescription",void 0),mi([r.property({type:Boolean})],vi.prototype,"showSearchFilters",void 0),mi([r.property({type:Boolean})],vi.prototype,"showSearchButton",void 0),mi([r.property({type:Boolean})],vi.prototype,"showAlertStatus",void 0),mi([r.property({type:Boolean})],vi.prototype,"selected",void 0);var xi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Oi extends(ti(ye)){constructor(){super(),this.showDescription=!1,this.showSearchFilters=!1,this.showSearchButton=!1,this.showAlertStatus=!1,this.editorMode=!1,this.requiredRole=pe.SAVED_SEARCH_USER,this.addStore(Ao),this.addStore(Vo),this.addI18nContext(ai,li)}render(){var t;return this.editorMode&&!this.userHasRights?e.html`
|
|
1146
|
+
<ft-typography>${ai.messages.missingRole(this.requiredRole)}</ft-typography>`:this.editorMode&&this.isEmpty?e.html`
|
|
1147
|
+
<ft-typography>${ai.messages.displaySavedSearchesHere()}</ft-typography>`:this.userHasRights&&!this.isEmpty?e.html`
|
|
1148
1148
|
<div id="container">
|
|
1149
|
-
${
|
|
1149
|
+
${a.repeat(null!==(t=this.savedSearches)&&void 0!==t?t:[],(t=>t.id),(t=>e.html`
|
|
1150
1150
|
<ft-search-saved-search
|
|
1151
1151
|
.search=${t}
|
|
1152
1152
|
?showDescription=${this.showDescription}
|
|
@@ -1163,4 +1163,4 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1163
1163
|
display: none !important;
|
|
1164
1164
|
}
|
|
1165
1165
|
</style>
|
|
1166
|
-
`}get userHasRights(){var t;return!!(null===(t=this.user)||void 0===t?void 0:t.roles.includes(this.requiredRole))}get isEmpty(){var t;return 0==(null!==(t=this.savedSearches)&&void 0!==t?t:[]).length}isSelected(t){var e;const
|
|
1166
|
+
`}get userHasRights(){var t;return!!(null===(t=this.user)||void 0===t?void 0:t.roles.includes(this.requiredRole))}get isEmpty(){var t;return 0==(null!==(t=this.savedSearches)&&void 0!==t?t:[]).length}isSelected(t){var e;const r=null===(e=this.stateManager)||void 0===e?void 0:e.store.getState().request;return null!=r&&o.deepEqual(r.query,t.query)&&o.deepEqual([...r.filters],[...t.filters].map(this.mapSearchFilter))&&o.deepEqual([...r.sort].map(this.mapFtSearchSortCriterion),[...t.sort].map(this.mapFtSearchSortCriterion))&&o.deepEqual(r.contentLocale,t.contentLocale)&&o.deepEqual(r.periodFilter,t.periodFilter)&&o.deepEqual(r.virtualField,t.virtualField)&&o.deepEqual(r.scope,t.scope)}mapFtSearchSortCriterion(t){return{...t}}toFtSearchRequest(t){return null==this.stateManager?void 0:{...this.stateManager.store.getState().request,periodFilter:t.periodFilter,query:t.query,filters:t.filters.map(this.mapSearchFilter),sort:t.sort,contentLocale:t.contentLocale,virtualField:t.virtualField,scope:t.scope}}mapSearchFilter(t){return{key:t.key,values:t.values,negative:t.negative}}connectedCallback(){super.connectedCallback(),qo.reloadMySearches()}setSearch(t){var o;const e=this.toFtSearchRequest(t);null!=e&&(null===(o=this.stateManager)||void 0===o||o.setRequest(e))}update(t){super.update(t),(t.has("user")||t.has("savedSearches"))&&null==this.savedSearches&&qo.reloadMySearches()}}Oi.styles=Ko,Oi.elementDefinitions={"ft-search-saved-search":vi,"ft-typography":$o},xi([r.property({type:Boolean})],Oi.prototype,"showDescription",void 0),xi([r.property({type:Boolean})],Oi.prototype,"showSearchFilters",void 0),xi([r.property({type:Boolean})],Oi.prototype,"showSearchButton",void 0),xi([r.property({type:Boolean})],Oi.prototype,"showAlertStatus",void 0),xi([o.redux({store:Vo.name})],Oi.prototype,"savedSearches",void 0),xi([o.redux({store:Ao.name,selector:t=>{var o;return null===(o=t.session)||void 0===o?void 0:o.profile}})],Oi.prototype,"user",void 0),xi([o.redux({store:"search"})],Oi.prototype,"request",void 0),xi([o.redux({store:Ao.name})],Oi.prototype,"editorMode",void 0),o.customElement("ft-search-saved-searches")(Oi),t.FtSearchSavedSearches=Oi,t.FtSearchSavedSearchesCssVariables=Bo,t.styles=Ko}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);
|