@fluid-topics/ft-reader-topic-metadata 1.0.63 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,68 +1,88 @@
|
|
|
1
1
|
!function(t){
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
*/
|
|
17
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=r.prototype.attributeChangedCallback,s=new Set(r.observedAttributes||[]);h(r,s,l);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,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(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=s;if(o)return s=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),s=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&l.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.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,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0!==r.get(e).formAssociated)throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`);i?.call(this,...o)}}));class i 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 o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(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,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(_e){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
5
|
+
* This code may only be used under the BSD style license found at
|
|
6
|
+
* http://polymer.github.io/LICENSE.txt
|
|
7
|
+
* The complete set of authors may be found at
|
|
8
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
9
|
+
* The complete set of contributors may be found at
|
|
10
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
11
|
+
* Code distributed by Google as part of the polymer project is also
|
|
12
|
+
* subject to an additional IP rights grant found at
|
|
13
|
+
* http://polymer.github.io/PATENTS.txt
|
|
14
|
+
*/
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=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,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=h(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,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(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},h=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||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,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.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,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i 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 o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(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,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Ji){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
18
16
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
* @license
|
|
18
|
+
* Copyright 2019 Google LLC
|
|
19
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
+
*/const e=globalThis,i=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(i&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=n.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return a(o)})(t):t
|
|
23
21
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
* @license
|
|
23
|
+
* Copyright 2017 Google LLC
|
|
24
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
+
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:h,getOwnPropertySymbols:f,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let N=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...h(t),...f(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};N.elementStyles=[],N.shadowRootOptions={mode:"open"},N[m("elementProperties")]=new Map,N[m("finalized")]=new Map,b?.({ReactiveElement:N}),(u.reactiveElementVersions??=[]).push("2.0.2");
|
|
28
26
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright 2017 Google LLC
|
|
29
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
+
*/
|
|
31
|
+
const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,o,e)=>{const{kind:i,metadata:r}=e;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(e.name,t),"accessor"===i){const{name:i}=e;return{set(e){const r=o.get.call(this);o.set.call(this,e),this.requestUpdate(i,r,t)},init(o){return void 0!==o&&this.C(i,void 0,t),o}}}if("setter"===i){const{name:i}=e;return function(e){const r=this[i];o.call(this,e),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function C(t){return(o,e)=>"object"==typeof e?w(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
33
32
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
* @license
|
|
34
|
+
* Copyright 2017 Google LLC
|
|
35
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
+
*/}function $(t){return C({...t,state:!0,attribute:!1})}
|
|
38
37
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
* @license
|
|
39
|
+
* Copyright 2017 Google LLC
|
|
40
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
+
*/const E=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
43
42
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
const f=window,h=f.ShadowRoot&&(void 0===f.ShadyCSS||f.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d=Symbol(),u=new WeakMap;let y=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==d)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(h&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=u.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&u.set(o,t))}return t}toString(){return this.cssText}};const g=t=>new y("string"==typeof t?t:t+"",void 0,d),b=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,i)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[i+1]),t[0]);return new y(e,t,d)},m=(t,o)=>{h?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=f.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))},v=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return g(o)})(t):t
|
|
43
|
+
* @license
|
|
44
|
+
* Copyright 2017 Google LLC
|
|
45
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
+
*/;function R(t,o){return(e,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof i?e:r??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return E(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return E(0,0,{get(){return n(this)}})}}
|
|
49
47
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
48
|
+
* @license
|
|
49
|
+
* Copyright 2017 Google LLC
|
|
50
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
+
*/function U(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!U(t[i],o[i]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;for(i of t.entries())if(!U(i[1],o.get(i[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(r=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(i=e;0!=i--;)if(!Object.prototype.hasOwnProperty.call(o,r[i]))return!1;for(i=e;0!=i--;){var n=r[i];if(!U(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const k=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
|
|
54
52
|
/**
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
* @license
|
|
54
|
+
* Copyright 2017 Google LLC
|
|
55
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
+
*/
|
|
57
|
+
const I=globalThis,L=I.trustedTypes,W=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+K,F=`<${Z}>`,B=document,A=()=>B.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,P="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,T=/>/g,_=RegExp(`>|${P}(?:([^\\s"'>=/]+)(${P}*=${P}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,Y=/"/g,V=/^(?:script|style|textarea|title)$/i,J=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),q=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Q=new WeakMap,tt=B.createTreeWalker(B,129);function ot(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==W?W.createHTML(o):o}let et=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=((t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=H;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===H?"!--"===l[1]?a=j:void 0!==l[1]?a=T:void 0!==l[2]?(V.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=_):void 0!==l[3]&&(a=_):a===_?">"===l[0]?(a=r??H,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?_:'"'===l[3]?Y:G):a===Y||a===G?a=_:a===j||a===T?a=H:(a=_,r=void 0);const h=a===_&&t[o+1].startsWith("/>")?" ":"";n+=a===H?e+F:c>=0?(i.push(s),e.slice(0,c)+z+e.slice(c)+K+h):e+K+(-2===c?o:h)}return[ot(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]})(o,e);if(this.el=t.createElement(c,i),tt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=tt.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(z)){const o=p[a++],e=r.getAttribute(t).split(K),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?at:"?"===i[1]?st:"@"===i[1]?lt:nt}),r.removeAttribute(t)}else t.startsWith(K)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(V.test(r.tagName)){const t=r.textContent.split(K),o=t.length-1;if(o>0){r.textContent=L?L.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],A()),tt.nextNode(),l.push({type:2,index:++n});r.append(t[o],A())}}}else if(8===r.nodeType)if(r.data===Z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(K,t+1));)l.push({type:7,index:n}),t+=K.length-1}n++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}};function it(t,o,e=t,i){if(o===q)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=M(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=it(t,r._$AS(t,o.values),r,i)),o}let rt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=it(this,t,o),M(t)?t===X||null==t||""===t?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>D(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==X&&M(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=et.createElement(ot(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??B).importNode(o,!0);tt.currentNode=i;let r=tt.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new rt(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new ct(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=tt.nextNode(),n++)}return tt.currentNode=B,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new et(t)),o}T(o){D(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(A()),this.k(A()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},nt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=X,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=X}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=it(this,t,o,0),n=!M(t)||t!==this._$AH&&t!==q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=it(this,i[e+a],o,a),s===q&&(s=this._$AH[a]),n||=!M(s)||s!==this._$AH[a],s===X?t=X:t!==X&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},at=class extends nt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===X?void 0:t}},st=class extends nt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},lt=class extends nt{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=it(this,t,o,0)??X)===q)return;const e=this._$AH,i=t===X&&e!==X||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==X&&(e===X||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ct=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){it(this,t)}};const pt=I.litHtmlPolyfillSupport;pt?.(et,rt),(I.litHtmlVersions??=[]).push("3.1.0");
|
|
60
58
|
/**
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
var ht,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var i,r;const n=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:o;let a=n._$litPart$;if(void 0===a){const t=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:null;n._$litPart$=a=new rt(o.insertBefore(B(),t),t,void 0,null!=e?e:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return J}};ut.finalized=!0,ut._$litElement$=!0,null===(ht=globalThis.litElementHydrateSupport)||void 0===ht||ht.call(globalThis,{LitElement:ut});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:ut}),(null!==(dt=globalThis.litElementVersions)&&void 0!==dt?dt:globalThis.litElementVersions=[]).push("3.3.2");const gt=t=>"string"==typeof t?g(t):t;class bt{static create(t,o,e,i){const r=t=>gt(null!=t?t:i),n=b`var(${gt(t)}, ${r(i)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>b`var(${gt(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=b`var(${gt(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>b`var(${gt(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):gt(null!=o?o:t.lastResortDefaultValue()),i=b`var(${gt(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>b`var(${gt(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function mt(t,o){return gt(`${t.name}: ${o}`)}const vt={colorWhite:bt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:bt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:bt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:bt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:bt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:bt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:bt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:bt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:bt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:bt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:bt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:bt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:bt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:bt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:bt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:bt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:bt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:bt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:bt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:bt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:bt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:bt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:bt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:bt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:bt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:bt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:bt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:bt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:bt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:bt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:bt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:bt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:bt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:bt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:bt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:bt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:bt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:bt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:bt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:bt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:bt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:bt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:bt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:bt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:bt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:bt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:bt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:bt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:bt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:bt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:bt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:bt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:bt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:bt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:bt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:bt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:bt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:bt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:bt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:bt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:bt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:bt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:bt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:bt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:bt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:bt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:bt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:bt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:bt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:bt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:bt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:bt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:bt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:bt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:bt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:bt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:bt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:bt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:bt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:bt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:bt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:bt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:bt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:bt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:bt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:bt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:bt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:bt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:bt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:bt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:bt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:bt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:bt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:bt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:bt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:bt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:bt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:bt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:bt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:bt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:bt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:bt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:bt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:bt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:bt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:bt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:bt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:bt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:bt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:bt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:bt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:bt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:bt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:bt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:bt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:bt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:bt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:bt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:bt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:bt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:bt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:bt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:bt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:bt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:bt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:bt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:bt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:bt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:bt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:bt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:bt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:bt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:bt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:bt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:bt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:bt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:bt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:bt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:bt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:bt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:bt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:bt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:bt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:bt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:bt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:bt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:bt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:bt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:bt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:bt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:bt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:bt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:bt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:bt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:bt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:bt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:bt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:bt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:bt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:bt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:bt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:bt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:bt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:bt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:bt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:bt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:bt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:bt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:bt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:bt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:bt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:bt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:bt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:bt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:bt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:bt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:bt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:bt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:bt.create("--ft-opacity-0","","NUMBER","0"),opacity8:bt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:bt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:bt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:bt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:bt.create("--ft-opacity-80","","NUMBER","0.8")},xt={display:{fontFamily:bt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:bt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:bt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:bt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:bt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:bt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:bt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:bt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:bt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:bt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:bt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:bt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:bt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:bt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:bt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:bt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:bt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:bt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:bt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:bt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:bt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:bt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:bt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:bt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:bt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:bt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:bt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:bt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:bt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:bt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:bt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:bt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:bt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:bt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:bt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ot={backgroundActionPrimary:bt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",vt.colorBrand0),backgroundErrorPrimary:bt.extend("--ft-background-error-primary","Used as background of error components.",vt.colorRed0),backgroundErrorSubtle:bt.extend("--ft-background-error-subtle","Used as background of subtle error components.",vt.colorRed10),backgroundInfoPrimary:bt.extend("--ft-background-info-primary","Used as background of information components.",vt.colorCyan200),backgroundInfoSubtle:bt.extend("--ft-background-info-subtle","Used as background of subtle information components.",vt.colorCyan10),backgroundWarningPrimary:bt.extend("--ft-background-warning-primary","Used as background of warning components.",vt.colorOrange300),backgroundWarningSubtle:bt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",vt.colorOrange10),backgroundSuccessPrimary:bt.extend("--ft-background-success-primary","Used as background of success components.",vt.colorGreen200),backgroundSuccessSubtle:bt.extend("--ft-background-success-subtle","Used as background of subtle success components.",vt.colorGreen10),backgroundGlobalSurface:bt.extend("--ft-background-global-surface","Used as app background.",vt.colorWhite),backgroundGlobalOnSurface:bt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",vt.colorGray10),backgroundGlobalOnSurfaceDark:bt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",vt.colorGray30),contentActionPrimary:bt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",vt.colorBrand0),contentWarningPrimary:bt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",vt.colorOrange300),contentWarningIconOnly:bt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",vt.colorOrange0),contentErrorPrimary:bt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",vt.colorRed0),contentErrorIconOnly:bt.extend("--ft-content-error-icon-only","Used on error status icons alone",vt.colorRed0),contentInfoPrimary:bt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",vt.colorCyan200),contentInfoIconOnly:bt.extend("--ft-content-info-icon-only","Used on info status icons alone",vt.colorCyan0),contentSuccessIconOnly:bt.extend("--ft-content-success-icon-only","Used on success status icons alone",vt.colorGreen0),contentSuccessPrimary:bt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",vt.colorGreen200),contentGlobalPrimary:bt.extend("--ft-content-global-primary","Used for main content on the page.",vt.colorGray500),contentGlobalSecondary:bt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",vt.colorGray200),contentGlobalSubtle:bt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",vt.colorGray0),contentGlobalOnColor:bt.extend("--ft-content-global-on-color","Used for content on a dominant color.",vt.colorWhite),borderActionPrimary:bt.extend("--ft-border-action-primary","Used as border for primary action components.",vt.colorBrand0),borderActionFocusRing:bt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",vt.colorCyan0),borderWarningPrimary:bt.extend("--ft-border-warning-primary","Used as border for warning components.",vt.colorOrange30),borderSuccessPrimary:bt.extend("--ft-border-success-primary","Used as border for success components.",vt.colorGreen30),borderErrorPrimary:bt.extend("--ft-border-error-primary","Used as border for error components.",vt.colorRed30),borderInfoPrimary:bt.extend("--ft-border-info-primary","Used as border for information components.",vt.colorCyan30),borderGlobalSubtle:bt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",vt.colorGray30),borderGlobalPrimary:bt.extend("--ft-border-global-primary","Used as border for element like input.",vt.colorGray50),borderInputPrimary:bt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",vt.colorGray80)},Nt={largeHeight:bt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:bt.extend("--ft-button-large-horizontal-padding","",vt.spacing4),largeGap:bt.extend("--ft-button-large-gap","",vt.spacing2),largeBorderRadius:bt.extend("--ft-button-large-border-radius","",vt.borderRadiusS),largeIconSize:bt.extend("--ft-button-large-icon-size","",vt.iconSize3),largeBorderWidth:bt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:bt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:bt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:bt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:bt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:bt.extend("--ft-button-small-horizontal-padding","",vt.spacing3),smallGap:bt.extend("--ft-button-small-gap","",vt.spacing2),smallBorderRadius:bt.extend("--ft-button-small-border-radius","",vt.borderRadiusS),smallIconSize:bt.extend("--ft-button-small-icon-size","",vt.iconSize2),smallBorderWidth:bt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:bt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:bt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:bt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:bt.extend("--ft-button-primary-background-color","",Ot.backgroundActionPrimary),primaryColor:bt.extend("--ft-button-primary-color","",Ot.contentGlobalOnColor),primaryIconColor:bt.extend("--ft-button-primary-icon-color","",Ot.contentGlobalOnColor),primaryStateLayerColor:bt.extend("--ft-button-primary-state-layer-color","",Ot.contentGlobalOnColor),primaryStateLayerOpacityHover:bt.extend("--ft-button-primary-state-layer-opacity-hover","",vt.opacity16),primaryStateLayerOpacityFocus:bt.extend("--ft-button-primary-state-layer-opacity-focus","",vt.opacity16),primaryStateLayerOpacityActive:bt.extend("--ft-button-primary-state-layer-opacity-active","",vt.opacity24),primaryComponentOpacityDisabled:bt.extend("--ft-button-primary-component-opacity-disabled","",vt.opacity40),focusFocusRingColor:bt.extend("--ft-button-focus-focus-ring-color","",Ot.borderActionFocusRing),tertiaryBackgroundColor:bt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:bt.extend("--ft-button-tertiary-color","",Ot.contentActionPrimary),tertiaryIconColor:bt.extend("--ft-button-tertiary-icon-color","",Ot.contentActionPrimary),tertiaryStateLayerColor:bt.extend("--ft-button-tertiary-state-layer-color","",Ot.contentActionPrimary),tertiaryStateLayerOpacityHover:bt.extend("--ft-button-tertiary-state-layer-opacity-hover","",vt.opacity8),tertiaryStateLayerOpacityFocus:bt.extend("--ft-button-tertiary-state-layer-opacity-focus","",vt.opacity8),tertiaryStateLayerOpacityActive:bt.extend("--ft-button-tertiary-state-layer-opacity-active","",vt.opacity16),tertiaryComponentOpacityDisabled:bt.extend("--ft-button-tertiary-component-opacity-disabled","",vt.opacity40),secondaryBackgroundColor:bt.extend("--ft-button-secondary-background-color","",vt.colorWhite),secondaryColor:bt.extend("--ft-button-secondary-color","",Ot.contentActionPrimary),secondaryIconColor:bt.extend("--ft-button-secondary-icon-color","",Ot.contentActionPrimary),secondaryStateLayerColor:bt.extend("--ft-button-secondary-state-layer-color","",Ot.contentActionPrimary),secondaryStateLayerOpacityHover:bt.extend("--ft-button-secondary-state-layer-opacity-hover","",vt.opacity8),secondaryStateLayerOpacityFocus:bt.extend("--ft-button-secondary-state-layer-opacity-focus","",vt.opacity8),secondaryStateLayerOpacityActive:bt.extend("--ft-button-secondary-state-layer-opacity-active","",vt.opacity16),secondaryComponentOpacityDisabled:bt.extend("--ft-button-secondary-component-opacity-disabled","",vt.opacity40),secondaryBorderColor:bt.extend("--ft-button-secondary-border-color","",Ot.borderActionPrimary),neutralBackgroundColor:bt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:bt.extend("--ft-button-neutral-icon-color","",Ot.contentGlobalSecondary),neutralColor:bt.extend("--ft-button-neutral-color","",Ot.contentGlobalSecondary),neutralStateLayerColor:bt.extend("--ft-button-neutral-state-layer-color","",Ot.contentGlobalSecondary),neutralStateLayerOpacityHover:bt.extend("--ft-button-neutral-state-layer-opacity-hover","",vt.opacity8),neutralStateLayerOpacityFocus:bt.extend("--ft-button-neutral-state-layer-opacity-focus","",vt.opacity8),neutralStateLayerOpacityActive:bt.extend("--ft-button-neutral-state-layer-opacity-active","",vt.opacity16),neutralComponentOpacityDisabled:bt.extend("--ft-button-neutral-component-opacity-disabled","",vt.opacity40)};bt.extend("--ft-tabs-top-left-border-radius","",vt.borderRadiusS),bt.extend("--ft-tabs-top-right-border-radius","",vt.borderRadiusS),bt.extend("--ft-tabs-label-horizontal-padding","",vt.spacing4),bt.extend("--ft-tabs-label-vertical-padding","",vt.spacing3),bt.extend("--ft-tabs-label-gap","",vt.spacing1),bt.extend("--ft-switch-group-horizontal-padding","",vt.spacing1),bt.extend("--ft-switch-group-vertical-padding","",vt.spacing1),bt.extend("--ft-switch-group-gap","",vt.spacing1),bt.extend("--ft-switch-group-background-color","",Ot.backgroundGlobalSurface),bt.extend("--ft-switch-group-border-color","",Ot.borderGlobalSubtle),bt.create("--ft-switch-group-border-radius","","SIZE","6px"),bt.extend("--ft-switch-label-horizontal-padding","",vt.spacing2),bt.extend("--ft-switch-label-vertical-padding","",vt.spacing1),bt.extend("--ft-switch-icon-horizontal-padding","",vt.spacing1),bt.extend("--ft-switch-icon-vertical-padding","",vt.spacing1),bt.create("--ft-switch-focus-outline-width","","SIZE","2px"),bt.extend("--ft-switch-focus-focus-ring-color","",Ot.borderActionFocusRing),bt.extend("--ft-switch-option-border-radius","",vt.borderRadiusS),bt.extend("--ft-switch-off-state-layer-opacity-hover","",vt.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-focus","",vt.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-active","",vt.opacity16),bt.extend("--ft-switch-off-component-opacity-disabled","",vt.opacity40),bt.extend("--ft-switch-off-color","",Ot.contentGlobalSubtle),bt.extend("--ft-switch-off-state-layer-color","",Ot.contentGlobalSubtle),bt.extend("--ft-chart-1-light","for area color charts",vt.colorBrand40),bt.extend("--ft-chart-1-base","for line charts",vt.colorBrand0),bt.extend("--ft-chart-2-light","for area color charts",vt.colorYellow60),bt.extend("--ft-chart-2-base","for line charts",vt.colorYellow100),bt.extend("--ft-chart-3-light","",vt.colorUltramarine40),bt.extend("--ft-chart-3-base","",vt.colorUltramarine70),bt.extend("--ft-chart-4-light","",vt.colorCyan50),bt.extend("--ft-chart-4-base","",vt.colorCyan100),bt.extend("--ft-chart-5-light","",vt.colorRed40),bt.extend("--ft-chart-5-base","",vt.colorRed60),bt.extend("--ft-chart-6-light","",vt.colorGreen40),bt.extend("--ft-chart-6-base","",vt.colorGreen70),bt.extend("--ft-chart-7-light","",vt.colorOrange70),bt.extend("--ft-chart-7-base","",vt.colorOrange100),bt.extend("--ft-chart-8-light","",vt.colorAvocado70),bt.extend("--ft-chart-8-base","",vt.colorAvocado200),bt.extend("--ft-chart-9-light","",vt.colorBrown50),bt.extend("--ft-chart-9-base","",vt.colorBrown200),bt.extend("--ft-chart-10-light","",vt.colorGray50),bt.extend("--ft-chart-10-base","",vt.colorGray80),bt.extend("--ft-chart-monochrome-10","",vt.colorBrand10),bt.extend("--ft-chart-monochrome-20","",vt.colorBrand20),bt.extend("--ft-chart-monochrome-30","",vt.colorBrand40),bt.extend("--ft-chart-monochrome-40","",vt.colorBrand60),bt.extend("--ft-chart-monochrome-50","",vt.colorBrand0),bt.extend("--ft-chart-monochrome-60","",vt.colorBrand200),bt.extend("--ft-chip-large-horizontal-padding","",vt.spacing4),bt.extend("--ft-chip-large-vertical-padding","",vt.spacing2),bt.extend("--ft-chip-large-gap","",vt.spacing1),bt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-large-border-radius","",vt.borderRadiusPill),bt.create("--ft-chip-large-border-width","","SIZE","1px"),bt.extend("--ft-chip-large-icon-size","",vt.iconSize3),bt.extend("--ft-chip-medium-horizontal-padding","",vt.spacing3),bt.extend("--ft-chip-medium-vertical-padding","",vt.spacing1),bt.extend("--ft-chip-medium-gap","",vt.spacing1),bt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-medium-border-radius","",vt.borderRadiusPill),bt.create("--ft-chip-medium-border-width","","SIZE","1px"),bt.extend("--ft-chip-medium-icon-size","",vt.iconSize2),bt.extend("--ft-chip-small-horizontal-padding","",vt.spacing2),bt.extend("--ft-chip-small-vertical-padding","",vt.spacing05),bt.extend("--ft-chip-small-gap","",vt.spacing1),bt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-small-border-radius","",vt.borderRadiusPill),bt.create("--ft-chip-small-border-width","","SIZE","1px"),bt.extend("--ft-chip-small-icon-size","",vt.iconSize1),bt.extend("--ft-chip-neutral-background-color","",Ot.backgroundGlobalOnSurface),bt.extend("--ft-chip-neutral-color","",Ot.contentGlobalPrimary),bt.extend("--ft-chip-neutral-border-color","",Ot.borderGlobalSubtle),bt.extend("--ft-chip-info-background-color","",Ot.backgroundInfoSubtle),bt.extend("--ft-chip-info-color","",Ot.contentInfoPrimary),bt.extend("--ft-chip-info-border-color","",Ot.borderInfoPrimary),bt.extend("--ft-chip-success-background-color","",Ot.backgroundSuccessSubtle),bt.extend("--ft-chip-success-color","",Ot.contentSuccessPrimary),bt.extend("--ft-chip-success-border-color","",Ot.borderSuccessPrimary),bt.extend("--ft-chip-warning-background-color","",Ot.backgroundWarningSubtle),bt.extend("--ft-chip-warning-color","",Ot.contentWarningPrimary),bt.extend("--ft-chip-warning-border-color","",Ot.borderWarningPrimary),bt.extend("--ft-chip-error-background-color","",Ot.backgroundErrorSubtle),bt.extend("--ft-chip-error-color","",Ot.contentErrorPrimary),bt.extend("--ft-chip-error-border-color","",Ot.borderErrorPrimary),bt.create("--ft-notice-border-width","","SIZE","1px"),bt.extend("--ft-notice-horizontal-padding","",vt.spacing2),bt.extend("--ft-notice-vertical-padding","",vt.spacing1),bt.extend("--ft-notice-border-radius","",vt.borderRadiusS),bt.extend("--ft-notice-gap","",vt.spacing2),bt.extend("--ft-notice-icon-size","",vt.iconSize3),bt.extend("--ft-notice-info-background-color","",Ot.backgroundInfoSubtle),bt.extend("--ft-notice-info-border-color","",Ot.borderInfoPrimary),bt.extend("--ft-notice-info-color","",Ot.contentInfoPrimary),bt.extend("--ft-notice-warning-background-color","",Ot.backgroundWarningSubtle),bt.extend("--ft-notice-warning-border-color","",Ot.borderWarningPrimary),bt.extend("--ft-notice-warning-color","",Ot.contentWarningPrimary),bt.extend("--ft-checkbox-label-color","",Ot.contentGlobalPrimary),bt.extend("--ft-checkbox-checked-background-color","",Ot.contentActionPrimary),bt.extend("--ft-checkbox-checked-state-layer-color","",Ot.contentActionPrimary),bt.extend("--ft-checkbox-checked-color","",Ot.contentGlobalOnColor),bt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",vt.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",vt.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-active","",vt.opacity24),bt.extend("--ft-checkbox-checked-component-opacity-disabled","",vt.opacity40),bt.extend("--ft-checkbox-unchecked-border-color","",vt.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-color","",vt.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",vt.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",vt.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",vt.opacity24),bt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",vt.opacity40),bt.extend("--ft-checkbox-focus-focus-ring-color","",Ot.borderActionFocusRing),bt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),bt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),bt.extend("--ft-checkbox-gap","",vt.spacing3),bt.extend("--ft-toggle-off-state-layer-opacity-hover","",vt.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-focus","",vt.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-active","",vt.opacity24),bt.extend("--ft-toggle-off-component-opacity-disabled","",vt.opacity40),bt.extend("--ft-toggle-off-background-color","",Ot.contentGlobalSubtle),bt.extend("--ft-toggle-off-icon-color","",Ot.contentGlobalSubtle),bt.extend("--ft-toggle-off-state-layer-color","",Ot.contentGlobalSubtle),bt.extend("--ft-toggle-on-state-layer-opacity-hover","",vt.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-focus","",vt.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-active","",vt.opacity24),bt.extend("--ft-toggle-on-component-opacity-disabled","",vt.opacity40),bt.extend("--ft-toggle-on-background-color","",Ot.contentActionPrimary),bt.extend("--ft-toggle-on-icon-color","",Ot.contentActionPrimary),bt.extend("--ft-toggle-on-state-layer-color","",Ot.contentActionPrimary),bt.extend("--ft-toggle-label-color","",Ot.contentGlobalPrimary),bt.extend("--ft-toggle-focus-focus-ring-color","",Ot.borderActionFocusRing),bt.extend("--ft-toggle-gap","",vt.spacing3),bt.extend("--ft-radio-label-color","",Ot.contentGlobalPrimary),bt.extend("--ft-radio-selected-color","",Ot.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-color","",Ot.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-opacity-hover","",vt.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-focus","",vt.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-active","",vt.opacity24),bt.extend("--ft-radio-selected-component-opacity-disabled","",vt.opacity40),bt.extend("--ft-radio-unselected-state-layer-color","",vt.colorGray80),bt.extend("--ft-radio-unselected-state-layer-opacity-hover","",vt.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-focus","",vt.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-active","",vt.opacity24),bt.extend("--ft-radio-unselected-component-opacity-disabled","",vt.opacity40),bt.extend("--ft-radio-focus-focus-ring-color","",Ot.borderActionFocusRing),bt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),bt.create("--ft-radio-focus-outline-width","","SIZE","2px"),bt.extend("--ft-radio-gap","",vt.spacing3),bt.extend("--ft-notification-icon-size","",vt.iconSize4),bt.extend("--ft-notification-horizontal-padding","",vt.spacing4),bt.extend("--ft-notification-vertical-padding","",vt.spacing4),bt.extend("--ft-notification-info-background-color","",Ot.backgroundInfoSubtle),bt.extend("--ft-notification-info-color","",Ot.contentInfoPrimary),bt.extend("--ft-notification-info-border-color","",Ot.borderInfoPrimary),bt.extend("--ft-notification-success-background-color","",Ot.backgroundSuccessSubtle),bt.extend("--ft-notification-success-color","",Ot.contentSuccessPrimary),bt.extend("--ft-notification-success-border-color","",Ot.borderSuccessPrimary),bt.extend("--ft-notification-warning-background-color","",Ot.backgroundWarningSubtle),bt.extend("--ft-notification-warning-color","",Ot.contentWarningPrimary),bt.extend("--ft-notification-warning-border-color","",Ot.borderWarningPrimary),bt.extend("--ft-notification-error-background-color","",Ot.backgroundErrorSubtle),bt.extend("--ft-notification-error-color","",Ot.contentErrorPrimary),bt.extend("--ft-notification-error-border-color","",Ot.borderErrorPrimary),bt.extend("--ft-notification-border-radius","",vt.borderRadiusPill),bt.create("--ft-notification-border-width","","SIZE","1px"),bt.extend("--ft-notification-gap-leading","",vt.spacing2),bt.extend("--ft-notification-gap-trailing","",vt.spacing8);const St={colorPrimary:bt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:bt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:bt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:bt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:bt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:bt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:bt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:bt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:bt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:bt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:bt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:bt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:bt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:bt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:bt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:bt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:bt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:bt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:bt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:bt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:bt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:bt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:bt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:bt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:bt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:bt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:bt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:bt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:bt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:bt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:bt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:bt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:bt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:bt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:bt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:bt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:bt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:bt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:bt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:bt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:bt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:bt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:bt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:bt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:bt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:bt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:bt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:bt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:bt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class wt extends ut{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return m(e,t.elementStyles),e}}var Ct,$t=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Rt=Symbol("constructorPrototype"),Et=Symbol("constructorName"),kt=Symbol("exportpartsDebouncer");class It extends wt{constructor(){super(),this[Ct]=new o(5),this[Et]=this.constructor.name,this[Rt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Et]&&Object.setPrototypeOf(this,this[Rt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).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[kt].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 o,e,i,r,n,a;const l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=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(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Ct=kt,$t([i()],It.prototype,"exportpartsPrefix",void 0),$t([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return i({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!c(t,o),...null!=o?o:{}})}([])],It.prototype,"exportpartsPrefixes",void 0),$t([i()],It.prototype,"customStylesheet",void 0);const Ut=b`
|
|
59
|
+
* @license
|
|
60
|
+
* Copyright 2019 Google LLC
|
|
61
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
62
|
+
*/
|
|
63
|
+
const ht=globalThis,ft=ht.ShadowRoot&&(void 0===ht.ShadyCSS||ht.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,dt=Symbol(),ut=new WeakMap;let yt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==dt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(ft&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=ut.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&ut.set(o,t))}return t}toString(){return this.cssText}};const gt=t=>new yt("string"==typeof t?t:t+"",void 0,dt),bt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,i)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[i+1]),t[0]);return new yt(e,t,dt)},mt=ft?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return gt(o)})(t):t
|
|
64
|
+
/**
|
|
65
|
+
* @license
|
|
66
|
+
* Copyright 2017 Google LLC
|
|
67
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
+
*/,{is:xt,defineProperty:vt,getOwnPropertyDescriptor:Ot,getOwnPropertyNames:Nt,getOwnPropertySymbols:St,getPrototypeOf:wt}=Object,Ct=globalThis,$t=Ct.trustedTypes,Et=$t?$t.emptyScript:"",Rt=Ct.reactiveElementPolyfillSupport,Ut=(t,o)=>t,kt={toAttribute(t,o){switch(o){case Boolean:t=t?Et:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},It=(t,o)=>!xt(t,o),Lt={attribute:!0,type:String,converter:kt,reflect:!1,hasChanged:It};Symbol.metadata??=Symbol("metadata"),Ct.litPropertyMetadata??=new WeakMap;class Wt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Lt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&vt(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=Ot(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Lt}static _$Ei(){if(this.hasOwnProperty(Ut("elementProperties")))return;const t=wt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ut("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ut("properties"))){const t=this.properties,o=[...Nt(t),...St(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(mt(t))}else void 0!==t&&o.push(mt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(ft)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=ht.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:kt).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:kt;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??It)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Wt.elementStyles=[],Wt.shadowRootOptions={mode:"open"},Wt[Ut("elementProperties")]=new Map,Wt[Ut("finalized")]=new Map,Rt?.({ReactiveElement:Wt}),(Ct.reactiveElementVersions??=[]).push("2.0.2");
|
|
69
|
+
/**
|
|
70
|
+
* @license
|
|
71
|
+
* Copyright 2017 Google LLC
|
|
72
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
+
*/
|
|
74
|
+
const zt=globalThis,Kt=zt.trustedTypes,Zt=Kt?Kt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ft="$lit$",Bt=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Bt,Mt=`<${At}>`,Dt=document,Pt=()=>Dt.createComment(""),Ht=t=>null===t||"object"!=typeof t&&"function"!=typeof t,jt=Array.isArray,Tt="[ \t\n\f\r]",_t=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Gt=/-->/g,Yt=/>/g,Vt=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Jt=/'/g,qt=/"/g,Xt=/^(?:script|style|textarea|title)$/i,Qt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),to=Symbol.for("lit-noChange"),oo=Symbol.for("lit-nothing"),eo=new WeakMap,io=Dt.createTreeWalker(Dt,129);function ro(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Zt?Zt.createHTML(o):o}const no=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=_t;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===_t?"!--"===l[1]?a=Gt:void 0!==l[1]?a=Yt:void 0!==l[2]?(Xt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Vt):void 0!==l[3]&&(a=Vt):a===Vt?">"===l[0]?(a=r??_t,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Vt:'"'===l[3]?qt:Jt):a===qt||a===Jt?a=Vt:a===Gt||a===Yt?a=_t:(a=Vt,r=void 0);const h=a===Vt&&t[o+1].startsWith("/>")?" ":"";n+=a===_t?e+Mt:c>=0?(i.push(s),e.slice(0,c)+Ft+e.slice(c)+Bt+h):e+Bt+(-2===c?o:h)}return[ro(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class ao{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=no(t,o);if(this.el=ao.createElement(l,e),io.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=io.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Ft)){const o=c[n++],e=i.getAttribute(t).split(Bt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?po:"?"===a[1]?ho:"@"===a[1]?fo:co}),i.removeAttribute(t)}else t.startsWith(Bt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(Xt.test(i.tagName)){const t=i.textContent.split(Bt),o=t.length-1;if(o>0){i.textContent=Kt?Kt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Pt()),io.nextNode(),s.push({type:2,index:++r});i.append(t[o],Pt())}}}else if(8===i.nodeType)if(i.data===At)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Bt,t+1));)s.push({type:7,index:r}),t+=Bt.length-1}r++}}static createElement(t,o){const e=Dt.createElement("template");return e.innerHTML=t,e}}function so(t,o,e=t,i){if(o===to)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Ht(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=so(t,r._$AS(t,o.values),r,i)),o}class lo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=oo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=so(this,t,o),Ht(t)?t===oo||null==t||""===t?(this._$AH!==oo&&this._$AR(),this._$AH=oo):t!==this._$AH&&t!==to&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>jt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==oo&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.$(Dt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=ao.createElement(ro(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Dt).importNode(o,!0);io.currentNode=i;let r=io.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new lo(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new uo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=io.nextNode(),n++)}return io.currentNode=Dt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=eo.get(t.strings);return void 0===o&&eo.set(t.strings,o=new ao(t)),o}T(t){jt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new lo(this.k(Pt()),this.k(Pt()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class co{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=oo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=oo}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=so(this,t,o,0),n=!Ht(t)||t!==this._$AH&&t!==to,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=so(this,i[e+a],o,a),s===to&&(s=this._$AH[a]),n||=!Ht(s)||s!==this._$AH[a],s===oo?t=oo:t!==oo&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===oo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class po extends co{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===oo?void 0:t}}class ho extends co{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==oo)}}class fo extends co{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=so(this,t,o,0)??oo)===to)return;const e=this._$AH,i=t===oo&&e!==oo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==oo&&(e===oo||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class uo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){so(this,t)}}const yo=zt.litHtmlPolyfillSupport;yo?.(ao,lo),(zt.litHtmlVersions??=[]).push("3.1.0");
|
|
75
|
+
/**
|
|
76
|
+
* @license
|
|
77
|
+
* Copyright 2017 Google LLC
|
|
78
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
|
+
*/
|
|
80
|
+
class go extends Wt{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new lo(o.insertBefore(Pt(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return to}}go._$litElement$=!0,go.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:go});const bo=globalThis.litElementPolyfillSupport;bo?.({LitElement:go}),(globalThis.litElementVersions??=[]).push("4.0.2");const mo=t=>"string"==typeof t?gt(t):t;class xo{static create(t,o,e,i){const r=t=>mo(null!=t?t:i),n=bt`var(${mo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>bt`var(${mo(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=bt`var(${mo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>bt`var(${mo(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):mo(null!=o?o:t.lastResortDefaultValue()),i=bt`var(${mo(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>bt`var(${mo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function vo(t,o){return mo(`${t.name}: ${o}`)}const Oo={colorWhite:xo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xo.create("--ft-opacity-0","","NUMBER","0"),opacity8:xo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xo.create("--ft-opacity-80","","NUMBER","0.8")},No={display:{fontFamily:xo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:xo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:xo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:xo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:xo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:xo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:xo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:xo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:xo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:xo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:xo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:xo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:xo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:xo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:xo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:xo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:xo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:xo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:xo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:xo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:xo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:xo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:xo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:xo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:xo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},So={backgroundActionPrimary:xo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Oo.colorBrand0),backgroundErrorPrimary:xo.extend("--ft-background-error-primary","Used as background of error components.",Oo.colorRed0),backgroundErrorSubtle:xo.extend("--ft-background-error-subtle","Used as background of subtle error components.",Oo.colorRed10),backgroundInfoPrimary:xo.extend("--ft-background-info-primary","Used as background of information components.",Oo.colorCyan200),backgroundInfoSubtle:xo.extend("--ft-background-info-subtle","Used as background of subtle information components.",Oo.colorCyan10),backgroundWarningPrimary:xo.extend("--ft-background-warning-primary","Used as background of warning components.",Oo.colorOrange300),backgroundWarningSubtle:xo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Oo.colorOrange10),backgroundSuccessPrimary:xo.extend("--ft-background-success-primary","Used as background of success components.",Oo.colorGreen200),backgroundSuccessSubtle:xo.extend("--ft-background-success-subtle","Used as background of subtle success components.",Oo.colorGreen10),backgroundGlobalSurface:xo.extend("--ft-background-global-surface","Used as app background.",Oo.colorWhite),backgroundGlobalOnSurface:xo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Oo.colorGray10),backgroundGlobalOnSurfaceDark:xo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Oo.colorGray30),contentActionPrimary:xo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Oo.colorBrand0),contentWarningPrimary:xo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Oo.colorOrange300),contentWarningIconOnly:xo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Oo.colorOrange0),contentErrorPrimary:xo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Oo.colorRed0),contentErrorIconOnly:xo.extend("--ft-content-error-icon-only","Used on error status icons alone",Oo.colorRed0),contentInfoPrimary:xo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Oo.colorCyan200),contentInfoIconOnly:xo.extend("--ft-content-info-icon-only","Used on info status icons alone",Oo.colorCyan0),contentSuccessIconOnly:xo.extend("--ft-content-success-icon-only","Used on success status icons alone",Oo.colorGreen0),contentSuccessPrimary:xo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Oo.colorGreen200),contentGlobalPrimary:xo.extend("--ft-content-global-primary","Used for main content on the page.",Oo.colorGray500),contentGlobalSecondary:xo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Oo.colorGray200),contentGlobalSubtle:xo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Oo.colorGray0),contentGlobalOnColor:xo.extend("--ft-content-global-on-color","Used for content on a dominant color.",Oo.colorWhite),borderActionPrimary:xo.extend("--ft-border-action-primary","Used as border for primary action components.",Oo.colorBrand0),borderActionFocusRing:xo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Oo.colorCyan0),borderWarningPrimary:xo.extend("--ft-border-warning-primary","Used as border for warning components.",Oo.colorOrange30),borderSuccessPrimary:xo.extend("--ft-border-success-primary","Used as border for success components.",Oo.colorGreen30),borderErrorPrimary:xo.extend("--ft-border-error-primary","Used as border for error components.",Oo.colorRed30),borderInfoPrimary:xo.extend("--ft-border-info-primary","Used as border for information components.",Oo.colorCyan30),borderGlobalSubtle:xo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Oo.colorGray30),borderGlobalPrimary:xo.extend("--ft-border-global-primary","Used as border for element like input.",Oo.colorGray50),borderInputPrimary:xo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Oo.colorGray80)},wo={largeHeight:xo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:xo.extend("--ft-button-large-horizontal-padding","",Oo.spacing4),largeGap:xo.extend("--ft-button-large-gap","",Oo.spacing2),largeBorderRadius:xo.extend("--ft-button-large-border-radius","",Oo.borderRadiusS),largeIconSize:xo.extend("--ft-button-large-icon-size","",Oo.iconSize3),largeBorderWidth:xo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:xo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:xo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:xo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:xo.extend("--ft-button-small-horizontal-padding","",Oo.spacing3),smallGap:xo.extend("--ft-button-small-gap","",Oo.spacing2),smallBorderRadius:xo.extend("--ft-button-small-border-radius","",Oo.borderRadiusS),smallIconSize:xo.extend("--ft-button-small-icon-size","",Oo.iconSize2),smallBorderWidth:xo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:xo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:xo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:xo.extend("--ft-button-primary-background-color","",So.backgroundActionPrimary),primaryColor:xo.extend("--ft-button-primary-color","",So.contentGlobalOnColor),primaryIconColor:xo.extend("--ft-button-primary-icon-color","",So.contentGlobalOnColor),primaryStateLayerColor:xo.extend("--ft-button-primary-state-layer-color","",So.contentGlobalOnColor),primaryStateLayerOpacityHover:xo.extend("--ft-button-primary-state-layer-opacity-hover","",Oo.opacity16),primaryStateLayerOpacityFocus:xo.extend("--ft-button-primary-state-layer-opacity-focus","",Oo.opacity16),primaryStateLayerOpacityActive:xo.extend("--ft-button-primary-state-layer-opacity-active","",Oo.opacity24),primaryComponentOpacityDisabled:xo.extend("--ft-button-primary-component-opacity-disabled","",Oo.opacity40),focusFocusRingColor:xo.extend("--ft-button-focus-focus-ring-color","",So.borderActionFocusRing),tertiaryBackgroundColor:xo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:xo.extend("--ft-button-tertiary-color","",So.contentActionPrimary),tertiaryIconColor:xo.extend("--ft-button-tertiary-icon-color","",So.contentActionPrimary),tertiaryStateLayerColor:xo.extend("--ft-button-tertiary-state-layer-color","",So.contentActionPrimary),tertiaryStateLayerOpacityHover:xo.extend("--ft-button-tertiary-state-layer-opacity-hover","",Oo.opacity8),tertiaryStateLayerOpacityFocus:xo.extend("--ft-button-tertiary-state-layer-opacity-focus","",Oo.opacity8),tertiaryStateLayerOpacityActive:xo.extend("--ft-button-tertiary-state-layer-opacity-active","",Oo.opacity16),tertiaryComponentOpacityDisabled:xo.extend("--ft-button-tertiary-component-opacity-disabled","",Oo.opacity40),secondaryBackgroundColor:xo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:xo.extend("--ft-button-secondary-color","",So.contentActionPrimary),secondaryIconColor:xo.extend("--ft-button-secondary-icon-color","",So.contentActionPrimary),secondaryStateLayerColor:xo.extend("--ft-button-secondary-state-layer-color","",So.contentActionPrimary),secondaryStateLayerOpacityHover:xo.extend("--ft-button-secondary-state-layer-opacity-hover","",Oo.opacity8),secondaryStateLayerOpacityFocus:xo.extend("--ft-button-secondary-state-layer-opacity-focus","",Oo.opacity8),secondaryStateLayerOpacityActive:xo.extend("--ft-button-secondary-state-layer-opacity-active","",Oo.opacity16),secondaryComponentOpacityDisabled:xo.extend("--ft-button-secondary-component-opacity-disabled","",Oo.opacity40),secondaryBorderColor:xo.extend("--ft-button-secondary-border-color","",So.borderActionPrimary),neutralBackgroundColor:xo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:xo.extend("--ft-button-neutral-icon-color","",So.contentGlobalSecondary),neutralColor:xo.extend("--ft-button-neutral-color","",So.contentGlobalSecondary),neutralStateLayerColor:xo.extend("--ft-button-neutral-state-layer-color","",So.contentGlobalSecondary),neutralStateLayerOpacityHover:xo.extend("--ft-button-neutral-state-layer-opacity-hover","",Oo.opacity8),neutralStateLayerOpacityFocus:xo.extend("--ft-button-neutral-state-layer-opacity-focus","",Oo.opacity8),neutralStateLayerOpacityActive:xo.extend("--ft-button-neutral-state-layer-opacity-active","",Oo.opacity16),neutralComponentOpacityDisabled:xo.extend("--ft-button-neutral-component-opacity-disabled","",Oo.opacity40)};xo.extend("--ft-tabs-top-left-border-radius","",Oo.borderRadiusS),xo.extend("--ft-tabs-top-right-border-radius","",Oo.borderRadiusS),xo.extend("--ft-tabs-label-horizontal-padding","",Oo.spacing4),xo.extend("--ft-tabs-label-vertical-padding","",Oo.spacing3),xo.extend("--ft-tabs-label-gap","",Oo.spacing1),xo.extend("--ft-switch-group-horizontal-padding","",Oo.spacing1),xo.extend("--ft-switch-group-vertical-padding","",Oo.spacing1),xo.extend("--ft-switch-group-gap","",Oo.spacing1),xo.extend("--ft-switch-group-background-color","",So.backgroundGlobalSurface),xo.extend("--ft-switch-group-border-color","",So.borderGlobalSubtle),xo.create("--ft-switch-group-border-radius","","SIZE","6px"),xo.extend("--ft-switch-label-horizontal-padding","",Oo.spacing2),xo.extend("--ft-switch-label-vertical-padding","",Oo.spacing1),xo.extend("--ft-switch-icon-horizontal-padding","",Oo.spacing1),xo.extend("--ft-switch-icon-vertical-padding","",Oo.spacing1),xo.create("--ft-switch-focus-outline-width","","SIZE","2px"),xo.extend("--ft-switch-focus-focus-ring-color","",So.borderActionFocusRing),xo.extend("--ft-switch-option-border-radius","",Oo.borderRadiusS),xo.extend("--ft-switch-off-state-layer-opacity-hover","",Oo.opacity8),xo.extend("--ft-switch-off-state-layer-opacity-focus","",Oo.opacity8),xo.extend("--ft-switch-off-state-layer-opacity-active","",Oo.opacity16),xo.extend("--ft-switch-off-component-opacity-disabled","",Oo.opacity40),xo.extend("--ft-switch-off-color","",So.contentGlobalSubtle),xo.extend("--ft-switch-off-state-layer-color","",So.contentGlobalSubtle),xo.extend("--ft-chart-1-light","for area color charts",Oo.colorBrand40),xo.extend("--ft-chart-1-base","for line charts",Oo.colorBrand0),xo.extend("--ft-chart-2-light","for area color charts",Oo.colorYellow60),xo.extend("--ft-chart-2-base","for line charts",Oo.colorYellow100),xo.extend("--ft-chart-3-light","",Oo.colorUltramarine40),xo.extend("--ft-chart-3-base","",Oo.colorUltramarine70),xo.extend("--ft-chart-4-light","",Oo.colorCyan50),xo.extend("--ft-chart-4-base","",Oo.colorCyan100),xo.extend("--ft-chart-5-light","",Oo.colorRed40),xo.extend("--ft-chart-5-base","",Oo.colorRed60),xo.extend("--ft-chart-6-light","",Oo.colorGreen40),xo.extend("--ft-chart-6-base","",Oo.colorGreen70),xo.extend("--ft-chart-7-light","",Oo.colorOrange70),xo.extend("--ft-chart-7-base","",Oo.colorOrange100),xo.extend("--ft-chart-8-light","",Oo.colorAvocado70),xo.extend("--ft-chart-8-base","",Oo.colorAvocado200),xo.extend("--ft-chart-9-light","",Oo.colorBrown50),xo.extend("--ft-chart-9-base","",Oo.colorBrown200),xo.extend("--ft-chart-10-light","",Oo.colorGray50),xo.extend("--ft-chart-10-base","",Oo.colorGray80),xo.extend("--ft-chart-monochrome-10","",Oo.colorBrand10),xo.extend("--ft-chart-monochrome-20","",Oo.colorBrand20),xo.extend("--ft-chart-monochrome-30","",Oo.colorBrand40),xo.extend("--ft-chart-monochrome-40","",Oo.colorBrand60),xo.extend("--ft-chart-monochrome-50","",Oo.colorBrand0),xo.extend("--ft-chart-monochrome-60","",Oo.colorBrand200),xo.extend("--ft-chip-large-horizontal-padding","",Oo.spacing4),xo.extend("--ft-chip-large-vertical-padding","",Oo.spacing2),xo.extend("--ft-chip-large-gap","",Oo.spacing1),xo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-large-border-radius","",Oo.borderRadiusPill),xo.create("--ft-chip-large-border-width","","SIZE","1px"),xo.extend("--ft-chip-large-icon-size","",Oo.iconSize3),xo.extend("--ft-chip-medium-horizontal-padding","",Oo.spacing3),xo.extend("--ft-chip-medium-vertical-padding","",Oo.spacing1),xo.extend("--ft-chip-medium-gap","",Oo.spacing1),xo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-medium-border-radius","",Oo.borderRadiusPill),xo.create("--ft-chip-medium-border-width","","SIZE","1px"),xo.extend("--ft-chip-medium-icon-size","",Oo.iconSize2),xo.extend("--ft-chip-small-horizontal-padding","",Oo.spacing2),xo.extend("--ft-chip-small-vertical-padding","",Oo.spacing05),xo.extend("--ft-chip-small-gap","",Oo.spacing1),xo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-small-border-radius","",Oo.borderRadiusPill),xo.create("--ft-chip-small-border-width","","SIZE","1px"),xo.extend("--ft-chip-small-icon-size","",Oo.iconSize1),xo.extend("--ft-chip-neutral-background-color","",So.backgroundGlobalOnSurface),xo.extend("--ft-chip-neutral-color","",So.contentGlobalPrimary),xo.extend("--ft-chip-neutral-border-color","",So.borderGlobalSubtle),xo.extend("--ft-chip-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-chip-info-color","",So.contentInfoPrimary),xo.extend("--ft-chip-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-chip-success-background-color","",So.backgroundSuccessSubtle),xo.extend("--ft-chip-success-color","",So.contentSuccessPrimary),xo.extend("--ft-chip-success-border-color","",So.borderSuccessPrimary),xo.extend("--ft-chip-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-chip-warning-color","",So.contentWarningPrimary),xo.extend("--ft-chip-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-chip-error-background-color","",So.backgroundErrorSubtle),xo.extend("--ft-chip-error-color","",So.contentErrorPrimary),xo.extend("--ft-chip-error-border-color","",So.borderErrorPrimary),xo.create("--ft-notice-border-width","","SIZE","1px"),xo.extend("--ft-notice-horizontal-padding","",Oo.spacing2),xo.extend("--ft-notice-vertical-padding","",Oo.spacing1),xo.extend("--ft-notice-border-radius","",Oo.borderRadiusS),xo.extend("--ft-notice-gap","",Oo.spacing2),xo.extend("--ft-notice-icon-size","",Oo.iconSize3),xo.extend("--ft-notice-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-notice-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-notice-info-color","",So.contentInfoPrimary),xo.extend("--ft-notice-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-notice-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-notice-warning-color","",So.contentWarningPrimary),xo.extend("--ft-checkbox-label-color","",So.contentGlobalPrimary),xo.extend("--ft-checkbox-checked-background-color","",So.contentActionPrimary),xo.extend("--ft-checkbox-checked-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-checkbox-checked-color","",So.contentGlobalOnColor),xo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Oo.opacity16),xo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Oo.opacity16),xo.extend("--ft-checkbox-checked-state-layer-opacity-active","",Oo.opacity24),xo.extend("--ft-checkbox-checked-component-opacity-disabled","",Oo.opacity40),xo.extend("--ft-checkbox-unchecked-border-color","",Oo.colorGray80),xo.extend("--ft-checkbox-unchecked-state-layer-color","",Oo.colorGray80),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Oo.opacity16),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Oo.opacity16),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Oo.opacity24),xo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Oo.opacity40),xo.extend("--ft-checkbox-focus-focus-ring-color","",So.borderActionFocusRing),xo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xo.extend("--ft-checkbox-gap","",Oo.spacing3),xo.extend("--ft-toggle-off-state-layer-opacity-hover","",Oo.opacity16),xo.extend("--ft-toggle-off-state-layer-opacity-focus","",Oo.opacity16),xo.extend("--ft-toggle-off-state-layer-opacity-active","",Oo.opacity24),xo.extend("--ft-toggle-off-component-opacity-disabled","",Oo.opacity40),xo.extend("--ft-toggle-off-background-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-off-icon-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-off-state-layer-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-on-state-layer-opacity-hover","",Oo.opacity16),xo.extend("--ft-toggle-on-state-layer-opacity-focus","",Oo.opacity16),xo.extend("--ft-toggle-on-state-layer-opacity-active","",Oo.opacity24),xo.extend("--ft-toggle-on-component-opacity-disabled","",Oo.opacity40),xo.extend("--ft-toggle-on-background-color","",So.contentActionPrimary),xo.extend("--ft-toggle-on-icon-color","",So.contentActionPrimary),xo.extend("--ft-toggle-on-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-toggle-label-color","",So.contentGlobalPrimary),xo.extend("--ft-toggle-focus-focus-ring-color","",So.borderActionFocusRing),xo.extend("--ft-toggle-gap","",Oo.spacing3),xo.extend("--ft-radio-label-color","",So.contentGlobalPrimary),xo.extend("--ft-radio-selected-color","",So.contentActionPrimary),xo.extend("--ft-radio-selected-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-radio-selected-state-layer-opacity-hover","",Oo.opacity16),xo.extend("--ft-radio-selected-state-layer-opacity-focus","",Oo.opacity16),xo.extend("--ft-radio-selected-state-layer-opacity-active","",Oo.opacity24),xo.extend("--ft-radio-selected-component-opacity-disabled","",Oo.opacity40),xo.extend("--ft-radio-unselected-state-layer-color","",Oo.colorGray80),xo.extend("--ft-radio-unselected-state-layer-opacity-hover","",Oo.opacity16),xo.extend("--ft-radio-unselected-state-layer-opacity-focus","",Oo.opacity16),xo.extend("--ft-radio-unselected-state-layer-opacity-active","",Oo.opacity24),xo.extend("--ft-radio-unselected-component-opacity-disabled","",Oo.opacity40),xo.extend("--ft-radio-focus-focus-ring-color","",So.borderActionFocusRing),xo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xo.create("--ft-radio-focus-outline-width","","SIZE","2px"),xo.extend("--ft-radio-gap","",Oo.spacing3),xo.extend("--ft-notification-icon-size","",Oo.iconSize4),xo.extend("--ft-notification-horizontal-padding","",Oo.spacing4),xo.extend("--ft-notification-vertical-padding","",Oo.spacing4),xo.extend("--ft-notification-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-notification-info-color","",So.contentInfoPrimary),xo.extend("--ft-notification-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-notification-success-background-color","",So.backgroundSuccessSubtle),xo.extend("--ft-notification-success-color","",So.contentSuccessPrimary),xo.extend("--ft-notification-success-border-color","",So.borderSuccessPrimary),xo.extend("--ft-notification-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-notification-warning-color","",So.contentWarningPrimary),xo.extend("--ft-notification-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-notification-error-background-color","",So.backgroundErrorSubtle),xo.extend("--ft-notification-error-color","",So.contentErrorPrimary),xo.extend("--ft-notification-error-border-color","",So.borderErrorPrimary),xo.extend("--ft-notification-border-radius","",Oo.borderRadiusPill),xo.create("--ft-notification-border-width","","SIZE","1px"),xo.extend("--ft-notification-gap-leading","",Oo.spacing2),xo.extend("--ft-notification-gap-trailing","",Oo.spacing8);const Co={colorPrimary:xo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xo.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:xo.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:xo.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:xo.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:xo.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:xo.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:xo.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:xo.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:xo.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:xo.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:xo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},$o=window,Eo=$o.ShadowRoot&&(void 0===$o.ShadyCSS||$o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
81
|
+
/**
|
|
82
|
+
* @license
|
|
83
|
+
* Copyright 2019 Google LLC
|
|
84
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
85
|
+
*/class Ro extends go{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Eo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=$o.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Uo,ko=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Io=Symbol("constructorPrototype"),Lo=Symbol("constructorName"),Wo=Symbol("exportpartsDebouncer");class zo extends Ro{constructor(){super(),this[Uo]=new o(5),this[Lo]=this.constructor.name,this[Io]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Lo]&&Object.setPrototypeOf(this,this[Io])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).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[Wo].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 o,e,i,r,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!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=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(...o,...e).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((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Uo=Wo,ko([C()],zo.prototype,"exportpartsPrefix",void 0),ko([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!U(t,o),...null!=o?o:{}})}([])],zo.prototype,"exportpartsPrefixes",void 0),ko([C()],zo.prototype,"customStylesheet",void 0);const Ko=bt`
|
|
66
86
|
.ft-no-text-select {
|
|
67
87
|
-webkit-touch-callout: none;
|
|
68
88
|
-webkit-user-select: none;
|
|
@@ -71,7 +91,7 @@ var ht,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
71
91
|
-ms-user-select: none;
|
|
72
92
|
user-select: none;
|
|
73
93
|
}
|
|
74
|
-
`;
|
|
94
|
+
`;bt`
|
|
75
95
|
.ft-word-wrap {
|
|
76
96
|
white-space: normal;
|
|
77
97
|
word-wrap: break-word;
|
|
@@ -83,7 +103,7 @@ var ht,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
83
103
|
-webkit-hyphens: auto;
|
|
84
104
|
hyphens: auto
|
|
85
105
|
}
|
|
86
|
-
`;const
|
|
106
|
+
`;const Zo=bt`
|
|
87
107
|
.ft-safari-ellipsis-fix {
|
|
88
108
|
margin-right: 0;
|
|
89
109
|
|
|
@@ -94,112 +114,112 @@ var ht,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
94
114
|
display: inline-block;
|
|
95
115
|
width: 0;
|
|
96
116
|
}
|
|
97
|
-
`;function
|
|
117
|
+
`;function Fo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Bo,Ao,Mo;const Do=Symbol("internalReduxEventsUnsubscribers"),Po=Symbol("internalStoresUnsubscribers"),Ho=Symbol("internalStores");class jo extends zo{constructor(){super(...arguments),this[Bo]=new Map,this[Ao]=new Map,this[Mo]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Ho].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ho].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ho].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Fo(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Ho].delete(o)}setupStore(t,o){this[Ho].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ho].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Po].has(t.store):this[Po].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Po].set(t,o.subscribe((()=>this.updateFromStores()))),Fo(o)&&o.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[Do].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Po].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Do].forEach((t=>t())),this[Do]=[]}unsubscribeFromStore(t){this[Po].has(t)&&this[Po].get(t)(),this[Po].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Bo=Po,Ao=Ho,Mo=Do,window.ftReduxStores||(window.ftReduxStores={});const To=Symbol("elementInternals");var _o,Go,Yo;const Vo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Yo=null===(Go=null===(_o=window.safari)||void 0===_o?void 0:_o.pushNotification)||void 0===Go?void 0:Go.toString())&&void 0!==Yo?Yo:""),Jo=bt`
|
|
98
118
|
:host {
|
|
99
119
|
display: inline-block;
|
|
100
120
|
}
|
|
101
|
-
`;var
|
|
121
|
+
`;var qo;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(qo||(qo={}));var Xo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qo extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const te=Symbol("registerInterval");class oe extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[te]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[te]):this.dispatchEvent(new Qo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=te,Xo([$()],e.prototype,"stateManager",void 0),e}(jo)){}var ee=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ie extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const re=Symbol("registerInterval");class ne extends(function(t){var o;class e extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[o]=0}connectedCallback(){super.connectedCallback(),this[re]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[re]):this.dispatchEvent(new ie)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return o=re,ee([$()],e.prototype,"tocNode",void 0),ee([$()],e.prototype,"disableContextInteractions",void 0),e}(oe)){}
|
|
102
122
|
/**
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
123
|
+
* @license
|
|
124
|
+
* Copyright 2020 Google LLC
|
|
125
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
126
|
+
*/const ae=Symbol.for(""),se=t=>{if(t?.r===ae)return t?._$litStatic$},le=t=>({_$litStatic$:t,r:ae}),ce=new Map,pe=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=se(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=ce.get(t))&&(a.raw=a,ce.set(t,o=a)),e=s}return t(o,...e)})(J);var he;!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"}(he||(he={}));const fe=xo.extend("--ft-typography-font-family","",Co.titleFont),de=xo.extend("--ft-typography-font-family","",Co.contentFont),ue={fontFamily:de,fontSize:xo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ye=xo.extend("--ft-typography-title-font-family","",fe),ge=xo.extend("--ft-typography-title-font-size","",ue.fontSize,"20px"),be=xo.extend("--ft-typography-title-font-weight","",ue.fontWeight,"normal"),me=xo.extend("--ft-typography-title-letter-spacing","",ue.letterSpacing,"0.15px"),xe=xo.extend("--ft-typography-title-line-height","",ue.lineHeight,"1.2"),ve=xo.extend("--ft-typography-title-text-transform","",ue.textTransform,"inherit"),Oe=xo.extend("--ft-typography-title-dense-font-family","",fe),Ne=xo.extend("--ft-typography-title-dense-font-size","",ue.fontSize,"14px"),Se=xo.extend("--ft-typography-title-dense-font-weight","",ue.fontWeight,"normal"),we=xo.extend("--ft-typography-title-dense-letter-spacing","",ue.letterSpacing,"0.105px"),Ce=xo.extend("--ft-typography-title-dense-line-height","",ue.lineHeight,"1.7"),$e=xo.extend("--ft-typography-title-dense-text-transform","",ue.textTransform,"inherit"),Ee=xo.extend("--ft-typography-subtitle1-font-family","",de),Re=xo.extend("--ft-typography-subtitle1-font-size","",ue.fontSize,"16px"),Ue=xo.extend("--ft-typography-subtitle1-font-weight","",ue.fontWeight,"600"),ke=xo.extend("--ft-typography-subtitle1-letter-spacing","",ue.letterSpacing,"0.144px"),Ie=xo.extend("--ft-typography-subtitle1-line-height","",ue.lineHeight,"1.5"),Le=xo.extend("--ft-typography-subtitle1-text-transform","",ue.textTransform,"inherit"),We=xo.extend("--ft-typography-subtitle2-font-family","",de),ze=xo.extend("--ft-typography-subtitle2-font-size","",ue.fontSize,"14px"),Ke=xo.extend("--ft-typography-subtitle2-font-weight","",ue.fontWeight,"normal"),Ze=xo.extend("--ft-typography-subtitle2-letter-spacing","",ue.letterSpacing,"0.098px"),Fe=xo.extend("--ft-typography-subtitle2-line-height","",ue.lineHeight,"1.7"),Be=xo.extend("--ft-typography-subtitle2-text-transform","",ue.textTransform,"inherit"),Ae=xo.extend("--ft-typography-body1-font-family","",de),Me=xo.extend("--ft-typography-body1-font-size","",ue.fontSize,"16px"),De=xo.extend("--ft-typography-body1-font-weight","",ue.fontWeight,"normal"),Pe=xo.extend("--ft-typography-body1-letter-spacing","",ue.letterSpacing,"0.496px"),He=xo.extend("--ft-typography-body1-line-height","",ue.lineHeight,"1.5"),je=xo.extend("--ft-typography-body1-text-transform","",ue.textTransform,"inherit"),Te={fontFamily:xo.extend("--ft-typography-body2-font-family","",de),fontSize:xo.extend("--ft-typography-body2-font-size","",ue.fontSize,"14px"),fontWeight:xo.extend("--ft-typography-body2-font-weight","",ue.fontWeight,"normal"),letterSpacing:xo.extend("--ft-typography-body2-letter-spacing","",ue.letterSpacing,"0.252px"),lineHeight:xo.extend("--ft-typography-body2-line-height","",ue.lineHeight,"1.4"),textTransform:xo.extend("--ft-typography-body2-text-transform","",ue.textTransform,"inherit")},_e=xo.extend("--ft-typography-caption-font-family","",de),Ge=xo.extend("--ft-typography-caption-font-size","",ue.fontSize,"12px"),Ye=xo.extend("--ft-typography-caption-font-weight","",ue.fontWeight,"normal"),Ve=xo.extend("--ft-typography-caption-letter-spacing","",ue.letterSpacing,"0.396px"),Je=xo.extend("--ft-typography-caption-line-height","",ue.lineHeight,"1.33"),qe=xo.extend("--ft-typography-caption-text-transform","",ue.textTransform,"inherit"),Xe=xo.extend("--ft-typography-breadcrumb-font-family","",de),Qe=xo.extend("--ft-typography-breadcrumb-font-size","",ue.fontSize,"10px"),ti=xo.extend("--ft-typography-breadcrumb-font-weight","",ue.fontWeight,"normal"),oi=xo.extend("--ft-typography-breadcrumb-letter-spacing","",ue.letterSpacing,"0.33px"),ei=xo.extend("--ft-typography-breadcrumb-line-height","",ue.lineHeight,"1.6"),ii=xo.extend("--ft-typography-breadcrumb-text-transform","",ue.textTransform,"inherit"),ri=xo.extend("--ft-typography-overline-font-family","",de),ni=xo.extend("--ft-typography-overline-font-size","",ue.fontSize,"10px"),ai=xo.extend("--ft-typography-overline-font-weight","",ue.fontWeight,"normal"),si=xo.extend("--ft-typography-overline-letter-spacing","",ue.letterSpacing,"1.5px"),li=xo.extend("--ft-typography-overline-line-height","",ue.lineHeight,"1.6"),ci=xo.extend("--ft-typography-overline-text-transform","",ue.textTransform,"uppercase"),pi={fontFamily:xo.extend("--ft-typography-button-font-family","",de),fontSize:xo.extend("--ft-typography-button-font-size","",ue.fontSize,"14px"),fontWeight:xo.extend("--ft-typography-button-font-weight","",ue.fontWeight,"600"),letterSpacing:xo.extend("--ft-typography-button-letter-spacing","",ue.letterSpacing,"1.246px"),lineHeight:xo.extend("--ft-typography-button-line-height","",ue.lineHeight,"1.15"),textTransform:xo.extend("--ft-typography-button-text-transform","",ue.textTransform,"uppercase")},hi=bt`
|
|
107
127
|
.ft-typography--title {
|
|
108
|
-
font-family: ${
|
|
109
|
-
font-size: ${
|
|
110
|
-
font-weight: ${
|
|
111
|
-
letter-spacing: ${
|
|
112
|
-
line-height: ${
|
|
113
|
-
text-transform: ${
|
|
128
|
+
font-family: ${ye};
|
|
129
|
+
font-size: ${ge};
|
|
130
|
+
font-weight: ${be};
|
|
131
|
+
letter-spacing: ${me};
|
|
132
|
+
line-height: ${xe};
|
|
133
|
+
text-transform: ${ve};
|
|
114
134
|
}
|
|
115
|
-
`,
|
|
135
|
+
`,fi=bt`
|
|
116
136
|
.ft-typography--title-dense {
|
|
117
|
-
font-family: ${
|
|
118
|
-
font-size: ${
|
|
119
|
-
font-weight: ${
|
|
120
|
-
letter-spacing: ${
|
|
121
|
-
line-height: ${
|
|
122
|
-
text-transform: ${
|
|
137
|
+
font-family: ${Oe};
|
|
138
|
+
font-size: ${Ne};
|
|
139
|
+
font-weight: ${Se};
|
|
140
|
+
letter-spacing: ${we};
|
|
141
|
+
line-height: ${Ce};
|
|
142
|
+
text-transform: ${$e};
|
|
123
143
|
}
|
|
124
|
-
`,
|
|
144
|
+
`,di=bt`
|
|
125
145
|
.ft-typography--subtitle1 {
|
|
126
|
-
font-family: ${
|
|
127
|
-
font-size: ${
|
|
128
|
-
font-weight: ${
|
|
129
|
-
letter-spacing: ${
|
|
130
|
-
line-height: ${
|
|
131
|
-
text-transform: ${
|
|
146
|
+
font-family: ${Ee};
|
|
147
|
+
font-size: ${Re};
|
|
148
|
+
font-weight: ${Ue};
|
|
149
|
+
letter-spacing: ${ke};
|
|
150
|
+
line-height: ${Ie};
|
|
151
|
+
text-transform: ${Le};
|
|
132
152
|
}
|
|
133
|
-
`,
|
|
153
|
+
`,ui=bt`
|
|
134
154
|
.ft-typography--subtitle2 {
|
|
135
|
-
font-family: ${
|
|
136
|
-
font-size: ${
|
|
137
|
-
font-weight: ${
|
|
138
|
-
letter-spacing: ${
|
|
139
|
-
line-height: ${
|
|
140
|
-
text-transform: ${
|
|
155
|
+
font-family: ${We};
|
|
156
|
+
font-size: ${ze};
|
|
157
|
+
font-weight: ${Ke};
|
|
158
|
+
letter-spacing: ${Ze};
|
|
159
|
+
line-height: ${Fe};
|
|
160
|
+
text-transform: ${Be};
|
|
141
161
|
}
|
|
142
162
|
|
|
143
|
-
`,
|
|
163
|
+
`,yi=bt`
|
|
144
164
|
.ft-typography--body1 {
|
|
145
|
-
font-family: ${
|
|
146
|
-
font-size: ${
|
|
147
|
-
font-weight: ${
|
|
148
|
-
letter-spacing: ${
|
|
149
|
-
line-height: ${
|
|
150
|
-
text-transform: ${
|
|
165
|
+
font-family: ${Ae};
|
|
166
|
+
font-size: ${Me};
|
|
167
|
+
font-weight: ${De};
|
|
168
|
+
letter-spacing: ${Pe};
|
|
169
|
+
line-height: ${He};
|
|
170
|
+
text-transform: ${je};
|
|
151
171
|
}
|
|
152
|
-
`,
|
|
172
|
+
`,gi=bt`
|
|
153
173
|
.ft-typography--body2 {
|
|
154
|
-
font-family: ${
|
|
155
|
-
font-size: ${
|
|
156
|
-
font-weight: ${
|
|
157
|
-
letter-spacing: ${
|
|
158
|
-
line-height: ${
|
|
159
|
-
text-transform: ${
|
|
174
|
+
font-family: ${Te.fontFamily};
|
|
175
|
+
font-size: ${Te.fontSize};
|
|
176
|
+
font-weight: ${Te.fontWeight};
|
|
177
|
+
letter-spacing: ${Te.letterSpacing};
|
|
178
|
+
line-height: ${Te.lineHeight};
|
|
179
|
+
text-transform: ${Te.textTransform};
|
|
160
180
|
}
|
|
161
|
-
`,
|
|
181
|
+
`,bi=bt`
|
|
162
182
|
.ft-typography--caption {
|
|
163
|
-
font-family: ${
|
|
164
|
-
font-size: ${
|
|
165
|
-
font-weight: ${
|
|
166
|
-
letter-spacing: ${
|
|
167
|
-
line-height: ${
|
|
168
|
-
text-transform: ${
|
|
183
|
+
font-family: ${_e};
|
|
184
|
+
font-size: ${Ge};
|
|
185
|
+
font-weight: ${Ye};
|
|
186
|
+
letter-spacing: ${Ve};
|
|
187
|
+
line-height: ${Je};
|
|
188
|
+
text-transform: ${qe};
|
|
169
189
|
}
|
|
170
|
-
`,
|
|
190
|
+
`,mi=bt`
|
|
171
191
|
.ft-typography--breadcrumb {
|
|
172
|
-
font-family: ${
|
|
173
|
-
font-size: ${
|
|
174
|
-
font-weight: ${
|
|
175
|
-
letter-spacing: ${
|
|
176
|
-
line-height: ${
|
|
177
|
-
text-transform: ${
|
|
192
|
+
font-family: ${Xe};
|
|
193
|
+
font-size: ${Qe};
|
|
194
|
+
font-weight: ${ti};
|
|
195
|
+
letter-spacing: ${oi};
|
|
196
|
+
line-height: ${ei};
|
|
197
|
+
text-transform: ${ii};
|
|
178
198
|
}
|
|
179
|
-
`,
|
|
199
|
+
`,xi=bt`
|
|
180
200
|
.ft-typography--overline {
|
|
181
|
-
font-family: ${
|
|
182
|
-
font-size: ${
|
|
183
|
-
font-weight: ${
|
|
184
|
-
letter-spacing: ${
|
|
185
|
-
line-height: ${
|
|
186
|
-
text-transform: ${
|
|
201
|
+
font-family: ${ri};
|
|
202
|
+
font-size: ${ni};
|
|
203
|
+
font-weight: ${ai};
|
|
204
|
+
letter-spacing: ${si};
|
|
205
|
+
line-height: ${li};
|
|
206
|
+
text-transform: ${ci};
|
|
187
207
|
}
|
|
188
|
-
`,
|
|
208
|
+
`,vi=bt`
|
|
189
209
|
.ft-typography--button {
|
|
190
|
-
font-family: ${
|
|
191
|
-
font-size: ${
|
|
192
|
-
font-weight: ${
|
|
193
|
-
letter-spacing: ${
|
|
194
|
-
line-height: ${
|
|
195
|
-
text-transform: ${
|
|
210
|
+
font-family: ${pi.fontFamily};
|
|
211
|
+
font-size: ${pi.fontSize};
|
|
212
|
+
font-weight: ${pi.fontWeight};
|
|
213
|
+
letter-spacing: ${pi.letterSpacing};
|
|
214
|
+
line-height: ${pi.lineHeight};
|
|
215
|
+
text-transform: ${pi.textTransform};
|
|
196
216
|
}
|
|
197
|
-
`,
|
|
217
|
+
`,Oi=bt`
|
|
198
218
|
.ft-typography {
|
|
199
219
|
vertical-align: inherit;
|
|
200
220
|
}
|
|
201
|
-
`,
|
|
202
|
-
.ft-typography--${
|
|
221
|
+
`,Ni=[Object.keys(No).map((t=>function(t){const o=No[t];return bt`
|
|
222
|
+
.ft-typography--${gt(t)} {
|
|
203
223
|
font-family: ${o.fontFamily};
|
|
204
224
|
font-size: ${o.fontSize};
|
|
205
225
|
font-weight: ${o.fontWeight};
|
|
@@ -207,14 +227,14 @@ var ht,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
207
227
|
line-height: ${o.lineHeight};
|
|
208
228
|
text-transform: ${o.textCase};
|
|
209
229
|
}
|
|
210
|
-
`}(t)))];var
|
|
211
|
-
<${
|
|
230
|
+
`}(t)))];var Si=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class wi extends zo{constructor(){super(...arguments),this.variant=he.body1}render(){return this.element?pe`
|
|
231
|
+
<${le(this.element)}
|
|
212
232
|
class="ft-typography ft-typography--${this.variant}">
|
|
213
233
|
<slot></slot>
|
|
214
|
-
</${
|
|
215
|
-
`:
|
|
234
|
+
</${le(this.element)}>
|
|
235
|
+
`:pe`
|
|
216
236
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
217
|
-
`}}
|
|
237
|
+
`}}wi.styles=[hi,fi,di,ui,yi,gi,bi,mi,xi,vi,Oi,...Ni],Si([C()],wi.prototype,"element",void 0),Si([C()],wi.prototype,"variant",void 0),k("ft-typography")(wi);const Ci=xo.create("--ft-tooltip-distance","","SIZE","4px"),$i=xo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Ei=xo.create("--ft-tooltip-background-color","","COLOR","#666666"),Ri=xo.create("--ft-tooltip-z-index","","NUMBER","100"),Ui=xo.external(Co.borderRadiusS,"Design system"),ki=xo.create("--ft-tooltip-max-width","","SIZE","150px"),Ii=bt`
|
|
218
238
|
.ft-tooltip--container {
|
|
219
239
|
display: block;
|
|
220
240
|
}
|
|
@@ -229,21 +249,21 @@ var ht,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
229
249
|
box-sizing: border-box;
|
|
230
250
|
overflow: hidden;
|
|
231
251
|
width: max-content;
|
|
232
|
-
max-width: ${
|
|
252
|
+
max-width: ${ki};
|
|
233
253
|
text-align: center;
|
|
234
|
-
padding: ${
|
|
235
|
-
z-index: ${
|
|
254
|
+
padding: ${Ci};
|
|
255
|
+
z-index: ${Ri};
|
|
236
256
|
}
|
|
237
257
|
|
|
238
258
|
.ft-tooltip--content {
|
|
239
259
|
padding: 4px 8px;
|
|
240
|
-
border-radius: ${
|
|
241
|
-
background-color: ${
|
|
242
|
-
color: ${
|
|
260
|
+
border-radius: ${Ui};
|
|
261
|
+
background-color: ${Ei};
|
|
262
|
+
color: ${$i};
|
|
243
263
|
position: relative;
|
|
244
264
|
word-break: break-word;
|
|
245
265
|
}
|
|
246
|
-
`;var
|
|
266
|
+
`;var Li=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Wi extends zo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Qt`
|
|
247
267
|
<div part="container"
|
|
248
268
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
249
269
|
@mouseenter=${this.onHover}
|
|
@@ -261,24 +281,18 @@ var ht,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
261
281
|
</div>
|
|
262
282
|
</div>
|
|
263
283
|
</div>
|
|
264
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const
|
|
265
|
-
/**
|
|
266
|
-
* @license
|
|
267
|
-
* Copyright 2017 Google LLC
|
|
268
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
269
|
-
*/
|
|
270
|
-
function(t,o,e){let i,r=t;return"object"==typeof t?(r=t.slot,i=t):i={flatten:o},e?function(t){const{slot:o,selector:e}=null!=t?t:{};return n({descriptor:i=>({get(){var i;const r="slot"+(o?`[name=${o}]`:":not([name])"),n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(r),a=null!=n?s(n,t):[];return e?a.filter((t=>t.matches(e))):a},enumerable:!0,configurable:!0})})}({slot:r,flatten:o,selector:e}):n({descriptor:t=>({get(){var t,o;const e="slot"+(r?`[name=${r}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(o=null==n?void 0:n.assignedNodes(i))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}("",!0)],Ie.prototype,"slotNodes",void 0),ke([a(".ft-tooltip--container")],Ie.prototype,"container",void 0),ke([a(".ft-tooltip")],Ie.prototype,"tooltip",void 0),ke([a(".ft-tooltip--content")],Ie.prototype,"tooltipContent",void 0),ke([r()],Ie.prototype,"visible",void 0),p("ft-tooltip")(Ie);
|
|
284
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,p=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let h=-l.y,f=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,f))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${ki})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Wi.elementDefinitions={"ft-typography":wi},Wi.styles=Ii,Li([C()],Wi.prototype,"text",void 0),Li([C({type:Boolean})],Wi.prototype,"manual",void 0),Li([C({type:Boolean})],Wi.prototype,"inline",void 0),Li([C({type:Number})],Wi.prototype,"delay",void 0),Li([C()],Wi.prototype,"position",void 0),Li([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],Wi.prototype,"slotNodes",void 0),Li([R(".ft-tooltip--container")],Wi.prototype,"container",void 0),Li([R(".ft-tooltip")],Wi.prototype,"tooltip",void 0),Li([R(".ft-tooltip--content")],Wi.prototype,"tooltipContent",void 0),Li([$()],Wi.prototype,"visible",void 0),k("ft-tooltip")(Wi);
|
|
271
285
|
/**
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
const
|
|
286
|
+
* @license
|
|
287
|
+
* Copyright 2017 Google LLC
|
|
288
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
289
|
+
*/
|
|
290
|
+
const zi=1,Ki=2,Zi=t=>(...o)=>({_$litDirective$:t,values:o});class Fi{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
|
|
277
291
|
/**
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
292
|
+
* @license
|
|
293
|
+
* Copyright 2018 Google LLC
|
|
294
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
295
|
+
*/const Bi=Zi(class extends Fi{constructor(t){if(super(t),t.type!==zi||"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((o=>t[o])).join(" ")+" "}update(t,[o]){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 o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return q}}),Ai=xo.extend("--ft-ripple-color","",Co.colorContent),Mi={color:Ai,backgroundColor:xo.extend("--ft-ripple-background-color","",Ai),opacityContentOnSurfacePressed:xo.external(Co.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xo.external(Co.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xo.external(Co.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xo.external(Co.opacityContentOnSurfaceSelected,"Design system"),borderRadius:xo.create("--ft-ripple-border-radius","","SIZE","0px")},Di=xo.extend("--ft-ripple-color","",Co.colorPrimary),Pi=Di,Hi=xo.extend("--ft-ripple-background-color","",Di),ji=xo.extend("--ft-ripple-color","",Co.colorSecondary),Ti=ji,_i=xo.extend("--ft-ripple-background-color","",ji),Gi=bt`
|
|
282
296
|
:host {
|
|
283
297
|
display: contents;
|
|
284
298
|
}
|
|
@@ -291,7 +305,7 @@ const Ue=1,Le=2,We=t=>(...o)=>({_$litDirective$:t,values:o});class ze{constructo
|
|
|
291
305
|
|
|
292
306
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
293
307
|
overflow: hidden;
|
|
294
|
-
border-radius: ${
|
|
308
|
+
border-radius: ${Mi.borderRadius};
|
|
295
309
|
}
|
|
296
310
|
|
|
297
311
|
.ft-ripple .ft-ripple--background,
|
|
@@ -325,27 +339,27 @@ const Ue=1,Le=2,We=t=>(...o)=>({_$litDirective$:t,values:o});class ze{constructo
|
|
|
325
339
|
}
|
|
326
340
|
|
|
327
341
|
.ft-ripple .ft-ripple--background {
|
|
328
|
-
background-color: ${
|
|
342
|
+
background-color: ${Mi.backgroundColor};
|
|
329
343
|
}
|
|
330
344
|
|
|
331
345
|
.ft-ripple .ft-ripple--effect {
|
|
332
|
-
background-color: ${
|
|
346
|
+
background-color: ${Mi.color};
|
|
333
347
|
}
|
|
334
348
|
|
|
335
349
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
336
|
-
background-color: ${
|
|
350
|
+
background-color: ${_i};
|
|
337
351
|
}
|
|
338
352
|
|
|
339
353
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
340
|
-
background-color: ${
|
|
354
|
+
background-color: ${Ti};
|
|
341
355
|
}
|
|
342
356
|
|
|
343
357
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
344
|
-
background-color: ${
|
|
358
|
+
background-color: ${Hi};
|
|
345
359
|
}
|
|
346
360
|
|
|
347
361
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
348
|
-
background-color: ${
|
|
362
|
+
background-color: ${Pi};
|
|
349
363
|
}
|
|
350
364
|
|
|
351
365
|
.ft-ripple .ft-ripple--background {
|
|
@@ -375,39 +389,39 @@ const Ue=1,Le=2,We=t=>(...o)=>({_$litDirective$:t,values:o});class ze{constructo
|
|
|
375
389
|
}
|
|
376
390
|
|
|
377
391
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
378
|
-
opacity: ${
|
|
392
|
+
opacity: ${Mi.opacityContentOnSurfaceHover};
|
|
379
393
|
}
|
|
380
394
|
|
|
381
395
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
382
|
-
opacity: ${
|
|
396
|
+
opacity: ${Mi.opacityContentOnSurfaceSelected};
|
|
383
397
|
}
|
|
384
398
|
|
|
385
399
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
386
|
-
opacity: ${
|
|
400
|
+
opacity: ${Mi.opacityContentOnSurfaceFocused};
|
|
387
401
|
}
|
|
388
402
|
|
|
389
403
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
390
|
-
opacity: ${
|
|
404
|
+
opacity: ${Mi.opacityContentOnSurfacePressed};
|
|
391
405
|
transform: translate(-50%, -50%) scale(1);
|
|
392
406
|
}
|
|
393
|
-
`;var
|
|
407
|
+
`;var Yi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Vi extends zo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-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 Qt`
|
|
394
408
|
<style>
|
|
395
409
|
.ft-ripple .ft-ripple--effect {
|
|
396
410
|
left: ${this.originX}px;
|
|
397
411
|
top: ${this.originY}px;
|
|
398
412
|
}
|
|
399
413
|
</style>
|
|
400
|
-
<div class="${
|
|
414
|
+
<div class="${Bi(t)}">
|
|
401
415
|
<div class="ft-ripple--background"></div>
|
|
402
416
|
<div class="ft-ripple--effect"></div>
|
|
403
417
|
</div>
|
|
404
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
418
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Vi.elementDefinitions={},Vi.styles=Gi,Yi([C({type:Boolean})],Vi.prototype,"primary",void 0),Yi([C({type:Boolean})],Vi.prototype,"secondary",void 0),Yi([C({type:Boolean})],Vi.prototype,"unbounded",void 0),Yi([C({type:Boolean})],Vi.prototype,"activated",void 0),Yi([C({type:Boolean})],Vi.prototype,"selected",void 0),Yi([C({type:Boolean})],Vi.prototype,"disabled",void 0),Yi([$()],Vi.prototype,"hovered",void 0),Yi([$()],Vi.prototype,"focused",void 0),Yi([$()],Vi.prototype,"pressed",void 0),Yi([$()],Vi.prototype,"rippling",void 0),Yi([$()],Vi.prototype,"originX",void 0),Yi([$()],Vi.prototype,"originY",void 0),Yi([R(".ft-ripple")],Vi.prototype,"ripple",void 0),Yi([R(".ft-ripple--effect")],Vi.prototype,"rippleEffect",void 0),k("ft-ripple")(Vi);
|
|
405
419
|
/**
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
class
|
|
420
|
+
* @license
|
|
421
|
+
* Copyright 2017 Google LLC
|
|
422
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
423
|
+
*/
|
|
424
|
+
class Ji extends Fi{constructor(t){if(super(t),this.et=X,t.type!==Ki)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||null==t)return this.vt=void 0,this.et=t;if(t===q)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 o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}Ji.directiveName="unsafeHTML",Ji.resultType=1;const qi=Zi(Ji);var Xi,Qi;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Xi||(Xi={})),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=""}(Qi||(Qi={})),new Map([...["abw"].map((t=>[t,Qi.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,Qi.AUDIO])),...["avi"].map((t=>[t,Qi.AVI])),...["chm","xhs"].map((t=>[t,Qi.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,Qi.CODE])),...["csv"].map((t=>[t,Qi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Qi.DITA])),...["epub"].map((t=>[t,Qi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Qi.EXCEL])),...["flac"].map((t=>[t,Qi.FLAC])),...["gif"].map((t=>[t,Qi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Qi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Qi.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,Qi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Qi.JPEG])),...["json"].map((t=>[t,Qi.JSON])),...["m4a","m4p"].map((t=>[t,Qi.M4A])),...["mov","qt"].map((t=>[t,Qi.MOV])),...["mp3"].map((t=>[t,Qi.MP3])),...["mp4","m4v"].map((t=>[t,Qi.MP4])),...["ogg","oga"].map((t=>[t,Qi.OGG])),...["pdf","ps"].map((t=>[t,Qi.PDF])),...["png"].map((t=>[t,Qi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Qi.POWERPOINT])),...["rar"].map((t=>[t,Qi.RAR])),...["stp"].map((t=>[t,Qi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Qi.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,Qi.VIDEO])),...["wav"].map((t=>[t,Qi.WAV])),...["wma"].map((t=>[t,Qi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Qi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Qi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Qi.YAML])),...["zip"].map((t=>[t,Qi.ZIP]))]);const tr={size:xo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:xo.extend("--ft-icon-fluid-topics-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:xo.extend("--ft-icon-file-format-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:xo.extend("--ft-icon-material-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:xo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},or=bt`
|
|
411
425
|
:host, i.ft-icon {
|
|
412
426
|
display: inline-flex;
|
|
413
427
|
align-items: center;
|
|
@@ -416,14 +430,14 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
416
430
|
}
|
|
417
431
|
|
|
418
432
|
:host {
|
|
419
|
-
width: ${
|
|
420
|
-
height: ${
|
|
433
|
+
width: ${tr.size};
|
|
434
|
+
height: ${tr.size};
|
|
421
435
|
}
|
|
422
436
|
|
|
423
437
|
i.ft-icon {
|
|
424
438
|
width: 100%;
|
|
425
439
|
height: 100%;
|
|
426
|
-
font-size: ${
|
|
440
|
+
font-size: ${tr.size};
|
|
427
441
|
line-height: 1;
|
|
428
442
|
font-weight: normal;
|
|
429
443
|
text-transform: none;
|
|
@@ -434,33 +448,33 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
434
448
|
text-rendering: auto;
|
|
435
449
|
-webkit-font-smoothing: antialiased;
|
|
436
450
|
-moz-osx-font-smoothing: grayscale;
|
|
437
|
-
vertical-align: ${
|
|
451
|
+
vertical-align: ${tr.verticalAlign};
|
|
438
452
|
}
|
|
439
453
|
|
|
440
454
|
i.ft-icon.ft-icon--fluid-topics {
|
|
441
|
-
font-family: ${
|
|
455
|
+
font-family: ${tr.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
442
456
|
|
|
443
457
|
/* Ugly fix because font is broken */
|
|
444
|
-
font-size: calc(0.75 * ${
|
|
445
|
-
line-height: ${
|
|
458
|
+
font-size: calc(0.75 * ${tr.size});
|
|
459
|
+
line-height: ${tr.size};
|
|
446
460
|
position: relative;
|
|
447
461
|
top: -4%;
|
|
448
462
|
justify-content: center;
|
|
449
463
|
}
|
|
450
464
|
|
|
451
465
|
.ft-icon--file-format {
|
|
452
|
-
font-family: ${
|
|
466
|
+
font-family: ${tr.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
453
467
|
}
|
|
454
468
|
|
|
455
469
|
.ft-icon--material {
|
|
456
|
-
font-family: ${
|
|
470
|
+
font-family: ${tr.materialFontFamily}, "Material Icons", sans-serif;
|
|
457
471
|
}
|
|
458
|
-
`;var
|
|
472
|
+
`;var er;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(er||(er={}));var ir=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class rr extends zo{constructor(){super(...arguments),this.resolvedIcon=oo}render(){const t=this.variant&&Object.values(er).includes(this.variant)?this.variant:er.fluid_topics,o=t!==er.material||!!this.value;return Qt`
|
|
459
473
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
460
|
-
${
|
|
474
|
+
${qi(this.resolvedIcon)}
|
|
461
475
|
<slot ?hidden=${o}></slot>
|
|
462
476
|
</i>
|
|
463
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case
|
|
477
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case er.file_format:this.resolvedIcon=null!==(t=Qi[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case er.material:this.resolvedIcon=this.value||oo;break;default:this.resolvedIcon=null!==(o=Xi[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}rr.elementDefinitions={},rr.styles=or,ir([C()],rr.prototype,"variant",void 0),ir([C()],rr.prototype,"value",void 0),ir([$()],rr.prototype,"resolvedIcon",void 0),ir([R("slot")],rr.prototype,"slottedContent",void 0),k("ft-icon")(rr);const nr={color:xo.extend("--ft-loader-color","",Co.colorPrimary),size:xo.create("--ft-loader-size","","SIZE","80px")},ar=bt`
|
|
464
478
|
:host {
|
|
465
479
|
line-height: 0;
|
|
466
480
|
}
|
|
@@ -469,8 +483,8 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
469
483
|
display: inline-block;
|
|
470
484
|
position: relative;
|
|
471
485
|
|
|
472
|
-
width: ${
|
|
473
|
-
height: ${
|
|
486
|
+
width: ${nr.size};
|
|
487
|
+
height: ${nr.size};
|
|
474
488
|
}
|
|
475
489
|
|
|
476
490
|
.ft-loader div {
|
|
@@ -479,7 +493,7 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
479
493
|
width: 25%;
|
|
480
494
|
height: 25%;
|
|
481
495
|
border-radius: 50%;
|
|
482
|
-
background: ${
|
|
496
|
+
background: ${nr.color};
|
|
483
497
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
484
498
|
}
|
|
485
499
|
|
|
@@ -526,10 +540,10 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
526
540
|
transform: translate(0, 0);
|
|
527
541
|
}
|
|
528
542
|
100% {
|
|
529
|
-
transform: translate(calc(0.35 * ${
|
|
543
|
+
transform: translate(calc(0.35 * ${nr.size}), 0);
|
|
530
544
|
}
|
|
531
545
|
}
|
|
532
|
-
`,
|
|
546
|
+
`,sr=xo.extend("--ft-button-color","",Co.colorPrimary),lr={backgroundColor:xo.extend("--ft-button-background-color","",Co.colorSurface),borderRadius:xo.extend("--ft-button-border-radius","",Co.borderRadiusL),color:sr,fontSize:xo.extend("--ft-button-font-size","",pi.fontSize),iconSize:xo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:xo.extend("--ft-button-ripple-color","",sr),verticalPadding:xo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:xo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:xo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:xo.external(Co.colorOpacityDisabled,"Design system")},cr=xo.extend("--ft-button-primary-color","",xo.extend("--ft-button-color","",Co.colorOnPrimary)),pr={backgroundColor:xo.extend("--ft-button-primary-background-color","",xo.extend("--ft-button-background-color","",Co.colorPrimary)),color:cr,rippleColor:xo.extend("--ft-button-primary-ripple-color","",cr)},hr=xo.extend("--ft-button-dense-border-radius","",xo.extend("--ft-button-border-radius","",Co.borderRadiusM)),fr=xo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),dr=xo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ur=xo.create("--ft-button-dense-icon-padding","","SIZE","4px"),yr=[bt`
|
|
533
547
|
:host {
|
|
534
548
|
display: inline-block;
|
|
535
549
|
max-width: 100%;
|
|
@@ -540,7 +554,7 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
540
554
|
box-shadow: 0px 0px 0px transparent;
|
|
541
555
|
border: 0px solid transparent;
|
|
542
556
|
text-shadow: 0px 0px 0px transparent;
|
|
543
|
-
font-size: ${
|
|
557
|
+
font-size: ${lr.fontSize};
|
|
544
558
|
}
|
|
545
559
|
|
|
546
560
|
button:hover {
|
|
@@ -569,31 +583,31 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
569
583
|
border: none;
|
|
570
584
|
pointer-events: auto;
|
|
571
585
|
|
|
572
|
-
--ft-button-internal-line-height: max(calc(${
|
|
573
|
-
--ft-button-internal-color: ${
|
|
574
|
-
${
|
|
575
|
-
${
|
|
586
|
+
--ft-button-internal-line-height: max(calc(${lr.fontSize} + 2px), ${lr.iconSize});
|
|
587
|
+
--ft-button-internal-color: ${lr.color};
|
|
588
|
+
${vo(tr.size,lr.iconSize)};
|
|
589
|
+
${vo(Mi.color,lr.rippleColor)};
|
|
576
590
|
|
|
577
|
-
border-radius: ${
|
|
578
|
-
padding: ${
|
|
579
|
-
background-color: ${
|
|
591
|
+
border-radius: ${lr.borderRadius};
|
|
592
|
+
padding: ${lr.verticalPadding} ${lr.horizontalPadding};
|
|
593
|
+
background-color: ${lr.backgroundColor};
|
|
580
594
|
color: var(--ft-button-internal-color);
|
|
581
595
|
-webkit-mask-image: radial-gradient(white, black);
|
|
582
596
|
}
|
|
583
597
|
|
|
584
598
|
.ft-button.ft-button--outlined {
|
|
585
599
|
border: 1px solid var(--ft-button-internal-color);
|
|
586
|
-
padding: calc(${
|
|
600
|
+
padding: calc(${lr.verticalPadding} - 1px) calc(${lr.horizontalPadding} - 1px);
|
|
587
601
|
}
|
|
588
602
|
|
|
589
603
|
.ft-button.ft-button--dense {
|
|
590
|
-
padding: ${
|
|
591
|
-
border-radius: ${
|
|
592
|
-
gap: ${
|
|
604
|
+
padding: ${fr} ${dr};
|
|
605
|
+
border-radius: ${hr};
|
|
606
|
+
gap: ${ur};
|
|
593
607
|
}
|
|
594
608
|
|
|
595
609
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
596
|
-
padding: calc(${
|
|
610
|
+
padding: calc(${fr} - 1px) calc(${dr} - 1px);
|
|
597
611
|
}
|
|
598
612
|
|
|
599
613
|
.ft-button:not([disabled]):hover {
|
|
@@ -601,22 +615,22 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
601
615
|
}
|
|
602
616
|
|
|
603
617
|
.ft-button--round {
|
|
604
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
618
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${lr.verticalPadding});
|
|
605
619
|
}
|
|
606
620
|
|
|
607
621
|
.ft-button--round.ft-button--dense {
|
|
608
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
622
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${fr});
|
|
609
623
|
}
|
|
610
624
|
|
|
611
625
|
.ft-button[disabled] {
|
|
612
626
|
filter: grayscale(1);
|
|
613
|
-
opacity: ${
|
|
627
|
+
opacity: ${lr.opacityDisabled};
|
|
614
628
|
}
|
|
615
629
|
|
|
616
630
|
.ft-button.ft-button--primary {
|
|
617
|
-
background-color: ${
|
|
618
|
-
--ft-button-internal-color: ${
|
|
619
|
-
${
|
|
631
|
+
background-color: ${pr.backgroundColor};
|
|
632
|
+
--ft-button-internal-color: ${pr.color};
|
|
633
|
+
${vo(Mi.color,pr.rippleColor)};
|
|
620
634
|
}
|
|
621
635
|
|
|
622
636
|
.ft-button:focus {
|
|
@@ -629,13 +643,13 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
629
643
|
white-space: nowrap;
|
|
630
644
|
text-overflow: ellipsis;
|
|
631
645
|
display: block;
|
|
632
|
-
margin: 0 ${
|
|
633
|
-
${
|
|
634
|
-
${
|
|
646
|
+
margin: 0 ${lr.iconPadding};
|
|
647
|
+
${vo(pi.fontSize,"1em")};
|
|
648
|
+
${vo(pi.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
635
649
|
}
|
|
636
650
|
|
|
637
651
|
.ft-button--dense .ft-button--label {
|
|
638
|
-
margin: 0 ${
|
|
652
|
+
margin: 0 ${ur};
|
|
639
653
|
}
|
|
640
654
|
|
|
641
655
|
.ft-button--label[hidden] {
|
|
@@ -648,13 +662,13 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
648
662
|
}
|
|
649
663
|
|
|
650
664
|
.ft-button--label[hidden] + ft-icon {
|
|
651
|
-
margin: 0 calc(${
|
|
652
|
-
padding: 0 ${
|
|
665
|
+
margin: 0 calc(${lr.horizontalPadding} * -1);
|
|
666
|
+
padding: 0 ${lr.verticalPadding};
|
|
653
667
|
}
|
|
654
668
|
|
|
655
669
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
656
|
-
margin: 0 calc(${
|
|
657
|
-
padding: 0 ${
|
|
670
|
+
margin: 0 calc(${dr} * -1);
|
|
671
|
+
padding: 0 ${fr};
|
|
658
672
|
}
|
|
659
673
|
|
|
660
674
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -663,40 +677,40 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
663
677
|
}
|
|
664
678
|
|
|
665
679
|
ft-loader {
|
|
666
|
-
${
|
|
667
|
-
${
|
|
680
|
+
${vo(nr.size,lr.iconSize)};
|
|
681
|
+
${vo(nr.color,"var(--ft-button-internal-color)")};
|
|
668
682
|
}
|
|
669
|
-
`,
|
|
683
|
+
`,Ko];class gr extends zo{render(){return Qt`
|
|
670
684
|
<div class="ft-loader">
|
|
671
685
|
<div></div>
|
|
672
686
|
<div></div>
|
|
673
687
|
<div></div>
|
|
674
688
|
<div></div>
|
|
675
689
|
</div>
|
|
676
|
-
`}}
|
|
690
|
+
`}}gr.styles=ar,k("ft-loader")(gr);var br=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class mr extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[To].form}constructor(...t){super(t),this[To]=this.attachInternals(),this[To].role=o}setFormValue(t){this[To].setFormValue(t)}}}(zo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(Qt`
|
|
677
691
|
<button part="button"
|
|
678
|
-
class="${
|
|
692
|
+
class="${Bi(this.buttonClasses)}"
|
|
679
693
|
aria-label="${this.getLabel()}"
|
|
680
694
|
?disabled=${this.isDisabled()}>
|
|
681
695
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
682
696
|
<ft-typography part="label"
|
|
683
697
|
variant=${this.typographyVariant}
|
|
684
698
|
element="span"
|
|
685
|
-
class="ft-button--label ${
|
|
699
|
+
class="ft-button--label ${Vo?"ft-safari-ellipsis-fix":""}"
|
|
686
700
|
?hidden=${!this.hasTextContent()}>
|
|
687
701
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
688
702
|
</ft-typography>
|
|
689
703
|
${this.resolveIcon()}
|
|
690
704
|
</button>
|
|
691
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
705
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Qt`
|
|
692
706
|
<ft-tooltip part="tooltip"
|
|
693
707
|
text="${this.getLabel()}"
|
|
694
708
|
position="${this.tooltipPosition}">
|
|
695
709
|
${t}
|
|
696
710
|
</ft-tooltip>
|
|
697
|
-
`:t}resolveIcon(){return this.loading?
|
|
698
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
699
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
711
|
+
`:t}resolveIcon(){return this.loading?Qt`
|
|
712
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?Qt`
|
|
713
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:oo}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}}mr.elementDefinitions={"ft-ripple":Vi,"ft-tooltip":Wi,"ft-typography":wi,"ft-icon":rr,"ft-loader":gr},br([C({type:String,reflect:!0})],mr.prototype,"role",void 0),br([C()],mr.prototype,"type",void 0),br([C({type:Boolean})],mr.prototype,"disabled",void 0),br([C()],mr.prototype,"label",void 0),br([C()],mr.prototype,"icon",void 0),br([C()],mr.prototype,"iconVariant",void 0),br([C({type:Boolean})],mr.prototype,"trailingIcon",void 0),br([C({type:Boolean})],mr.prototype,"loading",void 0),br([C()],mr.prototype,"tooltipPosition",void 0),br([C({type:Boolean})],mr.prototype,"hideTooltip",void 0),br([C({type:Boolean})],mr.prototype,"forceTooltip",void 0),br([R(".ft-button")],mr.prototype,"button",void 0),br([R(".ft-button--label slot")],mr.prototype,"slottedContent",void 0);var xr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vr extends mr{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"}}vr.styles=[Zo,yr],xr([C({type:Boolean})],vr.prototype,"primary",void 0),xr([C({type:Boolean})],vr.prototype,"outlined",void 0),xr([C({type:Boolean})],vr.prototype,"dense",void 0),xr([C({type:Boolean})],vr.prototype,"round",void 0);const Or=[bt`
|
|
700
714
|
:host {
|
|
701
715
|
display: inline-block;
|
|
702
716
|
max-width: 100%;
|
|
@@ -746,7 +760,7 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
746
760
|
}
|
|
747
761
|
|
|
748
762
|
.ft-button:focus-visible {
|
|
749
|
-
outline-color: ${
|
|
763
|
+
outline-color: ${wo.focusFocusRingColor};
|
|
750
764
|
outline-style: solid;
|
|
751
765
|
}
|
|
752
766
|
|
|
@@ -775,146 +789,146 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
775
789
|
/** Primary styles **/
|
|
776
790
|
|
|
777
791
|
.ft-button--primary {
|
|
778
|
-
${
|
|
792
|
+
${vo(nr.color,wo.primaryIconColor)};
|
|
779
793
|
|
|
780
|
-
${
|
|
781
|
-
${
|
|
782
|
-
${
|
|
783
|
-
${
|
|
784
|
-
${
|
|
794
|
+
${vo(Mi.color,wo.primaryStateLayerColor)};
|
|
795
|
+
${vo(Mi.opacityContentOnSurfaceHover,wo.primaryStateLayerOpacityHover)};
|
|
796
|
+
${vo(Mi.opacityContentOnSurfaceFocused,wo.primaryStateLayerOpacityFocus)};
|
|
797
|
+
${vo(Mi.opacityContentOnSurfaceSelected,wo.primaryStateLayerOpacityActive)};
|
|
798
|
+
${vo(Mi.opacityContentOnSurfacePressed,wo.primaryStateLayerOpacityActive)};
|
|
785
799
|
|
|
786
|
-
background-color: ${
|
|
787
|
-
color: ${
|
|
800
|
+
background-color: ${wo.primaryBackgroundColor};
|
|
801
|
+
color: ${wo.primaryColor};
|
|
788
802
|
border-style: none;
|
|
789
803
|
}
|
|
790
804
|
|
|
791
805
|
.ft-button--primary[disabled] {
|
|
792
|
-
opacity: ${
|
|
806
|
+
opacity: ${wo.primaryComponentOpacityDisabled};
|
|
793
807
|
}
|
|
794
808
|
|
|
795
809
|
.ft-button--primary ft-icon {
|
|
796
|
-
color: ${
|
|
810
|
+
color: ${wo.primaryIconColor};
|
|
797
811
|
}
|
|
798
812
|
|
|
799
813
|
/** Secondary styles **/
|
|
800
814
|
|
|
801
815
|
.ft-button--secondary {
|
|
802
|
-
${
|
|
816
|
+
${vo(nr.color,wo.secondaryIconColor)};
|
|
803
817
|
|
|
804
|
-
${
|
|
805
|
-
${
|
|
806
|
-
${
|
|
807
|
-
${
|
|
808
|
-
${
|
|
818
|
+
${vo(Mi.color,wo.secondaryStateLayerColor)};
|
|
819
|
+
${vo(Mi.opacityContentOnSurfaceHover,wo.secondaryStateLayerOpacityHover)};
|
|
820
|
+
${vo(Mi.opacityContentOnSurfaceFocused,wo.secondaryStateLayerOpacityFocus)};
|
|
821
|
+
${vo(Mi.opacityContentOnSurfaceSelected,wo.secondaryStateLayerOpacityActive)};
|
|
822
|
+
${vo(Mi.opacityContentOnSurfacePressed,wo.secondaryStateLayerOpacityActive)};
|
|
809
823
|
|
|
810
|
-
background-color: ${
|
|
811
|
-
color: ${
|
|
812
|
-
border-color: ${
|
|
824
|
+
background-color: ${wo.secondaryBackgroundColor};
|
|
825
|
+
color: ${wo.secondaryColor};
|
|
826
|
+
border-color: ${wo.secondaryBorderColor};
|
|
813
827
|
border-style: solid;
|
|
814
828
|
}
|
|
815
829
|
|
|
816
830
|
.ft-button--secondary[disabled] {
|
|
817
|
-
opacity: ${
|
|
831
|
+
opacity: ${wo.secondaryComponentOpacityDisabled};
|
|
818
832
|
}
|
|
819
833
|
|
|
820
834
|
.ft-button--secondary ft-icon {
|
|
821
|
-
color: ${
|
|
835
|
+
color: ${wo.secondaryIconColor};
|
|
822
836
|
}
|
|
823
837
|
|
|
824
838
|
/** Tertiary styles **/
|
|
825
839
|
|
|
826
840
|
.ft-button--tertiary {
|
|
827
|
-
${
|
|
841
|
+
${vo(nr.color,wo.tertiaryIconColor)};
|
|
828
842
|
|
|
829
|
-
${
|
|
830
|
-
${
|
|
831
|
-
${
|
|
832
|
-
${
|
|
833
|
-
${
|
|
843
|
+
${vo(Mi.color,wo.tertiaryStateLayerColor)};
|
|
844
|
+
${vo(Mi.opacityContentOnSurfaceHover,wo.tertiaryStateLayerOpacityHover)};
|
|
845
|
+
${vo(Mi.opacityContentOnSurfaceFocused,wo.tertiaryStateLayerOpacityFocus)};
|
|
846
|
+
${vo(Mi.opacityContentOnSurfaceSelected,wo.tertiaryStateLayerOpacityActive)};
|
|
847
|
+
${vo(Mi.opacityContentOnSurfacePressed,wo.tertiaryStateLayerOpacityActive)};
|
|
834
848
|
|
|
835
|
-
background-color: ${
|
|
836
|
-
color: ${
|
|
849
|
+
background-color: ${wo.tertiaryBackgroundColor};
|
|
850
|
+
color: ${wo.tertiaryColor};
|
|
837
851
|
border-style: none;
|
|
838
852
|
}
|
|
839
853
|
|
|
840
854
|
.ft-button--tertiary[disabled] {
|
|
841
|
-
opacity: ${
|
|
855
|
+
opacity: ${wo.tertiaryComponentOpacityDisabled};
|
|
842
856
|
}
|
|
843
857
|
|
|
844
858
|
.ft-button--tertiary ft-icon {
|
|
845
|
-
color: ${
|
|
859
|
+
color: ${wo.tertiaryIconColor};
|
|
846
860
|
}
|
|
847
861
|
|
|
848
862
|
/** Neutral styles **/
|
|
849
863
|
|
|
850
864
|
.ft-button--neutral {
|
|
851
|
-
${
|
|
865
|
+
${vo(nr.color,wo.neutralIconColor)};
|
|
852
866
|
|
|
853
|
-
${
|
|
854
|
-
${
|
|
855
|
-
${
|
|
856
|
-
${
|
|
857
|
-
${
|
|
867
|
+
${vo(Mi.backgroundColor,wo.neutralStateLayerColor)};
|
|
868
|
+
${vo(Mi.opacityContentOnSurfaceHover,wo.neutralStateLayerOpacityHover)};
|
|
869
|
+
${vo(Mi.opacityContentOnSurfaceFocused,wo.neutralStateLayerOpacityFocus)};
|
|
870
|
+
${vo(Mi.opacityContentOnSurfaceSelected,wo.neutralStateLayerOpacityActive)};
|
|
871
|
+
${vo(Mi.opacityContentOnSurfacePressed,wo.neutralStateLayerOpacityActive)};
|
|
858
872
|
|
|
859
|
-
background-color: ${
|
|
860
|
-
color: ${
|
|
873
|
+
background-color: ${wo.neutralBackgroundColor};
|
|
874
|
+
color: ${wo.neutralColor};
|
|
861
875
|
border-style: none;
|
|
862
876
|
}
|
|
863
877
|
|
|
864
878
|
.ft-button--neutral[disabled] {
|
|
865
|
-
opacity: ${
|
|
879
|
+
opacity: ${wo.neutralComponentOpacityDisabled};
|
|
866
880
|
}
|
|
867
881
|
|
|
868
882
|
.ft-button--neutral ft-icon {
|
|
869
|
-
color: ${
|
|
883
|
+
color: ${wo.neutralIconColor};
|
|
870
884
|
}
|
|
871
885
|
|
|
872
886
|
/** Large styles **/
|
|
873
887
|
|
|
874
888
|
.ft-button--large {
|
|
875
|
-
${
|
|
876
|
-
${
|
|
889
|
+
${vo(tr.size,wo.largeIconSize)};
|
|
890
|
+
${vo(nr.size,wo.largeIconSize)};
|
|
877
891
|
|
|
878
|
-
height: ${
|
|
879
|
-
padding: 0 ${
|
|
880
|
-
gap: ${
|
|
881
|
-
border-radius: ${
|
|
882
|
-
border-width: ${
|
|
892
|
+
height: ${wo.largeHeight};
|
|
893
|
+
padding: 0 ${wo.largeHorizontalPadding};
|
|
894
|
+
gap: ${wo.largeGap};
|
|
895
|
+
border-radius: ${wo.largeBorderRadius};
|
|
896
|
+
border-width: ${wo.largeBorderWidth};
|
|
883
897
|
}
|
|
884
898
|
|
|
885
899
|
.ft-button--large:focus-visible {
|
|
886
|
-
outline-width: ${
|
|
887
|
-
outline-offset: ${
|
|
900
|
+
outline-width: ${wo.largeFocusOutlineWidth};
|
|
901
|
+
outline-offset: ${wo.largeFocusOutlineOffset};
|
|
888
902
|
}
|
|
889
903
|
|
|
890
904
|
.ft-button--large.ft-button--icon-only {
|
|
891
|
-
width: ${
|
|
905
|
+
width: ${wo.largeIconOnlyWidth};
|
|
892
906
|
padding: unset;
|
|
893
907
|
}
|
|
894
908
|
|
|
895
909
|
/** Small styles **/
|
|
896
910
|
|
|
897
911
|
.ft-button--small {
|
|
898
|
-
${
|
|
899
|
-
${
|
|
912
|
+
${vo(tr.size,wo.smallIconSize)};
|
|
913
|
+
${vo(nr.size,wo.smallIconSize)};
|
|
900
914
|
|
|
901
|
-
height: ${
|
|
902
|
-
padding: 0 ${
|
|
903
|
-
gap: ${
|
|
904
|
-
border-radius: ${
|
|
905
|
-
border-width: ${
|
|
915
|
+
height: ${wo.smallHeight};
|
|
916
|
+
padding: 0 ${wo.smallHorizontalPadding};
|
|
917
|
+
gap: ${wo.smallGap};
|
|
918
|
+
border-radius: ${wo.smallBorderRadius};
|
|
919
|
+
border-width: ${wo.smallBorderWidth};
|
|
906
920
|
}
|
|
907
921
|
|
|
908
922
|
.ft-button--small:focus-visible {
|
|
909
|
-
outline-width: ${
|
|
910
|
-
outline-offset: ${
|
|
923
|
+
outline-width: ${wo.smallFocusOutlineWidth};
|
|
924
|
+
outline-offset: ${wo.smallFocusOutlineOffset};
|
|
911
925
|
}
|
|
912
926
|
|
|
913
927
|
.ft-button--small.ft-button--icon-only {
|
|
914
|
-
width: ${
|
|
928
|
+
width: ${wo.smallIconOnlyWidth};
|
|
915
929
|
padding: unset;
|
|
916
930
|
}
|
|
917
|
-
`,
|
|
931
|
+
`,Ko];var Nr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Sr extends mr{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?he.caption1medium:he.body2medium}}Sr.styles=[Zo,Or],Nr([C({type:Boolean})],Sr.prototype,"primary",void 0),Nr([C({type:Boolean})],Sr.prototype,"secondary",void 0),Nr([C({type:Boolean})],Sr.prototype,"tertiary",void 0),Nr([C({type:Boolean})],Sr.prototype,"neutral",void 0),Nr([C({type:Boolean})],Sr.prototype,"small",void 0),k("ft-button")(vr),k("ftds-button")(Sr);const wr=xo.extend("--ft-chip-color","",Co.colorOnSurface),Cr={backgroundColor:xo.extend("--ft-chip-background-color","",Co.colorSurface),color:wr,fontSize:xo.extend("--ft-chip-font-size","",Te.fontSize),iconSize:xo.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:xo.extend("--ft-chip-ripple-color","",wr),horizontalPadding:xo.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:xo.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:xo.external(Co.colorOutline,"Design system"),opacityDisabled:xo.external(Co.colorOpacityDisabled,"Design system")},$r=xo.extend("--ft-chip-highlighted-color","",xo.extend("--ft-chip-color","",Co.colorOnPrimary)),Er={backgroundColor:xo.extend("--ft-chip-highlighted-background-color","",xo.extend("--ft-chip-background-color","",Co.colorPrimary)),color:$r,rippleColor:xo.extend("--ft-chip-highlighted-ripple-color","",$r)},Rr=xo.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Ur=xo.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),kr=[Ko,bt`
|
|
918
932
|
:host {
|
|
919
933
|
display: inline-block;
|
|
920
934
|
max-width: 100%;
|
|
@@ -930,20 +944,20 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
930
944
|
box-sizing: border-box;
|
|
931
945
|
pointer-events: auto;
|
|
932
946
|
|
|
933
|
-
--ft-chip-internal-font-size: ${
|
|
947
|
+
--ft-chip-internal-font-size: ${Cr.fontSize};
|
|
934
948
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
935
|
-
${
|
|
936
|
-
--ft-chip-internal-vertical-padding: ${
|
|
937
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
949
|
+
${vo(tr.size,Cr.iconSize)};
|
|
950
|
+
--ft-chip-internal-vertical-padding: ${Cr.verticalPadding};
|
|
951
|
+
--ft-chip-internal-horizontal-padding: ${Cr.horizontalPadding};
|
|
938
952
|
--ft-chip-internal-icon-padding: 3px;
|
|
939
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
953
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Cr.iconSize});
|
|
940
954
|
|
|
941
|
-
border: 1px solid ${
|
|
942
|
-
color: ${
|
|
943
|
-
${
|
|
955
|
+
border: 1px solid ${Cr.colorOutline};
|
|
956
|
+
color: ${Cr.color};
|
|
957
|
+
${vo(Mi.color,Cr.rippleColor)};
|
|
944
958
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
945
959
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
946
|
-
background-color: ${
|
|
960
|
+
background-color: ${Cr.backgroundColor};
|
|
947
961
|
line-height: var(--ft-chip-internal-content-height);
|
|
948
962
|
}
|
|
949
963
|
|
|
@@ -953,8 +967,8 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
953
967
|
|
|
954
968
|
.ft-chip--dense {
|
|
955
969
|
--ft-chip-internal-icon-padding: 3px;
|
|
956
|
-
--ft-chip-internal-vertical-padding: ${
|
|
957
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
970
|
+
--ft-chip-internal-vertical-padding: ${Ur};
|
|
971
|
+
--ft-chip-internal-horizontal-padding: ${Rr};
|
|
958
972
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
959
973
|
}
|
|
960
974
|
|
|
@@ -966,15 +980,15 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
966
980
|
cursor: default;
|
|
967
981
|
pointer-events: none;
|
|
968
982
|
filter: grayscale(1);
|
|
969
|
-
opacity: ${
|
|
983
|
+
opacity: ${Cr.opacityDisabled};
|
|
970
984
|
}
|
|
971
985
|
|
|
972
986
|
.ft-chip--highlighted {
|
|
973
987
|
border: none;
|
|
974
988
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
975
|
-
background-color: ${
|
|
976
|
-
${
|
|
977
|
-
color: ${
|
|
989
|
+
background-color: ${Er.backgroundColor};
|
|
990
|
+
${vo(Mi.color,Er.rippleColor)};
|
|
991
|
+
color: ${Er.color};
|
|
978
992
|
}
|
|
979
993
|
|
|
980
994
|
.ft-chip--clickable {
|
|
@@ -1004,9 +1018,9 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
1004
1018
|
}
|
|
1005
1019
|
|
|
1006
1020
|
.ft-chip--icon-button {
|
|
1007
|
-
${
|
|
1008
|
-
${
|
|
1009
|
-
${
|
|
1021
|
+
${vo(lr.iconSize,Cr.iconSize)};
|
|
1022
|
+
${vo(lr.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1023
|
+
${vo(lr.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1010
1024
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
1011
1025
|
}
|
|
1012
1026
|
|
|
@@ -1014,8 +1028,8 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
1014
1028
|
vertical-align: bottom;
|
|
1015
1029
|
display: block;
|
|
1016
1030
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
1017
|
-
${
|
|
1018
|
-
${
|
|
1031
|
+
${vo(Te.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
1032
|
+
${vo(Te.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
1019
1033
|
}
|
|
1020
1034
|
|
|
1021
1035
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -1051,8 +1065,8 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
1051
1065
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1052
1066
|
order: -1;
|
|
1053
1067
|
}
|
|
1054
|
-
`];var
|
|
1055
|
-
<div class="${
|
|
1068
|
+
`];var Ir=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Lr extends CustomEvent{constructor(){super("icon-click")}}class Wr extends zo{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Vo};return Qt`
|
|
1069
|
+
<div class="${Bi(t)}"
|
|
1056
1070
|
aria-label="${this.getLabel()}"
|
|
1057
1071
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
1058
1072
|
@keyup=${this.onKeyUp}>
|
|
@@ -1062,7 +1076,7 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
1062
1076
|
</ft-typography>
|
|
1063
1077
|
${this.internalIcon?this.renderIcon():null}
|
|
1064
1078
|
</div>
|
|
1065
|
-
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?
|
|
1079
|
+
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?Qt`
|
|
1066
1080
|
<ft-button round
|
|
1067
1081
|
class="ft-chip--icon-button"
|
|
1068
1082
|
@click=${this.onIconClick}
|
|
@@ -1070,21 +1084,21 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
1070
1084
|
icon="${this.internalIcon}"
|
|
1071
1085
|
label="${this.iconLabel}"
|
|
1072
1086
|
></ft-button>
|
|
1073
|
-
`:
|
|
1087
|
+
`:Qt`
|
|
1074
1088
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
1075
1089
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
1076
1090
|
</div>
|
|
1077
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
1091
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Lr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Lr))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Wr.elementDefinitions={"ft-ripple":Vi,"ft-typography":wi,"ft-icon":rr,"ft-button":vr},Wr.styles=kr,Ir([C({type:Boolean})],Wr.prototype,"highlighted",void 0),Ir([C({type:Boolean})],Wr.prototype,"removable",void 0),Ir([C({type:Boolean})],Wr.prototype,"disabled",void 0),Ir([C({type:Boolean})],Wr.prototype,"clickable",void 0),Ir([C({type:Boolean})],Wr.prototype,"iconClickable",void 0),Ir([C({type:Boolean})],Wr.prototype,"dense",void 0),Ir([C({type:Boolean})],Wr.prototype,"multiLine",void 0),Ir([C()],Wr.prototype,"label",void 0),Ir([C()],Wr.prototype,"iconLabel",void 0),Ir([C()],Wr.prototype,"icon",void 0),Ir([C()],Wr.prototype,"iconVariant",void 0),Ir([C({type:Boolean})],Wr.prototype,"trailingIcon",void 0),Ir([R("ft-typography slot")],Wr.prototype,"slottedContent",void 0),k("ft-chip")(Wr);var zr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Kr extends ne{constructor(){super(...arguments),this.editorMode=!1}render(){return Qt`
|
|
1078
1092
|
<ft-tooltip text="${this.tooltipText}">
|
|
1079
1093
|
<ft-chip>
|
|
1080
1094
|
${this.renderContent()}
|
|
1081
1095
|
</ft-chip>
|
|
1082
1096
|
</ft-tooltip>
|
|
1083
1097
|
${this.hideIfEmpty()}
|
|
1084
|
-
`}renderContent(){return this.metadata?
|
|
1098
|
+
`}renderContent(){return this.metadata?Qt`${this.valueText}`:this.key?Qt`no value for ${this.key}`:Qt`no metadata selected`}hideIfEmpty(){return this.editorMode||this.metadata?oo:Qt`
|
|
1085
1099
|
<style>
|
|
1086
1100
|
:host {
|
|
1087
1101
|
display: none !important;
|
|
1088
1102
|
}
|
|
1089
1103
|
</style>
|
|
1090
|
-
`}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}update(t){super.update(t),["key","tocNode"].some((o=>t.has(o)))&&this.updateContent()}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var t;this.metadata=void 0,this.tocNode&&this.key&&(null===(t=this.service)||void 0===t||t.getTopicInfo(this.tocNode).then((t=>this.metadata=t.metadata.find((t=>t.key===this.key)))).catch((()=>null)))}}
|
|
1104
|
+
`}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}update(t){super.update(t),["key","tocNode"].some((o=>t.has(o)))&&this.updateContent()}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var t;this.metadata=void 0,this.tocNode&&this.key&&(null===(t=this.service)||void 0===t||t.getTopicInfo(this.tocNode).then((t=>this.metadata=t.metadata.find((t=>t.key===this.key)))).catch((()=>null)))}}Kr.elementDefinitions={"ft-tooltip":Wi,"ft-chip":Wr},Kr.styles=Jo,zr([C()],Kr.prototype,"key",void 0),zr([$()],Kr.prototype,"editorMode",void 0),zr([$()],Kr.prototype,"metadata",void 0),k("ft-reader-topic-metadata")(Kr),t.FtReaderTopicMetadata=Kr,t.FtReaderTopicMetadataCssVariables={},t.styles=Jo}({});
|