@fluid-topics/ft-reader-page-title 1.0.59 → 1.0.61

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.
@@ -1,122 +1,131 @@
1
- !function(t,i,e,s){const o=e.css``;var n;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(n||(n={}));var r=function(t,i,e,s){for(var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class a extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const h=Symbol("registerInterval");class l extends(function(t){var i;class e extends t{constructor(){super(...arguments),this[i]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[h]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[h]):this.dispatchEvent(new a)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return i=h,r([s.state()],e.prototype,"stateManager",void 0),e}(i.FtLitElementRedux)){}
1
+ !function(t,o,e,r){const a=e.css``;var i;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(i||(i={}));var n=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class l extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const c=Symbol("registerInterval");class p extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[c]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[c]):this.dispatchEvent(new l)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=c,n([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
- */var p;const f=window,c=f.trustedTypes,y=c?c.createPolicy("lit-html",{createHTML:t=>t}):void 0,d="$lit$",u=`lit$${(Math.random()+"").slice(9)}$`,g="?"+u,v=`<${g}>`,m=document,b=()=>m.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,w=Array.isArray,x="[ \t\n\f\r]",C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,S=/-->/g,A=/>/g,M=RegExp(`>|${x}(?:([^\\s"'>=/]+)(${x}*=${x}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),k=/'/g,U=/"/g,z=/^(?:script|style|textarea|title)$/i,I=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),O=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),N=new WeakMap,T=m.createTreeWalker(m,129,null,!1),_=(t,i)=>{const e=t.length-1,s=[];let o,n=2===i?"<svg>":"",r=C;for(let i=0;i<e;i++){const e=t[i];let a,h,l=-1,p=0;for(;p<e.length&&(r.lastIndex=p,h=r.exec(e),null!==h);)p=r.lastIndex,r===C?"!--"===h[1]?r=S:void 0!==h[1]?r=A:void 0!==h[2]?(z.test(h[2])&&(o=RegExp("</"+h[2],"g")),r=M):void 0!==h[3]&&(r=M):r===M?">"===h[0]?(r=null!=o?o:C,l=-1):void 0===h[1]?l=-2:(l=r.lastIndex-h[2].length,a=h[1],r=void 0===h[3]?M:'"'===h[3]?U:k):r===U||r===k?r=M:r===S||r===A?r=C:(r=M,o=void 0);const f=r===M&&t[i+1].startsWith("/>")?" ":"";n+=r===C?e+v:l>=0?(s.push(a),e.slice(0,l)+d+e.slice(l)+u+f):e+u+(-2===l?(s.push(void 0),i):f)}const a=n+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==y?y.createHTML(a):a,s]};class L{constructor({strings:t,_$litType$:i},e){let s;this.parts=[];let o=0,n=0;const r=t.length-1,a=this.parts,[h,l]=_(t,i);if(this.el=L.createElement(h,e),T.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(s=T.nextNode())&&a.length<r;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const i of s.getAttributeNames())if(i.endsWith(d)||i.startsWith(u)){const e=l[n++];if(t.push(i),void 0!==e){const t=s.getAttribute(e.toLowerCase()+d).split(u),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:o,name:i[2],strings:t,ctor:"."===i[1]?W:"?"===i[1]?K:"@"===i[1]?Z:R})}else a.push({type:6,index:o})}for(const i of t)s.removeAttribute(i)}if(z.test(s.tagName)){const t=s.textContent.split(u),i=t.length-1;if(i>0){s.textContent=c?c.emptyScript:"";for(let e=0;e<i;e++)s.append(t[e],b()),T.nextNode(),a.push({type:2,index:++o});s.append(t[i],b())}}}else if(8===s.nodeType)if(s.data===g)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(u,t+1));)a.push({type:7,index:o}),t+=u.length-1}o++}}static createElement(t,i){const e=m.createElement("template");return e.innerHTML=t,e}}function P(t,i,e=t,s){var o,n,r,a;if(i===O)return i;let h=void 0!==s?null===(o=e._$Co)||void 0===o?void 0:o[s]:e._$Cl;const l=$(i)?void 0:i._$litDirective$;return(null==h?void 0:h.constructor)!==l&&(null===(n=null==h?void 0:h._$AO)||void 0===n||n.call(h,!1),void 0===l?h=void 0:(h=new l(t),h._$AT(t,e,s)),void 0!==s?(null!==(r=(a=e)._$Co)&&void 0!==r?r:a._$Co=[])[s]=h:e._$Cl=h),void 0!==h&&(i=P(t,h._$AS(t,i.values),h,s)),i}class B{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:s}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:m).importNode(e,!0);T.currentNode=o;let n=T.nextNode(),r=0,a=0,h=s[0];for(;void 0!==h;){if(r===h.index){let i;2===h.type?i=new E(n,n.nextSibling,this,t):1===h.type?i=new h.ctor(n,h.name,h.strings,this,t):6===h.type&&(i=new F(n,this,t)),this._$AV.push(i),h=s[++a]}r!==(null==h?void 0:h.index)&&(n=T.nextNode(),r++)}return o}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class E{constructor(t,i,e,s){var o;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=s,this._$Cp=null===(o=null==s?void 0:s.isConnected)||void 0===o||o}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=P(this,t,i),$(t)?t===j||null==t||""===t?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==O&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>w(t)||"function"==typeof(null==t?void 0: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!==j&&$(this._$AH)?this._$AA.nextSibling.data=t:this.$(m.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=L.createElement(s.h,this.options)),s);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.v(e);else{const t=new B(o,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=N.get(t.strings);return void 0===i&&N.set(t.strings,i=new L(t)),i}T(t){w(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,s=0;for(const o of t)s===i.length?i.push(e=new E(this.k(b()),this.k(b()),this,this.options)):e=i[s],e._$AI(o),s++;s<i.length&&(this._$AR(e&&e._$AB.nextSibling,s),i.length=s)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class R{constructor(t,i,e,s,o){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=i,this._$AM=s,this.options=o,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=j}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,s){const o=this.strings;let n=!1;if(void 0===o)t=P(this,t,i,0),n=!$(t)||t!==this._$AH&&t!==O,n&&(this._$AH=t);else{const s=t;let r,a;for(t=o[0],r=0;r<o.length-1;r++)a=P(this,s[e+r],i,r),a===O&&(a=this._$AH[r]),n||(n=!$(a)||a!==this._$AH[r]),a===j?t=j:t!==j&&(t+=(null!=a?a:"")+o[r+1]),this._$AH[r]=a}n&&!s&&this.j(t)}j(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class W extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===j?void 0:t}}const G=c?c.emptyScript:"";class K extends R{constructor(){super(...arguments),this.type=4}j(t){t&&t!==j?this.element.setAttribute(this.name,G):this.element.removeAttribute(this.name)}}class Z extends R{constructor(t,i,e,s,o){super(t,i,e,s,o),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=P(this,t,i,0))&&void 0!==e?e:j)===O)return;const s=this._$AH,o=t===j&&s!==j||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==j&&(s===j||o);o&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class F{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){P(this,t)}}const H=f.litHtmlPolyfillSupport;null==H||H(L,E),(null!==(p=f.litHtmlVersions)&&void 0!==p?p:f.litHtmlVersions=[]).push("2.7.3");
6
+ */var s;const f=window,h=f.trustedTypes,y=h?h.createPolicy("lit-html",{createHTML:t=>t}):void 0,g="$lit$",d=`lit$${(Math.random()+"").slice(9)}$`,b="?"+d,u=`<${b}>`,m=document,O=()=>m.createComment(""),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,S=Array.isArray,v="[ \t\n\f\r]",C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,x=/-->/g,I=/>/g,w=RegExp(`>|${v}(?:([^\\s"'>=/]+)(${v}*=${v}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),U=/'/g,R=/"/g,W=/^(?:script|style|textarea|title)$/i,L=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),E=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Z=new WeakMap,$=m.createTreeWalker(m,129,null,!1),k=(t,o)=>{const e=t.length-1,r=[];let a,i=2===o?"<svg>":"",n=C;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,s=0;for(;s<e.length&&(n.lastIndex=s,c=n.exec(e),null!==c);)s=n.lastIndex,n===C?"!--"===c[1]?n=x:void 0!==c[1]?n=I:void 0!==c[2]?(W.test(c[2])&&(a=RegExp("</"+c[2],"g")),n=w):void 0!==c[3]&&(n=w):n===w?">"===c[0]?(n=null!=a?a:C,p=-1):void 0===c[1]?p=-2:(p=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?w:'"'===c[3]?R:U):n===R||n===U?n=w:n===x||n===I?n=C:(n=w,a=void 0);const f=n===w&&t[o+1].startsWith("/>")?" ":"";i+=n===C?e+u:p>=0?(r.push(l),e.slice(0,p)+g+e.slice(p)+d+f):e+d+(-2===p?(r.push(void 0),o):f)}const l=i+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==y?y.createHTML(l):l,r]};class z{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let a=0,i=0;const n=t.length-1,l=this.parts,[c,p]=k(t,o);if(this.el=z.createElement(c,e),$.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=$.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(g)||o.startsWith(d)){const e=p[i++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+g).split(d),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:a,name:o[2],strings:t,ctor:"."===o[1]?G:"?"===o[1]?M:"@"===o[1]?P:A})}else l.push({type:6,index:a})}for(const o of t)r.removeAttribute(o)}if(W.test(r.tagName)){const t=r.textContent.split(d),o=t.length-1;if(o>0){r.textContent=h?h.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],O()),$.nextNode(),l.push({type:2,index:++a});r.append(t[o],O())}}}else if(8===r.nodeType)if(r.data===b)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(d,t+1));)l.push({type:7,index:a}),t+=d.length-1}a++}}static createElement(t,o){const e=m.createElement("template");return e.innerHTML=t,e}}function F(t,o,e=t,r){var a,i,n,l;if(o===E)return o;let c=void 0!==r?null===(a=e._$Co)||void 0===a?void 0:a[r]:e._$Cl;const p=N(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==p&&(null===(i=null==c?void 0:c._$AO)||void 0===i||i.call(c,!1),void 0===p?c=void 0:(c=new p(t),c._$AT(t,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=c:e._$Cl=c),void 0!==c&&(o=F(t,c._$AS(t,o.values),c,r)),o}class D{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){var o;const{el:{content:e},parts:r}=this._$AD,a=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:m).importNode(e,!0);$.currentNode=a;let i=$.nextNode(),n=0,l=0,c=r[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new B(i,i.nextSibling,this,t):1===c.type?o=new c.ctor(i,c.name,c.strings,this,t):6===c.type&&(o=new j(i,this,t)),this._$AV.push(o),c=r[++l]}n!==(null==c?void 0:c.index)&&(i=$.nextNode(),n++)}return a}v(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 B{constructor(t,o,e,r){var a;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(a=null==r?void 0:r.isConnected)||void 0===a||a}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=F(this,t,o),N(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==E&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>S(t)||"function"==typeof(null==t?void 0: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!==K&&N(this._$AH)?this._$AA.nextSibling.data=t:this.$(m.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,a="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=z.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===a)this._$AH.v(e);else{const t=new D(a,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=Z.get(t.strings);return void 0===o&&Z.set(t.strings,o=new z(t)),o}T(t){S(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const a of t)r===o.length?o.push(e=new B(this.k(O()),this.k(O()),this,this.options)):e=o[r],e._$AI(a),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class A{constructor(t,o,e,r,a){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=a,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const a=this.strings;let i=!1;if(void 0===a)t=F(this,t,o,0),i=!N(t)||t!==this._$AH&&t!==E,i&&(this._$AH=t);else{const r=t;let n,l;for(t=a[0],n=0;n<a.length-1;n++)l=F(this,r[e+n],o,n),l===E&&(l=this._$AH[n]),i||(i=!N(l)||l!==this._$AH[n]),l===K?t=K:t!==K&&(t+=(null!=l?l:"")+a[n+1]),this._$AH[n]=l}i&&!r&&this.j(t)}j(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends A{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===K?void 0:t}}const H=h?h.emptyScript:"";class M extends A{constructor(){super(...arguments),this.type=4}j(t){t&&t!==K?this.element.setAttribute(this.name,H):this.element.removeAttribute(this.name)}}class P extends A{constructor(t,o,e,r,a){super(t,o,e,r,a),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=F(this,t,o,0))&&void 0!==e?e:K)===E)return;const r=this._$AH,a=t===K&&r!==K||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==K&&(r===K||a);a&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e: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){F(this,t)}}const T=f.litHtmlPolyfillSupport;null==T||T(z,B),(null!==(s=f.litHtmlVersions)&&void 0!==s?s:f.litHtmlVersions=[]).push("2.7.3");
7
7
  /**
8
8
  * @license
9
9
  * Copyright 2020 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
11
  */
12
- const D=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t._$litStatic$},J=t=>({_$litStatic$:t,r:D}),Q=new Map,V=(t=>(i,...e)=>{const s=e.length;let o,n;const r=[],a=[];let h,l=0,p=!1;for(;l<s;){for(h=i[l];l<s&&void 0!==(n=e[l],o=q(n));)h+=o+i[++l],p=!0;l!==s&&a.push(n),r.push(h),l++}if(l===s&&r.push(i[s]),p){const t=r.join("$$lit$$");void 0===(i=Q.get(t))&&(r.raw=r,Q.set(t,i=r)),e=a}return t(i,...e)})(I);var X;!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"}(X||(X={}));const Y=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),tt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),it={fontFamily:tt,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},et=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",Y),st=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",it.fontSize,"20px"),ot=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",it.fontWeight,"normal"),nt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",it.letterSpacing,"0.15px"),rt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",it.lineHeight,"1.2"),at=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",it.textTransform,"inherit"),ht=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",Y),lt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",it.fontSize,"14px"),pt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",it.fontWeight,"normal"),ft=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",it.letterSpacing,"0.105px"),ct=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",it.lineHeight,"1.7"),yt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",it.textTransform,"inherit"),dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",tt),ut=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",it.fontSize,"16px"),gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",it.fontWeight,"600"),vt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",it.letterSpacing,"0.144px"),mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",it.lineHeight,"1.5"),bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",it.textTransform,"inherit"),$t=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",tt),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",it.fontSize,"14px"),xt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",it.fontWeight,"normal"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",it.letterSpacing,"0.098px"),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",it.lineHeight,"1.7"),At=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",it.textTransform,"inherit"),Mt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",tt),kt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",it.fontSize,"16px"),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",it.fontWeight,"normal"),zt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",it.letterSpacing,"0.496px"),It=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",it.lineHeight,"1.5"),Ot=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",it.textTransform,"inherit"),jt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",tt),Nt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",it.fontSize,"14px"),Tt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",it.fontWeight,"normal"),_t=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",it.letterSpacing,"0.252px"),Lt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",it.lineHeight,"1.4"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",it.textTransform,"inherit"),Bt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",tt),Et=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",it.fontSize,"12px"),Rt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",it.fontWeight,"normal"),Wt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",it.letterSpacing,"0.396px"),Gt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",it.lineHeight,"1.33"),Kt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",it.textTransform,"inherit"),Zt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",tt),Ft=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",it.fontSize,"10px"),Ht=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",it.fontWeight,"normal"),Dt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",it.letterSpacing,"0.33px"),qt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",it.lineHeight,"1.6"),Jt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",it.textTransform,"inherit"),Qt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",tt),Vt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",it.fontSize,"10px"),Xt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",it.fontWeight,"normal"),Yt=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",it.letterSpacing,"1.5px"),ti=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",it.lineHeight,"1.6"),ii=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",it.textTransform,"uppercase"),ei=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",tt),si=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",it.fontSize,"14px"),oi=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",it.fontWeight,"600"),ni=i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",it.letterSpacing,"1.246px"),ri=i.FtCssVariableFactory.extend("--ft-typography-button-line-height",it.lineHeight,"1.15"),ai=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",it.textTransform,"uppercase"),hi=e.css`
12
+ const Y=Symbol.for(""),_=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t._$litStatic$},X=t=>({_$litStatic$:t,r:Y}),q=new Map,J=(t=>(o,...e)=>{const r=e.length;let a,i;const n=[],l=[];let c,p=0,s=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(i=e[p],a=_(i));)c+=a+o[++p],s=!0;p!==r&&l.push(i),n.push(c),p++}if(p===r&&n.push(o[r]),s){const t=n.join("$$lit$$");void 0===(o=q.get(t))&&(n.raw=n,q.set(t,o=n)),e=l}return t(o,...e)})(L);var Q;!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"}(Q||(Q={}));const V=t=>"string"==typeof t?e.unsafeCSS(t):t;class tt{static create(t,o,r,a){const i=t=>V(null!=t?t:a),n=e.css`var(${V(t)}, ${i(a)})`;return n.name=t,n.description=t,n.category=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${V(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>a,n}static extend(t,o,r,a){const i=t=>r.get(null!=t?t:a),n=e.css`var(${V(t)}, ${i(a)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${V(t)}, ${i(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=a?a:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):V(null!=o?o:t.lastResortDefaultValue()),a=e.css`var(${V(t.name)}, ${r(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=r,a.get=o=>e.css`var(${V(t.name)}, ${r(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const ot={colorWhite:tt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:tt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:tt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:tt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:tt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:tt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:tt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:tt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:tt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:tt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:tt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:tt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:tt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:tt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:tt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:tt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:tt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:tt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:tt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:tt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:tt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:tt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:tt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:tt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:tt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:tt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:tt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:tt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:tt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:tt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:tt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:tt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:tt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:tt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:tt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:tt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:tt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:tt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:tt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:tt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:tt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:tt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:tt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:tt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:tt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:tt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:tt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:tt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:tt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:tt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:tt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:tt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:tt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:tt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:tt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:tt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:tt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:tt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:tt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:tt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:tt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:tt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:tt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:tt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:tt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:tt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:tt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:tt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:tt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:tt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:tt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:tt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:tt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:tt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:tt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:tt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:tt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:tt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:tt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:tt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:tt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:tt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:tt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:tt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:tt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:tt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:tt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:tt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:tt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:tt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:tt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:tt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:tt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:tt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:tt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:tt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:tt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:tt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:tt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:tt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:tt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:tt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:tt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:tt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:tt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:tt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:tt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:tt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:tt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:tt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:tt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:tt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:tt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:tt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:tt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:tt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:tt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:tt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:tt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:tt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:tt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:tt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:tt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:tt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:tt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:tt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:tt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:tt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:tt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:tt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:tt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:tt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:tt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:tt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:tt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:tt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:tt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:tt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:tt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:tt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:tt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:tt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:tt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:tt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:tt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:tt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:tt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:tt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:tt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:tt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:tt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:tt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:tt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:tt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:tt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:tt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:tt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:tt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:tt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:tt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:tt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:tt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:tt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:tt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:tt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:tt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:tt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:tt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:tt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:tt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:tt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:tt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:tt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:tt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:tt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:tt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:tt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:tt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:tt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:tt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:tt.create("--ft-opacity-0","","NUMBER","0"),opacity8:tt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:tt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:tt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:tt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:tt.create("--ft-opacity-80","","NUMBER","0.8")},et={display:{fontFamily:tt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:tt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:tt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:tt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:tt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:tt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:tt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:tt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:tt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:tt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:tt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:tt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:tt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:tt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:tt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:tt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:tt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:tt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:tt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:tt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:tt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:tt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:tt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:tt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:tt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:tt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:tt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:tt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:tt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:tt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:tt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:tt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:tt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:tt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:tt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:tt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:tt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:tt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:tt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:tt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:tt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:tt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:tt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:tt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:tt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:tt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:tt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:tt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:tt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:tt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:tt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:tt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:tt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:tt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:tt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:tt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:tt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:tt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:tt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:tt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:tt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:tt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:tt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:tt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:tt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:tt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:tt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:tt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:tt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:tt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:tt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:tt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:tt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:tt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:tt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:tt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:tt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:tt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:tt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:tt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:tt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:tt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:tt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:tt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:tt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:tt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:tt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:tt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:tt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:tt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:tt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:tt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:tt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:tt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:tt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:tt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:tt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:tt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:tt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:tt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:tt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:tt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:tt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:tt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:tt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:tt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:tt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:tt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:tt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:tt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:tt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:tt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:tt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:tt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:tt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:tt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:tt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:tt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:tt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:tt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:tt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:tt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:tt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:tt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:tt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:tt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:tt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:tt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:tt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:tt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:tt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:tt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:tt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:tt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:tt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},rt={backgroundActionPrimary:tt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ot.colorBrand0),backgroundErrorPrimary:tt.extend("--ft-background-error-primary","Used as background of error components.",ot.colorRed0),backgroundErrorSubtle:tt.extend("--ft-background-error-subtle","Used as background of subtle error components.",ot.colorRed10),backgroundInfoPrimary:tt.extend("--ft-background-info-primary","Used as background of information components.",ot.colorCyan200),backgroundInfoSubtle:tt.extend("--ft-background-info-subtle","Used as background of subtle information components.",ot.colorCyan10),backgroundWarningPrimary:tt.extend("--ft-background-warning-primary","Used as background of warning components.",ot.colorOrange300),backgroundWarningSubtle:tt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ot.colorOrange10),backgroundSuccessPrimary:tt.extend("--ft-background-success-primary","Used as background of success components.",ot.colorGreen200),backgroundSuccessSubtle:tt.extend("--ft-background-success-subtle","Used as background of subtle success components.",ot.colorGreen10),backgroundGlobalSurface:tt.extend("--ft-background-global-surface","Used as app background.",ot.colorWhite),backgroundGlobalOnSurface:tt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ot.colorGray10),backgroundGlobalOnSurfaceDark:tt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ot.colorGray30),contentActionPrimary:tt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ot.colorBrand0),contentWarningPrimary:tt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ot.colorOrange300),contentWarningIconOnly:tt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ot.colorOrange0),contentErrorPrimary:tt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ot.colorRed0),contentErrorIconOnly:tt.extend("--ft-content-error-icon-only","Used on error status icons alone",ot.colorRed0),contentInfoPrimary:tt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ot.colorCyan200),contentInfoIconOnly:tt.extend("--ft-content-info-icon-only","Used on info status icons alone",ot.colorCyan0),contentSuccessIconOnly:tt.extend("--ft-content-success-icon-only","Used on success status icons alone",ot.colorGreen0),contentSuccessPrimary:tt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ot.colorGreen200),contentGlobalPrimary:tt.extend("--ft-content-global-primary","Used for main content on the page.",ot.colorGray500),contentGlobalSecondary:tt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ot.colorGray200),contentGlobalSubtle:tt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ot.colorGray0),contentGlobalOnColor:tt.extend("--ft-content-global-on-color","Used for content on a dominant color.",ot.colorWhite),borderActionPrimary:tt.extend("--ft-border-action-primary","Used as border for primary action components.",ot.colorBrand0),borderActionFocusRing:tt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ot.colorCyan0),borderWarningPrimary:tt.extend("--ft-border-warning-primary","Used as border for warning components.",ot.colorOrange30),borderSuccessPrimary:tt.extend("--ft-border-success-primary","Used as border for success components.",ot.colorGreen30),borderErrorPrimary:tt.extend("--ft-border-error-primary","Used as border for error components.",ot.colorRed30),borderInfoPrimary:tt.extend("--ft-border-info-primary","Used as border for information components.",ot.colorCyan30),borderGlobalSubtle:tt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ot.colorGray30),borderGlobalPrimary:tt.extend("--ft-border-global-primary","Used as border for element like input.",ot.colorGray50),borderInputPrimary:tt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ot.colorGray80)};tt.create("--ft-button-large-height","","SIZE","40px"),tt.extend("--ft-button-large-horizontal-padding","",ot.spacing4),tt.extend("--ft-button-large-gap","",ot.spacing2),tt.extend("--ft-button-large-border-radius","",ot.borderRadiusS),tt.extend("--ft-button-large-icon-size","",ot.iconSize3),tt.create("--ft-button-large-border-width","","SIZE","1px"),tt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),tt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),tt.create("--ft-button-large-icon-only-width","","SIZE","40px"),tt.create("--ft-button-small-height","","SIZE","30px"),tt.extend("--ft-button-small-horizontal-padding","",ot.spacing3),tt.extend("--ft-button-small-gap","",ot.spacing2),tt.extend("--ft-button-small-border-radius","",ot.borderRadiusS),tt.extend("--ft-button-small-icon-size","",ot.iconSize2),tt.create("--ft-button-small-border-width","","SIZE","1px"),tt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),tt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),tt.create("--ft-button-small-icon-only-width","","SIZE","30px"),tt.extend("--ft-button-primary-background-color","",rt.backgroundActionPrimary),tt.extend("--ft-button-primary-color","",rt.contentGlobalOnColor),tt.extend("--ft-button-primary-icon-color","",rt.contentGlobalOnColor),tt.extend("--ft-button-primary-state-layer-color","",rt.contentGlobalOnColor),tt.extend("--ft-button-primary-state-layer-opacity-hover","",ot.opacity16),tt.extend("--ft-button-primary-state-layer-opacity-focus","",ot.opacity16),tt.extend("--ft-button-primary-state-layer-opacity-active","",ot.opacity24),tt.extend("--ft-button-primary-component-opacity-disabled","",ot.opacity40),tt.extend("--ft-button-focus-focus-ring-color","",rt.borderActionFocusRing),tt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tt.extend("--ft-button-tertiary-color","",rt.contentActionPrimary),tt.extend("--ft-button-tertiary-icon-color","",rt.contentActionPrimary),tt.extend("--ft-button-tertiary-state-layer-color","",rt.contentActionPrimary),tt.extend("--ft-button-tertiary-state-layer-opacity-hover","",ot.opacity8),tt.extend("--ft-button-tertiary-state-layer-opacity-focus","",ot.opacity8),tt.extend("--ft-button-tertiary-state-layer-opacity-active","",ot.opacity16),tt.extend("--ft-button-tertiary-component-opacity-disabled","",ot.opacity40),tt.extend("--ft-button-secondary-background-color","",ot.colorWhite),tt.extend("--ft-button-secondary-color","",rt.contentActionPrimary),tt.extend("--ft-button-secondary-icon-color","",rt.contentActionPrimary),tt.extend("--ft-button-secondary-state-layer-color","",rt.contentActionPrimary),tt.extend("--ft-button-secondary-state-layer-opacity-hover","",ot.opacity8),tt.extend("--ft-button-secondary-state-layer-opacity-focus","",ot.opacity8),tt.extend("--ft-button-secondary-state-layer-opacity-active","",ot.opacity16),tt.extend("--ft-button-secondary-component-opacity-disabled","",ot.opacity40),tt.extend("--ft-button-secondary-border-color","",rt.borderActionPrimary),tt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tt.extend("--ft-button-neutral-icon-color","",rt.contentGlobalSecondary),tt.extend("--ft-button-neutral-color","",rt.contentGlobalSecondary),tt.extend("--ft-button-neutral-state-layer-color","",rt.contentGlobalSecondary),tt.extend("--ft-button-neutral-state-layer-opacity-hover","",ot.opacity8),tt.extend("--ft-button-neutral-state-layer-opacity-focus","",ot.opacity8),tt.extend("--ft-button-neutral-state-layer-opacity-active","",ot.opacity16),tt.extend("--ft-button-neutral-component-opacity-disabled","",ot.opacity40),tt.extend("--ft-tabs-top-left-border-radius","",ot.borderRadiusS),tt.extend("--ft-tabs-top-right-border-radius","",ot.borderRadiusS),tt.extend("--ft-tabs-label-horizontal-padding","",ot.spacing4),tt.extend("--ft-tabs-label-vertical-padding","",ot.spacing3),tt.extend("--ft-tabs-label-gap","",ot.spacing1),tt.extend("--ft-switch-group-horizontal-padding","",ot.spacing1),tt.extend("--ft-switch-group-vertical-padding","",ot.spacing1),tt.extend("--ft-switch-group-gap","",ot.spacing1),tt.extend("--ft-switch-group-background-color","",rt.backgroundGlobalSurface),tt.extend("--ft-switch-group-border-color","",rt.borderGlobalSubtle),tt.create("--ft-switch-group-border-radius","","SIZE","6px"),tt.extend("--ft-switch-label-horizontal-padding","",ot.spacing2),tt.extend("--ft-switch-label-vertical-padding","",ot.spacing1),tt.extend("--ft-switch-icon-horizontal-padding","",ot.spacing1),tt.extend("--ft-switch-icon-vertical-padding","",ot.spacing1),tt.create("--ft-switch-focus-outline-width","","SIZE","2px"),tt.extend("--ft-switch-focus-focus-ring-color","",rt.borderActionFocusRing),tt.extend("--ft-switch-option-border-radius","",ot.borderRadiusS),tt.extend("--ft-switch-off-state-layer-opacity-hover","",ot.opacity8),tt.extend("--ft-switch-off-state-layer-opacity-focus","",ot.opacity8),tt.extend("--ft-switch-off-state-layer-opacity-active","",ot.opacity16),tt.extend("--ft-switch-off-component-opacity-disabled","",ot.opacity40),tt.extend("--ft-switch-off-color","",rt.contentGlobalSubtle),tt.extend("--ft-switch-off-state-layer-color","",rt.contentGlobalSubtle),tt.extend("--ft-chart-1-light","for area color charts",ot.colorBrand40),tt.extend("--ft-chart-1-base","for line charts",ot.colorBrand0),tt.extend("--ft-chart-2-light","for area color charts",ot.colorYellow60),tt.extend("--ft-chart-2-base","for line charts",ot.colorYellow100),tt.extend("--ft-chart-3-light","",ot.colorUltramarine40),tt.extend("--ft-chart-3-base","",ot.colorUltramarine70),tt.extend("--ft-chart-4-light","",ot.colorCyan50),tt.extend("--ft-chart-4-base","",ot.colorCyan100),tt.extend("--ft-chart-5-light","",ot.colorRed40),tt.extend("--ft-chart-5-base","",ot.colorRed60),tt.extend("--ft-chart-6-light","",ot.colorGreen40),tt.extend("--ft-chart-6-base","",ot.colorGreen70),tt.extend("--ft-chart-7-light","",ot.colorOrange70),tt.extend("--ft-chart-7-base","",ot.colorOrange100),tt.extend("--ft-chart-8-light","",ot.colorAvocado70),tt.extend("--ft-chart-8-base","",ot.colorAvocado200),tt.extend("--ft-chart-9-light","",ot.colorBrown50),tt.extend("--ft-chart-9-base","",ot.colorBrown200),tt.extend("--ft-chart-10-light","",ot.colorGray50),tt.extend("--ft-chart-10-base","",ot.colorGray80),tt.extend("--ft-chart-monochrome-10","",ot.colorBrand10),tt.extend("--ft-chart-monochrome-20","",ot.colorBrand20),tt.extend("--ft-chart-monochrome-30","",ot.colorBrand40),tt.extend("--ft-chart-monochrome-40","",ot.colorBrand60),tt.extend("--ft-chart-monochrome-50","",ot.colorBrand0),tt.extend("--ft-chart-monochrome-60","",ot.colorBrand200),tt.extend("--ft-chip-large-horizontal-padding","",ot.spacing4),tt.extend("--ft-chip-large-vertical-padding","",ot.spacing2),tt.extend("--ft-chip-large-gap","",ot.spacing1),tt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),tt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),tt.extend("--ft-chip-large-border-radius","",ot.borderRadiusPill),tt.create("--ft-chip-large-border-width","","SIZE","1px"),tt.extend("--ft-chip-large-icon-size","",ot.iconSize3),tt.extend("--ft-chip-medium-horizontal-padding","",ot.spacing3),tt.extend("--ft-chip-medium-vertical-padding","",ot.spacing1),tt.extend("--ft-chip-medium-gap","",ot.spacing1),tt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),tt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),tt.extend("--ft-chip-medium-border-radius","",ot.borderRadiusPill),tt.create("--ft-chip-medium-border-width","","SIZE","1px"),tt.extend("--ft-chip-medium-icon-size","",ot.iconSize2),tt.extend("--ft-chip-small-horizontal-padding","",ot.spacing2),tt.extend("--ft-chip-small-vertical-padding","",ot.spacing05),tt.extend("--ft-chip-small-gap","",ot.spacing1),tt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),tt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),tt.extend("--ft-chip-small-border-radius","",ot.borderRadiusPill),tt.create("--ft-chip-small-border-width","","SIZE","1px"),tt.extend("--ft-chip-small-icon-size","",ot.iconSize1),tt.extend("--ft-chip-neutral-background-color","",rt.backgroundGlobalOnSurface),tt.extend("--ft-chip-neutral-color","",rt.contentGlobalPrimary),tt.extend("--ft-chip-neutral-border-color","",rt.borderGlobalSubtle),tt.extend("--ft-chip-info-background-color","",rt.backgroundInfoSubtle),tt.extend("--ft-chip-info-color","",rt.contentInfoPrimary),tt.extend("--ft-chip-info-border-color","",rt.borderInfoPrimary),tt.extend("--ft-chip-success-background-color","",rt.backgroundSuccessSubtle),tt.extend("--ft-chip-success-color","",rt.contentSuccessPrimary),tt.extend("--ft-chip-success-border-color","",rt.borderSuccessPrimary),tt.extend("--ft-chip-warning-background-color","",rt.backgroundWarningSubtle),tt.extend("--ft-chip-warning-color","",rt.contentWarningPrimary),tt.extend("--ft-chip-warning-border-color","",rt.borderWarningPrimary),tt.extend("--ft-chip-error-background-color","",rt.backgroundErrorSubtle),tt.extend("--ft-chip-error-color","",rt.contentErrorPrimary),tt.extend("--ft-chip-error-border-color","",rt.borderErrorPrimary),tt.create("--ft-notice-border-width","","SIZE","1px"),tt.extend("--ft-notice-horizontal-padding","",ot.spacing2),tt.extend("--ft-notice-vertical-padding","",ot.spacing1),tt.extend("--ft-notice-border-radius","",ot.borderRadiusS),tt.extend("--ft-notice-gap","",ot.spacing2),tt.extend("--ft-notice-icon-size","",ot.iconSize3),tt.extend("--ft-notice-info-background-color","",rt.backgroundInfoSubtle),tt.extend("--ft-notice-info-border-color","",rt.borderInfoPrimary),tt.extend("--ft-notice-info-color","",rt.contentInfoPrimary),tt.extend("--ft-notice-warning-background-color","",rt.backgroundWarningSubtle),tt.extend("--ft-notice-warning-border-color","",rt.borderWarningPrimary),tt.extend("--ft-notice-warning-color","",rt.contentWarningPrimary),tt.extend("--ft-checkbox-label-color","",rt.contentGlobalPrimary),tt.extend("--ft-checkbox-checked-background-color","",rt.contentActionPrimary),tt.extend("--ft-checkbox-checked-state-layer-color","",rt.contentActionPrimary),tt.extend("--ft-checkbox-checked-color","",rt.contentGlobalOnColor),tt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",ot.opacity16),tt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ot.opacity16),tt.extend("--ft-checkbox-checked-state-layer-opacity-active","",ot.opacity24),tt.extend("--ft-checkbox-checked-component-opacity-disabled","",ot.opacity40),tt.extend("--ft-checkbox-unchecked-border-color","",ot.colorGray80),tt.extend("--ft-checkbox-unchecked-state-layer-color","",ot.colorGray80),tt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ot.opacity16),tt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ot.opacity16),tt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ot.opacity24),tt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ot.opacity40),tt.extend("--ft-checkbox-focus-focus-ring-color","",rt.borderActionFocusRing),tt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),tt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),tt.extend("--ft-checkbox-gap","",ot.spacing3),tt.extend("--ft-toggle-off-state-layer-opacity-hover","",ot.opacity16),tt.extend("--ft-toggle-off-state-layer-opacity-focus","",ot.opacity16),tt.extend("--ft-toggle-off-state-layer-opacity-active","",ot.opacity24),tt.extend("--ft-toggle-off-component-opacity-disabled","",ot.opacity40),tt.extend("--ft-toggle-off-background-color","",rt.contentGlobalSubtle),tt.extend("--ft-toggle-off-icon-color","",rt.contentGlobalSubtle),tt.extend("--ft-toggle-off-state-layer-color","",rt.contentGlobalSubtle),tt.extend("--ft-toggle-on-state-layer-opacity-hover","",ot.opacity16),tt.extend("--ft-toggle-on-state-layer-opacity-focus","",ot.opacity16),tt.extend("--ft-toggle-on-state-layer-opacity-active","",ot.opacity24),tt.extend("--ft-toggle-on-component-opacity-disabled","",ot.opacity40),tt.extend("--ft-toggle-on-background-color","",rt.contentActionPrimary),tt.extend("--ft-toggle-on-icon-color","",rt.contentActionPrimary),tt.extend("--ft-toggle-on-state-layer-color","",rt.contentActionPrimary),tt.extend("--ft-toggle-label-color","",rt.contentGlobalPrimary),tt.extend("--ft-toggle-focus-focus-ring-color","",rt.borderActionFocusRing),tt.extend("--ft-toggle-gap","",ot.spacing3),tt.extend("--ft-radio-label-color","",rt.contentGlobalPrimary),tt.extend("--ft-radio-selected-color","",rt.contentActionPrimary),tt.extend("--ft-radio-selected-state-layer-color","",rt.contentActionPrimary),tt.extend("--ft-radio-selected-state-layer-opacity-hover","",ot.opacity16),tt.extend("--ft-radio-selected-state-layer-opacity-focus","",ot.opacity16),tt.extend("--ft-radio-selected-state-layer-opacity-active","",ot.opacity24),tt.extend("--ft-radio-selected-component-opacity-disabled","",ot.opacity40),tt.extend("--ft-radio-unselected-state-layer-color","",ot.colorGray80),tt.extend("--ft-radio-unselected-state-layer-opacity-hover","",ot.opacity16),tt.extend("--ft-radio-unselected-state-layer-opacity-focus","",ot.opacity16),tt.extend("--ft-radio-unselected-state-layer-opacity-active","",ot.opacity24),tt.extend("--ft-radio-unselected-component-opacity-disabled","",ot.opacity40),tt.extend("--ft-radio-focus-focus-ring-color","",rt.borderActionFocusRing),tt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),tt.create("--ft-radio-focus-outline-width","","SIZE","2px"),tt.extend("--ft-radio-gap","",ot.spacing3),tt.extend("--ft-notification-icon-size","",ot.iconSize4),tt.extend("--ft-notification-horizontal-padding","",ot.spacing4),tt.extend("--ft-notification-vertical-padding","",ot.spacing4),tt.extend("--ft-notification-info-background-color","",rt.backgroundInfoSubtle),tt.extend("--ft-notification-info-color","",rt.contentInfoPrimary),tt.extend("--ft-notification-info-border-color","",rt.borderInfoPrimary),tt.extend("--ft-notification-success-background-color","",rt.backgroundSuccessSubtle),tt.extend("--ft-notification-success-color","",rt.contentSuccessPrimary),tt.extend("--ft-notification-success-border-color","",rt.borderSuccessPrimary),tt.extend("--ft-notification-warning-background-color","",rt.backgroundWarningSubtle),tt.extend("--ft-notification-warning-color","",rt.contentWarningPrimary),tt.extend("--ft-notification-warning-border-color","",rt.borderWarningPrimary),tt.extend("--ft-notification-error-background-color","",rt.backgroundErrorSubtle),tt.extend("--ft-notification-error-color","",rt.contentErrorPrimary),tt.extend("--ft-notification-error-border-color","",rt.borderErrorPrimary),tt.extend("--ft-notification-border-radius","",ot.borderRadiusPill),tt.create("--ft-notification-border-width","","SIZE","1px"),tt.extend("--ft-notification-gap-leading","",ot.spacing2),tt.extend("--ft-notification-gap-trailing","",ot.spacing8);const at=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),it=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),nt={fontFamily:it,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")},lt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",at),ct=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",nt.fontSize,"20px"),pt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",nt.fontWeight,"normal"),st=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",nt.letterSpacing,"0.15px"),ft=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",nt.lineHeight,"1.2"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",nt.textTransform,"inherit"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",at),gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",nt.fontSize,"14px"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",nt.fontWeight,"normal"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",nt.letterSpacing,"0.105px"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",nt.lineHeight,"1.7"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",nt.textTransform,"inherit"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",it),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",nt.fontSize,"16px"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",nt.fontWeight,"600"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",nt.letterSpacing,"0.144px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",nt.lineHeight,"1.5"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",nt.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",it),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",nt.fontSize,"14px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",nt.fontWeight,"normal"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",nt.letterSpacing,"0.098px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",nt.lineHeight,"1.7"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",nt.textTransform,"inherit"),Et=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",it),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",nt.fontSize,"16px"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",nt.fontWeight,"normal"),$t=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",nt.letterSpacing,"0.496px"),kt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",nt.lineHeight,"1.5"),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",nt.textTransform,"inherit"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",it),Dt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",nt.fontSize,"14px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",nt.fontWeight,"normal"),At=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",nt.letterSpacing,"0.252px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",nt.lineHeight,"1.4"),Ht=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",nt.textTransform,"inherit"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",it),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",nt.fontSize,"12px"),jt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",nt.fontWeight,"normal"),Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",nt.letterSpacing,"0.396px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",nt.lineHeight,"1.33"),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",nt.textTransform,"inherit"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",it),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",nt.fontSize,"10px"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",nt.fontWeight,"normal"),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",nt.letterSpacing,"0.33px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",nt.lineHeight,"1.6"),to=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",nt.textTransform,"inherit"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",it),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",nt.fontSize,"10px"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",nt.fontWeight,"normal"),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",nt.letterSpacing,"1.5px"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",nt.lineHeight,"1.6"),no=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",nt.textTransform,"uppercase"),lo=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",it),co=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",nt.fontSize,"14px"),po=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",nt.fontWeight,"600"),so=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",nt.letterSpacing,"1.246px"),fo=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",nt.lineHeight,"1.15"),ho=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",nt.textTransform,"uppercase"),yo=e.css`
13
13
  .ft-typography--title {
14
- font-family: ${et};
15
- font-size: ${st};
16
- font-weight: ${ot};
17
- letter-spacing: ${nt};
18
- line-height: ${rt};
19
- text-transform: ${at};
14
+ font-family: ${lt};
15
+ font-size: ${ct};
16
+ font-weight: ${pt};
17
+ letter-spacing: ${st};
18
+ line-height: ${ft};
19
+ text-transform: ${ht};
20
20
  }
