@fluid-topics/ft-search-saved-searches 1.1.32 → 1.1.34

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.
@@ -127,13 +127,13 @@
127
127
  * Copyright 2017 Google LLC
128
128
  * SPDX-License-Identifier: BSD-3-Clause
129
129
  */
130
- const m=globalThis,x=m.trustedTypes,v=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,O="$lit$",N=`lit$${(Math.random()+"").slice(9)}$`,S="?"+N,w=`<${S}>`,C=document,$=()=>C.createComment(""),E=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,U="[ \t\n\f\r]",R=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,L=/>/g,W=RegExp(`>|${U}(?:([^\\s"'>=/]+)(${U}*=${U}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,z=/"/g,A=/^(?:script|style|textarea|title)$/i,Z=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),B=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),F=new WeakMap,T=C.createTreeWalker(C,129);function H(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==v?v.createHTML(o):o}const P=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=R;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(a.lastIndex=p,c=a.exec(e),null!==c);)p=a.lastIndex,a===R?"!--"===c[1]?a=k:void 0!==c[1]?a=L:void 0!==c[2]?(A.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=W):void 0!==c[3]&&(a=W):a===W?">"===c[0]?(a=i??R,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?W:'"'===c[3]?z:K):a===z||a===K?a=W:a===k||a===L?a=R:(a=W,i=void 0);const f=a===W&&t[o+1].startsWith("/>")?" ":"";n+=a===R?e+w:s>=0?(r.push(l),e.slice(0,s)+O+e.slice(s)+N+f):e+N+(-2===s?o:f)}return[H(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class M{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[c,s]=P(t,o);if(this.el=M.createElement(c,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=s[n++],e=r.getAttribute(t).split(N),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(N)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(A.test(r.tagName)){const t=r.textContent.split(N),o=t.length-1;if(o>0){r.textContent=x?x.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],$()),T.nextNode(),l.push({type:2,index:++i});r.append(t[o],$())}}}else if(8===r.nodeType)if(r.data===S)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(N,t+1));)l.push({type:7,index:i}),t+=N.length-1}i++}}static createElement(t,o){const e=C.createElement("template");return e.innerHTML=t,e}}function j(t,o,e=t,r){if(o===B)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=j(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??C).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=C,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=j(this,t,o),E(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==B&&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.$(C.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=M.createElement(H(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 M(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($()),this.k($()),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=j(this,t,o,0),n=!E(t)||t!==this._$AH&&t!==B,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=j(this,r[e+a],o,a),l===B&&(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=j(this,t,o,0)??D)===B)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){j(this,t)}}const Q=m.litHtmlPolyfillSupport;Q?.(M,_),(m.litHtmlVersions??=[]).push("3.1.0");
130
+ const m=globalThis,x=m.trustedTypes,v=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,O="$lit$",N=`lit$${(Math.random()+"").slice(9)}$`,S="?"+N,w=`<${S}>`,C=document,$=()=>C.createComment(""),E=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,U="[ \t\n\f\r]",R=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,L=/>/g,W=RegExp(`>|${U}(?:([^\\s"'>=/]+)(${U}*=${U}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,A=/"/g,z=/^(?:script|style|textarea|title)$/i,Z=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),B=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),F=new WeakMap,T=C.createTreeWalker(C,129);function H(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==v?v.createHTML(o):o}const P=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=R;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(a.lastIndex=p,c=a.exec(e),null!==c);)p=a.lastIndex,a===R?"!--"===c[1]?a=k:void 0!==c[1]?a=L:void 0!==c[2]?(z.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=W):void 0!==c[3]&&(a=W):a===W?">"===c[0]?(a=i??R,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?W:'"'===c[3]?A:K):a===A||a===K?a=W:a===k||a===L?a=R:(a=W,i=void 0);const f=a===W&&t[o+1].startsWith("/>")?" ":"";n+=a===R?e+w:s>=0?(r.push(l),e.slice(0,s)+O+e.slice(s)+N+f):e+N+(-2===s?o:f)}return[H(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class M{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[c,s]=P(t,o);if(this.el=M.createElement(c,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=s[n++],e=r.getAttribute(t).split(N),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(N)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(z.test(r.tagName)){const t=r.textContent.split(N),o=t.length-1;if(o>0){r.textContent=x?x.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],$()),T.nextNode(),l.push({type:2,index:++i});r.append(t[o],$())}}}else if(8===r.nodeType)if(r.data===S)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(N,t+1));)l.push({type:7,index:i}),t+=N.length-1}i++}}static createElement(t,o){const e=C.createElement("template");return e.innerHTML=t,e}}function j(t,o,e=t,r){if(o===B)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=j(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??C).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=C,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=j(this,t,o),E(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==B&&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.$(C.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=M.createElement(H(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 M(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($()),this.k($()),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=j(this,t,o,0),n=!E(t)||t!==this._$AH&&t!==B,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=j(this,r[e+a],o,a),l===B&&(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=j(this,t,o,0)??D)===B)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){j(this,t)}}const Q=m.litHtmlPolyfillSupport;Q?.(M,_),(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}),rt=new Map,it=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(n=e[s],i=ot(n));)c+=i+o[++s],p=!0;s!==r&&l.push(n),a.push(c),s++}if(s===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)})(Z);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 ct={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"),shadowElevation01:lt.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:lt.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:lt.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:lt.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:lt.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:lt.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:lt.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:lt.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:lt.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},st={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","1.5rem"),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","500"),lineHeight:lt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),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","500"),lineHeight:lt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),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")},"caption-3-medium":{fontFamily:lt.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:lt.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:lt.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:lt.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:lt.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:lt.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},pt={backgroundActionPrimary:lt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ct.colorBrand0),backgroundErrorPrimary:lt.extend("--ft-background-error-primary","Used as background of error components.",ct.colorRed0),backgroundErrorSubtle:lt.extend("--ft-background-error-subtle","Used as background of subtle error components.",ct.colorRed10),backgroundInfoPrimary:lt.extend("--ft-background-info-primary","Used as background of information components.",ct.colorCyan200),backgroundInfoSubtle:lt.extend("--ft-background-info-subtle","Used as background of subtle information components.",ct.colorCyan10),backgroundWarningPrimary:lt.extend("--ft-background-warning-primary","Used as background of warning components.",ct.colorOrange300),backgroundWarningSubtle:lt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ct.colorOrange10),backgroundSuccessPrimary:lt.extend("--ft-background-success-primary","Used as background of success components.",ct.colorGreen200),backgroundSuccessSubtle:lt.extend("--ft-background-success-subtle","Used as background of subtle success components.",ct.colorGreen10),backgroundGlobalSurface:lt.extend("--ft-background-global-surface","Used as app background.",ct.colorWhite),backgroundGlobalOnSurface:lt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ct.colorGray10),backgroundGlobalOnSurfaceDark:lt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ct.colorGray30),contentActionPrimary:lt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ct.colorBrand0),contentWarningPrimary:lt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ct.colorOrange300),contentWarningIconOnly:lt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ct.colorOrange0),contentErrorPrimary:lt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ct.colorRed0),contentErrorIconOnly:lt.extend("--ft-content-error-icon-only","Used on error status icons alone",ct.colorRed0),contentInfoPrimary:lt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ct.colorCyan200),contentInfoIconOnly:lt.extend("--ft-content-info-icon-only","Used on info status icons alone",ct.colorCyan0),contentSuccessPrimary:lt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ct.colorGreen200),contentSuccessIconOnly:lt.extend("--ft-content-success-icon-only","Used on success status icons alone",ct.colorGreen0),contentGlobalPrimary:lt.extend("--ft-content-global-primary","Used for main content on the page.",ct.colorGray500),contentGlobalSecondary:lt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ct.colorGray200),contentGlobalSubtle:lt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ct.colorGray0),contentGlobalOnColor:lt.extend("--ft-content-global-on-color","Used for content on a dominant color.",ct.colorWhite),borderActionPrimary:lt.extend("--ft-border-action-primary","Used as border for primary action components.",ct.colorBrand0),borderActionFocusRing:lt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ct.colorCyan0),borderWarningPrimary:lt.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ct.colorOrange300),borderWarningSubtle:lt.extend("--ft-border-warning-subtle","Used as border for warning components.",ct.colorOrange30),borderSuccessPrimary:lt.extend("--ft-border-success-primary","Used as border for success buttons.",ct.colorGreen200),borderSuccessSubtle:lt.extend("--ft-border-success-subtle","Used as border for success components.",ct.colorGreen30),borderErrorPrimary:lt.extend("--ft-border-error-primary","Used as border for text fields in error states.",ct.colorRed0),borderErrorSubtle:lt.extend("--ft-border-error-subtle","Used as border for error components.",ct.colorRed30),borderInfoPrimary:lt.extend("--ft-border-info-primary","Used as border for buttons in info color.",ct.colorCyan200),borderInfoSubtle:lt.extend("--ft-border-info-subtle","Used as border for information components.",ct.colorCyan30),borderGlobalPrimary:lt.extend("--ft-border-global-primary","Used as border for element like input.",ct.colorGray50),borderGlobalSubtle:lt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ct.colorGray30),borderInputPrimary:lt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ct.colorGray80)},ft={largeHeight:lt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:lt.extend("--ft-button-large-horizontal-padding","",ct.spacing4),largeGap:lt.extend("--ft-button-large-gap","",ct.spacing2),largeBorderRadius:lt.extend("--ft-button-large-border-radius","",ct.borderRadiusS),largeIconSize:lt.extend("--ft-button-large-icon-size","",ct.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","",ct.spacing3),smallGap:lt.extend("--ft-button-small-gap","",ct.spacing2),smallBorderRadius:lt.extend("--ft-button-small-border-radius","",ct.borderRadiusS),smallIconSize:lt.extend("--ft-button-small-icon-size","",ct.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","",ct.opacity16),primaryStateLayerOpacityFocus:lt.extend("--ft-button-primary-state-layer-opacity-focus","",ct.opacity16),primaryStateLayerOpacityActive:lt.extend("--ft-button-primary-state-layer-opacity-active","",ct.opacity24),primaryComponentOpacityDisabled:lt.extend("--ft-button-primary-component-opacity-disabled","",ct.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","",ct.opacity8),tertiaryStateLayerOpacityFocus:lt.extend("--ft-button-tertiary-state-layer-opacity-focus","",ct.opacity8),tertiaryStateLayerOpacityActive:lt.extend("--ft-button-tertiary-state-layer-opacity-active","",ct.opacity16),tertiaryComponentOpacityDisabled:lt.extend("--ft-button-tertiary-component-opacity-disabled","",ct.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","",ct.opacity8),secondaryStateLayerOpacityFocus:lt.extend("--ft-button-secondary-state-layer-opacity-focus","",ct.opacity8),secondaryStateLayerOpacityActive:lt.extend("--ft-button-secondary-state-layer-opacity-active","",ct.opacity16),secondaryComponentOpacityDisabled:lt.extend("--ft-button-secondary-component-opacity-disabled","",ct.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","",ct.opacity8),neutralStateLayerOpacityFocus:lt.extend("--ft-button-neutral-state-layer-opacity-focus","",ct.opacity8),neutralStateLayerOpacityActive:lt.extend("--ft-button-neutral-state-layer-opacity-active","",ct.opacity16),neutralComponentOpacityDisabled:lt.extend("--ft-button-neutral-component-opacity-disabled","",ct.opacity40)};lt.extend("--ft-floating-menu-horizontal-padding","",ct.spacing4),lt.extend("--ft-floating-menu-vertical-padding","",ct.spacing4),lt.extend("--ft-floating-menu-off-icon-color","",pt.contentGlobalPrimary),lt.extend("--ft-floating-menu-off-color","",pt.contentGlobalPrimary),lt.extend("--ft-floating-menu-on-color","",pt.contentActionPrimary),lt.extend("--ft-floating-menu-on-icon-color","",pt.contentActionPrimary),lt.extend("--ft-floating-menu-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-floating-menu-gap","",ct.spacing3),lt.extend("--ft-floating-menu-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),lt.extend("--ft-floating-menu-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-floating-menu-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-floating-menu-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-floating-menu-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-floating-menu-icon-size","",ct.iconSize3),lt.extend("--ft-floating-menu-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-tabs-top-left-border-radius","",ct.borderRadiusS),lt.extend("--ft-tabs-top-right-border-radius","",ct.borderRadiusS),lt.extend("--ft-tabs-label-horizontal-padding","",ct.spacing4),lt.extend("--ft-tabs-label-vertical-padding","",ct.spacing3),lt.extend("--ft-tabs-label-gap","",ct.spacing1),lt.extend("--ft-tabs-icon-horizontal-padding","",ct.spacing1),lt.extend("--ft-tabs-icon-vertical-padding","",ct.spacing4),lt.create("--ft-tabs-focus-outline-width","","SIZE","2px"),lt.extend("--ft-tabs-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-tabs-off-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-tabs-off-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-tabs-off-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-tabs-off-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-tabs-off-color","",pt.contentGlobalSubtle),lt.extend("--ft-tabs-off-state-layer-color","",pt.contentGlobalSubtle),lt.extend("--ft-tabs-on-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-tabs-on-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-tabs-on-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-tabs-on-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-tabs-on-color","",pt.contentActionPrimary),lt.extend("--ft-tabs-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-collapsible-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-collapsible-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-collapsible-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-collapsible-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-collapsible-horizontal-padding","",ct.spacing4),lt.extend("--ft-collapsible-vertical-padding","",ct.spacing3),lt.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),lt.extend("--ft-collapsible-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-collapsible-color","",pt.contentGlobalPrimary),lt.extend("--ft-collapsible-state-layer-color","",pt.contentGlobalPrimary),lt.extend("--ft-collapsible-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-collapsible-border-color","",pt.borderGlobalSubtle),lt.extend("--ft-collapsible-icon-size","",ct.iconSize3),lt.extend("--ft-switch-group-horizontal-padding","",ct.spacing1),lt.extend("--ft-switch-group-vertical-padding","",ct.spacing1),lt.extend("--ft-switch-group-gap","",ct.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","",ct.spacing2),lt.extend("--ft-switch-label-vertical-padding","",ct.spacing1),lt.extend("--ft-switch-icon-horizontal-padding","",ct.spacing1),lt.extend("--ft-switch-icon-vertical-padding","",ct.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","",ct.borderRadiusS),lt.extend("--ft-switch-off-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-switch-off-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-switch-off-color","",pt.contentGlobalSubtle),lt.extend("--ft-switch-off-state-layer-color","",pt.contentGlobalSubtle),lt.extend("--ft-switch-on-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-switch-on-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-switch-on-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-switch-on-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-switch-on-color","",pt.contentActionPrimary),lt.extend("--ft-switch-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-chart-1-light","for area color charts",ct.colorBrand40),lt.extend("--ft-chart-1-base","for line charts",ct.colorBrand0),lt.extend("--ft-chart-2-light","for area color charts",ct.colorYellow60),lt.extend("--ft-chart-2-base","for line charts",ct.colorYellow100),lt.extend("--ft-chart-3-light","",ct.colorUltramarine40),lt.extend("--ft-chart-3-base","",ct.colorUltramarine70),lt.extend("--ft-chart-4-light","",ct.colorCyan50),lt.extend("--ft-chart-4-base","",ct.colorCyan100),lt.extend("--ft-chart-5-light","",ct.colorRed40),lt.extend("--ft-chart-5-base","",ct.colorRed60),lt.extend("--ft-chart-6-light","",ct.colorGreen40),lt.extend("--ft-chart-6-base","",ct.colorGreen70),lt.extend("--ft-chart-7-light","",ct.colorOrange70),lt.extend("--ft-chart-7-base","",ct.colorOrange100),lt.extend("--ft-chart-8-light","",ct.colorAvocado70),lt.extend("--ft-chart-8-base","",ct.colorAvocado200),lt.extend("--ft-chart-9-light","",ct.colorBrown50),lt.extend("--ft-chart-9-base","",ct.colorBrown200),lt.extend("--ft-chart-10-light","",ct.colorGray50),lt.extend("--ft-chart-10-base","",ct.colorGray80),lt.extend("--ft-chart-monochrome-10","",ct.colorBrand10),lt.extend("--ft-chart-monochrome-20","",ct.colorBrand20),lt.extend("--ft-chart-monochrome-30","",ct.colorBrand40),lt.extend("--ft-chart-monochrome-40","",ct.colorBrand60),lt.extend("--ft-chart-monochrome-50","",ct.colorBrand0),lt.extend("--ft-chart-monochrome-60","",ct.colorBrand200),lt.extend("--ft-chip-large-horizontal-padding","",ct.spacing4),lt.extend("--ft-chip-large-vertical-padding","",ct.spacing2),lt.extend("--ft-chip-large-gap","",ct.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","",ct.borderRadiusPill),lt.create("--ft-chip-large-border-width","","SIZE","1px"),lt.extend("--ft-chip-large-icon-size","",ct.iconSize3),lt.extend("--ft-chip-medium-horizontal-padding","",ct.spacing3),lt.extend("--ft-chip-medium-vertical-padding","",ct.spacing1),lt.extend("--ft-chip-medium-gap","",ct.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","",ct.borderRadiusPill),lt.create("--ft-chip-medium-border-width","","SIZE","1px"),lt.extend("--ft-chip-medium-icon-size","",ct.iconSize2),lt.extend("--ft-chip-small-horizontal-padding","",ct.spacing2),lt.extend("--ft-chip-small-vertical-padding","",ct.spacing05),lt.extend("--ft-chip-small-gap","",ct.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","",ct.borderRadiusPill),lt.create("--ft-chip-small-border-width","","SIZE","1px"),lt.extend("--ft-chip-small-icon-size","",ct.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.borderInfoSubtle),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.borderSuccessSubtle),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.borderWarningSubtle),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.borderErrorSubtle),lt.create("--ft-notice-border-width","","SIZE","1px"),lt.extend("--ft-notice-horizontal-padding","",ct.spacing2),lt.extend("--ft-notice-vertical-padding","",ct.spacing1),lt.extend("--ft-notice-border-radius","",ct.borderRadiusS),lt.extend("--ft-notice-gap","",ct.spacing2),lt.extend("--ft-notice-icon-size","",ct.iconSize3),lt.extend("--ft-notice-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-notice-info-border-color","",pt.borderInfoSubtle),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.borderWarningSubtle),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","",ct.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-checkbox-checked-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-checkbox-unchecked-border-color","",ct.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-color","",ct.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ct.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","",ct.spacing3),lt.extend("--ft-toggle-off-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-toggle-off-component-opacity-disabled","",ct.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","",ct.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-toggle-on-component-opacity-disabled","",ct.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","",ct.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","",ct.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-radio-selected-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-radio-unselected-state-layer-color","",ct.colorGray80),lt.extend("--ft-radio-unselected-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-radio-unselected-component-opacity-disabled","",ct.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","",ct.spacing3),lt.extend("--ft-notification-icon-size","",ct.iconSize4),lt.extend("--ft-notification-horizontal-padding","",ct.spacing4),lt.extend("--ft-notification-vertical-padding","",ct.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.borderInfoSubtle),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.borderSuccessSubtle),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.borderWarningSubtle),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.borderErrorSubtle),lt.extend("--ft-notification-border-radius","",ct.borderRadiusPill),lt.create("--ft-notification-border-width","","SIZE","1px"),lt.extend("--ft-notification-gap-leading","",ct.spacing2),lt.extend("--ft-notification-gap-trailing","",ct.spacing8),lt.extend("--ft-tooltip-horizontal-padding","",ct.spacing2),lt.extend("--ft-tooltip-vertical-padding","",ct.spacing2),lt.extend("--ft-tooltip-border-radius","",ct.borderRadiusS),lt.extend("--ft-tooltip-label","",pt.contentGlobalOnColor),lt.extend("--ft-tooltip-background","",pt.contentGlobalPrimary),lt.extend("--ft-tooltip-background-opacity","",ct.opacity80),lt.extend("--ft-tooltip-shadow","",ct.shadowElevation03);const dt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ht=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),ut={fontFamily:ht,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","",dt),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"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ut.lineHeight,"1.2"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ut.textTransform,"inherit"),Ot={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ut.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ut.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ut.letterSpacing,"0.105px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ut.lineHeight,"1.7"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ut.textTransform,"inherit")},Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ht),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ut.fontSize,"16px"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ut.fontWeight,"600"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ut.letterSpacing,"0.144px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ut.lineHeight,"1.5"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ut.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ht),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ut.fontSize,"14px"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ut.fontWeight,"normal"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ut.letterSpacing,"0.098px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ut.lineHeight,"1.7"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ut.textTransform,"inherit"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ht),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ut.fontSize,"16px"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ut.fontWeight,"normal"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ut.letterSpacing,"0.496px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ut.lineHeight,"1.5"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ut.textTransform,"inherit"),Ft={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ht),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")},Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ht),Ht=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ut.fontSize,"12px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ut.fontWeight,"normal"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ut.letterSpacing,"0.396px"),jt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ut.lineHeight,"1.33"),Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ut.textTransform,"inherit"),_t=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ht),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ut.fontSize,"10px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ut.fontWeight,"normal"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ut.letterSpacing,"0.33px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ut.lineHeight,"1.6"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ut.textTransform,"inherit"),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ht),to=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ut.fontSize,"10px"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ut.fontWeight,"normal"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ut.letterSpacing,"1.5px"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ut.lineHeight,"1.6"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ut.textTransform,"uppercase"),no={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ht),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")},ao=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 c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(n=e[s],i=ot(n));)c+=i+o[++s],p=!0;s!==r&&l.push(n),a.push(c),s++}if(s===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)})(Z);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 ct={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"),shadowElevation01:lt.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:lt.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:lt.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:lt.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:lt.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:lt.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:lt.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:lt.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:lt.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},st={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","1.5rem"),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","500"),lineHeight:lt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),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","500"),lineHeight:lt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),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")},"caption-3-medium":{fontFamily:lt.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:lt.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:lt.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:lt.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:lt.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:lt.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},pt={backgroundActionPrimary:lt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ct.colorBrand0),backgroundErrorPrimary:lt.extend("--ft-background-error-primary","Used as background of error components.",ct.colorRed0),backgroundErrorSubtle:lt.extend("--ft-background-error-subtle","Used as background of subtle error components.",ct.colorRed10),backgroundInfoPrimary:lt.extend("--ft-background-info-primary","Used as background of information components.",ct.colorCyan200),backgroundInfoSubtle:lt.extend("--ft-background-info-subtle","Used as background of subtle information components.",ct.colorCyan10),backgroundWarningPrimary:lt.extend("--ft-background-warning-primary","Used as background of warning components.",ct.colorOrange300),backgroundWarningSubtle:lt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ct.colorOrange10),backgroundSuccessPrimary:lt.extend("--ft-background-success-primary","Used as background of success components.",ct.colorGreen200),backgroundSuccessSubtle:lt.extend("--ft-background-success-subtle","Used as background of subtle success components.",ct.colorGreen10),backgroundGlobalSurface:lt.extend("--ft-background-global-surface","Used as app background.",ct.colorWhite),backgroundGlobalOnSurface:lt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ct.colorGray10),backgroundGlobalOnSurfaceDark:lt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ct.colorGray30),contentActionPrimary:lt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ct.colorBrand0),contentWarningPrimary:lt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ct.colorOrange300),contentWarningIconOnly:lt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ct.colorOrange0),contentErrorPrimary:lt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ct.colorRed0),contentErrorIconOnly:lt.extend("--ft-content-error-icon-only","Used on error status icons alone",ct.colorRed0),contentInfoPrimary:lt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ct.colorCyan200),contentInfoIconOnly:lt.extend("--ft-content-info-icon-only","Used on info status icons alone",ct.colorCyan0),contentSuccessPrimary:lt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ct.colorGreen200),contentSuccessIconOnly:lt.extend("--ft-content-success-icon-only","Used on success status icons alone",ct.colorGreen0),contentGlobalPrimary:lt.extend("--ft-content-global-primary","Used for main content on the page.",ct.colorGray500),contentGlobalSecondary:lt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ct.colorGray200),contentGlobalSubtle:lt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ct.colorGray0),contentGlobalOnColor:lt.extend("--ft-content-global-on-color","Used for content on a dominant color.",ct.colorWhite),borderActionPrimary:lt.extend("--ft-border-action-primary","Used as border for primary action components.",ct.colorBrand0),borderActionFocusRing:lt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ct.colorCyan0),borderWarningPrimary:lt.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ct.colorOrange300),borderWarningSubtle:lt.extend("--ft-border-warning-subtle","Used as border for warning components.",ct.colorOrange30),borderSuccessPrimary:lt.extend("--ft-border-success-primary","Used as border for success buttons.",ct.colorGreen200),borderSuccessSubtle:lt.extend("--ft-border-success-subtle","Used as border for success components.",ct.colorGreen30),borderErrorPrimary:lt.extend("--ft-border-error-primary","Used as border for text fields in error states.",ct.colorRed0),borderErrorSubtle:lt.extend("--ft-border-error-subtle","Used as border for error components.",ct.colorRed30),borderInfoPrimary:lt.extend("--ft-border-info-primary","Used as border for buttons in info color.",ct.colorCyan200),borderInfoSubtle:lt.extend("--ft-border-info-subtle","Used as border for information components.",ct.colorCyan30),borderGlobalPrimary:lt.extend("--ft-border-global-primary","Used as border for element like input.",ct.colorGray50),borderGlobalSubtle:lt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ct.colorGray30),borderInputPrimary:lt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ct.colorGray80)},ft={largeHeight:lt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:lt.extend("--ft-button-large-horizontal-padding","",ct.spacing4),largeGap:lt.extend("--ft-button-large-gap","",ct.spacing2),largeBorderRadius:lt.extend("--ft-button-large-border-radius","",ct.borderRadiusS),largeIconSize:lt.extend("--ft-button-large-icon-size","",ct.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","",ct.spacing3),smallGap:lt.extend("--ft-button-small-gap","",ct.spacing2),smallBorderRadius:lt.extend("--ft-button-small-border-radius","",ct.borderRadiusS),smallIconSize:lt.extend("--ft-button-small-icon-size","",ct.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","",ct.opacity16),primaryStateLayerOpacityFocus:lt.extend("--ft-button-primary-state-layer-opacity-focus","",ct.opacity16),primaryStateLayerOpacityActive:lt.extend("--ft-button-primary-state-layer-opacity-active","",ct.opacity24),primaryComponentOpacityDisabled:lt.extend("--ft-button-primary-component-opacity-disabled","",ct.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","",ct.opacity8),tertiaryStateLayerOpacityFocus:lt.extend("--ft-button-tertiary-state-layer-opacity-focus","",ct.opacity8),tertiaryStateLayerOpacityActive:lt.extend("--ft-button-tertiary-state-layer-opacity-active","",ct.opacity16),tertiaryComponentOpacityDisabled:lt.extend("--ft-button-tertiary-component-opacity-disabled","",ct.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","",ct.opacity8),secondaryStateLayerOpacityFocus:lt.extend("--ft-button-secondary-state-layer-opacity-focus","",ct.opacity8),secondaryStateLayerOpacityActive:lt.extend("--ft-button-secondary-state-layer-opacity-active","",ct.opacity16),secondaryComponentOpacityDisabled:lt.extend("--ft-button-secondary-component-opacity-disabled","",ct.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","",ct.opacity8),neutralStateLayerOpacityFocus:lt.extend("--ft-button-neutral-state-layer-opacity-focus","",ct.opacity8),neutralStateLayerOpacityActive:lt.extend("--ft-button-neutral-state-layer-opacity-active","",ct.opacity16),neutralComponentOpacityDisabled:lt.extend("--ft-button-neutral-component-opacity-disabled","",ct.opacity40)};lt.extend("--ft-floating-menu-horizontal-padding","",ct.spacing4),lt.extend("--ft-floating-menu-vertical-padding","",ct.spacing4),lt.extend("--ft-floating-menu-off-icon-color","",pt.contentGlobalPrimary),lt.extend("--ft-floating-menu-off-color","",pt.contentGlobalPrimary),lt.extend("--ft-floating-menu-on-color","",pt.contentActionPrimary),lt.extend("--ft-floating-menu-on-icon-color","",pt.contentActionPrimary),lt.extend("--ft-floating-menu-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-floating-menu-gap","",ct.spacing3),lt.extend("--ft-floating-menu-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),lt.extend("--ft-floating-menu-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-floating-menu-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-floating-menu-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-floating-menu-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-floating-menu-icon-size","",ct.iconSize3),lt.extend("--ft-floating-menu-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-tabs-top-left-border-radius","",ct.borderRadiusS),lt.extend("--ft-tabs-top-right-border-radius","",ct.borderRadiusS),lt.extend("--ft-tabs-label-horizontal-padding","",ct.spacing4),lt.extend("--ft-tabs-label-vertical-padding","",ct.spacing3),lt.extend("--ft-tabs-label-gap","",ct.spacing1),lt.extend("--ft-tabs-icon-horizontal-padding","",ct.spacing1),lt.extend("--ft-tabs-icon-vertical-padding","",ct.spacing4),lt.create("--ft-tabs-focus-outline-width","","SIZE","2px"),lt.extend("--ft-tabs-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-tabs-off-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-tabs-off-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-tabs-off-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-tabs-off-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-tabs-off-color","",pt.contentGlobalSubtle),lt.extend("--ft-tabs-off-state-layer-color","",pt.contentGlobalSubtle),lt.extend("--ft-tabs-on-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-tabs-on-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-tabs-on-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-tabs-on-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-tabs-on-color","",pt.contentActionPrimary),lt.extend("--ft-tabs-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-collapsible-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-collapsible-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-collapsible-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-collapsible-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-collapsible-horizontal-padding","",ct.spacing4),lt.extend("--ft-collapsible-vertical-padding","",ct.spacing3),lt.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),lt.extend("--ft-collapsible-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-collapsible-color","",pt.contentGlobalPrimary),lt.extend("--ft-collapsible-state-layer-color","",pt.contentGlobalPrimary),lt.extend("--ft-collapsible-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-collapsible-border-color","",pt.borderGlobalSubtle),lt.extend("--ft-collapsible-icon-size","",ct.iconSize3),lt.extend("--ft-switch-group-horizontal-padding","",ct.spacing1),lt.extend("--ft-switch-group-vertical-padding","",ct.spacing1),lt.extend("--ft-switch-group-gap","",ct.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","",ct.spacing2),lt.extend("--ft-switch-label-vertical-padding","",ct.spacing1),lt.extend("--ft-switch-icon-horizontal-padding","",ct.spacing1),lt.extend("--ft-switch-icon-vertical-padding","",ct.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","",ct.borderRadiusS),lt.extend("--ft-switch-off-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-switch-off-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-switch-off-color","",pt.contentGlobalSubtle),lt.extend("--ft-switch-off-state-layer-color","",pt.contentGlobalSubtle),lt.extend("--ft-switch-on-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-switch-on-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-switch-on-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-switch-on-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-switch-on-color","",pt.contentActionPrimary),lt.extend("--ft-switch-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-chart-1-light","for area color charts",ct.colorBrand40),lt.extend("--ft-chart-1-base","for line charts",ct.colorBrand0),lt.extend("--ft-chart-2-light","for area color charts",ct.colorYellow60),lt.extend("--ft-chart-2-base","for line charts",ct.colorYellow100),lt.extend("--ft-chart-3-light","",ct.colorUltramarine40),lt.extend("--ft-chart-3-base","",ct.colorUltramarine70),lt.extend("--ft-chart-4-light","",ct.colorCyan50),lt.extend("--ft-chart-4-base","",ct.colorCyan100),lt.extend("--ft-chart-5-light","",ct.colorRed40),lt.extend("--ft-chart-5-base","",ct.colorRed60),lt.extend("--ft-chart-6-light","",ct.colorGreen40),lt.extend("--ft-chart-6-base","",ct.colorGreen70),lt.extend("--ft-chart-7-light","",ct.colorOrange70),lt.extend("--ft-chart-7-base","",ct.colorOrange100),lt.extend("--ft-chart-8-light","",ct.colorAvocado70),lt.extend("--ft-chart-8-base","",ct.colorAvocado200),lt.extend("--ft-chart-9-light","",ct.colorBrown50),lt.extend("--ft-chart-9-base","",ct.colorBrown200),lt.extend("--ft-chart-10-light","",ct.colorGray50),lt.extend("--ft-chart-10-base","",ct.colorGray80),lt.extend("--ft-chart-monochrome-10","",ct.colorBrand10),lt.extend("--ft-chart-monochrome-20","",ct.colorBrand20),lt.extend("--ft-chart-monochrome-30","",ct.colorBrand40),lt.extend("--ft-chart-monochrome-40","",ct.colorBrand60),lt.extend("--ft-chart-monochrome-50","",ct.colorBrand0),lt.extend("--ft-chart-monochrome-60","",ct.colorBrand200),lt.extend("--ft-chip-large-horizontal-padding","",ct.spacing4),lt.extend("--ft-chip-large-vertical-padding","",ct.spacing2),lt.extend("--ft-chip-large-gap","",ct.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","",ct.borderRadiusPill),lt.create("--ft-chip-large-border-width","","SIZE","1px"),lt.extend("--ft-chip-large-icon-size","",ct.iconSize3),lt.extend("--ft-chip-medium-horizontal-padding","",ct.spacing3),lt.extend("--ft-chip-medium-vertical-padding","",ct.spacing1),lt.extend("--ft-chip-medium-gap","",ct.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","",ct.borderRadiusPill),lt.create("--ft-chip-medium-border-width","","SIZE","1px"),lt.extend("--ft-chip-medium-icon-size","",ct.iconSize2),lt.extend("--ft-chip-small-horizontal-padding","",ct.spacing2),lt.extend("--ft-chip-small-vertical-padding","",ct.spacing05),lt.extend("--ft-chip-small-gap","",ct.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","",ct.borderRadiusPill),lt.create("--ft-chip-small-border-width","","SIZE","1px"),lt.extend("--ft-chip-small-icon-size","",ct.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.borderInfoSubtle),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.borderSuccessSubtle),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.borderWarningSubtle),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.borderErrorSubtle),lt.create("--ft-notice-border-width","","SIZE","1px"),lt.extend("--ft-notice-horizontal-padding","",ct.spacing2),lt.extend("--ft-notice-vertical-padding","",ct.spacing1),lt.extend("--ft-notice-border-radius","",ct.borderRadiusS),lt.extend("--ft-notice-gap","",ct.spacing2),lt.extend("--ft-notice-icon-size","",ct.iconSize3),lt.extend("--ft-notice-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-notice-info-border-color","",pt.borderInfoSubtle),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.borderWarningSubtle),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","",ct.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-checkbox-checked-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-checkbox-unchecked-border-color","",ct.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-color","",ct.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ct.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","",ct.spacing3),lt.extend("--ft-toggle-off-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-toggle-off-component-opacity-disabled","",ct.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","",ct.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-toggle-on-component-opacity-disabled","",ct.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","",ct.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","",ct.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-radio-selected-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-radio-unselected-state-layer-color","",ct.colorGray80),lt.extend("--ft-radio-unselected-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-radio-unselected-component-opacity-disabled","",ct.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","",ct.spacing3),lt.extend("--ft-notification-icon-size","",ct.iconSize4),lt.extend("--ft-notification-horizontal-padding","",ct.spacing4),lt.extend("--ft-notification-vertical-padding","",ct.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.borderInfoSubtle),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.borderSuccessSubtle),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.borderWarningSubtle),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.borderErrorSubtle),lt.extend("--ft-notification-border-radius","",ct.borderRadiusPill),lt.create("--ft-notification-border-width","","SIZE","1px"),lt.extend("--ft-notification-gap-leading","",ct.spacing2),lt.extend("--ft-notification-gap-trailing","",ct.spacing8),lt.extend("--ft-tooltip-horizontal-padding","",ct.spacing2),lt.extend("--ft-tooltip-vertical-padding","",ct.spacing2),lt.extend("--ft-tooltip-border-radius","",ct.borderRadiusS),lt.extend("--ft-tooltip-label","",pt.contentGlobalOnColor),lt.extend("--ft-tooltip-background","",pt.contentGlobalPrimary),lt.extend("--ft-tooltip-background-opacity","",ct.opacity80),lt.extend("--ft-tooltip-shadow","",ct.shadowElevation03);const dt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ht=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),ut={fontFamily:ht,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","",dt),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"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ut.lineHeight,"1.2"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ut.textTransform,"inherit"),Ot={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ut.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ut.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ut.letterSpacing,"0.105px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ut.lineHeight,"1.7"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ut.textTransform,"inherit")},Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ht),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ut.fontSize,"16px"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ut.fontWeight,"600"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ut.letterSpacing,"0.144px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ut.lineHeight,"1.5"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ut.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ht),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ut.fontSize,"14px"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ut.fontWeight,"normal"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ut.letterSpacing,"0.098px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ut.lineHeight,"1.7"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ut.textTransform,"inherit"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ht),At=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ut.fontSize,"16px"),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ut.fontWeight,"normal"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ut.letterSpacing,"0.496px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ut.lineHeight,"1.5"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ut.textTransform,"inherit"),Ft={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ht),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")},Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ht),Ht=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ut.fontSize,"12px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ut.fontWeight,"normal"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ut.letterSpacing,"0.396px"),jt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ut.lineHeight,"1.33"),Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ut.textTransform,"inherit"),_t=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ht),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ut.fontSize,"10px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ut.fontWeight,"normal"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ut.letterSpacing,"0.33px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ut.lineHeight,"1.6"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ut.textTransform,"inherit"),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ht),to=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ut.fontSize,"10px"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ut.fontWeight,"normal"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ut.letterSpacing,"1.5px"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ut.lineHeight,"1.6"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ut.textTransform,"uppercase"),no={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ht),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")},ao=e.css`
137
137
  .ft-typography--title {
138
138
  font-family: ${yt};
139
139
  font-size: ${gt};
@@ -173,8 +173,8 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
173
173
  `,po=e.css`
174
174
  .ft-typography--body1 {
175
175
  font-family: ${Kt};
176
- font-size: ${zt};
177
- font-weight: ${At};
176
+ font-size: ${At};
177
+ font-weight: ${zt};
178
178
  letter-spacing: ${Zt};
179
179
  line-height: ${Bt};
180
180
  text-transform: ${Dt};
@@ -462,7 +462,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
462
462
  transform: translate(calc(0.35 * ${Lo.size}), 0);
463
463
  }
464
464
  }
465
- `,Ko=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),zo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Ko,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",no.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ko),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")},Ao=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Zo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Ao,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ao)},Bo=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Do=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Fo=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),To=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ho=[e.css`
465
+ `,Ko=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Ao={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Ko,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",no.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ko),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")},zo=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Zo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:zo,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",zo)},Bo=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Do=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Fo=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),To=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ho=[e.css`
466
466
  :host {
467
467
  display: inline-block;
468
468
  max-width: 100%;
@@ -473,7 +473,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
473
473
  box-shadow: 0px 0px 0px transparent;
474
474
  border: 0px solid transparent;
475
475
  text-shadow: 0px 0px 0px transparent;
476
- font-size: ${zo.fontSize};
476
+ font-size: ${Ao.fontSize};
477
477
  }
