@fluid-topics/ft-reader-toc 1.1.21 → 1.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-reader-toc.light.js +2 -2
- package/build/ft-reader-toc.min.js +216 -215
- package/package.json +7 -7
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=o.call(r,t);p||(p=f(t),e.call(r,t,p)),this===window.customElements&&(a.set(i,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=p(o)||window.customElements,i=r._getDefinition(e);return i?u(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=o.call(r,t);p||(p=f(t),e.call(r,t,p)),this===window.customElements&&(a.set(i,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=p(o)||window.customElements,i=r._getDefinition(e);return i?u(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(en){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
@@ -81,16 +81,17 @@ const Mt=globalThis,Dt=Mt.trustedTypes,Pt=Dt?Dt.createPolicy("lit-html",{createH
|
|
|
81
81
|
* Copyright 2017 Google LLC
|
|
82
82
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
83
83
|
*/
|
|
84
|
-
let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new ue(e.insertBefore(Vt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ae}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const Ne=globalThis.litElementPolyfillSupport;Ne?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const Se=t=>"string"==typeof t?Nt(t):t;class we{static create(t,e,o,r){const i=t=>Se(null!=t?t:r),n=St`var(${Se(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>St`var(${Se(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=St`var(${Se(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>St`var(${Se(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Se(null!=e?e:t.lastResortDefaultValue()),r=St`var(${Se(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>St`var(${Se(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Ce(t,e){return Se(`${t.name}: ${e}`)}const $e={colorWhite:we.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:we.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:we.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:we.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:we.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:we.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:we.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:we.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:we.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:we.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:we.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:we.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:we.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:we.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:we.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:we.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:we.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:we.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:we.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:we.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:we.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:we.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:we.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:we.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:we.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:we.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:we.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:we.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:we.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:we.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:we.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:we.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:we.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:we.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:we.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:we.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:we.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:we.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:we.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:we.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:we.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:we.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:we.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:we.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:we.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:we.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:we.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:we.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:we.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:we.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:we.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:we.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:we.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:we.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:we.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:we.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:we.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:we.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:we.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:we.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:we.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:we.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:we.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:we.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:we.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:we.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:we.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:we.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:we.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:we.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:we.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:we.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:we.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:we.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:we.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:we.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:we.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:we.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:we.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:we.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:we.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:we.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:we.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:we.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:we.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:we.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:we.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:we.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:we.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:we.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:we.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:we.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:we.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:we.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:we.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:we.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:we.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:we.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:we.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:we.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:we.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:we.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:we.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:we.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:we.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:we.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:we.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:we.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:we.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:we.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:we.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:we.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:we.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:we.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:we.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:we.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:we.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:we.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:we.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:we.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:we.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:we.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:we.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:we.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:we.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:we.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:we.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:we.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:we.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:we.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:we.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:we.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:we.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:we.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:we.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:we.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:we.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:we.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:we.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:we.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:we.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:we.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:we.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:we.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:we.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:we.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:we.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:we.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:we.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:we.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:we.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:we.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:we.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:we.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:we.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:we.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:we.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:we.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:we.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:we.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:we.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:we.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:we.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:we.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:we.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:we.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:we.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:we.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:we.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:we.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:we.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:we.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:we.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:we.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:we.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:we.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:we.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:we.create("--ft-icon-size-6","","SIZE","48px"),opacity0:we.create("--ft-opacity-0","","NUMBER","0"),opacity8:we.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:we.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:we.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:we.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:we.create("--ft-opacity-80","","NUMBER","0.8")},Re={display:{fontFamily:we.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:we.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:we.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:we.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:we.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:we.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:we.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:we.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:we.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:we.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:we.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:we.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:we.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:we.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:we.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:we.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:we.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:we.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:we.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:we.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:we.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:we.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:we.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:we.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:we.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:we.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:we.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:we.extend("--ft-background-action-primary","Used as backgorund of primary action components.",$e.colorBrand0),backgroundErrorPrimary:we.extend("--ft-background-error-primary","Used as background of error components.",$e.colorRed0),backgroundErrorSubtle:we.extend("--ft-background-error-subtle","Used as background of subtle error components.",$e.colorRed10),backgroundInfoPrimary:we.extend("--ft-background-info-primary","Used as background of information components.",$e.colorCyan200),backgroundInfoSubtle:we.extend("--ft-background-info-subtle","Used as background of subtle information components.",$e.colorCyan10),backgroundWarningPrimary:we.extend("--ft-background-warning-primary","Used as background of warning components.",$e.colorOrange300),backgroundWarningSubtle:we.extend("--ft-background-warning-subtle","Used as background of subtle information components.",$e.colorOrange10),backgroundSuccessPrimary:we.extend("--ft-background-success-primary","Used as background of success components.",$e.colorGreen200),backgroundSuccessSubtle:we.extend("--ft-background-success-subtle","Used as background of subtle success components.",$e.colorGreen10),backgroundGlobalSurface:we.extend("--ft-background-global-surface","Used as app background.",$e.colorWhite),backgroundGlobalOnSurface:we.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",$e.colorGray10),backgroundGlobalOnSurfaceDark:we.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",$e.colorGray30),contentActionPrimary:we.extend("--ft-content-action-primary","Used on label of primary action on light surface.",$e.colorBrand0),contentWarningPrimary:we.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",$e.colorOrange300),contentWarningIconOnly:we.extend("--ft-content-warning-icon-only","Used on warning status icons alone",$e.colorOrange0),contentErrorPrimary:we.extend("--ft-content-error-primary","Used on label of error messages on light surface.",$e.colorRed0),contentErrorIconOnly:we.extend("--ft-content-error-icon-only","Used on error status icons alone",$e.colorRed0),contentInfoPrimary:we.extend("--ft-content-info-primary","Used on label of information messages on light surface.",$e.colorCyan200),contentInfoIconOnly:we.extend("--ft-content-info-icon-only","Used on info status icons alone",$e.colorCyan0),contentSuccessIconOnly:we.extend("--ft-content-success-icon-only","Used on success status icons alone",$e.colorGreen0),contentSuccessPrimary:we.extend("--ft-content-success-primary","Used on label of success messages on light surface.",$e.colorGreen200),contentGlobalPrimary:we.extend("--ft-content-global-primary","Used for main content on the page.",$e.colorGray500),contentGlobalSecondary:we.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",$e.colorGray200),contentGlobalSubtle:we.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",$e.colorGray0),contentGlobalOnColor:we.extend("--ft-content-global-on-color","Used for content on a dominant color.",$e.colorWhite),borderActionPrimary:we.extend("--ft-border-action-primary","Used as border for primary action components.",$e.colorBrand0),borderActionFocusRing:we.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",$e.colorCyan0),borderWarningPrimary:we.extend("--ft-border-warning-primary","Used as border for warning components.",$e.colorOrange30),borderSuccessPrimary:we.extend("--ft-border-success-primary","Used as border for success components.",$e.colorGreen30),borderErrorPrimary:we.extend("--ft-border-error-primary","Used as border for error components.",$e.colorRed30),borderInfoPrimary:we.extend("--ft-border-info-primary","Used as border for information components.",$e.colorCyan30),borderGlobalSubtle:we.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",$e.colorGray30),borderGlobalPrimary:we.extend("--ft-border-global-primary","Used as border for element like input.",$e.colorGray50),borderInputPrimary:we.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",$e.colorGray80)},ke={largeHeight:we.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:we.extend("--ft-button-large-horizontal-padding","",$e.spacing4),largeGap:we.extend("--ft-button-large-gap","",$e.spacing2),largeBorderRadius:we.extend("--ft-button-large-border-radius","",$e.borderRadiusS),largeIconSize:we.extend("--ft-button-large-icon-size","",$e.iconSize3),largeBorderWidth:we.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:we.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:we.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:we.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:we.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:we.extend("--ft-button-small-horizontal-padding","",$e.spacing3),smallGap:we.extend("--ft-button-small-gap","",$e.spacing2),smallBorderRadius:we.extend("--ft-button-small-border-radius","",$e.borderRadiusS),smallIconSize:we.extend("--ft-button-small-icon-size","",$e.iconSize2),smallBorderWidth:we.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:we.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:we.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:we.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:we.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),primaryColor:we.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),primaryIconColor:we.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),primaryStateLayerColor:we.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),primaryStateLayerOpacityHover:we.extend("--ft-button-primary-state-layer-opacity-hover","",$e.opacity16),primaryStateLayerOpacityFocus:we.extend("--ft-button-primary-state-layer-opacity-focus","",$e.opacity16),primaryStateLayerOpacityActive:we.extend("--ft-button-primary-state-layer-opacity-active","",$e.opacity24),primaryComponentOpacityDisabled:we.extend("--ft-button-primary-component-opacity-disabled","",$e.opacity40),focusFocusRingColor:we.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),tertiaryBackgroundColor:we.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:we.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),tertiaryIconColor:we.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),tertiaryStateLayerColor:we.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),tertiaryStateLayerOpacityHover:we.extend("--ft-button-tertiary-state-layer-opacity-hover","",$e.opacity8),tertiaryStateLayerOpacityFocus:we.extend("--ft-button-tertiary-state-layer-opacity-focus","",$e.opacity8),tertiaryStateLayerOpacityActive:we.extend("--ft-button-tertiary-state-layer-opacity-active","",$e.opacity16),tertiaryComponentOpacityDisabled:we.extend("--ft-button-tertiary-component-opacity-disabled","",$e.opacity40),secondaryBackgroundColor:we.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:we.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),secondaryIconColor:we.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),secondaryStateLayerColor:we.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),secondaryStateLayerOpacityHover:we.extend("--ft-button-secondary-state-layer-opacity-hover","",$e.opacity8),secondaryStateLayerOpacityFocus:we.extend("--ft-button-secondary-state-layer-opacity-focus","",$e.opacity8),secondaryStateLayerOpacityActive:we.extend("--ft-button-secondary-state-layer-opacity-active","",$e.opacity16),secondaryComponentOpacityDisabled:we.extend("--ft-button-secondary-component-opacity-disabled","",$e.opacity40),secondaryBorderColor:we.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),neutralBackgroundColor:we.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:we.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),neutralColor:we.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),neutralStateLayerColor:we.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),neutralStateLayerOpacityHover:we.extend("--ft-button-neutral-state-layer-opacity-hover","",$e.opacity8),neutralStateLayerOpacityFocus:we.extend("--ft-button-neutral-state-layer-opacity-focus","",$e.opacity8),neutralStateLayerOpacityActive:we.extend("--ft-button-neutral-state-layer-opacity-active","",$e.opacity16),neutralComponentOpacityDisabled:we.extend("--ft-button-neutral-component-opacity-disabled","",$e.opacity40)};we.extend("--ft-tabs-top-left-border-radius","",$e.borderRadiusS),we.extend("--ft-tabs-top-right-border-radius","",$e.borderRadiusS),we.extend("--ft-tabs-label-horizontal-padding","",$e.spacing4),we.extend("--ft-tabs-label-vertical-padding","",$e.spacing3),we.extend("--ft-tabs-label-gap","",$e.spacing1),we.extend("--ft-switch-group-horizontal-padding","",$e.spacing1),we.extend("--ft-switch-group-vertical-padding","",$e.spacing1),we.extend("--ft-switch-group-gap","",$e.spacing1),we.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),we.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),we.create("--ft-switch-group-border-radius","","SIZE","6px"),we.extend("--ft-switch-label-horizontal-padding","",$e.spacing2),we.extend("--ft-switch-label-vertical-padding","",$e.spacing1),we.extend("--ft-switch-icon-horizontal-padding","",$e.spacing1),we.extend("--ft-switch-icon-vertical-padding","",$e.spacing1),we.create("--ft-switch-focus-outline-width","","SIZE","2px"),we.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),we.extend("--ft-switch-option-border-radius","",$e.borderRadiusS),we.extend("--ft-switch-off-state-layer-opacity-hover","",$e.opacity8),we.extend("--ft-switch-off-state-layer-opacity-focus","",$e.opacity8),we.extend("--ft-switch-off-state-layer-opacity-active","",$e.opacity16),we.extend("--ft-switch-off-component-opacity-disabled","",$e.opacity40),we.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),we.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),we.extend("--ft-chart-1-light","for area color charts",$e.colorBrand40),we.extend("--ft-chart-1-base","for line charts",$e.colorBrand0),we.extend("--ft-chart-2-light","for area color charts",$e.colorYellow60),we.extend("--ft-chart-2-base","for line charts",$e.colorYellow100),we.extend("--ft-chart-3-light","",$e.colorUltramarine40),we.extend("--ft-chart-3-base","",$e.colorUltramarine70),we.extend("--ft-chart-4-light","",$e.colorCyan50),we.extend("--ft-chart-4-base","",$e.colorCyan100),we.extend("--ft-chart-5-light","",$e.colorRed40),we.extend("--ft-chart-5-base","",$e.colorRed60),we.extend("--ft-chart-6-light","",$e.colorGreen40),we.extend("--ft-chart-6-base","",$e.colorGreen70),we.extend("--ft-chart-7-light","",$e.colorOrange70),we.extend("--ft-chart-7-base","",$e.colorOrange100),we.extend("--ft-chart-8-light","",$e.colorAvocado70),we.extend("--ft-chart-8-base","",$e.colorAvocado200),we.extend("--ft-chart-9-light","",$e.colorBrown50),we.extend("--ft-chart-9-base","",$e.colorBrown200),we.extend("--ft-chart-10-light","",$e.colorGray50),we.extend("--ft-chart-10-base","",$e.colorGray80),we.extend("--ft-chart-monochrome-10","",$e.colorBrand10),we.extend("--ft-chart-monochrome-20","",$e.colorBrand20),we.extend("--ft-chart-monochrome-30","",$e.colorBrand40),we.extend("--ft-chart-monochrome-40","",$e.colorBrand60),we.extend("--ft-chart-monochrome-50","",$e.colorBrand0),we.extend("--ft-chart-monochrome-60","",$e.colorBrand200),we.extend("--ft-chip-large-horizontal-padding","",$e.spacing4),we.extend("--ft-chip-large-vertical-padding","",$e.spacing2),we.extend("--ft-chip-large-gap","",$e.spacing1),we.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-large-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-large-border-width","","SIZE","1px"),we.extend("--ft-chip-large-icon-size","",$e.iconSize3),we.extend("--ft-chip-medium-horizontal-padding","",$e.spacing3),we.extend("--ft-chip-medium-vertical-padding","",$e.spacing1),we.extend("--ft-chip-medium-gap","",$e.spacing1),we.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-medium-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-medium-border-width","","SIZE","1px"),we.extend("--ft-chip-medium-icon-size","",$e.iconSize2),we.extend("--ft-chip-small-horizontal-padding","",$e.spacing2),we.extend("--ft-chip-small-vertical-padding","",$e.spacing05),we.extend("--ft-chip-small-gap","",$e.spacing1),we.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-small-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-small-border-width","","SIZE","1px"),we.extend("--ft-chip-small-icon-size","",$e.iconSize1),we.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),we.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),we.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),we.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),we.extend("--ft-chip-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),we.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),we.extend("--ft-chip-success-border-color","",Ee.borderSuccessPrimary),we.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-chip-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),we.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),we.extend("--ft-chip-error-border-color","",Ee.borderErrorPrimary),we.create("--ft-notice-border-width","","SIZE","1px"),we.extend("--ft-notice-horizontal-padding","",$e.spacing2),we.extend("--ft-notice-vertical-padding","",$e.spacing1),we.extend("--ft-notice-border-radius","",$e.borderRadiusS),we.extend("--ft-notice-gap","",$e.spacing2),we.extend("--ft-notice-icon-size","",$e.iconSize3),we.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-notice-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),we.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-notice-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),we.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),we.extend("--ft-checkbox-checked-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-checkbox-checked-component-opacity-disabled","",$e.opacity40),we.extend("--ft-checkbox-unchecked-border-color","",$e.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-color","",$e.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-checkbox-unchecked-component-opacity-disabled","",$e.opacity40),we.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),we.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),we.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),we.extend("--ft-checkbox-gap","",$e.spacing3),we.extend("--ft-toggle-off-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-toggle-off-component-opacity-disabled","",$e.opacity40),we.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-on-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-toggle-on-component-opacity-disabled","",$e.opacity40),we.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),we.extend("--ft-toggle-gap","",$e.spacing3),we.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-radio-selected-component-opacity-disabled","",$e.opacity40),we.extend("--ft-radio-unselected-state-layer-color","",$e.colorGray80),we.extend("--ft-radio-unselected-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-radio-unselected-component-opacity-disabled","",$e.opacity40),we.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),we.create("--ft-radio-focus-outline-offset","","SIZE","3px"),we.create("--ft-radio-focus-outline-width","","SIZE","2px"),we.extend("--ft-radio-gap","",$e.spacing3),we.extend("--ft-notification-icon-size","",$e.iconSize4),we.extend("--ft-notification-horizontal-padding","",$e.spacing4),we.extend("--ft-notification-vertical-padding","",$e.spacing4),we.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),we.extend("--ft-notification-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),we.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),we.extend("--ft-notification-success-border-color","",Ee.borderSuccessPrimary),we.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-notification-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),we.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),we.extend("--ft-notification-error-border-color","",Ee.borderErrorPrimary),we.extend("--ft-notification-border-radius","",$e.borderRadiusPill),we.create("--ft-notification-border-width","","SIZE","1px"),we.extend("--ft-notification-gap-leading","",$e.spacing2),we.extend("--ft-notification-gap-trailing","",$e.spacing8);const Ie={colorPrimary:we.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:we.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:we.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:we.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:we.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:we.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:we.create("--ft-color-error","","COLOR","#B00020"),colorOutline:we.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:we.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:we.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:we.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:we.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:we.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:we.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:we.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:we.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:we.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:we.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:we.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:we.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:we.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:we.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:we.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:we.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:we.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:we.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:we.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:we.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:we.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:we.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:we.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:we.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:we.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:we.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:we.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:we.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:we.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:we.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:we.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:we.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:we.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:we.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:we.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:we.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:we.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:we.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:we.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:we.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:we.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:we.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:we.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:we.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:we.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:we.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:we.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:we.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:we.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:we.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:we.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:we.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ue=window,Le=Ue.ShadowRoot&&(void 0===Ue.ShadyCSS||Ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
84
|
+
let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new ue(e.insertBefore(Vt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ae}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const Ne=globalThis.litElementPolyfillSupport;Ne?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const Se=t=>"string"==typeof t?Nt(t):t;class we{static create(t,e,o,r){const i=t=>Se(null!=t?t:r),n=St`var(${Se(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>St`var(${Se(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=St`var(${Se(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>St`var(${Se(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Se(null!=e?e:t.lastResortDefaultValue()),r=St`var(${Se(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>St`var(${Se(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Ce(t,e){return Se(`${t.name}: ${e}`)}const $e={colorWhite:we.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:we.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:we.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:we.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:we.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:we.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:we.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:we.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:we.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:we.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:we.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:we.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:we.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:we.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:we.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:we.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:we.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:we.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:we.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:we.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:we.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:we.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:we.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:we.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:we.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:we.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:we.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:we.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:we.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:we.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:we.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:we.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:we.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:we.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:we.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:we.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:we.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:we.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:we.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:we.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:we.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:we.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:we.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:we.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:we.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:we.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:we.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:we.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:we.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:we.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:we.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:we.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:we.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:we.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:we.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:we.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:we.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:we.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:we.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:we.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:we.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:we.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:we.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:we.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:we.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:we.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:we.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:we.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:we.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:we.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:we.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:we.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:we.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:we.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:we.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:we.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:we.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:we.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:we.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:we.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:we.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:we.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:we.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:we.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:we.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:we.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:we.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:we.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:we.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:we.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:we.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:we.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:we.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:we.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:we.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:we.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:we.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:we.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:we.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:we.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:we.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:we.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:we.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:we.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:we.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:we.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:we.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:we.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:we.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:we.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:we.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:we.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:we.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:we.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:we.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:we.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:we.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:we.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:we.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:we.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:we.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:we.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:we.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:we.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:we.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:we.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:we.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:we.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:we.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:we.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:we.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:we.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:we.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:we.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:we.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:we.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:we.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:we.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:we.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:we.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:we.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:we.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:we.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:we.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:we.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:we.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:we.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:we.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:we.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:we.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:we.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:we.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:we.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:we.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:we.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:we.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:we.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:we.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:we.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:we.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:we.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:we.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:we.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:we.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:we.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:we.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:we.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:we.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:we.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:we.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:we.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:we.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:we.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:we.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:we.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:we.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:we.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:we.create("--ft-icon-size-6","","SIZE","48px"),opacity0:we.create("--ft-opacity-0","","NUMBER","0"),opacity8:we.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:we.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:we.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:we.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:we.create("--ft-opacity-80","","NUMBER","0.8")},Re={display:{fontFamily:we.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:we.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:we.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:we.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:we.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:we.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:we.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:we.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:we.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:we.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:we.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:we.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:we.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:we.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:we.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:we.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:we.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:we.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:we.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:we.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:we.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:we.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:we.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:we.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:we.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:we.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:we.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:we.extend("--ft-background-action-primary","Used as backgorund of primary action components.",$e.colorBrand0),backgroundErrorPrimary:we.extend("--ft-background-error-primary","Used as background of error components.",$e.colorRed0),backgroundErrorSubtle:we.extend("--ft-background-error-subtle","Used as background of subtle error components.",$e.colorRed10),backgroundInfoPrimary:we.extend("--ft-background-info-primary","Used as background of information components.",$e.colorCyan200),backgroundInfoSubtle:we.extend("--ft-background-info-subtle","Used as background of subtle information components.",$e.colorCyan10),backgroundWarningPrimary:we.extend("--ft-background-warning-primary","Used as background of warning components.",$e.colorOrange300),backgroundWarningSubtle:we.extend("--ft-background-warning-subtle","Used as background of subtle information components.",$e.colorOrange10),backgroundSuccessPrimary:we.extend("--ft-background-success-primary","Used as background of success components.",$e.colorGreen200),backgroundSuccessSubtle:we.extend("--ft-background-success-subtle","Used as background of subtle success components.",$e.colorGreen10),backgroundGlobalSurface:we.extend("--ft-background-global-surface","Used as app background.",$e.colorWhite),backgroundGlobalOnSurface:we.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",$e.colorGray10),backgroundGlobalOnSurfaceDark:we.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",$e.colorGray30),contentActionPrimary:we.extend("--ft-content-action-primary","Used on label of primary action on light surface.",$e.colorBrand0),contentWarningPrimary:we.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",$e.colorOrange300),contentWarningIconOnly:we.extend("--ft-content-warning-icon-only","Used on warning status icons alone",$e.colorOrange0),contentErrorPrimary:we.extend("--ft-content-error-primary","Used on label of error messages on light surface.",$e.colorRed0),contentErrorIconOnly:we.extend("--ft-content-error-icon-only","Used on error status icons alone",$e.colorRed0),contentInfoPrimary:we.extend("--ft-content-info-primary","Used on label of information messages on light surface.",$e.colorCyan200),contentInfoIconOnly:we.extend("--ft-content-info-icon-only","Used on info status icons alone",$e.colorCyan0),contentSuccessIconOnly:we.extend("--ft-content-success-icon-only","Used on success status icons alone",$e.colorGreen0),contentSuccessPrimary:we.extend("--ft-content-success-primary","Used on label of success messages on light surface.",$e.colorGreen200),contentGlobalPrimary:we.extend("--ft-content-global-primary","Used for main content on the page.",$e.colorGray500),contentGlobalSecondary:we.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",$e.colorGray200),contentGlobalSubtle:we.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",$e.colorGray0),contentGlobalOnColor:we.extend("--ft-content-global-on-color","Used for content on a dominant color.",$e.colorWhite),borderActionPrimary:we.extend("--ft-border-action-primary","Used as border for primary action components.",$e.colorBrand0),borderActionFocusRing:we.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",$e.colorCyan0),borderWarningPrimary:we.extend("--ft-border-warning-primary","Used as border for warning components.",$e.colorOrange30),borderSuccessPrimary:we.extend("--ft-border-success-primary","Used as border for success components.",$e.colorGreen30),borderErrorPrimary:we.extend("--ft-border-error-primary","Used as border for error components.",$e.colorRed30),borderInfoPrimary:we.extend("--ft-border-info-primary","Used as border for information components.",$e.colorCyan30),borderGlobalSubtle:we.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",$e.colorGray30),borderGlobalPrimary:we.extend("--ft-border-global-primary","Used as border for element like input.",$e.colorGray50),borderInputPrimary:we.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",$e.colorGray80)},ke={largeHeight:we.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:we.extend("--ft-button-large-horizontal-padding","",$e.spacing4),largeGap:we.extend("--ft-button-large-gap","",$e.spacing2),largeBorderRadius:we.extend("--ft-button-large-border-radius","",$e.borderRadiusS),largeIconSize:we.extend("--ft-button-large-icon-size","",$e.iconSize3),largeBorderWidth:we.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:we.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:we.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:we.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:we.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:we.extend("--ft-button-small-horizontal-padding","",$e.spacing3),smallGap:we.extend("--ft-button-small-gap","",$e.spacing2),smallBorderRadius:we.extend("--ft-button-small-border-radius","",$e.borderRadiusS),smallIconSize:we.extend("--ft-button-small-icon-size","",$e.iconSize2),smallBorderWidth:we.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:we.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:we.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:we.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:we.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),primaryColor:we.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),primaryIconColor:we.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),primaryStateLayerColor:we.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),primaryStateLayerOpacityHover:we.extend("--ft-button-primary-state-layer-opacity-hover","",$e.opacity16),primaryStateLayerOpacityFocus:we.extend("--ft-button-primary-state-layer-opacity-focus","",$e.opacity16),primaryStateLayerOpacityActive:we.extend("--ft-button-primary-state-layer-opacity-active","",$e.opacity24),primaryComponentOpacityDisabled:we.extend("--ft-button-primary-component-opacity-disabled","",$e.opacity40),focusFocusRingColor:we.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),tertiaryBackgroundColor:we.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:we.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),tertiaryIconColor:we.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),tertiaryStateLayerColor:we.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),tertiaryStateLayerOpacityHover:we.extend("--ft-button-tertiary-state-layer-opacity-hover","",$e.opacity8),tertiaryStateLayerOpacityFocus:we.extend("--ft-button-tertiary-state-layer-opacity-focus","",$e.opacity8),tertiaryStateLayerOpacityActive:we.extend("--ft-button-tertiary-state-layer-opacity-active","",$e.opacity16),tertiaryComponentOpacityDisabled:we.extend("--ft-button-tertiary-component-opacity-disabled","",$e.opacity40),secondaryBackgroundColor:we.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:we.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),secondaryIconColor:we.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),secondaryStateLayerColor:we.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),secondaryStateLayerOpacityHover:we.extend("--ft-button-secondary-state-layer-opacity-hover","",$e.opacity8),secondaryStateLayerOpacityFocus:we.extend("--ft-button-secondary-state-layer-opacity-focus","",$e.opacity8),secondaryStateLayerOpacityActive:we.extend("--ft-button-secondary-state-layer-opacity-active","",$e.opacity16),secondaryComponentOpacityDisabled:we.extend("--ft-button-secondary-component-opacity-disabled","",$e.opacity40),secondaryBorderColor:we.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),neutralBackgroundColor:we.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:we.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),neutralColor:we.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),neutralStateLayerColor:we.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),neutralStateLayerOpacityHover:we.extend("--ft-button-neutral-state-layer-opacity-hover","",$e.opacity8),neutralStateLayerOpacityFocus:we.extend("--ft-button-neutral-state-layer-opacity-focus","",$e.opacity8),neutralStateLayerOpacityActive:we.extend("--ft-button-neutral-state-layer-opacity-active","",$e.opacity16),neutralComponentOpacityDisabled:we.extend("--ft-button-neutral-component-opacity-disabled","",$e.opacity40)};we.extend("--ft-tabs-top-left-border-radius","",$e.borderRadiusS),we.extend("--ft-tabs-top-right-border-radius","",$e.borderRadiusS),we.extend("--ft-tabs-label-horizontal-padding","",$e.spacing4),we.extend("--ft-tabs-label-vertical-padding","",$e.spacing3),we.extend("--ft-tabs-label-gap","",$e.spacing1),we.extend("--ft-switch-group-horizontal-padding","",$e.spacing1),we.extend("--ft-switch-group-vertical-padding","",$e.spacing1),we.extend("--ft-switch-group-gap","",$e.spacing1),we.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),we.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),we.create("--ft-switch-group-border-radius","","SIZE","6px"),we.extend("--ft-switch-label-horizontal-padding","",$e.spacing2),we.extend("--ft-switch-label-vertical-padding","",$e.spacing1),we.extend("--ft-switch-icon-horizontal-padding","",$e.spacing1),we.extend("--ft-switch-icon-vertical-padding","",$e.spacing1),we.create("--ft-switch-focus-outline-width","","SIZE","2px"),we.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),we.extend("--ft-switch-option-border-radius","",$e.borderRadiusS),we.extend("--ft-switch-off-state-layer-opacity-hover","",$e.opacity8),we.extend("--ft-switch-off-state-layer-opacity-focus","",$e.opacity8),we.extend("--ft-switch-off-state-layer-opacity-active","",$e.opacity16),we.extend("--ft-switch-off-component-opacity-disabled","",$e.opacity40),we.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),we.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),we.extend("--ft-chart-1-light","for area color charts",$e.colorBrand40),we.extend("--ft-chart-1-base","for line charts",$e.colorBrand0),we.extend("--ft-chart-2-light","for area color charts",$e.colorYellow60),we.extend("--ft-chart-2-base","for line charts",$e.colorYellow100),we.extend("--ft-chart-3-light","",$e.colorUltramarine40),we.extend("--ft-chart-3-base","",$e.colorUltramarine70),we.extend("--ft-chart-4-light","",$e.colorCyan50),we.extend("--ft-chart-4-base","",$e.colorCyan100),we.extend("--ft-chart-5-light","",$e.colorRed40),we.extend("--ft-chart-5-base","",$e.colorRed60),we.extend("--ft-chart-6-light","",$e.colorGreen40),we.extend("--ft-chart-6-base","",$e.colorGreen70),we.extend("--ft-chart-7-light","",$e.colorOrange70),we.extend("--ft-chart-7-base","",$e.colorOrange100),we.extend("--ft-chart-8-light","",$e.colorAvocado70),we.extend("--ft-chart-8-base","",$e.colorAvocado200),we.extend("--ft-chart-9-light","",$e.colorBrown50),we.extend("--ft-chart-9-base","",$e.colorBrown200),we.extend("--ft-chart-10-light","",$e.colorGray50),we.extend("--ft-chart-10-base","",$e.colorGray80),we.extend("--ft-chart-monochrome-10","",$e.colorBrand10),we.extend("--ft-chart-monochrome-20","",$e.colorBrand20),we.extend("--ft-chart-monochrome-30","",$e.colorBrand40),we.extend("--ft-chart-monochrome-40","",$e.colorBrand60),we.extend("--ft-chart-monochrome-50","",$e.colorBrand0),we.extend("--ft-chart-monochrome-60","",$e.colorBrand200),we.extend("--ft-chip-large-horizontal-padding","",$e.spacing4),we.extend("--ft-chip-large-vertical-padding","",$e.spacing2),we.extend("--ft-chip-large-gap","",$e.spacing1),we.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-large-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-large-border-width","","SIZE","1px"),we.extend("--ft-chip-large-icon-size","",$e.iconSize3),we.extend("--ft-chip-medium-horizontal-padding","",$e.spacing3),we.extend("--ft-chip-medium-vertical-padding","",$e.spacing1),we.extend("--ft-chip-medium-gap","",$e.spacing1),we.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-medium-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-medium-border-width","","SIZE","1px"),we.extend("--ft-chip-medium-icon-size","",$e.iconSize2),we.extend("--ft-chip-small-horizontal-padding","",$e.spacing2),we.extend("--ft-chip-small-vertical-padding","",$e.spacing05),we.extend("--ft-chip-small-gap","",$e.spacing1),we.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-small-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-small-border-width","","SIZE","1px"),we.extend("--ft-chip-small-icon-size","",$e.iconSize1),we.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),we.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),we.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),we.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),we.extend("--ft-chip-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),we.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),we.extend("--ft-chip-success-border-color","",Ee.borderSuccessPrimary),we.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-chip-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),we.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),we.extend("--ft-chip-error-border-color","",Ee.borderErrorPrimary),we.create("--ft-notice-border-width","","SIZE","1px"),we.extend("--ft-notice-horizontal-padding","",$e.spacing2),we.extend("--ft-notice-vertical-padding","",$e.spacing1),we.extend("--ft-notice-border-radius","",$e.borderRadiusS),we.extend("--ft-notice-gap","",$e.spacing2),we.extend("--ft-notice-icon-size","",$e.iconSize3),we.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-notice-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),we.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-notice-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),we.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),we.extend("--ft-checkbox-checked-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-checkbox-checked-component-opacity-disabled","",$e.opacity40),we.extend("--ft-checkbox-unchecked-border-color","",$e.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-color","",$e.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-checkbox-unchecked-component-opacity-disabled","",$e.opacity40),we.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),we.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),we.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),we.extend("--ft-checkbox-gap","",$e.spacing3),we.extend("--ft-toggle-off-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-toggle-off-component-opacity-disabled","",$e.opacity40),we.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-on-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-toggle-on-component-opacity-disabled","",$e.opacity40),we.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),we.extend("--ft-toggle-gap","",$e.spacing3),we.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-radio-selected-component-opacity-disabled","",$e.opacity40),we.extend("--ft-radio-unselected-state-layer-color","",$e.colorGray80),we.extend("--ft-radio-unselected-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-radio-unselected-component-opacity-disabled","",$e.opacity40),we.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),we.create("--ft-radio-focus-outline-offset","","SIZE","3px"),we.create("--ft-radio-focus-outline-width","","SIZE","2px"),we.extend("--ft-radio-gap","",$e.spacing3),we.extend("--ft-notification-icon-size","",$e.iconSize4),we.extend("--ft-notification-horizontal-padding","",$e.spacing4),we.extend("--ft-notification-vertical-padding","",$e.spacing4),we.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),we.extend("--ft-notification-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),we.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),we.extend("--ft-notification-success-border-color","",Ee.borderSuccessPrimary),we.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-notification-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),we.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),we.extend("--ft-notification-error-border-color","",Ee.borderErrorPrimary),we.extend("--ft-notification-border-radius","",$e.borderRadiusPill),we.create("--ft-notification-border-width","","SIZE","1px"),we.extend("--ft-notification-gap-leading","",$e.spacing2),we.extend("--ft-notification-gap-trailing","",$e.spacing8);const Ie={colorPrimary:we.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:we.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:we.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:we.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:we.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:we.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:we.create("--ft-color-error","","COLOR","#B00020"),colorOutline:we.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:we.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:we.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:we.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:we.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:we.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:we.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:we.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:we.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:we.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:we.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:we.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:we.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:we.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:we.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:we.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:we.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:we.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:we.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:we.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:we.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:we.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:we.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:we.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:we.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:we.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:we.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:we.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:we.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:we.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:we.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:we.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:we.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:we.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:we.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:we.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:we.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:we.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:we.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:we.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:we.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:we.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:we.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:we.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:we.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:we.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:we.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:we.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:we.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:we.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:we.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:we.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:we.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ue=["start","end"],Le=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ue[0],e+"-"+Ue[1])),[]),We=Math.min,ze=Math.max,Ke=Math.round,Fe=t=>({x:t,y:t}),Ae={left:"right",right:"left",bottom:"top",top:"bottom"},Ze={start:"end",end:"start"};function Be(t,e,o){return ze(t,We(e,o))}function Me(t,e){return"function"==typeof t?t(e):t}function De(t){return t.split("-")[0]}function Pe(t){return t.split("-")[1]}function He(t){return"x"===t?"y":"x"}function Te(t){return"y"===t?"height":"width"}function je(t){return["top","bottom"].includes(De(t))?"y":"x"}function _e(t){return He(je(t))}function Ge(t){return t.replace(/left|right|bottom|top/g,(t=>Ae[t]))}function Ve(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ye(t,e,o){let{reference:r,floating:i}=t;const n=je(e),a=_e(e),s=Te(a),l=De(e),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(Pe(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function Xe(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Me(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Ve(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Ve(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Je(t,e,o){return(t?[...o.filter((e=>Pe(e)===t)),...o.filter((e=>Pe(e)!==t))]:o.filter((t=>De(t)===t))).filter((o=>!t||(Pe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Ze[t]))}(o)!==o)))}const qe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Le,autoAlignment:d=!0,...u}=Me(t,e),y=void 0!==f||h===Le?Je(f||null,d,h):h,g=await Xe(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const r=Pe(t),i=_e(t),n=Te(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ge(a)),[a,Ge(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[De(m)],g[x[0]],g[x[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const e=Pe(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=S.filter((t=>t[2].slice(0,Pe(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Qe(t){return oo(t)?(t.nodeName||"").toLowerCase():"#document"}function to(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function eo(t){var e;return null==(e=(oo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function oo(t){return t instanceof Node||t instanceof to(t).Node}function ro(t){return t instanceof Element||t instanceof to(t).Element}function io(t){return t instanceof HTMLElement||t instanceof to(t).HTMLElement}function no(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof to(t).ShadowRoot)}function ao(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=fo(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function so(t){return["table","td","th"].includes(Qe(t))}function lo(t){const e=co(),o=fo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function co(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function po(t){return["html","body","#document"].includes(Qe(t))}function fo(t){return to(t).getComputedStyle(t)}function ho(t){return ro(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function uo(t){if("html"===Qe(t))return t;const e=t.assignedSlot||t.parentNode||no(t)&&t.host||eo(t);return no(e)?e.host:e}function yo(t){const e=uo(t);return po(e)?t.ownerDocument?t.ownerDocument.body:t.body:io(e)&&ao(e)?e:yo(e)}function go(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=yo(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=to(i);return n?e.concat(a,a.visualViewport||[],ao(i)?i:[],a.frameElement&&o?go(a.frameElement):[]):e.concat(i,go(i,[],o))}function bo(t){const e=fo(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=io(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=Ke(o)!==n||Ke(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function mo(t){return ro(t)?t:t.contextElement}function xo(t){const e=mo(t);if(!io(e))return Fe(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=bo(e);let a=(n?Ke(o.width):o.width)/r,s=(n?Ke(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const vo=Fe(0);function Oo(t){const e=to(t);return co()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:vo}function No(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=mo(t);let a=Fe(1);e&&(r?ro(r)&&(a=xo(r)):a=xo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==to(t))&&e}(n,o,r)?Oo(n):Fe(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=to(n),e=r&&ro(r)?to(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=xo(o),e=o.getBoundingClientRect(),r=fo(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,o=to(o).frameElement}}return Ve({width:p,height:f,x:l,y:c})}function So(t){return No(eo(t)).left+ho(t).scrollLeft}function wo(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=to(t),r=eo(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=co();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)r=function(t){const e=eo(t),o=ho(t),r=t.ownerDocument.body,i=ze(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=ze(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+So(t);const s=-o.scrollTop;return"rtl"===fo(r).direction&&(a+=ze(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(eo(t));else if(ro(e))r=function(t,e){const o=No(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=io(t)?xo(t):Fe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=Oo(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Ve(r)}function Co(t,e){const o=uo(t);return!(o===e||!ro(o)||po(o))&&("fixed"===fo(o).position||Co(o,e))}function $o(t,e,o){const r=io(e),i=eo(e),n="fixed"===o,a=No(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Fe(0);if(r||!r&&!n)if(("body"!==Qe(e)||ao(i))&&(s=ho(e)),r){const t=No(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=So(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ro(t,e){return io(t)&&"fixed"!==fo(t).position?e?e(t):t.offsetParent:null}function Eo(t,e){const o=to(t);if(!io(t))return o;let r=Ro(t,e);for(;r&&so(r)&&"static"===fo(r).position;)r=Ro(r,e);return r&&("html"===Qe(r)||"body"===Qe(r)&&"static"===fo(r).position&&!lo(r))?o:r||function(t){let e=uo(t);for(;io(e)&&!po(e);){if(lo(e))return e;e=uo(e)}return null}(t)||o}const ko={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=io(o),n=eo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Fe(1);const l=Fe(0);if((i||!i&&"fixed"!==r)&&(("body"!==Qe(o)||ao(n))&&(a=ho(o)),io(o))){const t=No(o);s=xo(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:eo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=go(t,[],!1).filter((t=>ro(t)&&"body"!==Qe(t))),i=null;const n="fixed"===fo(t).position;let a=n?uo(t):t;for(;ro(a)&&!po(a);){const e=fo(a),o=lo(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||ao(a)&&!o&&Co(t,a))?r=r.filter((t=>t!==a)):i=e,a=uo(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],s=n.reduce(((t,o)=>{const r=wo(e,o,i);return t.top=ze(r.top,t.top),t.right=We(r.right,t.right),t.bottom=We(r.bottom,t.bottom),t.left=ze(r.left,t.left),t}),wo(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Eo,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Eo,n=this.getDimensions;return{reference:$o(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return bo(t)},getScale:xo,isElement:ro,isRTL:function(t){return"rtl"===fo(t).direction}},Io=(t,e,o)=>{const r=new Map,i={platform:ko,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:f}=Ye(c,r,l),h=r,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):x.rects),({x:p,y:f}=Ye(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,e,{...i,platform:n})};function Uo(t){return function(t){for(let e=t;e;e=Lo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Lo(t);e;e=Lo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Lo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
85
85
|
/**
|
|
86
86
|
* @license
|
|
87
87
|
* Copyright 2019 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
-
*/
|
|
89
|
+
*/
|
|
90
|
+
const Wo=window,zo=Wo.ShadowRoot&&(void 0===Wo.ShadyCSS||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ko extends Oe{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{zo?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Wo.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Fo,Ao=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Zo=Symbol("constructorPrototype"),Bo=Symbol("constructorName"),Mo=Symbol("exportpartsDebouncer");class Do extends Ko{constructor(){super(),this[Fo]=new e(5),this[Bo]=this.constructor.name,this[Zo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bo]&&Object.setPrototypeOf(this,this[Zo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Mo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Fo=Mo,Ao([C()],Do.prototype,"exportpartsPrefix",void 0),Ao([L([])],Do.prototype,"exportpartsPrefixes",void 0),Ao([C()],Do.prototype,"customStylesheet",void 0);const Po=we.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
|
|
90
91
|
.highlight-html-match {
|
|
91
|
-
background: ${
|
|
92
|
+
background: ${Po};
|
|
92
93
|
}
|
|
93
|
-
`;const
|
|
94
|
+
`;const Ho=St`
|
|
94
95
|
.ft-no-text-select {
|
|
95
96
|
-webkit-touch-callout: none;
|
|
96
97
|
-webkit-user-select: none;
|
|
@@ -111,7 +112,7 @@ let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
111
112
|
-webkit-hyphens: auto;
|
|
112
113
|
hyphens: auto
|
|
113
114
|
}
|
|
114
|
-
`;const
|
|
115
|
+
`;const To=St`
|
|
115
116
|
.ft-safari-ellipsis-fix {
|
|
116
117
|
margin-right: 0;
|
|
117
118
|
|
|
@@ -122,122 +123,122 @@ let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
122
123
|
display: inline-block;
|
|
123
124
|
width: 0;
|
|
124
125
|
}
|
|
125
|
-
`;class
|
|
126
|
+
`;class jo{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const _o=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!I(t,e),attribute:!1,...e};C(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};function Go(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Vo,Yo,Xo;const Jo=Symbol("internalReduxEventsUnsubscribers"),qo=Symbol("internalStoresUnsubscribers"),Qo=Symbol("internalStores");class tr extends Do{constructor(){super(...arguments),this[Vo]=new Map,this[Yo]=new Map,this[Xo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Qo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Qo].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Go(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Qo].delete(e)}setupStore(t,e){this[Qo].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Qo].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[qo].has(t.store):this[qo].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[qo].set(t,e.subscribe((()=>this.updateFromStores()))),Go(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Jo].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qo].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Jo].forEach((t=>t())),this[Jo]=[]}unsubscribeFromStore(t){this[qo].has(t)&&this[qo].get(t)(),this[qo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Vo=qo,Yo=Qo,Xo=Jo,tr.reduxProperties=new Map,tr.reduxReactiveProperties=new Set,tr.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const er=Symbol("elementInternals");var or,rr,ir;const nr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ir=null===(rr=null===(or=window.safari)||void 0===or?void 0:or.pushNotification)||void 0===rr?void 0:rr.toString())&&void 0!==ir?ir:""),ar=1,sr=2,lr=t=>(...e)=>({_$litDirective$:t,values:e});
|
|
126
127
|
/**
|
|
127
128
|
* @license
|
|
128
129
|
* Copyright 2017 Google LLC
|
|
129
130
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
130
|
-
*/let
|
|
131
|
+
*/let cr=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
131
132
|
/**
|
|
132
133
|
* @license
|
|
133
134
|
* Copyright 2020 Google LLC
|
|
134
135
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
135
|
-
*/const{D:
|
|
136
|
+
*/const{D:pr}=yt,fr=()=>document.createComment(""),hr=(t,e,o)=>{const r=t._$AA.parentNode,i=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(fr(),i),n=r.insertBefore(fr(),i);o=new pr(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==i||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,i),t=e}}}return o},dr=(t,e,o=t)=>(t._$AI(e,o),t),ur={},yr=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},gr=(t,e,o)=>{const r=new Map;for(let i=e;i<=o;i++)r.set(t[i],i);return r},br=lr(class extends cr{constructor(t){if(super(t),t.type!==sr)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const i=[],n=[];let a=0;for(const e of t)i[a]=r?r(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:i}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,r);if(!Array.isArray(i))return this.dt=a,n;const s=this.dt??=[],l=[];let c,p,f=0,h=i.length-1,d=0,u=n.length-1;for(;f<=h&&d<=u;)if(null===i[f])f++;else if(null===i[h])h--;else if(s[f]===a[d])l[d]=dr(i[f],n[d]),f++,d++;else if(s[h]===a[u])l[u]=dr(i[h],n[u]),h--,u--;else if(s[f]===a[u])l[u]=dr(i[f],n[u]),hr(t,l[u+1],i[f]),f++,u--;else if(s[h]===a[d])l[d]=dr(i[h],n[d]),hr(t,i[f],i[h]),h--,d++;else if(void 0===c&&(c=gr(a,d,u),p=gr(s,f,h)),c.has(s[f]))if(c.has(s[h])){const e=p.get(a[d]),o=void 0!==e?i[e]:null;if(null===o){const e=hr(t,i[f]);dr(e,n[d]),l[d]=e}else l[d]=dr(o,n[d]),hr(t,i[f],o),i[e]=null;d++}else yr(i[h]),h--;else yr(i[f]),f++;for(;d<=u;){const e=hr(t,l[u+1]);dr(e,n[d]),l[d++]=e}for(;f<=h;){const t=i[f++];null!==t&&yr(t)}return this.dt=a,((t,e=ur)=>{t._$AH=e})(t,l),tt}}),mr=lr(class extends cr{constructor(t){if(super(t),t.type!==ar||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return tt}}),xr="important",vr=" !"+xr,Or=lr(class extends cr{constructor(t){if(super(t),t.type!==ar||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,o)=>{const r=t[o];return null==r?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(e)),this.render(e);for(const t of this.ut)null==e[t]&&(this.ut.delete(t),t.includes("-")?o.removeProperty(t):o[t]=null);for(const t in e){const r=e[t];if(null!=r){this.ut.add(t);const e="string"==typeof r&&r.endsWith(vr);t.includes("-")||e?o.setProperty(t,e?r.slice(0,-11):r,e?xr:""):o[t]=r}}return tt}});
|
|
136
137
|
/**
|
|
137
138
|
* @license
|
|
138
139
|
* Copyright 2017 Google LLC
|
|
139
140
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
140
|
-
*/var
|
|
141
|
+
*/var Nr;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Nr||(Nr={}));var Sr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wr extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Cr=Symbol("registerInterval");class $r extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=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[Cr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Cr]):this.dispatchEvent(new wr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Cr,Sr([$()],o.prototype,"stateManager",void 0),o}(tr)){}
|
|
141
142
|
/**
|
|
142
143
|
* @license
|
|
143
144
|
* Copyright 2020 Google LLC
|
|
144
145
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
145
|
-
*/const
|
|
146
|
+
*/const Rr=Symbol.for(""),Er=t=>{if(t?.r===Rr)return t?._$litStatic$},kr=t=>({_$litStatic$:t,r:Rr}),Ir=new Map,Ur=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let l,c=0,p=!1;for(;c<r;){for(l=e[c];c<r&&void 0!==(n=o[c],i=Er(n));)l+=i+e[++c],p=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(e[r]),p){const t=a.join("$$lit$$");void 0===(e=Ir.get(t))&&(a.raw=a,Ir.set(t,e=a)),o=s}return t(e,...o)})(Q);var Lr;!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"}(Lr||(Lr={}));const Wr=we.extend("--ft-typography-font-family","",Ie.titleFont),zr=we.extend("--ft-typography-font-family","",Ie.contentFont),Kr={fontFamily:zr,fontSize:we.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:we.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:we.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:we.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:we.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Fr=we.extend("--ft-typography-title-font-family","",Wr),Ar=we.extend("--ft-typography-title-font-size","",Kr.fontSize,"20px"),Zr=we.extend("--ft-typography-title-font-weight","",Kr.fontWeight,"normal"),Br=we.extend("--ft-typography-title-letter-spacing","",Kr.letterSpacing,"0.15px"),Mr=we.extend("--ft-typography-title-line-height","",Kr.lineHeight,"1.2"),Dr=we.extend("--ft-typography-title-text-transform","",Kr.textTransform,"inherit"),Pr=we.extend("--ft-typography-title-dense-font-family","",Wr),Hr=we.extend("--ft-typography-title-dense-font-size","",Kr.fontSize,"14px"),Tr=we.extend("--ft-typography-title-dense-font-weight","",Kr.fontWeight,"normal"),jr=we.extend("--ft-typography-title-dense-letter-spacing","",Kr.letterSpacing,"0.105px"),_r=we.extend("--ft-typography-title-dense-line-height","",Kr.lineHeight,"1.7"),Gr=we.extend("--ft-typography-title-dense-text-transform","",Kr.textTransform,"inherit"),Vr=we.extend("--ft-typography-subtitle1-font-family","",zr),Yr=we.extend("--ft-typography-subtitle1-font-size","",Kr.fontSize,"16px"),Xr=we.extend("--ft-typography-subtitle1-font-weight","",Kr.fontWeight,"600"),Jr=we.extend("--ft-typography-subtitle1-letter-spacing","",Kr.letterSpacing,"0.144px"),qr=we.extend("--ft-typography-subtitle1-line-height","",Kr.lineHeight,"1.5"),Qr=we.extend("--ft-typography-subtitle1-text-transform","",Kr.textTransform,"inherit"),ti=we.extend("--ft-typography-subtitle2-font-family","",zr),ei=we.extend("--ft-typography-subtitle2-font-size","",Kr.fontSize,"14px"),oi=we.extend("--ft-typography-subtitle2-font-weight","",Kr.fontWeight,"normal"),ri=we.extend("--ft-typography-subtitle2-letter-spacing","",Kr.letterSpacing,"0.098px"),ii=we.extend("--ft-typography-subtitle2-line-height","",Kr.lineHeight,"1.7"),ni=we.extend("--ft-typography-subtitle2-text-transform","",Kr.textTransform,"inherit"),ai=we.extend("--ft-typography-body1-font-family","",zr),si=we.extend("--ft-typography-body1-font-size","",Kr.fontSize,"16px"),li=we.extend("--ft-typography-body1-font-weight","",Kr.fontWeight,"normal"),ci=we.extend("--ft-typography-body1-letter-spacing","",Kr.letterSpacing,"0.496px"),pi=we.extend("--ft-typography-body1-line-height","",Kr.lineHeight,"1.5"),fi=we.extend("--ft-typography-body1-text-transform","",Kr.textTransform,"inherit"),hi=we.extend("--ft-typography-body2-font-family","",zr),di=we.extend("--ft-typography-body2-font-size","",Kr.fontSize,"14px"),ui=we.extend("--ft-typography-body2-font-weight","",Kr.fontWeight,"normal"),yi=we.extend("--ft-typography-body2-letter-spacing","",Kr.letterSpacing,"0.252px"),gi=we.extend("--ft-typography-body2-line-height","",Kr.lineHeight,"1.4"),bi=we.extend("--ft-typography-body2-text-transform","",Kr.textTransform,"inherit"),mi=we.extend("--ft-typography-caption-font-family","",zr),xi=we.extend("--ft-typography-caption-font-size","",Kr.fontSize,"12px"),vi=we.extend("--ft-typography-caption-font-weight","",Kr.fontWeight,"normal"),Oi=we.extend("--ft-typography-caption-letter-spacing","",Kr.letterSpacing,"0.396px"),Ni=we.extend("--ft-typography-caption-line-height","",Kr.lineHeight,"1.33"),Si=we.extend("--ft-typography-caption-text-transform","",Kr.textTransform,"inherit"),wi=we.extend("--ft-typography-breadcrumb-font-family","",zr),Ci=we.extend("--ft-typography-breadcrumb-font-size","",Kr.fontSize,"10px"),$i=we.extend("--ft-typography-breadcrumb-font-weight","",Kr.fontWeight,"normal"),Ri=we.extend("--ft-typography-breadcrumb-letter-spacing","",Kr.letterSpacing,"0.33px"),Ei=we.extend("--ft-typography-breadcrumb-line-height","",Kr.lineHeight,"1.6"),ki=we.extend("--ft-typography-breadcrumb-text-transform","",Kr.textTransform,"inherit"),Ii=we.extend("--ft-typography-overline-font-family","",zr),Ui=we.extend("--ft-typography-overline-font-size","",Kr.fontSize,"10px"),Li=we.extend("--ft-typography-overline-font-weight","",Kr.fontWeight,"normal"),Wi=we.extend("--ft-typography-overline-letter-spacing","",Kr.letterSpacing,"1.5px"),zi=we.extend("--ft-typography-overline-line-height","",Kr.lineHeight,"1.6"),Ki=we.extend("--ft-typography-overline-text-transform","",Kr.textTransform,"uppercase"),Fi={fontFamily:we.extend("--ft-typography-button-font-family","",zr),fontSize:we.extend("--ft-typography-button-font-size","",Kr.fontSize,"14px"),fontWeight:we.extend("--ft-typography-button-font-weight","",Kr.fontWeight,"600"),letterSpacing:we.extend("--ft-typography-button-letter-spacing","",Kr.letterSpacing,"1.246px"),lineHeight:we.extend("--ft-typography-button-line-height","",Kr.lineHeight,"1.15"),textTransform:we.extend("--ft-typography-button-text-transform","",Kr.textTransform,"uppercase")},Ai=St`
|
|
146
147
|
.ft-typography--title {
|
|
147
|
-
font-family: ${
|
|
148
|
-
font-size: ${
|
|
149
|
-
font-weight: ${
|
|
150
|
-
letter-spacing: ${
|
|
151
|
-
line-height: ${
|
|
152
|
-
text-transform: ${
|
|
153
|
-
}
|
|
154
|
-
`,
|
|
148
|
+
font-family: ${Fr};
|
|
149
|
+
font-size: ${Ar};
|
|
150
|
+
font-weight: ${Zr};
|
|
151
|
+
letter-spacing: ${Br};
|
|
152
|
+
line-height: ${Mr};
|
|
153
|
+
text-transform: ${Dr};
|
|
154
|
+
}
|
|
155
|
+
`,Zi=St`
|
|
155
156
|
.ft-typography--title-dense {
|
|
156
|
-
font-family: ${
|
|
157
|
-
font-size: ${
|
|
158
|
-
font-weight: ${
|
|
159
|
-
letter-spacing: ${
|
|
160
|
-
line-height: ${
|
|
161
|
-
text-transform: ${
|
|
162
|
-
}
|
|
163
|
-
`,
|
|
157
|
+
font-family: ${Pr};
|
|
158
|
+
font-size: ${Hr};
|
|
159
|
+
font-weight: ${Tr};
|
|
160
|
+
letter-spacing: ${jr};
|
|
161
|
+
line-height: ${_r};
|
|
162
|
+
text-transform: ${Gr};
|
|
163
|
+
}
|
|
164
|
+
`,Bi=St`
|
|
164
165
|
.ft-typography--subtitle1 {
|
|
165
|
-
font-family: ${
|
|
166
|
-
font-size: ${
|
|
167
|
-
font-weight: ${
|
|
168
|
-
letter-spacing: ${
|
|
169
|
-
line-height: ${
|
|
170
|
-
text-transform: ${
|
|
171
|
-
}
|
|
172
|
-
`,
|
|
166
|
+
font-family: ${Vr};
|
|
167
|
+
font-size: ${Yr};
|
|
168
|
+
font-weight: ${Xr};
|
|
169
|
+
letter-spacing: ${Jr};
|
|
170
|
+
line-height: ${qr};
|
|
171
|
+
text-transform: ${Qr};
|
|
172
|
+
}
|
|
173
|
+
`,Mi=St`
|
|
173
174
|
.ft-typography--subtitle2 {
|
|
174
|
-
font-family: ${
|
|
175
|
-
font-size: ${
|
|
176
|
-
font-weight: ${
|
|
177
|
-
letter-spacing: ${
|
|
178
|
-
line-height: ${
|
|
179
|
-
text-transform: ${
|
|
175
|
+
font-family: ${ti};
|
|
176
|
+
font-size: ${ei};
|
|
177
|
+
font-weight: ${oi};
|
|
178
|
+
letter-spacing: ${ri};
|
|
179
|
+
line-height: ${ii};
|
|
180
|
+
text-transform: ${ni};
|
|
180
181
|
}
|
|
181
182
|
|
|
182
|
-
`,
|
|
183
|
+
`,Di=St`
|
|
183
184
|
.ft-typography--body1 {
|
|
184
|
-
font-family: ${
|
|
185
|
-
font-size: ${
|
|
186
|
-
font-weight: ${
|
|
187
|
-
letter-spacing: ${
|
|
188
|
-
line-height: ${
|
|
189
|
-
text-transform: ${
|
|
190
|
-
}
|
|
191
|
-
`,
|
|
185
|
+
font-family: ${ai};
|
|
186
|
+
font-size: ${si};
|
|
187
|
+
font-weight: ${li};
|
|
188
|
+
letter-spacing: ${ci};
|
|
189
|
+
line-height: ${pi};
|
|
190
|
+
text-transform: ${fi};
|
|
191
|
+
}
|
|
192
|
+
`,Pi=St`
|
|
192
193
|
.ft-typography--body2 {
|
|
193
|
-
font-family: ${
|
|
194
|
-
font-size: ${
|
|
195
|
-
font-weight: ${
|
|
196
|
-
letter-spacing: ${
|
|
197
|
-
line-height: ${
|
|
198
|
-
text-transform: ${
|
|
199
|
-
}
|
|
200
|
-
`,
|
|
194
|
+
font-family: ${hi};
|
|
195
|
+
font-size: ${di};
|
|
196
|
+
font-weight: ${ui};
|
|
197
|
+
letter-spacing: ${yi};
|
|
198
|
+
line-height: ${gi};
|
|
199
|
+
text-transform: ${bi};
|
|
200
|
+
}
|
|
201
|
+
`,Hi=St`
|
|
201
202
|
.ft-typography--caption {
|
|
202
|
-
font-family: ${
|
|
203
|
-
font-size: ${
|
|
204
|
-
font-weight: ${
|
|
205
|
-
letter-spacing: ${
|
|
206
|
-
line-height: ${
|
|
207
|
-
text-transform: ${
|
|
208
|
-
}
|
|
209
|
-
`,
|
|
203
|
+
font-family: ${mi};
|
|
204
|
+
font-size: ${xi};
|
|
205
|
+
font-weight: ${vi};
|
|
206
|
+
letter-spacing: ${Oi};
|
|
207
|
+
line-height: ${Ni};
|
|
208
|
+
text-transform: ${Si};
|
|
209
|
+
}
|
|
210
|
+
`,Ti=St`
|
|
210
211
|
.ft-typography--breadcrumb {
|
|
211
|
-
font-family: ${
|
|
212
|
-
font-size: ${
|
|
213
|
-
font-weight: ${
|
|
214
|
-
letter-spacing: ${
|
|
215
|
-
line-height: ${
|
|
216
|
-
text-transform: ${
|
|
217
|
-
}
|
|
218
|
-
`,
|
|
212
|
+
font-family: ${wi};
|
|
213
|
+
font-size: ${Ci};
|
|
214
|
+
font-weight: ${$i};
|
|
215
|
+
letter-spacing: ${Ri};
|
|
216
|
+
line-height: ${Ei};
|
|
217
|
+
text-transform: ${ki};
|
|
218
|
+
}
|
|
219
|
+
`,ji=St`
|
|
219
220
|
.ft-typography--overline {
|
|
220
|
-
font-family: ${
|
|
221
|
-
font-size: ${
|
|
222
|
-
font-weight: ${
|
|
223
|
-
letter-spacing: ${
|
|
224
|
-
line-height: ${
|
|
225
|
-
text-transform: ${
|
|
226
|
-
}
|
|
227
|
-
`,
|
|
221
|
+
font-family: ${Ii};
|
|
222
|
+
font-size: ${Ui};
|
|
223
|
+
font-weight: ${Li};
|
|
224
|
+
letter-spacing: ${Wi};
|
|
225
|
+
line-height: ${zi};
|
|
226
|
+
text-transform: ${Ki};
|
|
227
|
+
}
|
|
228
|
+
`,_i=St`
|
|
228
229
|
.ft-typography--button {
|
|
229
|
-
font-family: ${
|
|
230
|
-
font-size: ${
|
|
231
|
-
font-weight: ${
|
|
232
|
-
letter-spacing: ${
|
|
233
|
-
line-height: ${
|
|
234
|
-
text-transform: ${
|
|
235
|
-
}
|
|
236
|
-
`,
|
|
230
|
+
font-family: ${Fi.fontFamily};
|
|
231
|
+
font-size: ${Fi.fontSize};
|
|
232
|
+
font-weight: ${Fi.fontWeight};
|
|
233
|
+
letter-spacing: ${Fi.letterSpacing};
|
|
234
|
+
line-height: ${Fi.lineHeight};
|
|
235
|
+
text-transform: ${Fi.textTransform};
|
|
236
|
+
}
|
|
237
|
+
`,Gi=St`
|
|
237
238
|
.ft-typography {
|
|
238
239
|
vertical-align: inherit;
|
|
239
240
|
}
|
|
240
|
-
`,
|
|
241
|
+
`,Vi=[Object.keys(Re).map((t=>function(t){const e=Re[t];return St`
|
|
241
242
|
.ft-typography--${Nt(t)} {
|
|
242
243
|
font-family: ${e.fontFamily};
|
|
243
244
|
font-size: ${e.fontSize};
|
|
@@ -246,39 +247,39 @@ let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
246
247
|
line-height: ${e.lineHeight};
|
|
247
248
|
text-transform: ${e.textCase};
|
|
248
249
|
}
|
|
249
|
-
`}(t)))];var
|
|
250
|
-
<${
|
|
250
|
+
`}(t)))];var Yi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xi extends Do{constructor(){super(...arguments),this.variant=Lr.body1}render(){return this.element?Ur`
|
|
251
|
+
<${kr(this.element)}
|
|
251
252
|
class="ft-typography ft-typography--${this.variant}">
|
|
252
253
|
<slot></slot>
|
|
253
|
-
</${
|
|
254
|
-
`:
|
|
254
|
+
</${kr(this.element)}>
|
|
255
|
+
`:Ur`
|
|
255
256
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
256
|
-
`}}
|
|
257
|
+
`}}Xi.styles=[Ai,Zi,Bi,Mi,Di,Pi,Hi,Ti,ji,_i,Gi,...Vi],Yi([C()],Xi.prototype,"element",void 0),Yi([C()],Xi.prototype,"variant",void 0),U("ft-typography")(Xi);const Ji=we.extend("--ft-reader-internal-link-outline-color","",Ie.colorPrimary),qi=St`
|
|
257
258
|
:host {
|
|
258
259
|
display: contents;
|
|
259
260
|
}
|
|
260
261
|
|
|
261
262
|
a:focus {
|
|
262
|
-
outline-color: ${
|
|
263
|
+
outline-color: ${Ji};
|
|
263
264
|
}
|
|
264
265
|
|
|
265
266
|
.ft-reader-link--remove-style {
|
|
266
267
|
text-decoration: none;
|
|
267
268
|
color: inherit;
|
|
268
269
|
}
|
|
269
|
-
`;var
|
|
270
|
+
`;var Qi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class tn extends $r{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let e=mr({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return ne`
|
|
270
271
|
<a class=${e}
|
|
271
272
|
href="${null===(t=this.service)||void 0===t?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
|
|
272
273
|
@click=${t=>this.onLinkClick(t)}>
|
|
273
274
|
<slot></slot>
|
|
274
275
|
</a>
|
|
275
|
-
`}onLinkClick(t){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(e=this.stateManager)||void 0===e||e.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}
|
|
276
|
+
`}onLinkClick(t){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(e=this.stateManager)||void 0===e||e.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}tn.styles=qi,Qi([C()],tn.prototype,"tocId",void 0),Qi([C()],tn.prototype,"section",void 0),Qi([C({type:Number})],tn.prototype,"pageNumber",void 0),Qi([C({type:Boolean})],tn.prototype,"removeStyle",void 0),U("ft-reader-internal-link")(tn);
|
|
276
277
|
/**
|
|
277
278
|
* @license
|
|
278
279
|
* Copyright 2017 Google LLC
|
|
279
280
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
280
281
|
*/
|
|
281
|
-
class
|
|
282
|
+
class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.vt=void 0,this.et=t;if(t===tt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}en.directiveName="unsafeHTML",en.resultType=1;const on=lr(en);var rn,nn;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(rn||(rn={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(nn||(nn={})),new Map([...["abw"].map((t=>[t,nn.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,nn.AUDIO])),...["avi"].map((t=>[t,nn.AVI])),...["chm","xhs"].map((t=>[t,nn.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,nn.CODE])),...["csv"].map((t=>[t,nn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,nn.DITA])),...["epub"].map((t=>[t,nn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,nn.EXCEL])),...["flac"].map((t=>[t,nn.FLAC])),...["gif"].map((t=>[t,nn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,nn.GZIP])),...["html","htm","xhtml"].map((t=>[t,nn.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,nn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,nn.JPEG])),...["json"].map((t=>[t,nn.JSON])),...["m4a","m4p"].map((t=>[t,nn.M4A])),...["mov","qt"].map((t=>[t,nn.MOV])),...["mp3"].map((t=>[t,nn.MP3])),...["mp4","m4v"].map((t=>[t,nn.MP4])),...["ogg","oga"].map((t=>[t,nn.OGG])),...["pdf","ps"].map((t=>[t,nn.PDF])),...["png"].map((t=>[t,nn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,nn.POWERPOINT])),...["rar"].map((t=>[t,nn.RAR])),...["stp"].map((t=>[t,nn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,nn.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,nn.VIDEO])),...["wav"].map((t=>[t,nn.WAV])),...["wma"].map((t=>[t,nn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,nn.WORD])),...["xml","xsl","rdf"].map((t=>[t,nn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,nn.YAML])),...["zip"].map((t=>[t,nn.ZIP]))]),nn.ABW,nn.AUDIO,nn.AVI,nn.CHM,nn.CODE,nn.CSV,nn.DITA,nn.EPUB,nn.EXCEL,nn.FLAC,nn.GIF,nn.GZIP,nn.HTML,nn.IMAGE,nn.JPEG,nn.JSON,nn.M4A,nn.MOV,nn.MP3,nn.MP4,nn.OGG,nn.PDF,nn.PNG,nn.POWERPOINT,nn.RAR,nn.STP,nn.TEXT,nn.UNKNOWN,nn.VIDEO,nn.WAV,nn.WMA,nn.WORD,nn.XML,nn.YAML,nn.ZIP;const an={size:we.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:we.extend("--ft-icon-fluid-topics-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:we.extend("--ft-icon-file-format-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:we.extend("--ft-icon-material-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:we.create("--ft-icon-vertical-align","","UNKNOWN","unset")},sn=St`
|
|
282
283
|
:host, i.ft-icon {
|
|
283
284
|
display: inline-flex;
|
|
284
285
|
align-items: center;
|
|
@@ -287,14 +288,14 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
287
288
|
}
|
|
288
289
|
|
|
289
290
|
:host {
|
|
290
|
-
width: ${
|
|
291
|
-
height: ${
|
|
291
|
+
width: ${an.size};
|
|
292
|
+
height: ${an.size};
|
|
292
293
|
}
|
|
293
294
|
|
|
294
295
|
i.ft-icon {
|
|
295
296
|
width: 100%;
|
|
296
297
|
height: 100%;
|
|
297
|
-
font-size: ${
|
|
298
|
+
font-size: ${an.size};
|
|
298
299
|
line-height: 1;
|
|
299
300
|
font-weight: normal;
|
|
300
301
|
text-transform: none;
|
|
@@ -305,33 +306,33 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
305
306
|
text-rendering: auto;
|
|
306
307
|
-webkit-font-smoothing: antialiased;
|
|
307
308
|
-moz-osx-font-smoothing: grayscale;
|
|
308
|
-
vertical-align: ${
|
|
309
|
+
vertical-align: ${an.verticalAlign};
|
|
309
310
|
}
|
|
310
311
|
|
|
311
312
|
i.ft-icon.ft-icon--fluid-topics {
|
|
312
|
-
font-family: ${
|
|
313
|
+
font-family: ${an.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
313
314
|
|
|
314
315
|
/* Ugly fix because font is broken */
|
|
315
|
-
font-size: calc(0.75 * ${
|
|
316
|
-
line-height: ${
|
|
316
|
+
font-size: calc(0.75 * ${an.size});
|
|
317
|
+
line-height: ${an.size};
|
|
317
318
|
position: relative;
|
|
318
319
|
top: -4%;
|
|
319
320
|
justify-content: center;
|
|
320
321
|
}
|
|
321
322
|
|
|
322
323
|
.ft-icon--file-format {
|
|
323
|
-
font-family: ${
|
|
324
|
+
font-family: ${an.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
324
325
|
}
|
|
325
326
|
|
|
326
327
|
.ft-icon--material {
|
|
327
|
-
font-family: ${
|
|
328
|
+
font-family: ${an.materialFontFamily}, "Material Icons", sans-serif;
|
|
328
329
|
}
|
|
329
|
-
`;var
|
|
330
|
+
`;var ln;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ln||(ln={}));var cn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class pn extends Do{constructor(){super(...arguments),this.resolvedIcon=se}render(){const t=this.variant&&Object.values(ln).includes(this.variant)?this.variant:ln.fluid_topics,e=t!==ln.material||!!this.value;return ne`
|
|
330
331
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
331
|
-
${
|
|
332
|
+
${on(this.resolvedIcon)}
|
|
332
333
|
<slot ?hidden=${e}></slot>
|
|
333
334
|
</i>
|
|
334
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case
|
|
335
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case ln.file_format:this.resolvedIcon=null!==(t=nn[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ln.material:this.resolvedIcon=this.value||se;break;default:this.resolvedIcon=null!==(e=rn[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}pn.elementDefinitions={},pn.styles=sn,cn([C()],pn.prototype,"variant",void 0),cn([C()],pn.prototype,"value",void 0),cn([$()],pn.prototype,"resolvedIcon",void 0),cn([k("slot")],pn.prototype,"slottedContent",void 0),U("ft-icon")(pn);const fn=we.extend("--ft-ripple-color","",Ie.colorContent),hn={color:fn,backgroundColor:we.extend("--ft-ripple-background-color","",fn),opacityContentOnSurfacePressed:we.external(Ie.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:we.external(Ie.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:we.external(Ie.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:we.external(Ie.opacityContentOnSurfaceSelected,"Design system"),borderRadius:we.create("--ft-ripple-border-radius","","SIZE","0px")},dn=we.extend("--ft-ripple-color","",Ie.colorPrimary),un=dn,yn=we.extend("--ft-ripple-background-color","",dn),gn=we.extend("--ft-ripple-color","",Ie.colorSecondary),bn=gn,mn=we.extend("--ft-ripple-background-color","",gn),xn=St`
|
|
335
336
|
:host {
|
|
336
337
|
display: contents;
|
|
337
338
|
}
|
|
@@ -344,7 +345,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
344
345
|
|
|
345
346
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
346
347
|
overflow: hidden;
|
|
347
|
-
border-radius: ${
|
|
348
|
+
border-radius: ${hn.borderRadius};
|
|
348
349
|
}
|
|
349
350
|
|
|
350
351
|
.ft-ripple .ft-ripple--background,
|
|
@@ -378,27 +379,27 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
378
379
|
}
|
|
379
380
|
|
|
380
381
|
.ft-ripple .ft-ripple--background {
|
|
381
|
-
background-color: ${
|
|
382
|
+
background-color: ${hn.backgroundColor};
|
|
382
383
|
}
|
|
383
384
|
|
|
384
385
|
.ft-ripple .ft-ripple--effect {
|
|
385
|
-
background-color: ${
|
|
386
|
+
background-color: ${hn.color};
|
|
386
387
|
}
|
|
387
388
|
|
|
388
389
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
389
|
-
background-color: ${
|
|
390
|
+
background-color: ${mn};
|
|
390
391
|
}
|
|
391
392
|
|
|
392
393
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
393
|
-
background-color: ${
|
|
394
|
+
background-color: ${bn};
|
|
394
395
|
}
|
|
395
396
|
|
|
396
397
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
397
|
-
background-color: ${
|
|
398
|
+
background-color: ${yn};
|
|
398
399
|
}
|
|
399
400
|
|
|
400
401
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
401
|
-
background-color: ${
|
|
402
|
+
background-color: ${un};
|
|
402
403
|
}
|
|
403
404
|
|
|
404
405
|
.ft-ripple .ft-ripple--background {
|
|
@@ -428,22 +429,22 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
428
429
|
}
|
|
429
430
|
|
|
430
431
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
431
|
-
opacity: ${
|
|
432
|
+
opacity: ${hn.opacityContentOnSurfaceHover};
|
|
432
433
|
}
|
|
433
434
|
|
|
434
435
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
435
|
-
opacity: ${
|
|
436
|
+
opacity: ${hn.opacityContentOnSurfaceSelected};
|
|
436
437
|
}
|
|
437
438
|
|
|
438
439
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
439
|
-
opacity: ${
|
|
440
|
+
opacity: ${hn.opacityContentOnSurfaceFocused};
|
|
440
441
|
}
|
|
441
442
|
|
|
442
443
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
443
|
-
opacity: ${
|
|
444
|
+
opacity: ${hn.opacityContentOnSurfacePressed};
|
|
444
445
|
transform: translate(-50%, -50%) scale(1);
|
|
445
446
|
}
|
|
446
|
-
`,
|
|
447
|
+
`,vn={color:we.extend("--ft-loader-color","",Ie.colorPrimary),size:we.create("--ft-loader-size","","SIZE","80px")},On=St`
|
|
447
448
|
:host {
|
|
448
449
|
line-height: 0;
|
|
449
450
|
}
|
|
@@ -452,8 +453,8 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
452
453
|
display: inline-block;
|
|
453
454
|
position: relative;
|
|
454
455
|
|
|
455
|
-
width: ${
|
|
456
|
-
height: ${
|
|
456
|
+
width: ${vn.size};
|
|
457
|
+
height: ${vn.size};
|
|
457
458
|
}
|
|
458
459
|
|
|
459
460
|
.ft-loader div {
|
|
@@ -462,7 +463,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
462
463
|
width: 25%;
|
|
463
464
|
height: 25%;
|
|
464
465
|
border-radius: 50%;
|
|
465
|
-
background: ${
|
|
466
|
+
background: ${vn.color};
|
|
466
467
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
467
468
|
}
|
|
468
469
|
|
|
@@ -509,10 +510,10 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
509
510
|
transform: translate(0, 0);
|
|
510
511
|
}
|
|
511
512
|
100% {
|
|
512
|
-
transform: translate(calc(0.35 * ${
|
|
513
|
+
transform: translate(calc(0.35 * ${vn.size}), 0);
|
|
513
514
|
}
|
|
514
515
|
}
|
|
515
|
-
`,
|
|
516
|
+
`,Nn=we.extend("--ft-button-color","",Ie.colorPrimary),Sn={backgroundColor:we.extend("--ft-button-background-color","",Ie.colorSurface),borderRadius:we.extend("--ft-button-border-radius","",Ie.borderRadiusL),color:Nn,fontSize:we.extend("--ft-button-font-size","",Fi.fontSize),iconSize:we.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:we.extend("--ft-button-ripple-color","",Nn),verticalPadding:we.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:we.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:we.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:we.external(Ie.colorOpacityDisabled,"Design system")},wn=we.extend("--ft-button-primary-color","",we.extend("--ft-button-color","",Ie.colorOnPrimary)),Cn={backgroundColor:we.extend("--ft-button-primary-background-color","",we.extend("--ft-button-background-color","",Ie.colorPrimary)),color:wn,rippleColor:we.extend("--ft-button-primary-ripple-color","",wn)},$n=we.extend("--ft-button-dense-border-radius","",we.extend("--ft-button-border-radius","",Ie.borderRadiusM)),Rn=we.create("--ft-button-dense-vertical-padding","","SIZE","2px"),En=we.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),kn=we.create("--ft-button-dense-icon-padding","","SIZE","4px"),In=[St`
|
|
516
517
|
:host {
|
|
517
518
|
display: inline-block;
|
|
518
519
|
max-width: 100%;
|
|
@@ -523,7 +524,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
523
524
|
box-shadow: 0px 0px 0px transparent;
|
|
524
525
|
border: 0px solid transparent;
|
|
525
526
|
text-shadow: 0px 0px 0px transparent;
|
|
526
|
-
font-size: ${
|
|
527
|
+
font-size: ${Sn.fontSize};
|
|
527
528
|
}
|
|
528
529
|
|
|
529
530
|
button:hover {
|
|
@@ -552,31 +553,31 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
552
553
|
border: none;
|
|
553
554
|
pointer-events: auto;
|
|
554
555
|
|
|
555
|
-
--ft-button-internal-line-height: max(calc(${
|
|
556
|
-
--ft-button-internal-color: ${
|
|
557
|
-
${Ce(
|
|
558
|
-
${Ce(
|
|
556
|
+
--ft-button-internal-line-height: max(calc(${Sn.fontSize} + 2px), ${Sn.iconSize});
|
|
557
|
+
--ft-button-internal-color: ${Sn.color};
|
|
558
|
+
${Ce(an.size,Sn.iconSize)};
|
|
559
|
+
${Ce(hn.color,Sn.rippleColor)};
|
|
559
560
|
|
|
560
|
-
border-radius: ${
|
|
561
|
-
padding: ${
|
|
562
|
-
background-color: ${
|
|
561
|
+
border-radius: ${Sn.borderRadius};
|
|
562
|
+
padding: ${Sn.verticalPadding} ${Sn.horizontalPadding};
|
|
563
|
+
background-color: ${Sn.backgroundColor};
|
|
563
564
|
color: var(--ft-button-internal-color);
|
|
564
565
|
-webkit-mask-image: radial-gradient(white, black);
|
|
565
566
|
}
|
|
566
567
|
|
|
567
568
|
.ft-button.ft-button--outlined {
|
|
568
569
|
border: 1px solid var(--ft-button-internal-color);
|
|
569
|
-
padding: calc(${
|
|
570
|
+
padding: calc(${Sn.verticalPadding} - 1px) calc(${Sn.horizontalPadding} - 1px);
|
|
570
571
|
}
|
|
571
572
|
|
|
572
573
|
.ft-button.ft-button--dense {
|
|
573
|
-
padding: ${
|
|
574
|
-
border-radius: ${
|
|
575
|
-
gap: ${
|
|
574
|
+
padding: ${Rn} ${En};
|
|
575
|
+
border-radius: ${$n};
|
|
576
|
+
gap: ${kn};
|
|
576
577
|
}
|
|
577
578
|
|
|
578
579
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
579
|
-
padding: calc(${
|
|
580
|
+
padding: calc(${Rn} - 1px) calc(${En} - 1px);
|
|
580
581
|
}
|
|
581
582
|
|
|
582
583
|
.ft-button:not([disabled]):hover {
|
|
@@ -584,22 +585,22 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
584
585
|
}
|
|
585
586
|
|
|
586
587
|
.ft-button--round {
|
|
587
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
588
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Sn.verticalPadding});
|
|
588
589
|
}
|
|
589
590
|
|
|
590
591
|
.ft-button--round.ft-button--dense {
|
|
591
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
592
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Rn});
|
|
592
593
|
}
|
|
593
594
|
|
|
594
595
|
.ft-button[disabled] {
|
|
595
596
|
filter: grayscale(1);
|
|
596
|
-
opacity: ${
|
|
597
|
+
opacity: ${Sn.opacityDisabled};
|
|
597
598
|
}
|
|
598
599
|
|
|
599
600
|
.ft-button.ft-button--primary {
|
|
600
|
-
background-color: ${
|
|
601
|
-
--ft-button-internal-color: ${
|
|
602
|
-
${Ce(
|
|
601
|
+
background-color: ${Cn.backgroundColor};
|
|
602
|
+
--ft-button-internal-color: ${Cn.color};
|
|
603
|
+
${Ce(hn.color,Cn.rippleColor)};
|
|
603
604
|
}
|
|
604
605
|
|
|
605
606
|
.ft-button:focus {
|
|
@@ -612,13 +613,13 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
612
613
|
white-space: nowrap;
|
|
613
614
|
text-overflow: ellipsis;
|
|
614
615
|
display: block;
|
|
615
|
-
margin: 0 ${
|
|
616
|
-
${Ce(
|
|
617
|
-
${Ce(
|
|
616
|
+
margin: 0 ${Sn.iconPadding};
|
|
617
|
+
${Ce(Fi.fontSize,"1em")};
|
|
618
|
+
${Ce(Fi.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
618
619
|
}
|
|
619
620
|
|
|
620
621
|
.ft-button--dense .ft-button--label {
|
|
621
|
-
margin: 0 ${
|
|
622
|
+
margin: 0 ${kn};
|
|
622
623
|
}
|
|
623
624
|
|
|
624
625
|
.ft-button--label[hidden] {
|
|
@@ -631,13 +632,13 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
631
632
|
}
|
|
632
633
|
|
|
633
634
|
.ft-button--label[hidden] + ft-icon {
|
|
634
|
-
margin: 0 calc(${
|
|
635
|
-
padding: 0 ${
|
|
635
|
+
margin: 0 calc(${Sn.horizontalPadding} * -1);
|
|
636
|
+
padding: 0 ${Sn.verticalPadding};
|
|
636
637
|
}
|
|
637
638
|
|
|
638
639
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
639
|
-
margin: 0 calc(${
|
|
640
|
-
padding: 0 ${
|
|
640
|
+
margin: 0 calc(${En} * -1);
|
|
641
|
+
padding: 0 ${Rn};
|
|
641
642
|
}
|
|
642
643
|
|
|
643
644
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -646,21 +647,21 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
646
647
|
}
|
|
647
648
|
|
|
648
649
|
ft-loader {
|
|
649
|
-
${Ce(
|
|
650
|
-
${Ce(
|
|
650
|
+
${Ce(vn.size,Sn.iconSize)};
|
|
651
|
+
${Ce(vn.color,"var(--ft-button-internal-color)")};
|
|
651
652
|
}
|
|
652
|
-
`,
|
|
653
|
+
`,Ho];var Un=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ln extends Do{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,o;let{x:r,y:i}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ne`
|
|
653
654
|
<style>
|
|
654
655
|
.ft-ripple .ft-ripple--effect {
|
|
655
656
|
left: ${this.originX}px;
|
|
656
657
|
top: ${this.originY}px;
|
|
657
658
|
}
|
|
658
659
|
</style>
|
|
659
|
-
<div class="${
|
|
660
|
+
<div class="${mr(t)}">
|
|
660
661
|
<div class="ft-ripple--background"></div>
|
|
661
662
|
<div class="ft-ripple--effect"></div>
|
|
662
663
|
</div>
|
|
663
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
664
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ln.elementDefinitions={},Ln.styles=xn,Un([C({type:Boolean})],Ln.prototype,"primary",void 0),Un([C({type:Boolean})],Ln.prototype,"secondary",void 0),Un([C({type:Boolean})],Ln.prototype,"unbounded",void 0),Un([C({type:Boolean})],Ln.prototype,"activated",void 0),Un([C({type:Boolean})],Ln.prototype,"selected",void 0),Un([C({type:Boolean})],Ln.prototype,"disabled",void 0),Un([$()],Ln.prototype,"hovered",void 0),Un([$()],Ln.prototype,"focused",void 0),Un([$()],Ln.prototype,"pressed",void 0),Un([$()],Ln.prototype,"rippling",void 0),Un([$()],Ln.prototype,"originX",void 0),Un([$()],Ln.prototype,"originY",void 0),Un([k(".ft-ripple")],Ln.prototype,"ripple",void 0),Un([k(".ft-ripple--effect")],Ln.prototype,"rippleEffect",void 0),U("ft-ripple")(Ln);const Wn=we.create("--ft-tooltip-distance","","SIZE","4px"),zn=we.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Kn=we.create("--ft-tooltip-background-color","","COLOR","#666666"),Fn=we.create("--ft-tooltip-z-index","","NUMBER","100"),An=we.external(Ie.borderRadiusS,"Design system"),Zn=we.create("--ft-tooltip-max-width","","SIZE","150px"),Bn=St`
|
|
664
665
|
.ft-tooltip--container {
|
|
665
666
|
display: block;
|
|
666
667
|
}
|
|
@@ -675,21 +676,21 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
675
676
|
box-sizing: border-box;
|
|
676
677
|
overflow: hidden;
|
|
677
678
|
width: max-content;
|
|
678
|
-
max-width: ${
|
|
679
|
+
max-width: ${Zn};
|
|
679
680
|
text-align: center;
|
|
680
|
-
padding: ${
|
|
681
|
-
z-index: ${
|
|
681
|
+
padding: ${Wn};
|
|
682
|
+
z-index: ${Fn};
|
|
682
683
|
}
|
|
683
684
|
|
|
684
685
|
.ft-tooltip--content {
|
|
685
686
|
padding: 4px 8px;
|
|
686
|
-
border-radius: ${
|
|
687
|
-
background-color: ${
|
|
688
|
-
color: ${
|
|
687
|
+
border-radius: ${An};
|
|
688
|
+
background-color: ${Kn};
|
|
689
|
+
color: ${zn};
|
|
689
690
|
position: relative;
|
|
690
691
|
word-break: break-word;
|
|
691
692
|
}
|
|
692
|
-
`,Zi=["start","end"],Bi=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Zi[0],e+"-"+Zi[1])),[]),Mi=Math.min,Di=Math.max,Pi=Math.round,Hi=t=>({x:t,y:t}),Ti={left:"right",right:"left",bottom:"top",top:"bottom"},ji={start:"end",end:"start"};function _i(t,e,o){return Di(t,Mi(e,o))}function Gi(t,e){return"function"==typeof t?t(e):t}function Vi(t){return t.split("-")[0]}function Yi(t){return t.split("-")[1]}function Xi(t){return"x"===t?"y":"x"}function Ji(t){return"y"===t?"height":"width"}function qi(t){return["top","bottom"].includes(Vi(t))?"y":"x"}function Qi(t){return Xi(qi(t))}function tn(t){return t.replace(/left|right|bottom|top/g,(t=>Ti[t]))}function en(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function on(t,e,o){let{reference:r,floating:i}=t;const n=qi(e),a=Qi(e),s=Ji(a),l=Vi(e),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(Yi(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function rn(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Gi(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=en(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=en(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function nn(t,e,o){return(t?[...o.filter((e=>Yi(e)===t)),...o.filter((e=>Yi(e)!==t))]:o.filter((t=>Vi(t)===t))).filter((o=>!t||(Yi(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>ji[t]))}(o)!==o)))}const an=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Bi,autoAlignment:d=!0,...u}=Gi(t,e),y=void 0!==f||h===Bi?nn(f||null,d,h):h,g=await rn(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const r=Yi(t),i=Qi(t),n=Ji(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=tn(a)),[a,tn(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Vi(m)],g[x[0]],g[x[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const e=Yi(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=S.filter((t=>t[2].slice(0,Yi(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function sn(t){return pn(t)?(t.nodeName||"").toLowerCase():"#document"}function ln(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function cn(t){var e;return null==(e=(pn(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function pn(t){return t instanceof Node||t instanceof ln(t).Node}function fn(t){return t instanceof Element||t instanceof ln(t).Element}function hn(t){return t instanceof HTMLElement||t instanceof ln(t).HTMLElement}function dn(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ln(t).ShadowRoot)}function un(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=xn(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function yn(t){return["table","td","th"].includes(sn(t))}function gn(t){const e=bn(),o=xn(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function bn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function mn(t){return["html","body","#document"].includes(sn(t))}function xn(t){return ln(t).getComputedStyle(t)}function vn(t){return fn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function On(t){if("html"===sn(t))return t;const e=t.assignedSlot||t.parentNode||dn(t)&&t.host||cn(t);return dn(e)?e.host:e}function Nn(t){const e=On(t);return mn(e)?t.ownerDocument?t.ownerDocument.body:t.body:hn(e)&&un(e)?e:Nn(e)}function Sn(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=Nn(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=ln(i);return n?e.concat(a,a.visualViewport||[],un(i)?i:[],a.frameElement&&o?Sn(a.frameElement):[]):e.concat(i,Sn(i,[],o))}function wn(t){const e=xn(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=hn(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=Pi(o)!==n||Pi(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function Cn(t){return fn(t)?t:t.contextElement}function $n(t){const e=Cn(t);if(!hn(e))return Hi(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=wn(e);let a=(n?Pi(o.width):o.width)/r,s=(n?Pi(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Rn=Hi(0);function En(t){const e=ln(t);return bn()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Rn}function kn(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=Cn(t);let a=Hi(1);e&&(r?fn(r)&&(a=$n(r)):a=$n(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==ln(t))&&e}(n,o,r)?En(n):Hi(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=ln(n),e=r&&fn(r)?ln(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=$n(o),e=o.getBoundingClientRect(),r=xn(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,o=ln(o).frameElement}}return en({width:p,height:f,x:l,y:c})}function In(t){return kn(cn(t)).left+vn(t).scrollLeft}function Un(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=ln(t),r=cn(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=bn();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)r=function(t){const e=cn(t),o=vn(t),r=t.ownerDocument.body,i=Di(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Di(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+In(t);const s=-o.scrollTop;return"rtl"===xn(r).direction&&(a+=Di(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(cn(t));else if(fn(e))r=function(t,e){const o=kn(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=hn(t)?$n(t):Hi(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=En(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return en(r)}function Ln(t,e){const o=On(t);return!(o===e||!fn(o)||mn(o))&&("fixed"===xn(o).position||Ln(o,e))}function Wn(t,e,o){const r=hn(e),i=cn(e),n="fixed"===o,a=kn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Hi(0);if(r||!r&&!n)if(("body"!==sn(e)||un(i))&&(s=vn(e)),r){const t=kn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=In(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function zn(t,e){return hn(t)&&"fixed"!==xn(t).position?e?e(t):t.offsetParent:null}function Kn(t,e){const o=ln(t);if(!hn(t))return o;let r=zn(t,e);for(;r&&yn(r)&&"static"===xn(r).position;)r=zn(r,e);return r&&("html"===sn(r)||"body"===sn(r)&&"static"===xn(r).position&&!gn(r))?o:r||function(t){let e=On(t);for(;hn(e)&&!mn(e);){if(gn(e))return e;e=On(e)}return null}(t)||o}const Fn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=hn(o),n=cn(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Hi(1);const l=Hi(0);if((i||!i&&"fixed"!==r)&&(("body"!==sn(o)||un(n))&&(a=vn(o)),hn(o))){const t=kn(o);s=$n(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:cn,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=Sn(t,[],!1).filter((t=>fn(t)&&"body"!==sn(t))),i=null;const n="fixed"===xn(t).position;let a=n?On(t):t;for(;fn(a)&&!mn(a);){const e=xn(a),o=gn(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||un(a)&&!o&&Ln(t,a))?r=r.filter((t=>t!==a)):i=e,a=On(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],s=n.reduce(((t,o)=>{const r=Un(e,o,i);return t.top=Di(r.top,t.top),t.right=Mi(r.right,t.right),t.bottom=Mi(r.bottom,t.bottom),t.left=Di(r.left,t.left),t}),Un(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Kn,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Kn,n=this.getDimensions;return{reference:Wn(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return wn(t)},getScale:$n,isElement:fn,isRTL:function(t){return"rtl"===xn(t).direction}},An=(t,e,o)=>{const r=new Map,i={platform:Fn,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:f}=on(c,r,l),h=r,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):x.rects),({x:p,y:f}=on(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,e,{...i,platform:n})};function Zn(t){return function(t){for(let e=t;e;e=Bn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Bn(t);e;e=Bn(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Bn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Mn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Dn extends Be{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ne`
|
|
693
|
+
`;var Mn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Dn extends Do{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ne`
|
|
693
694
|
<div part="container"
|
|
694
695
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
695
696
|
@mouseenter=${this.onHover}
|
|
@@ -707,23 +708,23 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
707
708
|
</div>
|
|
708
709
|
</div>
|
|
709
710
|
</div>
|
|
710
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){
|
|
711
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Io(t,e,{platform:{...ko,getOffsetParent:t=>ko.getOffsetParent(t,Uo)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:e,y:o,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Me(r,t),c={x:e,y:o},p=await Xe(t,l),f=je(De(i)),h=He(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Be(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Be(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...t,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-o}}}}),qe({allowedPlacements:[o]})]});var r}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Dn.elementDefinitions={"ft-typography":Xi},Dn.styles=Bn,Mn([C()],Dn.prototype,"text",void 0),Mn([C({type:Boolean})],Dn.prototype,"manual",void 0),Mn([C({type:Boolean})],Dn.prototype,"inline",void 0),Mn([C({type:Number})],Dn.prototype,"delay",void 0),Mn([C()],Dn.prototype,"position",void 0),Mn([function(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}}()],Dn.prototype,"slotNodes",void 0),Mn([k(".ft-tooltip--container")],Dn.prototype,"container",void 0),Mn([k(".ft-tooltip")],Dn.prototype,"tooltip",void 0),Mn([k(".ft-tooltip--content")],Dn.prototype,"tooltipContent",void 0),Mn([$()],Dn.prototype,"visible",void 0),Mn([R({passive:!0})],Dn.prototype,"onTouch",null),Mn([R({passive:!0})],Dn.prototype,"onHover",null),Mn([R({passive:!0})],Dn.prototype,"onOut",null),Mn([R({passive:!0})],Dn.prototype,"onClick",null),U("ft-tooltip")(Dn);class Pn extends Do{render(){return ne`
|
|
711
712
|
<div class="ft-loader">
|
|
712
713
|
<div></div>
|
|
713
714
|
<div></div>
|
|
714
715
|
<div></div>
|
|
715
716
|
<div></div>
|
|
716
717
|
</div>
|
|
717
|
-
`}}Pn.styles=
|
|
718
|
+
`}}Pn.styles=On,U("ft-loader")(Pn);var Hn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Tn extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[er].form}constructor(...t){super(t),this[er]=this.attachInternals(),this[er].role=e}setFormValue(t){this[er].setFormValue(t)}}}(Do,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ne`
|
|
718
719
|
<button part="button"
|
|
719
|
-
class="${
|
|
720
|
+
class="${mr(this.buttonClasses)}"
|
|
720
721
|
aria-label="${this.getLabel()}"
|
|
721
722
|
?disabled=${this.isDisabled()}>
|
|
722
723
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
723
724
|
<ft-typography part="label"
|
|
724
725
|
variant=${this.typographyVariant}
|
|
725
726
|
element="span"
|
|
726
|
-
class="ft-button--label ${
|
|
727
|
+
class="ft-button--label ${nr?"ft-safari-ellipsis-fix":""}"
|
|
727
728
|
?hidden=${!this.hasTextContent()}>
|
|
728
729
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
729
730
|
</ft-typography>
|
|
@@ -737,7 +738,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
737
738
|
</ft-tooltip>
|
|
738
739
|
`:t}resolveIcon(){return this.loading?ne`
|
|
739
740
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?ne`
|
|
740
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:se}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Tn.elementDefinitions={"ft-ripple":
|
|
741
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:se}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Tn.elementDefinitions={"ft-ripple":Ln,"ft-tooltip":Dn,"ft-typography":Xi,"ft-icon":pn,"ft-loader":Pn},Hn([C({type:String,reflect:!0})],Tn.prototype,"role",void 0),Hn([C()],Tn.prototype,"type",void 0),Hn([C({type:Boolean})],Tn.prototype,"disabled",void 0),Hn([C()],Tn.prototype,"label",void 0),Hn([C()],Tn.prototype,"icon",void 0),Hn([C()],Tn.prototype,"iconVariant",void 0),Hn([C({type:Boolean})],Tn.prototype,"trailingIcon",void 0),Hn([C({type:Boolean})],Tn.prototype,"loading",void 0),Hn([C()],Tn.prototype,"tooltipPosition",void 0),Hn([C({type:Boolean})],Tn.prototype,"hideTooltip",void 0),Hn([C({type:Boolean})],Tn.prototype,"forceTooltip",void 0),Hn([k(".ft-button")],Tn.prototype,"button",void 0),Hn([k(".ft-button--label slot")],Tn.prototype,"slottedContent",void 0);var jn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class _n extends Tn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}_n.styles=[To,In],jn([C({type:Boolean})],_n.prototype,"primary",void 0),jn([C({type:Boolean})],_n.prototype,"outlined",void 0),jn([C({type:Boolean})],_n.prototype,"dense",void 0),jn([C({type:Boolean})],_n.prototype,"round",void 0);const Gn=[St`
|
|
741
742
|
:host {
|
|
742
743
|
display: inline-block;
|
|
743
744
|
max-width: 100%;
|
|
@@ -816,13 +817,13 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
816
817
|
/** Primary styles **/
|
|
817
818
|
|
|
818
819
|
.ft-button--primary {
|
|
819
|
-
${Ce(
|
|
820
|
+
${Ce(vn.color,ke.primaryIconColor)};
|
|
820
821
|
|
|
821
|
-
${Ce(
|
|
822
|
-
${Ce(
|
|
823
|
-
${Ce(
|
|
824
|
-
${Ce(
|
|
825
|
-
${Ce(
|
|
822
|
+
${Ce(hn.color,ke.primaryStateLayerColor)};
|
|
823
|
+
${Ce(hn.opacityContentOnSurfaceHover,ke.primaryStateLayerOpacityHover)};
|
|
824
|
+
${Ce(hn.opacityContentOnSurfaceFocused,ke.primaryStateLayerOpacityFocus)};
|
|
825
|
+
${Ce(hn.opacityContentOnSurfaceSelected,ke.primaryStateLayerOpacityActive)};
|
|
826
|
+
${Ce(hn.opacityContentOnSurfacePressed,ke.primaryStateLayerOpacityActive)};
|
|
826
827
|
|
|
827
828
|
background-color: ${ke.primaryBackgroundColor};
|
|
828
829
|
color: ${ke.primaryColor};
|
|
@@ -840,13 +841,13 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
840
841
|
/** Secondary styles **/
|
|
841
842
|
|
|
842
843
|
.ft-button--secondary {
|
|
843
|
-
${Ce(
|
|
844
|
+
${Ce(vn.color,ke.secondaryIconColor)};
|
|
844
845
|
|
|
845
|
-
${Ce(
|
|
846
|
-
${Ce(
|
|
847
|
-
${Ce(
|
|
848
|
-
${Ce(
|
|
849
|
-
${Ce(
|
|
846
|
+
${Ce(hn.color,ke.secondaryStateLayerColor)};
|
|
847
|
+
${Ce(hn.opacityContentOnSurfaceHover,ke.secondaryStateLayerOpacityHover)};
|
|
848
|
+
${Ce(hn.opacityContentOnSurfaceFocused,ke.secondaryStateLayerOpacityFocus)};
|
|
849
|
+
${Ce(hn.opacityContentOnSurfaceSelected,ke.secondaryStateLayerOpacityActive)};
|
|
850
|
+
${Ce(hn.opacityContentOnSurfacePressed,ke.secondaryStateLayerOpacityActive)};
|
|
850
851
|
|
|
851
852
|
background-color: ${ke.secondaryBackgroundColor};
|
|
852
853
|
color: ${ke.secondaryColor};
|
|
@@ -865,13 +866,13 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
865
866
|
/** Tertiary styles **/
|
|
866
867
|
|
|
867
868
|
.ft-button--tertiary {
|
|
868
|
-
${Ce(
|
|
869
|
+
${Ce(vn.color,ke.tertiaryIconColor)};
|
|
869
870
|
|
|
870
|
-
${Ce(
|
|
871
|
-
${Ce(
|
|
872
|
-
${Ce(
|
|
873
|
-
${Ce(
|
|
874
|
-
${Ce(
|
|
871
|
+
${Ce(hn.color,ke.tertiaryStateLayerColor)};
|
|
872
|
+
${Ce(hn.opacityContentOnSurfaceHover,ke.tertiaryStateLayerOpacityHover)};
|
|
873
|
+
${Ce(hn.opacityContentOnSurfaceFocused,ke.tertiaryStateLayerOpacityFocus)};
|
|
874
|
+
${Ce(hn.opacityContentOnSurfaceSelected,ke.tertiaryStateLayerOpacityActive)};
|
|
875
|
+
${Ce(hn.opacityContentOnSurfacePressed,ke.tertiaryStateLayerOpacityActive)};
|
|
875
876
|
|
|
876
877
|
background-color: ${ke.tertiaryBackgroundColor};
|
|
877
878
|
color: ${ke.tertiaryColor};
|
|
@@ -889,13 +890,13 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
889
890
|
/** Neutral styles **/
|
|
890
891
|
|
|
891
892
|
.ft-button--neutral {
|
|
892
|
-
${Ce(
|
|
893
|
+
${Ce(vn.color,ke.neutralIconColor)};
|
|
893
894
|
|
|
894
|
-
${Ce(
|
|
895
|
-
${Ce(
|
|
896
|
-
${Ce(
|
|
897
|
-
${Ce(
|
|
898
|
-
${Ce(
|
|
895
|
+
${Ce(hn.backgroundColor,ke.neutralStateLayerColor)};
|
|
896
|
+
${Ce(hn.opacityContentOnSurfaceHover,ke.neutralStateLayerOpacityHover)};
|
|
897
|
+
${Ce(hn.opacityContentOnSurfaceFocused,ke.neutralStateLayerOpacityFocus)};
|
|
898
|
+
${Ce(hn.opacityContentOnSurfaceSelected,ke.neutralStateLayerOpacityActive)};
|
|
899
|
+
${Ce(hn.opacityContentOnSurfacePressed,ke.neutralStateLayerOpacityActive)};
|
|
899
900
|
|
|
900
901
|
background-color: ${ke.neutralBackgroundColor};
|
|
901
902
|
color: ${ke.neutralColor};
|
|
@@ -913,8 +914,8 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
913
914
|
/** Large styles **/
|
|
914
915
|
|
|
915
916
|
.ft-button--large {
|
|
916
|
-
${Ce(
|
|
917
|
-
${Ce(
|
|
917
|
+
${Ce(an.size,ke.largeIconSize)};
|
|
918
|
+
${Ce(vn.size,ke.largeIconSize)};
|
|
918
919
|
|
|
919
920
|
height: ${ke.largeHeight};
|
|
920
921
|
padding: 0 ${ke.largeHorizontalPadding};
|
|
@@ -936,8 +937,8 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
936
937
|
/** Small styles **/
|
|
937
938
|
|
|
938
939
|
.ft-button--small {
|
|
939
|
-
${Ce(
|
|
940
|
-
${Ce(
|
|
940
|
+
${Ce(an.size,ke.smallIconSize)};
|
|
941
|
+
${Ce(vn.size,ke.smallIconSize)};
|
|
941
942
|
|
|
942
943
|
height: ${ke.smallHeight};
|
|
943
944
|
padding: 0 ${ke.smallHorizontalPadding};
|
|
@@ -955,7 +956,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
955
956
|
width: ${ke.smallIconOnlyWidth};
|
|
956
957
|
padding: unset;
|
|
957
958
|
}
|
|
958
|
-
`,
|
|
959
|
+
`,Ho];var Vn,Yn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xn extends Tn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Lr.caption1medium:Lr.body2medium}}Xn.styles=[To,Gn],Yn([C({type:Boolean})],Xn.prototype,"primary",void 0),Yn([C({type:Boolean})],Xn.prototype,"secondary",void 0),Yn([C({type:Boolean})],Xn.prototype,"tertiary",void 0),Yn([C({type:Boolean})],Xn.prototype,"neutral",void 0),Yn([C({type:Boolean})],Xn.prototype,"small",void 0),U("ft-button")(_n),U("ftds-button")(Xn),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(Vn||(Vn={}));const Jn=St`
|
|
959
960
|
.ft-size-watcher--pixel {
|
|
960
961
|
width: 0;
|
|
961
962
|
height: 0;
|
|
@@ -974,7 +975,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
974
975
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
975
976
|
width: 100%;
|
|
976
977
|
}
|
|
977
|
-
`;var qn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Qn extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class ta extends
|
|
978
|
+
`;var qn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Qn extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class ta extends Do{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Vn.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return ne`
|
|
978
979
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
979
980
|
<div class="ft-size-watcher--watcher"></div>
|
|
980
981
|
</div>
|
|
@@ -986,7 +987,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
986
987
|
.ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
|
|
987
988
|
background-color: ${oa.highlightedBackgroundColor};
|
|
988
989
|
color: ${oa.highlightedTextColor};
|
|
989
|
-
${Ce(
|
|
990
|
+
${Ce(Kr.fontWeight,oa.highlightedFontWeight)}
|
|
990
991
|
}
|
|
991
992
|
|
|
992
993
|
.ft-reader-toc--link-container {
|
|
@@ -1001,7 +1002,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
1001
1002
|
}
|
|
1002
1003
|
|
|
1003
1004
|
ft-button {
|
|
1004
|
-
${Ce(
|
|
1005
|
+
${Ce(Sn.iconSize,oa.iconFontSize)};
|
|
1005
1006
|
}
|
|
1006
1007
|
|
|
1007
1008
|
.ft-reader-toc--leaf-node-icon {
|
|
@@ -1009,13 +1010,13 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
1009
1010
|
}
|
|
1010
1011
|
|
|
1011
1012
|
.ft-reader-toc--tree-node-button {
|
|
1012
|
-
${Ce(
|
|
1013
|
-
${Ce(
|
|
1013
|
+
${Ce(Sn.color,oa.treeNodeIconColor)};
|
|
1014
|
+
${Ce(Sn.backgroundColor,oa.nodeButtonBackgroundColor)};
|
|
1014
1015
|
}
|
|
1015
1016
|
|
|
1016
1017
|
.ft-reader-toc--expand-collapse-all-button {
|
|
1017
|
-
${Ce(
|
|
1018
|
-
${Ce(
|
|
1018
|
+
${Ce(Sn.color,oa.expandCollapseAllButtonColor)};
|
|
1019
|
+
${Ce(Sn.backgroundColor,oa.expandCollapseAllButtonBackgroundColor)};
|
|
1019
1020
|
}
|
|
1020
1021
|
|
|
1021
1022
|
.ft-reader-toc--toggle-container {
|
|
@@ -1058,11 +1059,11 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
1058
1059
|
.ft-reader-toc-expand-collapse-all-justify ft-button {
|
|
1059
1060
|
flex-grow: 1;
|
|
1060
1061
|
}
|
|
1061
|
-
`;var ia=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class na extends
|
|
1062
|
-
<div class=${
|
|
1062
|
+
`;var ia=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class na extends $r{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=ln.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=ln.fluid_topics,this.leafNodeIcon="DOT",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.empty=!0,this.labels={},this.labelResolver=new jo(ea,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=Vn.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return"current-page"===this.scope}update(t){var e,o,r;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(e=this.toc)&&void 0!==e?e:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new jo(ea,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(o=this.highlightedTocIds)&&void 0!==o?o:[])),this.empty=0===(null!==(r=this.toc)&&void 0!==r?r:[]).length}render(){var t;const e={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===Vn.S,"ft-reader-toc-desktop":this.viewportSize!==Vn.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return ne`
|
|
1063
|
+
<div class=${mr(e)}>
|
|
1063
1064
|
<ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
|
|
1064
1065
|
${this.renderExpandCollapseAll()}
|
|
1065
|
-
${
|
|
1066
|
+
${br(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
|
|
1066
1067
|
</div>
|
|
1067
1068
|
`}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?ne`
|
|
1068
1069
|
<div part="expand-collapse-all-container"
|
|
@@ -1082,7 +1083,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
1082
1083
|
</div>
|
|
1083
1084
|
`:se}renderNode(t){var e,o,r;const i=null===(e=this.highlightedTocIds)||void 0===e?void 0:e.includes(t.tocId),n=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),a=t.children.length>0,s=this.isCurrentPageToc?(null!==(r=null===(o=this.currentPage)||void 0===o?void 0:o.breadcrumb.length)&&void 0!==r?r:0)+1:0,l=t.depth-1-s,c={"padding-left":`calc( ${oa.tabulationSize} * ${l} + 4px)`};return ne`
|
|
1084
1085
|
<div class="ft-reader-toc--node ${i?"ft-reader-toc--node-highlighted":""}">
|
|
1085
|
-
<div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${
|
|
1086
|
+
<div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${Or(c)}>
|
|
1086
1087
|
${this.nodesToExpandExist&&!this.expanded?ne`
|
|
1087
1088
|
<div class="ft-reader-toc--toggle-container">
|
|
1088
1089
|
${a?ne`
|
|
@@ -1113,9 +1114,9 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
1113
1114
|
${a?ne`
|
|
1114
1115
|
<div class="ft-reader-toc--node-children" id="${t.tocId}-children"
|
|
1115
1116
|
?hidden=${!n}>
|
|
1116
|
-
${n?
|
|
1117
|
+
${n?br(t.children,(t=>t.tocId),(t=>this.renderNode(t))):se}
|
|
1117
1118
|
</div>
|
|
1118
1119
|
`:se}
|
|
1119
1120
|
</div>
|
|
1120
1121
|
`}buildAutomaticallyExpandedNodes(t){var e,o;let r=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let i of t){let t=i;for(;t&&!r.has(t);)r.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(o=null===(e=this.service)||void 0===e?void 0:e.getTocNodeNow(t))||void 0===o?void 0:o.parentTocId}return r}manuallyToggle(t,e){e?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}getLeafNodeIcon(){return ne`
|
|
1121
|
-
<ft-icon class="ft-reader-toc--leaf-node-icon" .variant="${this.leafNodeIconVariant}" .value="${this.leafNodeIcon}"></ft-icon>`}}na.elementDefinitions={"ft-button":_n,"ft-icon":
|
|
1122
|
+
<ft-icon class="ft-reader-toc--leaf-node-icon" .variant="${this.leafNodeIconVariant}" .value="${this.leafNodeIcon}"></ft-icon>`}}na.elementDefinitions={"ft-button":_n,"ft-icon":pn,"ft-reader-internal-link":tn,"ft-size-watcher":ta,"ft-typography":Xi},na.styles=ra,ia([C({type:Boolean})],na.prototype,"expanded",void 0),ia([C()],na.prototype,"iconVariant",void 0),ia([C()],na.prototype,"collapseIcon",void 0),ia([C()],na.prototype,"expandIcon",void 0),ia([C()],na.prototype,"leafNodeIconVariant",void 0),ia([C()],na.prototype,"leafNodeIcon",void 0),ia([C({type:Boolean})],na.prototype,"expandCollapseAll",void 0),ia([C({type:Boolean})],na.prototype,"expandCollapseAllHideLabel",void 0),ia([C({type:Boolean})],na.prototype,"expandCollapseAllTrailingIcon",void 0),ia([C()],na.prototype,"expandCollapseAllAlignment",void 0),ia([C({type:Boolean})],na.prototype,"expandCollapseAllHideIcon",void 0),ia([C()],na.prototype,"expandCollapseAllIconVariant",void 0),ia([C()],na.prototype,"collapseAllIcon",void 0),ia([C()],na.prototype,"expandAllIcon",void 0),ia([C({type:Boolean})],na.prototype,"autoCollapse",void 0),ia([C()],na.prototype,"scope",void 0),ia([C({type:Boolean,reflect:!0})],na.prototype,"empty",void 0),ia([L({})],na.prototype,"labels",void 0),ia([_o({selector:(t,e)=>{var o,r,i;return e.isCurrentPageToc?(null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc)?null===(r=t.currentPage)||void 0===r?void 0:r.toc:void 0:(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)?t.pagesToc:t.toc}})],na.prototype,"toc",void 0),ia([_o()],na.prototype,"currentPage",void 0),ia([_o({selector:(t,e)=>{var o,r;return(null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc)&&!e.isCurrentPageToc?[null===(r=t.currentPage)||void 0===r?void 0:r.rootTocId]:t.visibleTopics}})],na.prototype,"highlightedTocIds",void 0),ia([$({hasChanged:(t,e)=>!I(t,e)})],na.prototype,"automaticallyExpandedNodes",void 0),ia([$({hasChanged:(t,e)=>!I(t,e)})],na.prototype,"manuallyExpandedNodes",void 0),ia([$({hasChanged:(t,e)=>!I(t,e)})],na.prototype,"manuallyCollapsedNodes",void 0),ia([$()],na.prototype,"expandAll",void 0),ia([$()],na.prototype,"viewportSize",void 0),U("ft-reader-toc")(na),t.DEFAULT_LABELS=ea,t.FtReaderToc=na,t.FtReaderTocCssVariables=oa,t.styles=ra}({});
|