21
- `,li=e.css`
21
+ `,go=e.css`
22
22
  .ft-typography--title-dense {
23
- font-family: ${ht};
24
- font-size: ${lt};
25
- font-weight: ${pt};
26
- letter-spacing: ${ft};
27
- line-height: ${ct};
28
- text-transform: ${yt};
23
+ font-family: ${yt};
24
+ font-size: ${gt};
25
+ font-weight: ${dt};
26
+ letter-spacing: ${bt};
27
+ line-height: ${ut};
28
+ text-transform: ${mt};
29
29
  }
30
- `,pi=e.css`
30
+ `,bo=e.css`
31
31
  .ft-typography--subtitle1 {
32
- font-family: ${dt};
33
- font-size: ${ut};
34
- font-weight: ${gt};
32
+ font-family: ${Ot};
33
+ font-size: ${Nt};
34
+ font-weight: ${St};
35
35
  letter-spacing: ${vt};
36
- line-height: ${mt};
37
- text-transform: ${bt};
36
+ line-height: ${Ct};
37
+ text-transform: ${xt};
38
38
  }
39
- `,fi=e.css`
39
+ `,uo=e.css`
40
40
  .ft-typography--subtitle2 {
41
- font-family: ${$t};
41
+ font-family: ${It};
42
42
  font-size: ${wt};
43
- font-weight: ${xt};
44
- letter-spacing: ${Ct};
45
- line-height: ${St};
46
- text-transform: ${At};
43
+ font-weight: ${Ut};
44
+ letter-spacing: ${Rt};
45
+ line-height: ${Wt};
46
+ text-transform: ${Lt};
47
47
  }