478
478
 
479
479
  button:hover {
@@ -502,21 +502,21 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
502
502
  border: none;
503
503
  pointer-events: auto;
504
504
 
505
- --ft-button-internal-line-height: max(calc(${zo.fontSize} + 2px), ${zo.iconSize});
506
- --ft-button-internal-color: ${zo.color};
507
- ${o.setVariable(Eo.size,zo.iconSize)};
508
- ${o.setVariable(c.color,zo.rippleColor)};
505
+ --ft-button-internal-line-height: max(calc(${Ao.fontSize} + 2px), ${Ao.iconSize});
506
+ --ft-button-internal-color: ${Ao.color};
507
+ ${o.setVariable(Eo.size,Ao.iconSize)};
508
+ ${o.setVariable(c.color,Ao.rippleColor)};
509
509
 
510
- border-radius: ${zo.borderRadius};
511
- padding: ${zo.verticalPadding} ${zo.horizontalPadding};
512
- background-color: ${zo.backgroundColor};
510
+ border-radius: ${Ao.borderRadius};
511
+ padding: ${Ao.verticalPadding} ${Ao.horizontalPadding};
512
+ background-color: ${Ao.backgroundColor};
513
513
  color: var(--ft-button-internal-color);
514
514
  -webkit-mask-image: radial-gradient(white, black);
515
515
  }
516
516
 
517
517
  .ft-button.ft-button--outlined {
518
518
  border: 1px solid var(--ft-button-internal-color);
519
- padding: calc(${zo.verticalPadding} - 1px) calc(${zo.horizontalPadding} - 1px);
519
+ padding: calc(${Ao.verticalPadding} - 1px) calc(${Ao.horizontalPadding} - 1px);
520
520
  }
521
521
 
522
522
  .ft-button.ft-button--dense {
@@ -534,7 +534,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
534
534
  }
535
535
 
536
536
  .ft-button--round {
537
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${zo.verticalPadding});
537
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ao.verticalPadding});
538
538
  }
539
539
 
540
540
  .ft-button--round.ft-button--dense {
@@ -543,7 +543,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
543
543
 
544
544
  .ft-button[disabled] {
545
545
  filter: grayscale(1);
546
- opacity: ${zo.opacityDisabled};
546
+ opacity: ${Ao.opacityDisabled};
547
547
  }
548
548
 
549
549
  .ft-button.ft-button--primary {
@@ -562,7 +562,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
562
562
  white-space: nowrap;
563
563
  text-overflow: ellipsis;
564
564
  display: block;
565
- margin: 0 ${zo.iconPadding};
565
+ margin: 0 ${Ao.iconPadding};
566
566
  ${o.setVariable(no.fontSize,"1em")};
567
567
  ${o.setVariable(no.lineHeight,"var(--ft-button-internal-line-height)")};
568
568
  }
@@ -581,8 +581,8 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
581
581
  }