48
48
 
49
- `,ci=e.css`
49
+ `,mo=e.css`
50
50
  .ft-typography--body1 {
51
- font-family: ${Mt};
52
- font-size: ${kt};
53
- font-weight: ${Ut};
54
- letter-spacing: ${zt};
55
- line-height: ${It};
56
- text-transform: ${Ot};
51
+ font-family: ${Et};
52
+ font-size: ${Kt};
53
+ font-weight: ${Zt};
54
+ letter-spacing: ${$t};
55
+ line-height: ${kt};
56
+ text-transform: ${zt};
57
57
  }
58
- `,yi=e.css`
58
+ `,Oo=e.css`
59
59
  .ft-typography--body2 {
60
- font-family: ${jt};
61
- font-size: ${Nt};
62
- font-weight: ${Tt};
63
- letter-spacing: ${_t};
64
- line-height: ${Lt};
65
- text-transform: ${Pt};
60
+ font-family: ${Ft};
61
+ font-size: ${Dt};
62
+ font-weight: ${Bt};
63
+ letter-spacing: ${At};
64
+ line-height: ${Gt};
65
+ text-transform: ${Ht};
66
66
  }
67
- `,di=e.css`
67
+ `,No=e.css`
68
68
  .ft-typography--caption {
69
- font-family: ${Bt};
70
- font-size: ${Et};
71
- font-weight: ${Rt};
72
- letter-spacing: ${Wt};
73
- line-height: ${Gt};
74
- text-transform: ${Kt};
69
+ font-family: ${Mt};
70
+ font-size: ${Pt};
71
+ font-weight: ${jt};
72
+ letter-spacing: ${Tt};
73
+ line-height: ${Yt};
74
+ text-transform: ${_t};
75
75
  }
76
- `,ui=e.css`
76
+ `,So=e.css`
77
77
  .ft-typography--breadcrumb {
78
- font-family: ${Zt};
79
- font-size: ${Ft};
80
- font-weight: ${Ht};
81
- letter-spacing: ${Dt};
82
- line-height: ${qt};
83
- text-transform: ${Jt};
78
+ font-family: ${Xt};
79
+ font-size: ${qt};
80
+ font-weight: ${Jt};
81
+ letter-spacing: ${Qt};
82
+ line-height: ${Vt};
83
+ text-transform: ${to};
84
84
  }
85
- `,gi=e.css`
85
+ `,vo=e.css`
86
86
  .ft-typography--overline {
87
- font-family: ${Qt};
88
- font-size: ${Vt};
89
- font-weight: ${Xt};
90
- letter-spacing: ${Yt};
91
- line-height: ${ti};
92
- text-transform: ${ii};
87
+ font-family: ${oo};
88
+ font-size: ${eo};
89
+ font-weight: ${ro};
90
+ letter-spacing: ${ao};
91
+ line-height: ${io};
92
+ text-transform: ${no};
93
93
  }
94
- `,vi=e.css`
94
+ `,Co=e.css`
95
95
  .ft-typography--button {
96
- font-family: ${ei};
97
- font-size: ${si};
98
- font-weight: ${oi};
99
- letter-spacing: ${ni};
100
- line-height: ${ri};
101
- text-transform: ${ai};
96
+ font-family: ${lo};
97
+ font-size: ${co};
98
+ font-weight: ${po};
99
+ letter-spacing: ${so};
100
+ line-height: ${fo};
101
+ text-transform: ${ho};
102
102
  }