582
582
 
583
583
  .ft-button--label[hidden] + ft-icon {
584
- margin: 0 calc(${zo.horizontalPadding} * -1);
585
- padding: 0 ${zo.verticalPadding};
584
+ margin: 0 calc(${Ao.horizontalPadding} * -1);
585
+ padding: 0 ${Ao.verticalPadding};
586
586
  }
587
587
 
588
588
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
@@ -596,7 +596,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
596
596
  }
597
597
 
598
598
  ft-loader {
599
- ${o.setVariable(Lo.size,zo.iconSize)};
599
+ ${o.setVariable(Lo.size,Ao.iconSize)};
600
600
  ${o.setVariable(Lo.color,"var(--ft-button-internal-color)")};
601
601
  }
602
602
  `,o.noTextSelect],Po=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Mo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),jo=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Go=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),_o=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Yo=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Vo=e.css`
@@ -628,7 +628,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
628
628
  position: relative;
629
629
  word-break: break-word;
630
630
  }
631
- `,qo=["start","end"],Xo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+qo[0],o+"-"+qo[1])),[]),Jo=Math.min,Qo=Math.max,te=Math.round,oe=t=>({x:t,y:t}),ee={left:"right",right:"left",bottom:"top",top:"bottom"},re={start:"end",end:"start"};function ie(t,o,e){return Qo(t,Jo(o,e))}function ne(t,o){return"function"==typeof t?t(o):t}function ae(t){return t.split("-")[0]}function le(t){return t.split("-")[1]}function ce(t){return"x"===t?"y":"x"}function se(t){return"y"===t?"height":"width"}function pe(t){return["top","bottom"].includes(ae(t))?"y":"x"}function fe(t){return ce(pe(t))}function de(t){return t.replace(/left|right|bottom|top/g,(t=>ee[t]))}function he(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ue(t,o,e){let{reference:r,floating:i}=t;const n=pe(o),a=fe(o),l=se(a),c=ae(o),s="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(le(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function ye(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ne(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}}(h),y=l[d?"floating"===f?"reference":"floating":f],g=he(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:s,rootBoundary:p,strategy:c})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=he(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function ge(t,o,e){return(t?[...e.filter((o=>le(o)===t)),...e.filter((o=>le(o)!==t))]:e.filter((t=>ae(t)===t))).filter((e=>!t||(le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>re[t]))}(e)!==e)))}const be=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=Xo,autoAlignment:h=!0,...u}=ne(t,o),y=void 0!==f||d===Xo?ge(f||null,h,d):d,g=await ye(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=le(t),i=fe(t),n=se(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=de(a)),[a,de(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:y[0]}};const v=[g[ae(m)],g[x[0]],g[x[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=le(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=S.filter((t=>t[2].slice(0,le(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function me(t){return Oe(t)?(t.nodeName||"").toLowerCase():"#document"}function xe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ve(t){var o;return null==(o=(Oe(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Oe(t){return t instanceof Node||t instanceof xe(t).Node}function Ne(t){return t instanceof Element||t instanceof xe(t).Element}function Se(t){return t instanceof HTMLElement||t instanceof xe(t).HTMLElement}function we(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof xe(t).ShadowRoot)}function Ce(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Re(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function $e(t){return["table","td","th"].includes(me(t))}function Ee(t){const o=Ie(),e=Re(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 Ie(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ue(t){return["html","body","#document"].includes(me(t))}function Re(t){return xe(t).getComputedStyle(t)}function ke(t){return Ne(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Le(t){if("html"===me(t))return t;const o=t.assignedSlot||t.parentNode||we(t)&&t.host||ve(t);return we(o)?o.host:o}function We(t){const o=Le(t);return Ue(o)?t.ownerDocument?t.ownerDocument.body:t.body:Se(o)&&Ce(o)?o:We(o)}function Ke(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=We(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=xe(i);return n?o.concat(a,a.visualViewport||[],Ce(i)?i:[],a.frameElement&&e?Ke(a.frameElement):[]):o.concat(i,Ke(i,[],e))}function ze(t){const o=Re(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Se(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=te(e)!==n||te(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function Ae(t){return Ne(t)?t:t.contextElement}function Ze(t){const o=Ae(t);if(!Se(o))return oe(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=ze(o);let a=(n?te(e.width):e.width)/r,l=(n?te(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Be=oe(0);function De(t){const o=xe(t);return Ie()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Be}function Fe(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Ae(t);let a=oe(1);o&&(r?Ne(r)&&(a=Ze(r)):a=Ze(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==xe(t))&&o}(n,e,r)?De(n):oe(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=xe(n),o=r&&Ne(r)?xe(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Ze(e),o=e.getBoundingClientRect(),r=Re(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=i,s+=n,e=xe(e).frameElement}}return he({width:p,height:f,x:c,y:s})}function Te(t){return Fe(ve(t)).left+ke(t).scrollLeft}function He(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=xe(t),r=ve(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=Ie();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=ve(t),e=ke(t),r=t.ownerDocument.body,i=Qo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Qo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Te(t);const l=-e.scrollTop;return"rtl"===Re(r).direction&&(a+=Qo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(ve(t));else if(Ne(o))r=function(t,o){const e=Fe(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Se(t)?Ze(t):oe(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=De(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return he(r)}function Pe(t,o){const e=Le(t);return!(e===o||!Ne(e)||Ue(e))&&("fixed"===Re(e).position||Pe(e,o))}function Me(t,o,e){const r=Se(o),i=ve(o),n="fixed"===e,a=Fe(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=oe(0);if(r||!r&&!n)if(("body"!==me(o)||Ce(i))&&(l=ke(o)),r){const t=Fe(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Te(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function je(t,o){return Se(t)&&"fixed"!==Re(t).position?o?o(t):t.offsetParent:null}function Ge(t,o){const e=xe(t);if(!Se(t))return e;let r=je(t,o);for(;r&&$e(r)&&"static"===Re(r).position;)r=je(r,o);return r&&("html"===me(r)||"body"===me(r)&&"static"===Re(r).position&&!Ee(r))?e:r||function(t){let o=Le(t);for(;Se(o)&&!Ue(o);){if(Ee(o))return o;o=Le(o)}return null}(t)||e}const _e={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Se(e),n=ve(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=oe(1);const c=oe(0);if((i||!i&&"fixed"!==r)&&(("body"!==me(e)||Ce(n))&&(a=ke(e)),Se(e))){const t=Fe(e);l=Ze(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:ve,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=Ke(t,[],!1).filter((t=>Ne(t)&&"body"!==me(t))),i=null;const n="fixed"===Re(t).position;let a=n?Le(t):t;for(;Ne(a)&&!Ue(a);){const o=Re(a),e=Ee(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ce(a)&&!e&&Pe(t,a))?r=r.filter((t=>t!==a)):i=o,a=Le(a)}return o.set(t,r),r}(o,this._c):[].concat(e),a=[...n,r],l=a[0],c=a.reduce(((t,e)=>{const r=He(o,e,i);return t.top=Qo(r.top,t.top),t.right=Jo(r.right,t.right),t.bottom=Jo(r.bottom,t.bottom),t.left=Qo(r.left,t.left),t}),He(o,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:Ge,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ge,n=this.getDimensions;return{reference:Me(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 ze(t)},getScale:Ze,isElement:Ne,isRTL:function(t){return"rtl"===Re(t).direction}},Ye=(t,o,e)=>{const r=new Map,i={platform:_e,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=ue(s,r,c),d=r,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=ue(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ve(t){return function(t){for(let o=t;o;o=qe(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=qe(t);o;o=qe(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function qe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Xe=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Je 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`
631
+ `,qo=["start","end"],Xo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+qo[0],o+"-"+qo[1])),[]),Jo=Math.min,Qo=Math.max,te=Math.round,oe=t=>({x:t,y:t}),ee={left:"right",right:"left",bottom:"top",top:"bottom"},re={start:"end",end:"start"};function ie(t,o,e){return Qo(t,Jo(o,e))}function ne(t,o){return"function"==typeof t?t(o):t}function ae(t){return t.split("-")[0]}function le(t){return t.split("-")[1]}function ce(t){return"x"===t?"y":"x"}function se(t){return"y"===t?"height":"width"}function pe(t){return["top","bottom"].includes(ae(t))?"y":"x"}function fe(t){return ce(pe(t))}function de(t){return t.replace(/left|right|bottom|top/g,(t=>ee[t]))}function he(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ue(t,o,e){let{reference:r,floating:i}=t;const n=pe(o),a=fe(o),l=se(a),c=ae(o),s="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(le(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function ye(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ne(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}}(h),y=l[d?"floating"===f?"reference":"floating":f],g=he(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:s,rootBoundary:p,strategy:c})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=he(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function ge(t,o,e){return(t?[...e.filter((o=>le(o)===t)),...e.filter((o=>le(o)!==t))]:e.filter((t=>ae(t)===t))).filter((e=>!t||(le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>re[t]))}(e)!==e)))}const be=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=Xo,autoAlignment:h=!0,...u}=ne(t,o),y=void 0!==f||d===Xo?ge(f||null,h,d):d,g=await ye(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=le(t),i=fe(t),n=se(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=de(a)),[a,de(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:y[0]}};const v=[g[ae(m)],g[x[0]],g[x[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=le(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=S.filter((t=>t[2].slice(0,le(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function me(t){return Oe(t)?(t.nodeName||"").toLowerCase():"#document"}function xe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ve(t){var o;return null==(o=(Oe(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Oe(t){return t instanceof Node||t instanceof xe(t).Node}function Ne(t){return t instanceof Element||t instanceof xe(t).Element}function Se(t){return t instanceof HTMLElement||t instanceof xe(t).HTMLElement}function we(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof xe(t).ShadowRoot)}function Ce(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Re(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function $e(t){return["table","td","th"].includes(me(t))}function Ee(t){const o=Ie(),e=Re(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 Ie(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ue(t){return["html","body","#document"].includes(me(t))}function Re(t){return xe(t).getComputedStyle(t)}function ke(t){return Ne(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Le(t){if("html"===me(t))return t;const o=t.assignedSlot||t.parentNode||we(t)&&t.host||ve(t);return we(o)?o.host:o}function We(t){const o=Le(t);return Ue(o)?t.ownerDocument?t.ownerDocument.body:t.body:Se(o)&&Ce(o)?o:We(o)}function Ke(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=We(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=xe(i);return n?o.concat(a,a.visualViewport||[],Ce(i)?i:[],a.frameElement&&e?Ke(a.frameElement):[]):o.concat(i,Ke(i,[],e))}function Ae(t){const o=Re(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Se(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=te(e)!==n||te(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function ze(t){return Ne(t)?t:t.contextElement}function Ze(t){const o=ze(t);if(!Se(o))return oe(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Ae(o);let a=(n?te(e.width):e.width)/r,l=(n?te(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Be=oe(0);function De(t){const o=xe(t);return Ie()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Be}function Fe(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=ze(t);let a=oe(1);o&&(r?Ne(r)&&(a=Ze(r)):a=Ze(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==xe(t))&&o}(n,e,r)?De(n):oe(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=xe(n),o=r&&Ne(r)?xe(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Ze(e),o=e.getBoundingClientRect(),r=Re(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=i,s+=n,e=xe(e).frameElement}}return he({width:p,height:f,x:c,y:s})}function Te(t){return Fe(ve(t)).left+ke(t).scrollLeft}function He(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=xe(t),r=ve(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=Ie();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=ve(t),e=ke(t),r=t.ownerDocument.body,i=Qo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Qo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Te(t);const l=-e.scrollTop;return"rtl"===Re(r).direction&&(a+=Qo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(ve(t));else if(Ne(o))r=function(t,o){const e=Fe(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Se(t)?Ze(t):oe(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=De(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return he(r)}function Pe(t,o){const e=Le(t);return!(e===o||!Ne(e)||Ue(e))&&("fixed"===Re(e).position||Pe(e,o))}function Me(t,o,e){const r=Se(o),i=ve(o),n="fixed"===e,a=Fe(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=oe(0);if(r||!r&&!n)if(("body"!==me(o)||Ce(i))&&(l=ke(o)),r){const t=Fe(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Te(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function je(t,o){return Se(t)&&"fixed"!==Re(t).position?o?o(t):t.offsetParent:null}function Ge(t,o){const e=xe(t);if(!Se(t))return e;let r=je(t,o);for(;r&&$e(r)&&"static"===Re(r).position;)r=je(r,o);return r&&("html"===me(r)||"body"===me(r)&&"static"===Re(r).position&&!Ee(r))?e:r||function(t){let o=Le(t);for(;Se(o)&&!Ue(o);){if(Ee(o))return o;o=Le(o)}return null}(t)||e}const _e={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Se(e),n=ve(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=oe(1);const c=oe(0);if((i||!i&&"fixed"!==r)&&(("body"!==me(e)||Ce(n))&&(a=ke(e)),Se(e))){const t=Fe(e);l=Ze(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:ve,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=Ke(t,[],!1).filter((t=>Ne(t)&&"body"!==me(t))),i=null;const n="fixed"===Re(t).position;let a=n?Le(t):t;for(;Ne(a)&&!Ue(a);){const o=Re(a),e=Ee(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ce(a)&&!e&&Pe(t,a))?r=r.filter((t=>t!==a)):i=o,a=Le(a)}return o.set(t,r),r}(o,this._c):[].concat(e),a=[...n,r],l=a[0],c=a.reduce(((t,e)=>{const r=He(o,e,i);return t.top=Qo(r.top,t.top),t.right=Jo(r.right,t.right),t.bottom=Jo(r.bottom,t.bottom),t.left=Qo(r.left,t.left),t}),He(o,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:Ge,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ge,n=this.getDimensions;return{reference:Me(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 Ae(t)},getScale:Ze,isElement:Ne,isRTL:function(t){return"rtl"===Re(t).direction}},Ye=(t,o,e)=>{const r=new Map,i={platform:_e,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=ue(s,r,c),d=r,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=ue(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ve(t){return function(t){for(let o=t;o;o=qe(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=qe(t);o;o=qe(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function qe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Xe=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Je 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`
632
632
  <div part="container"
633
633
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
634
634
  @mouseenter=${this.onHover}
@@ -984,9 +984,9 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
984
984
  }
985
985
 
986
986
  .ft-chip--icon-button {
987
- ${o.setVariable(zo.iconSize,cr.iconSize)};
988
- ${o.setVariable(zo.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
989
- ${o.setVariable(zo.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
987
+ ${o.setVariable(Ao.iconSize,cr.iconSize)};
988
+ ${o.setVariable(Ao.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
989
+ ${o.setVariable(Ao.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
990
990
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
991
991
  }
992
992
 
@@ -1102,12 +1102,12 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
1102
1102
  }
1103
1103
 
1104
1104
  [part="search-button"] {
1105
- ${o.setVariable(zo.color,Or.inactiveButtonTextColor)};
1105
+ ${o.setVariable(Ao.color,Or.inactiveButtonTextColor)};
1106
1106
  }
1107
1107
 
1108
1108
  [part="search-button"]:not([disabled]) {
1109
- ${o.setVariable(zo.color,Or.inactiveButtonTextColor)};
1110
- ${o.setVariable(zo.backgroundColor,Or.inactiveButtonBackgroundColor)};
1109
+ ${o.setVariable(Ao.color,Or.inactiveButtonTextColor)};
1110
+ ${o.setVariable(Ao.backgroundColor,Or.inactiveButtonBackgroundColor)};
1111
1111
  }
1112
1112
 
1113
1113
  [part="metadata-label"]:after {
@@ -1121,12 +1121,12 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
1121
1121
  `,Sr=e.css`
1122
1122
  `,wr=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class Cr{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=wr.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?Cr.build(t):null!==(o=Cr.API)&&void 0!==o?o:Cr.API=Cr.build()}static await(t){return new Promise((o=>{let e=Cr.get(t);if(e)o(e);else{const r=wr.subscribe((()=>{e=Cr.get(t),e&&(r(),o(e))}))}}))}}var $r;const Er=Symbol("clearAfterUnitTest");class Ir{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[$r]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=wr.getState().uiLocale,wr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=wr.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)))))}}$r=Er,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ir((async(t,o)=>(await Cr.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ir((async(t,o)=>(await Cr.await()).getCustomMessageContext(t,o))));const Ur=window.FluidTopicsI18nService,Rr=window.FluidTopicsCustomI18nService;var kr=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 Lr extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Cr.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
1123
1123
  <slot></slot>
1124
- `}update(t){super.update(t),t.has("baseUrl")&&(wr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&wr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&wr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&wr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&wr.actions.noCustom(this.noCustom),t.has("editorMode")&&wr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&wr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&wr.actions.session(this.session),t.has("availableUiLocales")&&wr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ur.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Lr.elementDefinitions={},Lr.styles=Sr,kr([r.property()],Lr.prototype,"baseUrl",void 0),kr([r.property()],Lr.prototype,"apiIntegrationIdentifier",void 0),kr([r.property()],Lr.prototype,"uiLocale",void 0),kr([o.jsonProperty(null)],Lr.prototype,"availableUiLocales",void 0),kr([o.jsonProperty(null)],Lr.prototype,"metadataConfiguration",void 0),kr([r.property({type:Boolean})],Lr.prototype,"editorMode",void 0),kr([r.property({type:Boolean})],Lr.prototype,"noCustom",void 0),kr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Lr.prototype,"noCustomComponent",void 0),kr([r.property({type:Boolean})],Lr.prototype,"withManualResources",void 0),kr([o.jsonProperty([])],Lr.prototype,"messageContexts",void 0),kr([o.jsonProperty(void 0)],Lr.prototype,"session",void 0),kr([r.property({type:Object})],Lr.prototype,"apiProvider",void 0);class Wr{async listMySearches(){var t;return(null===(t=wr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Cr.await()).listMySearches(wr.getState().session.profile.userId):[]}}const Kr=new o.CacheRegistry;class zr{async listMyBookmarks(){return Kr.get("bookmarks",(async()=>(await Cr.await()).listMyBookmarks(wr.getState().session.profile.userId)))}clearCache(){Kr.clear("bookmarks")}}const Ar=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Zr=new class{constructor(){this.currentSession=wr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new zr,wr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=wr.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(){Ar.actions.savedSearches(void 0)}clearMyBookmarks(){Ar.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Wr,o=await t.listMySearches();Ar.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;Ar.actions.bookmarks(o)}}};var Br,Dr,Fr,Tr,Hr,Pr,Mr,jr,Gr,_r,Yr,Vr,qr,Xr,Jr,Qr,ti,oi;o.customElement("ft-app-context")(Lr),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 c(t){this.map={},t instanceof c?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 s(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 d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){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=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=d(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=s(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?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,r=s(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}c.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,o){this.map[n(t)]=a(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.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 c(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 c(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 c(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},h.call(y.prototype),h.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(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 x(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 s(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new c,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",s),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",s)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=c,t.Request=y,t.Response=b),o.Headers=c,o.Request=y,o.Response=b,o.fetch=x,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"}(Br||(Br={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Dr||(Dr={})),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"}(Fr||(Fr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Tr||(Tr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Hr||(Hr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Pr||(Pr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Mr||(Mr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(jr||(jr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Gr||(Gr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(_r||(_r={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Yr||(Yr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Vr||(Vr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(qr||(qr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Xr||(Xr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Jr||(Jr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Qr||(Qr={})),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.GENERATIVE_AI_USER="GENERATIVE_AI_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"}(ti||(ti={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(oi||(oi={}));const ei={[ti.PERSONAL_BOOK_SHARE_USER]:[ti.PERSONAL_BOOK_USER],[ti.HTML_EXPORT_USER]:[ti.PERSONAL_BOOK_USER],[ti.PDF_EXPORT_USER]:[ti.PERSONAL_BOOK_USER],[ti.KHUB_ADMIN]:[ti.CONTENT_PUBLISHER],[ti.ADMIN]:[ti.KHUB_ADMIN,ti.USERS_ADMIN,ti.PORTAL_ADMIN],[ti.DEVELOPER]:[ti.BETA_USER,ti.DEBUG_USER]};function ri(t,o){return t===o||(ei[t]??[]).some((t=>ri(t,o)))}function ii(t,o){if(null==t)return!1;return(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some((t=>ri(t,o)))}class ni extends Event{constructor(){super(ni.eventName)}}ni.eventName="search-context-clear-all-filters";var ai=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 li extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const ci=Symbol("registerInterval");class si 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[ci]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ci]):this.dispatchEvent(new li)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=ci,ai([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const pi=e.css`
1125
- `;var fi=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 di=Symbol("i18nProperties"),hi=Symbol("i18nUnsubs");function ui(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Rr:Ur}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[di])||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[di])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[di]&&new Set([...this[di].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[hi].has(t)||this[hi].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[hi].forEach((t=>t())),this[hi].clear()}}return o=hi,fi([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class yi extends(ui(o.FtLitElement)){}class gi extends(ui(o.FtLitElementRedux)){}var bi=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 mi extends gi{constructor(){super(),this.editorMode=!1,this.addStore(wr)}render(){return this.key&&this.context?e.html`
1124
+ `}update(t){super.update(t),t.has("baseUrl")&&(wr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&wr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&wr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&wr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&wr.actions.noCustom(this.noCustom),t.has("editorMode")&&wr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&wr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&wr.actions.session(this.session),t.has("availableUiLocales")&&wr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ur.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Lr.elementDefinitions={},Lr.styles=Sr,kr([r.property()],Lr.prototype,"baseUrl",void 0),kr([r.property()],Lr.prototype,"apiIntegrationIdentifier",void 0),kr([r.property()],Lr.prototype,"uiLocale",void 0),kr([o.jsonProperty(null)],Lr.prototype,"availableUiLocales",void 0),kr([o.jsonProperty(null)],Lr.prototype,"metadataConfiguration",void 0),kr([r.property({type:Boolean})],Lr.prototype,"editorMode",void 0),kr([r.property({type:Boolean})],Lr.prototype,"noCustom",void 0),kr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Lr.prototype,"noCustomComponent",void 0),kr([r.property({type:Boolean})],Lr.prototype,"withManualResources",void 0),kr([o.jsonProperty([])],Lr.prototype,"messageContexts",void 0),kr([o.jsonProperty(void 0)],Lr.prototype,"session",void 0),kr([r.property({type:Object})],Lr.prototype,"apiProvider",void 0);class Wr{async listMySearches(){var t;return(null===(t=wr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Cr.await()).listMySearches(wr.getState().session.profile.userId):[]}}const Kr=new o.CacheRegistry;class Ar{async listMyBookmarks(){return Kr.get("bookmarks",(async()=>(await Cr.await()).listMyBookmarks(wr.getState().session.profile.userId)))}clearCache(){Kr.clear("bookmarks")}}const zr=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Zr=new class{constructor(){this.currentSession=wr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ar,wr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=wr.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(){zr.actions.savedSearches(void 0)}clearMyBookmarks(){zr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Wr,o=await t.listMySearches();zr.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;zr.actions.bookmarks(o)}}};var Br,Dr,Fr,Tr,Hr,Pr,Mr,jr,Gr,_r,Yr,Vr,qr,Xr,Jr,Qr,ti,oi;o.customElement("ft-app-context")(Lr),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 c(t){this.map={},t instanceof c?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 s(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 d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){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=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=d(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=s(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?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,r=s(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}c.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,o){this.map[n(t)]=a(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.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 c(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 c(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 c(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},h.call(y.prototype),h.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(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 x(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 s(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new c,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",s),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",s)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=c,t.Request=y,t.Response=b),o.Headers=c,o.Request=y,o.Response=b,o.fetch=x,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"}(Br||(Br={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Dr||(Dr={})),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"}(Fr||(Fr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Tr||(Tr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Hr||(Hr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Pr||(Pr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Mr||(Mr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(jr||(jr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Gr||(Gr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(_r||(_r={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Yr||(Yr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Vr||(Vr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(qr||(qr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Xr||(Xr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Jr||(Jr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Qr||(Qr={})),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.GENERATIVE_AI_USER="GENERATIVE_AI_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"}(ti||(ti={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(oi||(oi={}));const ei={[ti.PERSONAL_BOOK_SHARE_USER]:[ti.PERSONAL_BOOK_USER],[ti.HTML_EXPORT_USER]:[ti.PERSONAL_BOOK_USER],[ti.PDF_EXPORT_USER]:[ti.PERSONAL_BOOK_USER],[ti.KHUB_ADMIN]:[ti.CONTENT_PUBLISHER],[ti.ADMIN]:[ti.KHUB_ADMIN,ti.USERS_ADMIN,ti.PORTAL_ADMIN],[ti.DEVELOPER]:[ti.BETA_USER,ti.DEBUG_USER]};function ri(t,o){return t===o||(ei[t]??[]).some((t=>ri(t,o)))}function ii(t,o){if(null==t)return!1;return(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some((t=>ri(t,o)))}class ni extends Event{constructor(){super(ni.eventName)}}ni.eventName="search-context-clear-all-filters";var ai=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 li extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const ci=Symbol("registerInterval");class si 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[ci]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ci]):this.dispatchEvent(new li)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=ci,ai([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const pi=e.css`
1125
+ `;var fi=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 di=Symbol("i18nAttributes"),hi=Symbol("i18nProperties"),ui=Symbol("i18nUnsubs");function yi(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Rr:Ur}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,e;null===(o=this[di])||void 0===o||o.forEach(((o,e)=>{var r;const i=this.getI18nAttributeValue(e);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,i,o)})),null===(e=this[hi])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[di])||void 0===o||o.forEach(((o,e)=>{const r=this.getI18nAttributeValue(e);(null==r?void 0:r.context)&&r.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(e,r,o))})),null===(e=this[hi])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,r;super.connectedCallback(),new Set([...null!==(o=null===(t=this[hi])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[di])||void 0===e?void 0:e.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[ui].has(t)||this[ui].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[ui].forEach((t=>t())),this[ui].clear()}}return o=ui,fi([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class gi extends(yi(o.FtLitElement)){}class bi extends(yi(o.FtLitElementRedux)){}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 xi extends bi{constructor(){super(),this.editorMode=!1,this.addStore(wr)}render(){return this.key&&this.context?e.html`
1126
1126
  <span class="ft-i18n">
1127
1127
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1128
1128
  </span>
1129
- `: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:""})}}mi.elementDefinitions={},mi.styles=pi,bi([o.redux()],mi.prototype,"editorMode",void 0),bi([r.property()],mi.prototype,"context",void 0),bi([r.property()],mi.prototype,"key",void 0),bi([o.jsonProperty([])],mi.prototype,"args",void 0),bi([r.property()],mi.prototype,"defaultMessage",void 0);class xi{static build(t){return new xi(t)}static fromGwt(t){return new xi(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)=>Ur.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(mi);const vi=xi.build("savedSearchesComponent"),Oi={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"};var Ni=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 Si extends(ui(si)){constructor(){super(),this.showDescription=!1,this.showSearchFilters=!1,this.showSearchButton=!1,this.showAlertStatus=!1,this.requiredRole=ti.SAVED_SEARCH_USER,this.addStore(wr),this.addStore(Ar),this.addI18nContext(vi,Oi)}render(){var t;return this.userHasRights&&!this.isEmpty?e.html`
1129
+ `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}xi.elementDefinitions={},xi.styles=pi,mi([o.redux()],xi.prototype,"editorMode",void 0),mi([r.property()],xi.prototype,"context",void 0),mi([r.property()],xi.prototype,"key",void 0),mi([o.jsonProperty([])],xi.prototype,"args",void 0),mi([r.property()],xi.prototype,"defaultMessage",void 0);class vi{static build(t){return new vi(t)}static fromGwt(t){return new vi(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)=>Ur.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(xi);const Oi=vi.build("savedSearchesComponent"),Ni={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"};var Si=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 wi extends(yi(si)){constructor(){super(),this.showDescription=!1,this.showSearchFilters=!1,this.showSearchButton=!1,this.showAlertStatus=!1,this.requiredRole=ti.SAVED_SEARCH_USER,this.addStore(wr),this.addStore(zr),this.addI18nContext(Oi,Ni)}render(){var t;return this.userHasRights&&!this.isEmpty?e.html`
1130
1130
  <div part="container">
1131
1131
  ${a.repeat(null!==(t=this.savedSearches)&&void 0!==t?t:[],(t=>t.id),(t=>{const r=this.toFtSearchRequest(t.searchRequest);if(void 0===r)return e.nothing;const i=o.serializeRequest(this.baseUrl,r);return e.html`
1132
1132
  <a href="${i}" @click="${t=>this.onLinkClick(t,r)}">
@@ -1145,16 +1145,16 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
1145
1145
  </a>
1146
1146
  `}))}
1147
1147
  </div>
1148
- `:e.nothing}renderDescription(t){return this.showDescription&&t?e.html`<div part="description" class="content">${t}</div>`:e.nothing}renderSearchButton(t){return this.showSearchButton?e.html`<div part="search-button"><ft-button id="search" icon="search" ?disabled=${t}>${vi.messages.search()}</ft-button></div>`:e.nothing}renderAlertStatus(t){return this.showAlertStatus&&t?e.html`<ft-icon part="alert-status">alert</ft-icon>`:e.nothing}renderSearchFilters(t){var o,r,i,n,a;return this.showSearchFilters?e.html`<div part="search-filters" class="content">
1149
- ${null!==(o=t.query.length)&&void 0!==o&&o?this.renderMetadata(vi.messages.keywords(),t.query):e.nothing}
1150
- ${t.virtualField==Yr.TITLE_ONLY?this.renderMetadata(vi.messages.in(),vi.messages.titles()):e.nothing}
1151
- ${t.scope==Qr.DOCUMENTS?this.renderMetadata(vi.messages.resultsType(),vi.messages.documentsOnly()):e.nothing}
1148
+ `:e.nothing}renderDescription(t){return this.showDescription&&t?e.html`<div part="description" class="content">${t}</div>`:e.nothing}renderSearchButton(t){return this.showSearchButton?e.html`<div part="search-button"><ft-button id="search" icon="search" ?disabled=${t}>${Oi.messages.search()}</ft-button></div>`:e.nothing}renderAlertStatus(t){return this.showAlertStatus&&t?e.html`<ft-icon part="alert-status">alert</ft-icon>`:e.nothing}renderSearchFilters(t){var o,r,i,n,a;return this.showSearchFilters?e.html`<div part="search-filters" class="content">
1149
+ ${null!==(o=t.query.length)&&void 0!==o&&o?this.renderMetadata(Oi.messages.keywords(),t.query):e.nothing}
1150
+ ${t.virtualField==Yr.TITLE_ONLY?this.renderMetadata(Oi.messages.in(),Oi.messages.titles()):e.nothing}
1151
+ ${t.scope==Qr.DOCUMENTS?this.renderMetadata(Oi.messages.resultsType(),Oi.messages.documentsOnly()):e.nothing}
1152
1152
  ${t.filters.map((t=>this.renderMetadata(t.label,t.values)))}
1153
- ${null!==(i=null===(r=t.contentLocale)||void 0===r?void 0:r.length)&&void 0!==i&&i?this.renderMetadata(vi.messages.language(),t.contentLocale):e.nothing}
1154
- ${null!==(a=null===(n=t.sort[0])||void 0===n?void 0:n.key.length)&&void 0!==a&&a?this.renderMetadata(vi.messages.sort(),this.mapSortKey(t.sort[0].key)):e.nothing}
1155
- ${t.periodFilter?this.renderMetadata(vi.messages.period(),this.mapPeriodFilter(t.periodFilter)):e.nothing}
1153
+ ${null!==(i=null===(r=t.contentLocale)||void 0===r?void 0:r.length)&&void 0!==i&&i?this.renderMetadata(Oi.messages.language(),t.contentLocale):e.nothing}
1154
+ ${null!==(a=null===(n=t.sort[0])||void 0===n?void 0:n.key.length)&&void 0!==a&&a?this.renderMetadata(Oi.messages.sort(),this.mapSortKey(t.sort[0].key)):e.nothing}
1155
+ ${t.periodFilter?this.renderMetadata(Oi.messages.period(),this.mapPeriodFilter(t.periodFilter)):e.nothing}
1156
1156
  </div>`:e.nothing}renderMetadata(t,o){return e.html`
1157
1157
  <ft-chip dense part="chip">
1158
1158
  <span part="metadata-label">${t}</span>
1159
1159
  <span part="metadata-values">${Array.isArray(o)?o.join(", "):o}</span>
1160
- </ft-chip>`}mapSortKey(t){switch(t){case"afs:relevance":return vi.messages.relevance();case"ft:lastEdition":return vi.messages.lastUpdate();default:return t}}mapPeriodFilter(t){switch(t.periodType){case"LAST_WEEK":return vi.messages.lastWeek();case"LAST_MONTH":return vi.messages.lastMonth();case"LAST_YEAR":return vi.messages.lastYear();case"CUSTOM":return vi.messages.customPeriod();default:return"--"}}get userHasRights(){return ii(this.user,this.requiredRole)}get isEmpty(){var t;return 0==(null!==(t=this.savedSearches)&&void 0!==t?t:[]).length}isSelected(t){var e,r,i,n;return null!=this.request&&o.deepEqual(this.request.query,t.query)&&this.areFtSearchFiltersEqual([...this.request.filters],[...t.filters].map(this.mapSearchFilter))&&o.deepEqual([...this.request.sort].map(this.mapFtSearchSortCriterion),[...t.sort].map(this.mapFtSearchSortCriterion))&&o.deepEqual(this.request.contentLocale,t.contentLocale)&&o.deepEqual(this.request.periodFilter,t.periodFilter)&&o.deepEqual(null!==(e=this.request.virtualField)&&void 0!==e?e:"EVERYWHERE",null!==(r=t.virtualField)&&void 0!==r?r:"EVERYWHERE")&&o.deepEqual(null!==(i=this.request.scope)&&void 0!==i?i:"DEFAULT",null!==(n=t.scope)&&void 0!==n?n:"DEFAULT")}areFtSearchFiltersEqual(t,e){if(!o.deepEqual(t.map((t=>t.key)).sort(),e.map((t=>t.key)).sort()))return!1;const r=(t,e)=>t.key===e.key&&t.negative===e.negative&&o.deepEqual(t.values.sort(),e.values.sort());for(const o of t){if(!e.find((t=>r(o,t))))return!1}return!0}mapFtSearchSortCriterion(t){return{...t}}toFtSearchRequest(t){return null==this.request?void 0:{...this.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(),Zr.reloadMySearches()}onLinkClick(t,o){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(e=this.stateManager)||void 0===e||e.setRequest(o),this.click())}update(t){super.update(t),(t.has("user")||t.has("savedSearches"))&&null==this.savedSearches&&Zr.reloadMySearches()}}Si.styles=Nr,Si.elementDefinitions={"ft-typography":vo,"ft-icon":ko,"ft-card":$o,"ft-chip":vr,"ft-button":rr},Ni([r.property({type:Boolean})],Si.prototype,"showDescription",void 0),Ni([r.property({type:Boolean})],Si.prototype,"showSearchFilters",void 0),Ni([r.property({type:Boolean})],Si.prototype,"showSearchButton",void 0),Ni([r.property({type:Boolean})],Si.prototype,"showAlertStatus",void 0),Ni([o.redux({store:Ar.name})],Si.prototype,"savedSearches",void 0),Ni([o.redux({store:wr.name,selector:t=>{var o;return null===(o=t.session)||void 0===o?void 0:o.profile}})],Si.prototype,"user",void 0),Ni([o.redux({store:wr.name})],Si.prototype,"baseUrl",void 0),Ni([o.redux({store:"search"})],Si.prototype,"request",void 0),o.customElement("ft-search-saved-searches")(Si),t.FtSearchSavedSearches=Si,t.FtSearchSavedSearchesCssVariables=Or,t.styles=Nr}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);
1160
+ </ft-chip>`}mapSortKey(t){switch(t){case"afs:relevance":return Oi.messages.relevance();case"ft:lastEdition":return Oi.messages.lastUpdate();default:return t}}mapPeriodFilter(t){switch(t.periodType){case"LAST_WEEK":return Oi.messages.lastWeek();case"LAST_MONTH":return Oi.messages.lastMonth();case"LAST_YEAR":return Oi.messages.lastYear();case"CUSTOM":return Oi.messages.customPeriod();default:return"--"}}get userHasRights(){return ii(this.user,this.requiredRole)}get isEmpty(){var t;return 0==(null!==(t=this.savedSearches)&&void 0!==t?t:[]).length}isSelected(t){var e,r,i,n;return null!=this.request&&o.deepEqual(this.request.query,t.query)&&this.areFtSearchFiltersEqual([...this.request.filters],[...t.filters].map(this.mapSearchFilter))&&o.deepEqual([...this.request.sort].map(this.mapFtSearchSortCriterion),[...t.sort].map(this.mapFtSearchSortCriterion))&&o.deepEqual(this.request.contentLocale,t.contentLocale)&&o.deepEqual(this.request.periodFilter,t.periodFilter)&&o.deepEqual(null!==(e=this.request.virtualField)&&void 0!==e?e:"EVERYWHERE",null!==(r=t.virtualField)&&void 0!==r?r:"EVERYWHERE")&&o.deepEqual(null!==(i=this.request.scope)&&void 0!==i?i:"DEFAULT",null!==(n=t.scope)&&void 0!==n?n:"DEFAULT")}areFtSearchFiltersEqual(t,e){if(!o.deepEqual(t.map((t=>t.key)).sort(),e.map((t=>t.key)).sort()))return!1;const r=(t,e)=>t.key===e.key&&t.negative===e.negative&&o.deepEqual(t.values.sort(),e.values.sort());for(const o of t){if(!e.find((t=>r(o,t))))return!1}return!0}mapFtSearchSortCriterion(t){return{...t}}toFtSearchRequest(t){return null==this.request?void 0:{...this.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(),Zr.reloadMySearches()}onLinkClick(t,o){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(e=this.stateManager)||void 0===e||e.setRequest(o),this.click())}update(t){super.update(t),(t.has("user")||t.has("savedSearches"))&&null==this.savedSearches&&Zr.reloadMySearches()}}wi.styles=Nr,wi.elementDefinitions={"ft-typography":vo,"ft-icon":ko,"ft-card":$o,"ft-chip":vr,"ft-button":rr},Si([r.property({type:Boolean})],wi.prototype,"showDescription",void 0),Si([r.property({type:Boolean})],wi.prototype,"showSearchFilters",void 0),Si([r.property({type:Boolean})],wi.prototype,"showSearchButton",void 0),Si([r.property({type:Boolean})],wi.prototype,"showAlertStatus",void 0),Si([o.redux({store:zr.name})],wi.prototype,"savedSearches",void 0),Si([o.redux({store:wr.name,selector:t=>{var o;return null===(o=t.session)||void 0===o?void 0:o.profile}})],wi.prototype,"user",void 0),Si([o.redux({store:wr.name})],wi.prototype,"baseUrl",void 0),Si([o.redux({store:"search"})],wi.prototype,"request",void 0),o.customElement("ft-search-saved-searches")(wi),t.FtSearchSavedSearches=wi,t.FtSearchSavedSearchesCssVariables=Or,t.styles=Nr}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);
@@ -1268,11 +1268,11 @@ const{D:Hs}=mt,Gs=()=>document.createComment(""),Vs=(t,e,o)=>{const r=t._$AA.par
1268
1268
  * Copyright 2017 Google LLC
1269
1269
  * SPDX-License-Identifier: BSD-3-Clause
1270
1270
  */var tc,ec,oc,rc,ic,nc,ac,sc,cc,lc,fc,hc,pc,uc,dc,yc,gc,bc;!function(t){!function(e){var o={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(o.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 s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=p(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):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(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?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,e){this.map[n(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,i=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(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=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.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 e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(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,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.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 e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var i=o.join(":").trim();e.append(r,i)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{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"}(tc||(tc={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(ec||(ec={})),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"}(oc||(oc={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(rc||(rc={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(ic||(ic={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(nc||(nc={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(ac||(ac={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(sc||(sc={})),function(t){t.ASC="ASC",t.DESC="DESC"}(cc||(cc={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(lc||(lc={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(fc||(fc={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(hc||(hc={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(pc||(pc={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(uc||(uc={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(dc||(dc={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(yc||(yc={})),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.GENERATIVE_AI_USER="GENERATIVE_AI_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"}(gc||(gc={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(bc||(bc={}));const mc={[gc.PERSONAL_BOOK_SHARE_USER]:[gc.PERSONAL_BOOK_USER],[gc.HTML_EXPORT_USER]:[gc.PERSONAL_BOOK_USER],[gc.PDF_EXPORT_USER]:[gc.PERSONAL_BOOK_USER],[gc.KHUB_ADMIN]:[gc.CONTENT_PUBLISHER],[gc.ADMIN]:[gc.KHUB_ADMIN,gc.USERS_ADMIN,gc.PORTAL_ADMIN],[gc.DEVELOPER]:[gc.BETA_USER,gc.DEBUG_USER]};function vc(t,e){return t===e||(mc[t]??[]).some((t=>vc(t,e)))}function xc(t,e){if(null==t)return!1;return(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some((t=>vc(t,e)))}class Oc extends Event{constructor(){super(Oc.eventName)}}Oc.eventName="search-context-clear-all-filters";var wc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Sc extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Nc=Symbol("registerInterval");class Cc extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=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[Nc]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Nc]):this.dispatchEvent(new Sc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Nc,wc([U()],o.prototype,"stateManager",void 0),o}(rr)){}const Ec=Et`
1271
- `;var $c=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Rc=Symbol("i18nProperties"),Uc=Symbol("i18nUnsubs");function Ic(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Bs:js}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);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 e;null===(e=this[Rc])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[Rc])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Rc]&&new Set([...this[Rc].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Uc].has(t)||this[Uc].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Uc].forEach((t=>t())),this[Uc].clear()}}return e=Uc,$c([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class kc extends(Ic(Mo)){}class Lc extends(Ic(rr)){}var Wc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ac extends Lc{constructor(){super(),this.editorMode=!1,this.addStore(Ls)}render(){return this.key&&this.context?ce`
1271
+ `;var $c=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Rc=Symbol("i18nAttributes"),Uc=Symbol("i18nProperties"),Ic=Symbol("i18nUnsubs");function kc(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Bs:js}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);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 e,o;null===(e=this[Rc])||void 0===e||e.forEach(((e,o)=>{var r;const i=this.getI18nAttributeValue(o);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,i,e)})),null===(o=this[Uc])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[Rc])||void 0===e||e.forEach(((e,o)=>{const r=this.getI18nAttributeValue(o);(null==r?void 0:r.context)&&r.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(o,r,e))})),null===(o=this[Uc])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,r;super.connectedCallback(),new Set([...null!==(e=null===(t=this[Uc])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(r=null===(o=this[Rc])||void 0===o?void 0:o.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Ic].has(t)||this[Ic].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Ic].forEach((t=>t())),this[Ic].clear()}}return e=Ic,$c([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Lc extends(kc(Mo)){}class Wc extends(kc(rr)){}var Ac=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fc extends Wc{constructor(){super(),this.editorMode=!1,this.addStore(Ls)}render(){return this.key&&this.context?ce`
1272
1272
  <span class="ft-i18n">
1273
1273
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1274
1274
  </span>
1275
- `:this.editorMode?"Select a context and a label key.":fe}update(t){var e;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}Ac.elementDefinitions={},Ac.styles=Ec,Wc([Vo()],Ac.prototype,"editorMode",void 0),Wc([R()],Ac.prototype,"context",void 0),Wc([R()],Ac.prototype,"key",void 0),Wc([F([])],Ac.prototype,"args",void 0),Wc([R()],Ac.prototype,"defaultMessage",void 0);class Fc{static build(t){return new Fc(t)}static fromGwt(t){return new Fc(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>js.resolveMessage(this.name,e,...t)})}}A("ft-i18n")(Ac);const Kc=Fc.build("savedSearchesComponent"),jc={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"};var Bc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Dc extends(Ic(Cc)){constructor(){super(),this.showDescription=!1,this.showSearchFilters=!1,this.showSearchButton=!1,this.showAlertStatus=!1,this.requiredRole=gc.SAVED_SEARCH_USER,this.addStore(Ls),this.addStore(Zs),this.addI18nContext(Kc,jc)}render(){var t;return this.userHasRights&&!this.isEmpty?ce`
1275
+ `:this.editorMode?"Select a context and a label key.":fe}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}Fc.elementDefinitions={},Fc.styles=Ec,Ac([Vo()],Fc.prototype,"editorMode",void 0),Ac([R()],Fc.prototype,"context",void 0),Ac([R()],Fc.prototype,"key",void 0),Ac([F([])],Fc.prototype,"args",void 0),Ac([R()],Fc.prototype,"defaultMessage",void 0);class Kc{static build(t){return new Kc(t)}static fromGwt(t){return new Kc(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>js.resolveMessage(this.name,e,...t)})}}A("ft-i18n")(Fc);const jc=Kc.build("savedSearchesComponent"),Bc={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"};var Dc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Pc extends(kc(Cc)){constructor(){super(),this.showDescription=!1,this.showSearchFilters=!1,this.showSearchButton=!1,this.showAlertStatus=!1,this.requiredRole=gc.SAVED_SEARCH_USER,this.addStore(Ls),this.addStore(Zs),this.addI18nContext(jc,Bc)}render(){var t;return this.userHasRights&&!this.isEmpty?ce`
1276
1276
  <div part="container">
1277
1277
  ${Qs(null!==(t=this.savedSearches)&&void 0!==t?t:[],(t=>t.id),(t=>{const e=this.toFtSearchRequest(t.searchRequest);if(void 0===e)return fe;const o=function(t,e){var o;const r=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}(this.baseUrl,e);return ce`
1278
1278
  <a href="${o}" @click="${t=>this.onLinkClick(t,e)}">
@@ -1291,16 +1291,16 @@ const{D:Hs}=mt,Gs=()=>document.createComment(""),Vs=(t,e,o)=>{const r=t._$AA.par
1291
1291
  </a>
1292
1292
  `}))}
1293
1293
  </div>
1294
- `:fe}renderDescription(t){return this.showDescription&&t?ce`<div part="description" class="content">${t}</div>`:fe}renderSearchButton(t){return this.showSearchButton?ce`<div part="search-button"><ft-button id="search" icon="search" ?disabled=${t}>${Kc.messages.search()}</ft-button></div>`:fe}renderAlertStatus(t){return this.showAlertStatus&&t?ce`<ft-icon part="alert-status">alert</ft-icon>`:fe}renderSearchFilters(t){var e,o,r,i,n;return this.showSearchFilters?ce`<div part="search-filters" class="content">
1295
- ${null!==(e=t.query.length)&&void 0!==e&&e?this.renderMetadata(Kc.messages.keywords(),t.query):fe}
1296
- ${t.virtualField==fc.TITLE_ONLY?this.renderMetadata(Kc.messages.in(),Kc.messages.titles()):fe}
1297
- ${t.scope==yc.DOCUMENTS?this.renderMetadata(Kc.messages.resultsType(),Kc.messages.documentsOnly()):fe}
1294
+ `:fe}renderDescription(t){return this.showDescription&&t?ce`<div part="description" class="content">${t}</div>`:fe}renderSearchButton(t){return this.showSearchButton?ce`<div part="search-button"><ft-button id="search" icon="search" ?disabled=${t}>${jc.messages.search()}</ft-button></div>`:fe}renderAlertStatus(t){return this.showAlertStatus&&t?ce`<ft-icon part="alert-status">alert</ft-icon>`:fe}renderSearchFilters(t){var e,o,r,i,n;return this.showSearchFilters?ce`<div part="search-filters" class="content">
1295
+ ${null!==(e=t.query.length)&&void 0!==e&&e?this.renderMetadata(jc.messages.keywords(),t.query):fe}
1296
+ ${t.virtualField==fc.TITLE_ONLY?this.renderMetadata(jc.messages.in(),jc.messages.titles()):fe}
1297
+ ${t.scope==yc.DOCUMENTS?this.renderMetadata(jc.messages.resultsType(),jc.messages.documentsOnly()):fe}
1298
1298
  ${t.filters.map((t=>this.renderMetadata(t.label,t.values)))}
1299
- ${null!==(r=null===(o=t.contentLocale)||void 0===o?void 0:o.length)&&void 0!==r&&r?this.renderMetadata(Kc.messages.language(),t.contentLocale):fe}
1300
- ${null!==(n=null===(i=t.sort[0])||void 0===i?void 0:i.key.length)&&void 0!==n&&n?this.renderMetadata(Kc.messages.sort(),this.mapSortKey(t.sort[0].key)):fe}
1301
- ${t.periodFilter?this.renderMetadata(Kc.messages.period(),this.mapPeriodFilter(t.periodFilter)):fe}
1299
+ ${null!==(r=null===(o=t.contentLocale)||void 0===o?void 0:o.length)&&void 0!==r&&r?this.renderMetadata(jc.messages.language(),t.contentLocale):fe}
1300
+ ${null!==(n=null===(i=t.sort[0])||void 0===i?void 0:i.key.length)&&void 0!==n&&n?this.renderMetadata(jc.messages.sort(),this.mapSortKey(t.sort[0].key)):fe}
1301
+ ${t.periodFilter?this.renderMetadata(jc.messages.period(),this.mapPeriodFilter(t.periodFilter)):fe}
1302
1302
  </div>`:fe}renderMetadata(t,e){return ce`
1303
1303
  <ft-chip dense part="chip">
1304
1304
  <span part="metadata-label">${t}</span>
1305
1305
  <span part="metadata-values">${Array.isArray(e)?e.join(", "):e}</span>
1306
- </ft-chip>`}mapSortKey(t){switch(t){case"afs:relevance":return Kc.messages.relevance();case"ft:lastEdition":return Kc.messages.lastUpdate();default:return t}}mapPeriodFilter(t){switch(t.periodType){case"LAST_WEEK":return Kc.messages.lastWeek();case"LAST_MONTH":return Kc.messages.lastMonth();case"LAST_YEAR":return Kc.messages.lastYear();case"CUSTOM":return Kc.messages.customPeriod();default:return"--"}}get userHasRights(){return xc(this.user,this.requiredRole)}get isEmpty(){var t;return 0==(null!==(t=this.savedSearches)&&void 0!==t?t:[]).length}isSelected(t){var e,o,r,i;return null!=this.request&&W(this.request.query,t.query)&&this.areFtSearchFiltersEqual([...this.request.filters],[...t.filters].map(this.mapSearchFilter))&&W([...this.request.sort].map(this.mapFtSearchSortCriterion),[...t.sort].map(this.mapFtSearchSortCriterion))&&W(this.request.contentLocale,t.contentLocale)&&W(this.request.periodFilter,t.periodFilter)&&W(null!==(e=this.request.virtualField)&&void 0!==e?e:"EVERYWHERE",null!==(o=t.virtualField)&&void 0!==o?o:"EVERYWHERE")&&W(null!==(r=this.request.scope)&&void 0!==r?r:"DEFAULT",null!==(i=t.scope)&&void 0!==i?i:"DEFAULT")}areFtSearchFiltersEqual(t,e){if(!W(t.map((t=>t.key)).sort(),e.map((t=>t.key)).sort()))return!1;const o=(t,e)=>t.key===e.key&&t.negative===e.negative&&W(t.values.sort(),e.values.sort());for(const r of t){if(!e.find((t=>o(r,t))))return!1}return!0}mapFtSearchSortCriterion(t){return{...t}}toFtSearchRequest(t){return null==this.request?void 0:{...this.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(),_s.reloadMySearches()}onLinkClick(t,e){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(o=this.stateManager)||void 0===o||o.setRequest(e),this.click())}update(t){super.update(t),(t.has("user")||t.has("savedSearches"))&&null==this.savedSearches&&_s.reloadMySearches()}}Dc.styles=Is,Dc.elementDefinitions={"ft-typography":$a,"ft-icon":Pa,"ft-card":ka,"ft-chip":Rs,"ft-button":hs},Bc([R({type:Boolean})],Dc.prototype,"showDescription",void 0),Bc([R({type:Boolean})],Dc.prototype,"showSearchFilters",void 0),Bc([R({type:Boolean})],Dc.prototype,"showSearchButton",void 0),Bc([R({type:Boolean})],Dc.prototype,"showAlertStatus",void 0),Bc([Vo({store:Zs.name})],Dc.prototype,"savedSearches",void 0),Bc([Vo({store:Ls.name,selector:t=>{var e;return null===(e=t.session)||void 0===e?void 0:e.profile}})],Dc.prototype,"user",void 0),Bc([Vo({store:Ls.name})],Dc.prototype,"baseUrl",void 0),Bc([Vo({store:"search"})],Dc.prototype,"request",void 0),A("ft-search-saved-searches")(Dc),t.FtSearchSavedSearches=Dc,t.FtSearchSavedSearchesCssVariables=Us,t.styles=Is}({});
1306
+ </ft-chip>`}mapSortKey(t){switch(t){case"afs:relevance":return jc.messages.relevance();case"ft:lastEdition":return jc.messages.lastUpdate();default:return t}}mapPeriodFilter(t){switch(t.periodType){case"LAST_WEEK":return jc.messages.lastWeek();case"LAST_MONTH":return jc.messages.lastMonth();case"LAST_YEAR":return jc.messages.lastYear();case"CUSTOM":return jc.messages.customPeriod();default:return"--"}}get userHasRights(){return xc(this.user,this.requiredRole)}get isEmpty(){var t;return 0==(null!==(t=this.savedSearches)&&void 0!==t?t:[]).length}isSelected(t){var e,o,r,i;return null!=this.request&&W(this.request.query,t.query)&&this.areFtSearchFiltersEqual([...this.request.filters],[...t.filters].map(this.mapSearchFilter))&&W([...this.request.sort].map(this.mapFtSearchSortCriterion),[...t.sort].map(this.mapFtSearchSortCriterion))&&W(this.request.contentLocale,t.contentLocale)&&W(this.request.periodFilter,t.periodFilter)&&W(null!==(e=this.request.virtualField)&&void 0!==e?e:"EVERYWHERE",null!==(o=t.virtualField)&&void 0!==o?o:"EVERYWHERE")&&W(null!==(r=this.request.scope)&&void 0!==r?r:"DEFAULT",null!==(i=t.scope)&&void 0!==i?i:"DEFAULT")}areFtSearchFiltersEqual(t,e){if(!W(t.map((t=>t.key)).sort(),e.map((t=>t.key)).sort()))return!1;const o=(t,e)=>t.key===e.key&&t.negative===e.negative&&W(t.values.sort(),e.values.sort());for(const r of t){if(!e.find((t=>o(r,t))))return!1}return!0}mapFtSearchSortCriterion(t){return{...t}}toFtSearchRequest(t){return null==this.request?void 0:{...this.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(),_s.reloadMySearches()}onLinkClick(t,e){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(o=this.stateManager)||void 0===o||o.setRequest(e),this.click())}update(t){super.update(t),(t.has("user")||t.has("savedSearches"))&&null==this.savedSearches&&_s.reloadMySearches()}}Pc.styles=Is,Pc.elementDefinitions={"ft-typography":$a,"ft-icon":Pa,"ft-card":ka,"ft-chip":Rs,"ft-button":hs},Dc([R({type:Boolean})],Pc.prototype,"showDescription",void 0),Dc([R({type:Boolean})],Pc.prototype,"showSearchFilters",void 0),Dc([R({type:Boolean})],Pc.prototype,"showSearchButton",void 0),Dc([R({type:Boolean})],Pc.prototype,"showAlertStatus",void 0),Dc([Vo({store:Zs.name})],Pc.prototype,"savedSearches",void 0),Dc([Vo({store:Ls.name,selector:t=>{var e;return null===(e=t.session)||void 0===e?void 0:e.profile}})],Pc.prototype,"user",void 0),Dc([Vo({store:Ls.name})],Pc.prototype,"baseUrl",void 0),Dc([Vo({store:"search"})],Pc.prototype,"request",void 0),A("ft-search-saved-searches")(Pc),t.FtSearchSavedSearches=Pc,t.FtSearchSavedSearchesCssVariables=Us,t.styles=Is}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-saved-searches",
3
- "version": "1.1.32",
3
+ "version": "1.1.34",
4
4
  "description": "Displays the saved searches",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-search-context": "1.1.32",
23
- "@fluid-topics/ft-wc-utils": "1.1.32",
22
+ "@fluid-topics/ft-search-context": "1.1.34",
23
+ "@fluid-topics/ft-wc-utils": "1.1.34",
24
24
  "lit": "3.1.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@fluid-topics/public-api": "1.0.58"
27
+ "@fluid-topics/public-api": "1.0.59"
28
28
  },
29
- "gitHead": "7aceb8fb7c61e391e77ab55affab94df9d3f91aa"
29
+ "gitHead": "1e947e93e937ded84f056955b14b760e9dea7058"
30
30
  }