103
- `,mi=e.css`
103
+ `,xo=e.css`
104
104
  .ft-typography {
105
105
  vertical-align: inherit;
106
106
  }
107
- `;var bi=function(t,i,e,s){for(var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class $i extends i.FtLitElement{constructor(){super(...arguments),this.variant=X.body1}render(){return this.element?V`
108
- <${J(this.element)}
109
- class="ft-typography ft-typography--${this.variant}">
107
+ `,Io=[Object.keys(et).map((t=>function(t){const o=et[t];return e.css`
108
+ .ft-typography--${e.unsafeCSS(t)} {
109
+ font-family: ${o.fontFamily};
110
+ font-size: ${o.fontSize};
111
+ font-weight: ${o.fontWeight};
112
+ letter-spacing: ${o.letterSpacing};
113
+ line-height: ${o.lineHeight};
114
+ text-transform: ${o.textCase};
115
+ }
116
+ `}(t)))];var wo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class Uo extends o.FtLitElement{constructor(){super(...arguments),this.variant=Q.body1}render(){return this.element?J`
117
+ <${X(this.element)}
118
+ class="ft-typography ft-typography--${this.variant}">
110
119
  <slot></slot>
111
- </${J(this.element)}>
112
- `:V`
120
+ </${X(this.element)}>
121
+ `:J`
113
122
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
114
- `}}$i.styles=[hi,li,pi,fi,ci,yi,di,ui,gi,vi,mi],bi([s.property()],$i.prototype,"element",void 0),bi([s.property()],$i.prototype,"variant",void 0),i.customElement("ft-typography")($i);const wi=e.css`
115
- `,xi=i.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,i)=>{t.baseUrl=i.payload},setApiIntegrationIdentifier:(t,i)=>{t.apiIntegrationIdentifier=i.payload},setUiLocale:(t,i)=>{t.uiLocale=i.payload},setAvailableUiLocales:(t,i)=>{t.availableUiLocales=i.payload},setEditorMode:(t,i)=>{t.editorMode=i.payload},setNoCustom:(t,i)=>{t.noCustom=i.payload},setNoCustomComponent:(t,i)=>{t.noCustomComponent=i.payload},setSession:(t,i)=>{t.session=i.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Ci{static build(t){const{baseUrl:i,apiIntegrationIdentifier:e}=xi.getState(),s=null!=t?t:e;if(i&&s&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(i,s,!0)}static get(t){var i;return null!=t?Ci.build(t):null!==(i=Ci.API)&&void 0!==i?i:Ci.API=Ci.build()}static await(t){return new Promise((i=>{let e=Ci.get(t);if(e)i(e);else{const s=xi.subscribe((()=>{e=Ci.get(t),e&&(s(),i(e))}))}}))}}var Si;const Ai=Symbol("clearAfterUnitTest");class Mi{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new i.CacheRegistry,this.listeners={},this.currentUiLocale="",this[Si]=()=>{this.defaultMessages={},this.cache=new i.CacheRegistry,this.listeners={}},this.currentUiLocale=xi.getState().uiLocale,xi.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=xi.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const i=t.name.toLowerCase();this.cache.setFinal(i,t),this.notify(i)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var s;if(t=t.toLowerCase(),Object.keys(e).length>0){const o={...null!==(s=this.defaultMessages[t])&&void 0!==s?s:{},...e};i.deepEqual(this.defaultMessages[t],o)||(this.defaultMessages[t]=o,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...s){var o,n,r;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(o=this.cache.getNow(t))||void 0===o?void 0:o.messages)&&void 0!==n?n:{};return new i.ParametrizedLabelResolver(null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},a).resolve(e,...s)}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,i){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(i),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(i)}}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=>i.delay(0).then((()=>t())).catch((()=>null)))))}}Si=Ai,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Mi((async(t,i)=>(await Ci.await()).getFluidTopicsMessageContext(t,i)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Mi((async(t,i)=>(await Ci.await()).getCustomMessageContext(t,i))));const ki=window.FluidTopicsI18nService,Ui=window.FluidTopicsCustomI18nService;var zi=function(t,i,e,s){for(var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class Ii extends i.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ci.get(),this.cache=new i.CacheRegistry,this.cleanSessionDebouncer=new i.Debouncer}render(){return e.html`
123
+ `}}Uo.styles=[yo,go,bo,uo,mo,Oo,No,So,vo,Co,xo,...Io],wo([r.property()],Uo.prototype,"element",void 0),wo([r.property()],Uo.prototype,"variant",void 0),o.customElement("ft-typography")(Uo);const Ro=e.css`
124
+ `,Wo=o.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Lo{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=Wo.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?Lo.build(t):null!==(o=Lo.API)&&void 0!==o?o:Lo.API=Lo.build()}static await(t){return new Promise((o=>{let e=Lo.get(t);if(e)o(e);else{const r=Wo.subscribe((()=>{e=Lo.get(t),e&&(r(),o(e))}))}}))}}var Eo;const Ko=Symbol("clearAfterUnitTest");class Zo{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[Eo]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=Wo.getState().uiLocale,Wo.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Wo.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 a={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var a,i,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(i=null===(a=this.cache.getNow(t))||void 0===a?void 0:a.messages)&&void 0!==i?i:{};return new o.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},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)))))}}Eo=Ko,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Zo((async(t,o)=>(await Lo.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Zo((async(t,o)=>(await Lo.await()).getCustomMessageContext(t,o))));const $o=window.FluidTopicsI18nService,ko=window.FluidTopicsCustomI18nService;var zo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class Fo extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Lo.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
116
125
  <slot></slot>
117
- `}update(t){super.update(t),t.has("baseUrl")&&xi.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&xi.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&xi.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&xi.actions.setNoCustom(this.noCustom),t.has("editorMode")&&xi.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&xi.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&xi.actions.setSession(this.session),t.has("availableUiLocales")&&xi.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ki.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const i=await t.getCurrentSession();return i.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),i.idleTimeoutInMillis),i}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Ii.elementDefinitions={},Ii.styles=wi,zi([s.property()],Ii.prototype,"baseUrl",void 0),zi([s.property()],Ii.prototype,"apiIntegrationIdentifier",void 0),zi([s.property()],Ii.prototype,"uiLocale",void 0),zi([i.jsonProperty([])],Ii.prototype,"availableUiLocales",void 0),zi([s.property({type:Boolean})],Ii.prototype,"editorMode",void 0),zi([s.property({type:Boolean})],Ii.prototype,"noCustom",void 0),zi([s.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ii.prototype,"noCustomComponent",void 0),zi([s.property({type:Boolean})],Ii.prototype,"withManualResources",void 0),zi([i.jsonProperty([])],Ii.prototype,"messageContexts",void 0),zi([i.jsonProperty(void 0)],Ii.prototype,"session",void 0),zi([s.property({type:Object})],Ii.prototype,"apiProvider",void 0);class Oi{async listMySearches(){var t;return(null===(t=xi.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ci.await()).listMySearches(xi.getState().session.profile.userId):[]}}const ji=new i.CacheRegistry;class Ni{async listMyBookmarks(){return ji.get("bookmarks",(async()=>(await Ci.await()).listMyBookmarks(xi.getState().session.profile.userId)))}clearCache(){ji.clear("bookmarks")}}const Ti=i.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=xi.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ni,xi.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=xi.getState();i.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(){Ti.actions.savedSearches(void 0)}clearMyBookmarks(){Ti.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Oi,i=await t.listMySearches();Ti.actions.savedSearches(i)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const i=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ti.actions.bookmarks(i)}}},i.customElement("ft-app-context")(Ii);const _i=e.css`
118
- `;var Li=function(t,i,e,s){for(var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const Pi=Symbol("i18nProperties"),Bi=Symbol("i18nUnsubs");function Ei(t){var i;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[i]=new Map}get i18nService(){return this.useCustomMessageContexts?Ui:ki}i18n(t,i,...e){var s;if("string"==typeof t)return this.i18nService.resolveMessage(t,i,...e);const o=null!==(s=t.args)&&void 0!==s?s:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...o)}onI18nUpdate(t){var i;null===(i=this[Pi])||void 0===i||i.forEach(((i,e)=>{i.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(i))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var i;super.update(t),null===(i=this[Pi])||void 0===i||i.forEach(((t,i)=>{null!=t.argsProvider&&(this[i]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Pi]&&new Set([...this[Pi].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,i){t=t.toLowerCase(),this[Bi].has(t)||this[Bi].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=i?i:{})}addI18nContext(t,i){this.addI18nMessages(t.name,i)}disconnectedCallback(){super.disconnectedCallback(),this[Bi].forEach((t=>t())),this[Bi].clear()}}return i=Bi,Li([s.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Ri extends(Ei(i.FtLitElement)){}class Wi extends(Ei(i.FtLitElementRedux)){}var Gi=function(t,i,e,s){for(var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class Ki extends Wi{constructor(){super(),this.editorMode=!1,this.addStore(xi)}render(){return this.key&&this.context?e.html`
126
+ `}update(t){super.update(t),t.has("baseUrl")&&Wo.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Wo.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Wo.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Wo.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Wo.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Wo.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Wo.actions.setSession(this.session),t.has("availableUiLocales")&&Wo.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>$o.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Fo.elementDefinitions={},Fo.styles=Ro,zo([r.property()],Fo.prototype,"baseUrl",void 0),zo([r.property()],Fo.prototype,"apiIntegrationIdentifier",void 0),zo([r.property()],Fo.prototype,"uiLocale",void 0),zo([o.jsonProperty([])],Fo.prototype,"availableUiLocales",void 0),zo([r.property({type:Boolean})],Fo.prototype,"editorMode",void 0),zo([r.property({type:Boolean})],Fo.prototype,"noCustom",void 0),zo([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Fo.prototype,"noCustomComponent",void 0),zo([r.property({type:Boolean})],Fo.prototype,"withManualResources",void 0),zo([o.jsonProperty([])],Fo.prototype,"messageContexts",void 0),zo([o.jsonProperty(void 0)],Fo.prototype,"session",void 0),zo([r.property({type:Object})],Fo.prototype,"apiProvider",void 0);class Do{async listMySearches(){var t;return(null===(t=Wo.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Lo.await()).listMySearches(Wo.getState().session.profile.userId):[]}}const Bo=new o.CacheRegistry;class Ao{async listMyBookmarks(){return Bo.get("bookmarks",(async()=>(await Lo.await()).listMyBookmarks(Wo.getState().session.profile.userId)))}clearCache(){Bo.clear("bookmarks")}}const Go=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Wo.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ao,Wo.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Wo.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(){Go.actions.savedSearches(void 0)}clearMyBookmarks(){Go.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Do,o=await t.listMySearches();Go.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;Go.actions.bookmarks(o)}}},o.customElement("ft-app-context")(Fo);const Ho=e.css`
127
+ `;var Mo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};const Po=Symbol("i18nProperties"),jo=Symbol("i18nUnsubs");function To(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?ko:$o}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const a=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...a)}onI18nUpdate(t){var o;null===(o=this[Po])||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[Po])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Po]&&new Set([...this[Po].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[jo].has(t)||this[jo].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[jo].forEach((t=>t())),this[jo].clear()}}return o=jo,Mo([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Yo extends(To(o.FtLitElement)){}class _o extends(To(o.FtLitElementRedux)){}var Xo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class qo extends _o{constructor(){super(),this.editorMode=!1,this.addStore(Wo)}render(){return this.key&&this.context?e.html`
119
128
  <span class="ft-i18n">
120
129
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
121
130
  </span>
122
- `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Ki.elementDefinitions={},Ki.styles=_i,Gi([i.redux()],Ki.prototype,"editorMode",void 0),Gi([s.property()],Ki.prototype,"context",void 0),Gi([s.property()],Ki.prototype,"key",void 0),Gi([i.jsonProperty([])],Ki.prototype,"args",void 0),Gi([s.property()],Ki.prototype,"defaultMessage",void 0);class Zi{static build(t){return new Zi(t)}static fromGwt(t){return new Zi(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,i)=>{const e=i;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,i)=>(...t)=>ki.resolveMessage(this.name,i,...t)})}}i.customElement("ft-i18n")(Ki);const Fi=Zi.build("readerPageTitle"),Hi={pageTitle:"Page title"};var Di=function(t,i,e,s){for(var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class qi extends(Ei(l)){constructor(){super(),this.target="current",this.editorMode=!1,this.addStore(xi),this.addI18nContext(Fi,Hi)}render(){var t,i;const s=null!==(i=null===(t=this.targetPage)||void 0===t?void 0:t.title)&&void 0!==i?i:this.editorMode?Fi.messages.pageTitle():void 0;return s?e.html`<ft-typography variant="title" part="text">${s}</ft-typography>`:e.nothing}update(t){var i;if(super.update(t),t.has("currentPage")||t.has("target")){const t=this.computeOffset(this.target);if(this.currentPage&&0!=t){const e=this.currentPage.number+t;null===(i=this.service)||void 0===i||i.getPage(e).then((t=>{t.number==e?this.targetPage=t:this.targetPage=void 0}))}else this.targetPage=this.currentPage}}computeOffset(t){switch(t){case"next":return 1;case"previous":return-1;default:return 0}}}qi.styles=o,qi.elementDefinitions={"ft-typography":$i},Di([s.property()],qi.prototype,"target",void 0),Di([i.redux({store:"reader"})],qi.prototype,"currentPage",void 0),Di([s.state()],qi.prototype,"targetPage",void 0),Di([i.redux({store:xi.name})],qi.prototype,"editorMode",void 0),i.customElement("ft-reader-page-title")(qi),t.FtReaderPageTitle=qi,t.FtReaderPageTitleCssVariables={},t.styles=o}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators);
131
+ `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}qo.elementDefinitions={},qo.styles=Ho,Xo([o.redux()],qo.prototype,"editorMode",void 0),Xo([r.property()],qo.prototype,"context",void 0),Xo([r.property()],qo.prototype,"key",void 0),Xo([o.jsonProperty([])],qo.prototype,"args",void 0),Xo([r.property()],qo.prototype,"defaultMessage",void 0);class Jo{static build(t){return new Jo(t)}static fromGwt(t){return new Jo(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)=>$o.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(qo);const Qo=Jo.build("readerPageTitle"),Vo={pageTitle:"Page title"};var te=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class oe extends(To(p)){constructor(){super(),this.target="current",this.editorMode=!1,this.addStore(Wo),this.addI18nContext(Qo,Vo)}render(){var t,o;const r=null!==(o=null===(t=this.targetPage)||void 0===t?void 0:t.title)&&void 0!==o?o:this.editorMode?Qo.messages.pageTitle():void 0;return r?e.html`<ft-typography variant="title" part="text">${r}</ft-typography>`:e.nothing}update(t){var o;if(super.update(t),t.has("currentPage")||t.has("target")){const t=this.computeOffset(this.target);if(this.currentPage&&0!=t){const e=this.currentPage.number+t;null===(o=this.service)||void 0===o||o.getPage(e).then((t=>{t.number==e?this.targetPage=t:this.targetPage=void 0}))}else this.targetPage=this.currentPage}}computeOffset(t){switch(t){case"next":return 1;case"previous":return-1;default:return 0}}}oe.styles=a,oe.elementDefinitions={"ft-typography":Uo},te([r.property()],oe.prototype,"target",void 0),te([o.redux({store:"reader"})],oe.prototype,"currentPage",void 0),te([r.state()],oe.prototype,"targetPage",void 0),te([o.redux({store:Wo.name})],oe.prototype,"editorMode",void 0),o.customElement("ft-reader-page-title")(oe),t.FtReaderPageTitle=oe,t.FtReaderPageTitleCssVariables={},t.styles=a}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators);