@fluid-topics/ft-tabs 1.1.6 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-tabs.min.js +163 -163
- package/package.json +7 -7
package/build/ft-tabs.min.js
CHANGED
|
@@ -12,84 +12,84 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=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||[]);h(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=o.call(i,t);p||(p=f(t),e.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 e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=p(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!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,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.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(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.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(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);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 e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=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,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(rr){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
19
19
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/const
|
|
20
|
+
*/const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),r=new WeakMap;const n=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&r.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,i),a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return n(e)})(t):t
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:p,getOwnPropertySymbols:f,getPrototypeOf:h}=Object,d=globalThis,u=d.trustedTypes,y=u?u.emptyScript:"",g=d.reactiveElementPolyfillSupport,b=(t,
|
|
25
|
+
*/,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:p,getOwnPropertySymbols:f,getPrototypeOf:h}=Object,d=globalThis,u=d.trustedTypes,y=u?u.emptyScript:"",g=d.reactiveElementPolyfillSupport,b=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},x=(t,e)=>!s(t,e),O={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;let v=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,e=O){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&l(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...p(t),...f(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"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,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,i)=>{if(o)t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of i){const i=document.createElement("style"),r=e.litNonce;void 0!==r&&i.setAttribute("nonce",r),i.textContent=o.cssText,t.appendChild(i)}})(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,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??x)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.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,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}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){}};v.elementStyles=[],v.shadowRootOptions={mode:"open"},v[b("elementProperties")]=new Map,v[b("finalized")]=new Map,g?.({ReactiveElement:v}),(d.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const N={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},
|
|
31
|
+
const N={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},S=(t=N,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function w(t){return(e,o)=>"object"==typeof o?S(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
35
35
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
*/}function C(t){return
|
|
36
|
+
*/}function C(t){return w({...t,state:!0,attribute:!1})}
|
|
37
37
|
/**
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/function R(t){return(o
|
|
41
|
+
*/function R(t){return(e,o)=>{const i="function"==typeof e?e:e[o];Object.assign(i,t)}}
|
|
42
42
|
/**
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
*/const E=(t,o
|
|
46
|
+
*/const E=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
-
*/;function U(t,
|
|
51
|
+
*/;function U(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return E(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return E(0,0,{get(){return n(this)}})}}
|
|
52
52
|
/**
|
|
53
53
|
* @license
|
|
54
54
|
* Copyright 2017 Google LLC
|
|
55
55
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
-
*/class ${constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,
|
|
56
|
+
*/class ${constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)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}}function I(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!I(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!I(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!I(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const k=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
|
|
57
57
|
/**
|
|
58
58
|
* @license
|
|
59
59
|
* Copyright 2017 Google LLC
|
|
60
60
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
61
|
*/
|
|
62
|
-
const W=globalThis,L=W.trustedTypes,K=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,F="?"+z,M=`<${F}>`,A=document,D=()=>A.createComment(""),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,j=t=>P(t)||"function"==typeof t?.[Symbol.iterator],H="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,Y=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(o
|
|
62
|
+
const W=globalThis,L=W.trustedTypes,K=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,F="?"+z,M=`<${F}>`,A=document,D=()=>A.createComment(""),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,j=t=>P(t)||"function"==typeof t?.[Symbol.iterator],H="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,Y=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),et=new WeakMap,ot=A.createTreeWalker(A,129);function it(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}const rt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=T;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===T?"!--"===l[1]?a=_:void 0!==l[1]?a=G:void 0!==l[2]?(q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===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]?Y:'"'===l[3]?J:V):a===J||a===V?a=Y:a===_||a===G?a=T:(a=Y,r=void 0);const f=a===Y&&t[e+1].startsWith("/>")?" ":"";n+=a===T?o+M:c>=0?(i.push(s),o.slice(0,c)+Z+o.slice(c)+z+f):o+z+(-2===c?e:f)}return[it(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let nt=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,p]=rt(e,o);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Z)){const e=p[a++],o=r.getAttribute(t).split(z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?pt:"?"===i[1]?ft:"@"===i[1]?ht:ct}),r.removeAttribute(t)}else t.startsWith(z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(q.test(r.tagName)){const t=r.textContent.split(z),e=t.length-1;if(e>0){r.textContent=L?L.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],D()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[e],D())}}}else if(8===r.nodeType)if(r.data===F)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(z,t+1));)l.push({type:7,index:n}),t+=z.length-1}n++}}static createElement(t,e){const o=A.createElement("template");return o.innerHTML=t,o}};function at(t,e,o=t,i){if(e===Q)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=B(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=at(t,r._$AS(t,e.values),r,i)),e}let st=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??A).importNode(e,!0);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new lt(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new dt(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.currentNode=A,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=at(this,t,e),B(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):j(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!==tt&&B(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=nt.createElement(it(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new st(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=et.get(t.strings);return void 0===e&&et.set(t.strings,e=new nt(t)),e}T(e){P(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(D()),this.k(D()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=tt}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=at(this,t,e,0),n=!B(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=at(this,i[o+a],e,a),s===Q&&(s=this._$AH[a]),n||=!B(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pt=class extends ct{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},ft=class extends ct{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},ht=class extends ct{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=at(this,t,e,0)??tt)===Q)return;const o=this._$AH,i=t===tt&&o!==tt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==tt&&(o===tt||i);i&&this.element.removeEventListener(this.name,this,o),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)}},dt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){at(this,t)}};const ut={j:Z,P:z,A:F,C:1,M:rt,L:st,R:j,V:at,D:lt,I:ct,H:ft,N:ht,U:pt,B:dt},yt=W.litHtmlPolyfillSupport;yt?.(nt,lt),(W.litHtmlVersions??=[]).push("3.1.0");
|
|
63
63
|
/**
|
|
64
64
|
* @license
|
|
65
65
|
* Copyright 2019 Google LLC
|
|
66
66
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
67
|
*/
|
|
68
|
-
const gt=globalThis,bt=gt.ShadowRoot&&(void 0===gt.ShadyCSS||gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),xt=new WeakMap;let Ot=class{constructor(t,o
|
|
68
|
+
const gt=globalThis,bt=gt.ShadowRoot&&(void 0===gt.ShadyCSS||gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),xt=new WeakMap;let Ot=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==mt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(bt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=xt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&xt.set(e,t))}return t}toString(){return this.cssText}};const vt=t=>new Ot("string"==typeof t?t:t+"",void 0,mt),Nt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(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.")})(o)+t[i+1]),t[0]);return new Ot(o,t,mt)},St=bt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return vt(e)})(t):t
|
|
69
69
|
/**
|
|
70
70
|
* @license
|
|
71
71
|
* Copyright 2017 Google LLC
|
|
72
72
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
-
*/,{is:
|
|
73
|
+
*/,{is:wt,defineProperty:Ct,getOwnPropertyDescriptor:Rt,getOwnPropertyNames:Et,getOwnPropertySymbols:Ut,getPrototypeOf:$t}=Object,It=globalThis,kt=It.trustedTypes,Wt=kt?kt.emptyScript:"",Lt=It.reactiveElementPolyfillSupport,Kt=(t,e)=>t,Zt={toAttribute(t,e){switch(e){case Boolean:t=t?Wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},zt=(t,e)=>!wt(t,e),Ft={attribute:!0,type:String,converter:Zt,reflect:!1,hasChanged:zt};Symbol.metadata??=Symbol("metadata"),It.litPropertyMetadata??=new WeakMap;class Mt 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,e=Ft){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Ct(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=Rt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ft}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=$t(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,e=[...Et(t),...Ut(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(St(t))}else void 0!==t&&e.push(St(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"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,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(bt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=gt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(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,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Zt).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Zt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??zt)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.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,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}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){}}Mt.elementStyles=[],Mt.shadowRootOptions={mode:"open"},Mt[Kt("elementProperties")]=new Map,Mt[Kt("finalized")]=new Map,Lt?.({ReactiveElement:Mt}),(It.reactiveElementVersions??=[]).push("2.0.2");
|
|
74
74
|
/**
|
|
75
75
|
* @license
|
|
76
76
|
* Copyright 2017 Google LLC
|
|
77
77
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
78
|
*/
|
|
79
|
-
const At=globalThis,Dt=At.trustedTypes,Bt=Dt?Dt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pt="$lit$",jt=`lit$${(Math.random()+"").slice(9)}$`,Ht="?"+jt,Tt=`<${Ht}>`,_t=document,Gt=()=>_t.createComment(""),Yt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Vt=Array.isArray,Jt="[ \t\n\f\r]",qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xt=/-->/g,Qt=/>/g,
|
|
79
|
+
const At=globalThis,Dt=At.trustedTypes,Bt=Dt?Dt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pt="$lit$",jt=`lit$${(Math.random()+"").slice(9)}$`,Ht="?"+jt,Tt=`<${Ht}>`,_t=document,Gt=()=>_t.createComment(""),Yt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Vt=Array.isArray,Jt="[ \t\n\f\r]",qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xt=/-->/g,Qt=/>/g,te=RegExp(`>|${Jt}(?:([^\\s"'>=/]+)(${Jt}*=${Jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ee=/'/g,oe=/"/g,ie=/^(?:script|style|textarea|title)$/i,re=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ne=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),se=new WeakMap,le=_t.createTreeWalker(_t,129);function ce(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Bt?Bt.createHTML(e):e}const pe=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=qt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===qt?"!--"===l[1]?a=Xt:void 0!==l[1]?a=Qt:void 0!==l[2]?(ie.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=te):void 0!==l[3]&&(a=te):a===te?">"===l[0]?(a=r??qt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?te:'"'===l[3]?oe:ee):a===oe||a===ee?a=te:a===Xt||a===Qt?a=qt:(a=te,r=void 0);const f=a===te&&t[e+1].startsWith("/>")?" ":"";n+=a===qt?o+Tt:c>=0?(i.push(s),o.slice(0,c)+Pt+o.slice(c)+jt+f):o+jt+(-2===c?e:f)}return[ce(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class fe{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=pe(t,e);if(this.el=fe.createElement(l,o),le.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=le.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Pt)){const e=c[n++],o=i.getAttribute(t).split(jt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?ye:"?"===a[1]?ge:"@"===a[1]?be:ue}),i.removeAttribute(t)}else t.startsWith(jt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(ie.test(i.tagName)){const t=i.textContent.split(jt),e=t.length-1;if(e>0){i.textContent=Dt?Dt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],Gt()),le.nextNode(),s.push({type:2,index:++r});i.append(t[e],Gt())}}}else if(8===i.nodeType)if(i.data===Ht)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(jt,t+1));)s.push({type:7,index:r}),t+=jt.length-1}r++}}static createElement(t,e){const o=_t.createElement("template");return o.innerHTML=t,o}}function he(t,e,o=t,i){if(e===ne)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Yt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=he(t,r._$AS(t,e.values),r,i)),e}class de{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ae,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=he(this,t,e),Yt(t)?t===ae||null==t||""===t?(this._$AH!==ae&&this._$AR(),this._$AH=ae):t!==this._$AH&&t!==ne&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Vt(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!==ae&&Yt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=fe.createElement(ce(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??_t).importNode(e,!0);le.currentNode=i;let r=le.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new de(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new me(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=le.nextNode(),n++)}return le.currentNode=_t,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=se.get(t.strings);return void 0===e&&se.set(t.strings,e=new fe(t)),e}T(t){Vt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new de(this.k(Gt()),this.k(Gt()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class ue{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ae,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ae}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=he(this,t,e,0),n=!Yt(t)||t!==this._$AH&&t!==ne,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=he(this,i[o+a],e,a),s===ne&&(s=this._$AH[a]),n||=!Yt(s)||s!==this._$AH[a],s===ae?t=ae:t!==ae&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ye extends ue{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ae?void 0:t}}class ge extends ue{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ae)}}class be extends ue{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=he(this,t,e,0)??ae)===ne)return;const o=this._$AH,i=t===ae&&o!==ae||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ae&&(o===ae||i);i&&this.element.removeEventListener(this.name,this,o),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 me{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){he(this,t)}}const xe=At.litHtmlPolyfillSupport;xe?.(fe,de),(At.litHtmlVersions??=[]).push("3.1.0");
|
|
80
80
|
/**
|
|
81
81
|
* @license
|
|
82
82
|
* Copyright 2017 Google LLC
|
|
83
83
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
84
|
*/
|
|
85
|
-
let vo=class extends Mt{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 r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new uo(o.insertBefore(Gt(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return no}};vo._$litElement$=!0,vo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:vo});const No=globalThis.litElementPolyfillSupport;No?.({LitElement:vo}),(globalThis.litElementVersions??=[]).push("4.0.2");const wo=t=>"string"==typeof t?vt(t):t;class So{static create(t,o,e,r){const i=t=>wo(null!=t?t:r),n=Nt`var(${wo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>Nt`var(${wo(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=Nt`var(${wo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>Nt`var(${wo(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):wo(null!=o?o:t.lastResortDefaultValue()),r=Nt`var(${wo(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>Nt`var(${wo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Co={colorWhite:So.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:So.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:So.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:So.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:So.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:So.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:So.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:So.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:So.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:So.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:So.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:So.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:So.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:So.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:So.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:So.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:So.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:So.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:So.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:So.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:So.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:So.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:So.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:So.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:So.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:So.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:So.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:So.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:So.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:So.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:So.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:So.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:So.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:So.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:So.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:So.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:So.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:So.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:So.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:So.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:So.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:So.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:So.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:So.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:So.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:So.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:So.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:So.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:So.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:So.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:So.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:So.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:So.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:So.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:So.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:So.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:So.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:So.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:So.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:So.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:So.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:So.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:So.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:So.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:So.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:So.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:So.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:So.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:So.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:So.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:So.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:So.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:So.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:So.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:So.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:So.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:So.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:So.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:So.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:So.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:So.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:So.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:So.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:So.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:So.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:So.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:So.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:So.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:So.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:So.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:So.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:So.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:So.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:So.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:So.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:So.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:So.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:So.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:So.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:So.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:So.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:So.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:So.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:So.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:So.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:So.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:So.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:So.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:So.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:So.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:So.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:So.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:So.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:So.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:So.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:So.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:So.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:So.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:So.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:So.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:So.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:So.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:So.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:So.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:So.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:So.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:So.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:So.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:So.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:So.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:So.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:So.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:So.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:So.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:So.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:So.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:So.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:So.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:So.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:So.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:So.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:So.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:So.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:So.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:So.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:So.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:So.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:So.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:So.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:So.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:So.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:So.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:So.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:So.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:So.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:So.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:So.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:So.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:So.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:So.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:So.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:So.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:So.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:So.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:So.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:So.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:So.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:So.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:So.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:So.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:So.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:So.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:So.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:So.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:So.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:So.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:So.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:So.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:So.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:So.create("--ft-icon-size-6","","SIZE","48px"),opacity0:So.create("--ft-opacity-0","","NUMBER","0"),opacity8:So.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:So.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:So.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:So.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:So.create("--ft-opacity-80","","NUMBER","0.8")},Ro={display:{fontFamily:So.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:So.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:So.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:So.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:So.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:So.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:So.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:So.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:So.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:So.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:So.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:So.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:So.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:So.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:So.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:So.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:So.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:So.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:So.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:So.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:So.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:So.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:So.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:So.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:So.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:So.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:So.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:So.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:So.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Eo={backgroundActionPrimary:So.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Co.colorBrand0),backgroundErrorPrimary:So.extend("--ft-background-error-primary","Used as background of error components.",Co.colorRed0),backgroundErrorSubtle:So.extend("--ft-background-error-subtle","Used as background of subtle error components.",Co.colorRed10),backgroundInfoPrimary:So.extend("--ft-background-info-primary","Used as background of information components.",Co.colorCyan200),backgroundInfoSubtle:So.extend("--ft-background-info-subtle","Used as background of subtle information components.",Co.colorCyan10),backgroundWarningPrimary:So.extend("--ft-background-warning-primary","Used as background of warning components.",Co.colorOrange300),backgroundWarningSubtle:So.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Co.colorOrange10),backgroundSuccessPrimary:So.extend("--ft-background-success-primary","Used as background of success components.",Co.colorGreen200),backgroundSuccessSubtle:So.extend("--ft-background-success-subtle","Used as background of subtle success components.",Co.colorGreen10),backgroundGlobalSurface:So.extend("--ft-background-global-surface","Used as app background.",Co.colorWhite),backgroundGlobalOnSurface:So.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Co.colorGray10),backgroundGlobalOnSurfaceDark:So.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Co.colorGray30),contentActionPrimary:So.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Co.colorBrand0),contentWarningPrimary:So.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Co.colorOrange300),contentWarningIconOnly:So.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Co.colorOrange0),contentErrorPrimary:So.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Co.colorRed0),contentErrorIconOnly:So.extend("--ft-content-error-icon-only","Used on error status icons alone",Co.colorRed0),contentInfoPrimary:So.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Co.colorCyan200),contentInfoIconOnly:So.extend("--ft-content-info-icon-only","Used on info status icons alone",Co.colorCyan0),contentSuccessIconOnly:So.extend("--ft-content-success-icon-only","Used on success status icons alone",Co.colorGreen0),contentSuccessPrimary:So.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Co.colorGreen200),contentGlobalPrimary:So.extend("--ft-content-global-primary","Used for main content on the page.",Co.colorGray500),contentGlobalSecondary:So.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Co.colorGray200),contentGlobalSubtle:So.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Co.colorGray0),contentGlobalOnColor:So.extend("--ft-content-global-on-color","Used for content on a dominant color.",Co.colorWhite),borderActionPrimary:So.extend("--ft-border-action-primary","Used as border for primary action components.",Co.colorBrand0),borderActionFocusRing:So.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Co.colorCyan0),borderWarningPrimary:So.extend("--ft-border-warning-primary","Used as border for warning components.",Co.colorOrange30),borderSuccessPrimary:So.extend("--ft-border-success-primary","Used as border for success components.",Co.colorGreen30),borderErrorPrimary:So.extend("--ft-border-error-primary","Used as border for error components.",Co.colorRed30),borderInfoPrimary:So.extend("--ft-border-info-primary","Used as border for information components.",Co.colorCyan30),borderGlobalSubtle:So.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Co.colorGray30),borderGlobalPrimary:So.extend("--ft-border-global-primary","Used as border for element like input.",Co.colorGray50),borderInputPrimary:So.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Co.colorGray80)};So.create("--ft-button-large-height","","SIZE","40px"),So.extend("--ft-button-large-horizontal-padding","",Co.spacing4),So.extend("--ft-button-large-gap","",Co.spacing2),So.extend("--ft-button-large-border-radius","",Co.borderRadiusS),So.extend("--ft-button-large-icon-size","",Co.iconSize3),So.create("--ft-button-large-border-width","","SIZE","1px"),So.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),So.create("--ft-button-large-focus-outline-width","","SIZE","2px"),So.create("--ft-button-large-icon-only-width","","SIZE","40px"),So.create("--ft-button-small-height","","SIZE","30px"),So.extend("--ft-button-small-horizontal-padding","",Co.spacing3),So.extend("--ft-button-small-gap","",Co.spacing2),So.extend("--ft-button-small-border-radius","",Co.borderRadiusS),So.extend("--ft-button-small-icon-size","",Co.iconSize2),So.create("--ft-button-small-border-width","","SIZE","1px"),So.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),So.create("--ft-button-small-focus-outline-width","","SIZE","2px"),So.create("--ft-button-small-icon-only-width","","SIZE","30px"),So.extend("--ft-button-primary-background-color","",Eo.backgroundActionPrimary),So.extend("--ft-button-primary-color","",Eo.contentGlobalOnColor),So.extend("--ft-button-primary-icon-color","",Eo.contentGlobalOnColor),So.extend("--ft-button-primary-state-layer-color","",Eo.contentGlobalOnColor),So.extend("--ft-button-primary-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-button-primary-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-button-primary-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-button-primary-component-opacity-disabled","",Co.opacity40),So.extend("--ft-button-focus-focus-ring-color","",Eo.borderActionFocusRing),So.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),So.extend("--ft-button-tertiary-color","",Eo.contentActionPrimary),So.extend("--ft-button-tertiary-icon-color","",Eo.contentActionPrimary),So.extend("--ft-button-tertiary-state-layer-color","",Eo.contentActionPrimary),So.extend("--ft-button-tertiary-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-button-tertiary-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-button-tertiary-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-button-tertiary-component-opacity-disabled","",Co.opacity40),So.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),So.extend("--ft-button-secondary-color","",Eo.contentActionPrimary),So.extend("--ft-button-secondary-icon-color","",Eo.contentActionPrimary),So.extend("--ft-button-secondary-state-layer-color","",Eo.contentActionPrimary),So.extend("--ft-button-secondary-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-button-secondary-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-button-secondary-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-button-secondary-component-opacity-disabled","",Co.opacity40),So.extend("--ft-button-secondary-border-color","",Eo.borderActionPrimary),So.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),So.extend("--ft-button-neutral-icon-color","",Eo.contentGlobalSecondary),So.extend("--ft-button-neutral-color","",Eo.contentGlobalSecondary),So.extend("--ft-button-neutral-state-layer-color","",Eo.contentGlobalSecondary),So.extend("--ft-button-neutral-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-button-neutral-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-button-neutral-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-button-neutral-component-opacity-disabled","",Co.opacity40),So.extend("--ft-tabs-top-left-border-radius","",Co.borderRadiusS),So.extend("--ft-tabs-top-right-border-radius","",Co.borderRadiusS),So.extend("--ft-tabs-label-horizontal-padding","",Co.spacing4),So.extend("--ft-tabs-label-vertical-padding","",Co.spacing3),So.extend("--ft-tabs-label-gap","",Co.spacing1),So.extend("--ft-switch-group-horizontal-padding","",Co.spacing1),So.extend("--ft-switch-group-vertical-padding","",Co.spacing1),So.extend("--ft-switch-group-gap","",Co.spacing1),So.extend("--ft-switch-group-background-color","",Eo.backgroundGlobalSurface),So.extend("--ft-switch-group-border-color","",Eo.borderGlobalSubtle),So.create("--ft-switch-group-border-radius","","SIZE","6px"),So.extend("--ft-switch-label-horizontal-padding","",Co.spacing2),So.extend("--ft-switch-label-vertical-padding","",Co.spacing1),So.extend("--ft-switch-icon-horizontal-padding","",Co.spacing1),So.extend("--ft-switch-icon-vertical-padding","",Co.spacing1),So.create("--ft-switch-focus-outline-width","","SIZE","2px"),So.extend("--ft-switch-focus-focus-ring-color","",Eo.borderActionFocusRing),So.extend("--ft-switch-option-border-radius","",Co.borderRadiusS),So.extend("--ft-switch-off-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-switch-off-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-switch-off-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-switch-off-component-opacity-disabled","",Co.opacity40),So.extend("--ft-switch-off-color","",Eo.contentGlobalSubtle),So.extend("--ft-switch-off-state-layer-color","",Eo.contentGlobalSubtle),So.extend("--ft-chart-1-light","for area color charts",Co.colorBrand40),So.extend("--ft-chart-1-base","for line charts",Co.colorBrand0),So.extend("--ft-chart-2-light","for area color charts",Co.colorYellow60),So.extend("--ft-chart-2-base","for line charts",Co.colorYellow100),So.extend("--ft-chart-3-light","",Co.colorUltramarine40),So.extend("--ft-chart-3-base","",Co.colorUltramarine70),So.extend("--ft-chart-4-light","",Co.colorCyan50),So.extend("--ft-chart-4-base","",Co.colorCyan100),So.extend("--ft-chart-5-light","",Co.colorRed40),So.extend("--ft-chart-5-base","",Co.colorRed60),So.extend("--ft-chart-6-light","",Co.colorGreen40),So.extend("--ft-chart-6-base","",Co.colorGreen70),So.extend("--ft-chart-7-light","",Co.colorOrange70),So.extend("--ft-chart-7-base","",Co.colorOrange100),So.extend("--ft-chart-8-light","",Co.colorAvocado70),So.extend("--ft-chart-8-base","",Co.colorAvocado200),So.extend("--ft-chart-9-light","",Co.colorBrown50),So.extend("--ft-chart-9-base","",Co.colorBrown200),So.extend("--ft-chart-10-light","",Co.colorGray50),So.extend("--ft-chart-10-base","",Co.colorGray80),So.extend("--ft-chart-monochrome-10","",Co.colorBrand10),So.extend("--ft-chart-monochrome-20","",Co.colorBrand20),So.extend("--ft-chart-monochrome-30","",Co.colorBrand40),So.extend("--ft-chart-monochrome-40","",Co.colorBrand60),So.extend("--ft-chart-monochrome-50","",Co.colorBrand0),So.extend("--ft-chart-monochrome-60","",Co.colorBrand200),So.extend("--ft-chip-large-horizontal-padding","",Co.spacing4),So.extend("--ft-chip-large-vertical-padding","",Co.spacing2),So.extend("--ft-chip-large-gap","",Co.spacing1),So.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-large-border-radius","",Co.borderRadiusPill),So.create("--ft-chip-large-border-width","","SIZE","1px"),So.extend("--ft-chip-large-icon-size","",Co.iconSize3),So.extend("--ft-chip-medium-horizontal-padding","",Co.spacing3),So.extend("--ft-chip-medium-vertical-padding","",Co.spacing1),So.extend("--ft-chip-medium-gap","",Co.spacing1),So.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-medium-border-radius","",Co.borderRadiusPill),So.create("--ft-chip-medium-border-width","","SIZE","1px"),So.extend("--ft-chip-medium-icon-size","",Co.iconSize2),So.extend("--ft-chip-small-horizontal-padding","",Co.spacing2),So.extend("--ft-chip-small-vertical-padding","",Co.spacing05),So.extend("--ft-chip-small-gap","",Co.spacing1),So.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-small-border-radius","",Co.borderRadiusPill),So.create("--ft-chip-small-border-width","","SIZE","1px"),So.extend("--ft-chip-small-icon-size","",Co.iconSize1),So.extend("--ft-chip-neutral-background-color","",Eo.backgroundGlobalOnSurface),So.extend("--ft-chip-neutral-color","",Eo.contentGlobalPrimary),So.extend("--ft-chip-neutral-border-color","",Eo.borderGlobalSubtle),So.extend("--ft-chip-info-background-color","",Eo.backgroundInfoSubtle),So.extend("--ft-chip-info-color","",Eo.contentInfoPrimary),So.extend("--ft-chip-info-border-color","",Eo.borderInfoPrimary),So.extend("--ft-chip-success-background-color","",Eo.backgroundSuccessSubtle),So.extend("--ft-chip-success-color","",Eo.contentSuccessPrimary),So.extend("--ft-chip-success-border-color","",Eo.borderSuccessPrimary),So.extend("--ft-chip-warning-background-color","",Eo.backgroundWarningSubtle),So.extend("--ft-chip-warning-color","",Eo.contentWarningPrimary),So.extend("--ft-chip-warning-border-color","",Eo.borderWarningPrimary),So.extend("--ft-chip-error-background-color","",Eo.backgroundErrorSubtle),So.extend("--ft-chip-error-color","",Eo.contentErrorPrimary),So.extend("--ft-chip-error-border-color","",Eo.borderErrorPrimary),So.create("--ft-notice-border-width","","SIZE","1px"),So.extend("--ft-notice-horizontal-padding","",Co.spacing2),So.extend("--ft-notice-vertical-padding","",Co.spacing1),So.extend("--ft-notice-border-radius","",Co.borderRadiusS),So.extend("--ft-notice-gap","",Co.spacing2),So.extend("--ft-notice-icon-size","",Co.iconSize3),So.extend("--ft-notice-info-background-color","",Eo.backgroundInfoSubtle),So.extend("--ft-notice-info-border-color","",Eo.borderInfoPrimary),So.extend("--ft-notice-info-color","",Eo.contentInfoPrimary),So.extend("--ft-notice-warning-background-color","",Eo.backgroundWarningSubtle),So.extend("--ft-notice-warning-border-color","",Eo.borderWarningPrimary),So.extend("--ft-notice-warning-color","",Eo.contentWarningPrimary),So.extend("--ft-checkbox-label-color","",Eo.contentGlobalPrimary),So.extend("--ft-checkbox-checked-background-color","",Eo.contentActionPrimary),So.extend("--ft-checkbox-checked-state-layer-color","",Eo.contentActionPrimary),So.extend("--ft-checkbox-checked-color","",Eo.contentGlobalOnColor),So.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-checkbox-checked-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-checkbox-checked-component-opacity-disabled","",Co.opacity40),So.extend("--ft-checkbox-unchecked-border-color","",Co.colorGray80),So.extend("--ft-checkbox-unchecked-state-layer-color","",Co.colorGray80),So.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Co.opacity40),So.extend("--ft-checkbox-focus-focus-ring-color","",Eo.borderActionFocusRing),So.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),So.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),So.extend("--ft-checkbox-gap","",Co.spacing3),So.extend("--ft-toggle-off-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-toggle-off-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-toggle-off-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-toggle-off-component-opacity-disabled","",Co.opacity40),So.extend("--ft-toggle-off-background-color","",Eo.contentGlobalSubtle),So.extend("--ft-toggle-off-icon-color","",Eo.contentGlobalSubtle),So.extend("--ft-toggle-off-state-layer-color","",Eo.contentGlobalSubtle),So.extend("--ft-toggle-on-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-toggle-on-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-toggle-on-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-toggle-on-component-opacity-disabled","",Co.opacity40),So.extend("--ft-toggle-on-background-color","",Eo.contentActionPrimary),So.extend("--ft-toggle-on-icon-color","",Eo.contentActionPrimary),So.extend("--ft-toggle-on-state-layer-color","",Eo.contentActionPrimary),So.extend("--ft-toggle-label-color","",Eo.contentGlobalPrimary),So.extend("--ft-toggle-focus-focus-ring-color","",Eo.borderActionFocusRing),So.extend("--ft-toggle-gap","",Co.spacing3),So.extend("--ft-radio-label-color","",Eo.contentGlobalPrimary),So.extend("--ft-radio-selected-color","",Eo.contentActionPrimary),So.extend("--ft-radio-selected-state-layer-color","",Eo.contentActionPrimary),So.extend("--ft-radio-selected-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-radio-selected-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-radio-selected-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-radio-selected-component-opacity-disabled","",Co.opacity40),So.extend("--ft-radio-unselected-state-layer-color","",Co.colorGray80),So.extend("--ft-radio-unselected-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-radio-unselected-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-radio-unselected-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-radio-unselected-component-opacity-disabled","",Co.opacity40),So.extend("--ft-radio-focus-focus-ring-color","",Eo.borderActionFocusRing),So.create("--ft-radio-focus-outline-offset","","SIZE","3px"),So.create("--ft-radio-focus-outline-width","","SIZE","2px"),So.extend("--ft-radio-gap","",Co.spacing3),So.extend("--ft-notification-icon-size","",Co.iconSize4),So.extend("--ft-notification-horizontal-padding","",Co.spacing4),So.extend("--ft-notification-vertical-padding","",Co.spacing4),So.extend("--ft-notification-info-background-color","",Eo.backgroundInfoSubtle),So.extend("--ft-notification-info-color","",Eo.contentInfoPrimary),So.extend("--ft-notification-info-border-color","",Eo.borderInfoPrimary),So.extend("--ft-notification-success-background-color","",Eo.backgroundSuccessSubtle),So.extend("--ft-notification-success-color","",Eo.contentSuccessPrimary),So.extend("--ft-notification-success-border-color","",Eo.borderSuccessPrimary),So.extend("--ft-notification-warning-background-color","",Eo.backgroundWarningSubtle),So.extend("--ft-notification-warning-color","",Eo.contentWarningPrimary),So.extend("--ft-notification-warning-border-color","",Eo.borderWarningPrimary),So.extend("--ft-notification-error-background-color","",Eo.backgroundErrorSubtle),So.extend("--ft-notification-error-color","",Eo.contentErrorPrimary),So.extend("--ft-notification-error-border-color","",Eo.borderErrorPrimary),So.extend("--ft-notification-border-radius","",Co.borderRadiusPill),So.create("--ft-notification-border-width","","SIZE","1px"),So.extend("--ft-notification-gap-leading","",Co.spacing2),So.extend("--ft-notification-gap-trailing","",Co.spacing8);const Uo={colorPrimary:So.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:So.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:So.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:So.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:So.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:So.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:So.create("--ft-color-error","","COLOR","#B00020"),colorOutline:So.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:So.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:So.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:So.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:So.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:So.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:So.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:So.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:So.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:So.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:So.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:So.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:So.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:So.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:So.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:So.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:So.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:So.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:So.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:So.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:So.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:So.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:So.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:So.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:So.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:So.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:So.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:So.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:So.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:So.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:So.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:So.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:So.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:So.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:So.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:So.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:So.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:So.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:So.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:So.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:So.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:So.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:So.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:So.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:So.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:So.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:So.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:So.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:So.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:So.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:So.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:So.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:So.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:So.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:So.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class $o extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Io extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}
|
|
85
|
+
let Oe=class extends Mt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new de(e.insertBefore(Gt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const ve=globalThis.litElementPolyfillSupport;ve?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ne=t=>"string"==typeof t?vt(t):t;class Se{static create(t,e,o,i){const r=t=>Ne(null!=t?t:i),n=Nt`var(${Ne(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Nt`var(${Ne(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=Nt`var(${Ne(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Nt`var(${Ne(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Ne(null!=e?e:t.lastResortDefaultValue()),i=Nt`var(${Ne(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>Nt`var(${Ne(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const we={colorWhite:Se.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Se.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Se.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Se.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Se.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Se.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Se.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Se.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Se.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Se.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Se.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Se.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Se.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Se.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Se.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Se.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Se.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Se.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Se.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Se.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Se.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Se.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Se.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Se.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Se.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Se.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Se.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Se.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Se.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Se.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Se.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Se.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Se.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Se.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Se.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Se.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Se.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Se.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Se.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Se.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Se.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Se.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Se.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Se.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Se.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Se.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Se.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Se.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Se.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Se.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Se.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Se.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Se.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Se.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Se.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Se.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Se.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Se.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Se.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Se.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Se.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Se.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Se.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Se.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Se.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Se.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Se.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Se.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Se.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Se.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Se.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Se.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Se.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Se.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Se.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Se.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Se.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Se.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Se.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Se.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Se.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Se.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Se.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Se.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Se.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Se.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Se.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Se.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Se.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Se.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Se.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Se.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Se.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Se.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Se.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Se.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Se.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Se.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Se.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Se.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Se.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Se.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Se.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Se.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Se.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Se.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Se.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Se.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Se.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Se.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Se.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Se.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Se.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Se.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Se.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Se.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Se.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Se.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Se.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Se.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Se.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Se.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Se.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Se.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Se.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Se.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Se.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Se.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Se.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Se.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Se.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Se.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Se.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Se.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Se.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Se.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Se.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Se.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Se.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Se.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Se.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Se.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Se.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Se.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Se.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Se.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Se.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Se.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Se.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Se.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Se.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Se.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Se.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Se.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Se.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Se.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Se.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Se.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Se.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Se.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Se.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Se.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Se.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Se.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Se.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Se.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Se.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Se.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Se.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Se.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Se.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Se.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Se.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Se.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Se.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Se.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Se.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Se.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Se.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Se.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Se.create("--ft-opacity-0","","NUMBER","0"),opacity8:Se.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Se.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Se.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Se.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Se.create("--ft-opacity-80","","NUMBER","0.8")},Ce={display:{fontFamily:Se.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Se.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Se.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Se.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Se.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Se.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Se.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Se.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Se.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Se.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Se.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Se.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Se.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Se.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Se.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Se.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Se.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Se.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Se.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Se.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Se.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Se.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Se.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Se.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Se.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Se.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Se.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Se.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Se.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Re={backgroundActionPrimary:Se.extend("--ft-background-action-primary","Used as backgorund of primary action components.",we.colorBrand0),backgroundErrorPrimary:Se.extend("--ft-background-error-primary","Used as background of error components.",we.colorRed0),backgroundErrorSubtle:Se.extend("--ft-background-error-subtle","Used as background of subtle error components.",we.colorRed10),backgroundInfoPrimary:Se.extend("--ft-background-info-primary","Used as background of information components.",we.colorCyan200),backgroundInfoSubtle:Se.extend("--ft-background-info-subtle","Used as background of subtle information components.",we.colorCyan10),backgroundWarningPrimary:Se.extend("--ft-background-warning-primary","Used as background of warning components.",we.colorOrange300),backgroundWarningSubtle:Se.extend("--ft-background-warning-subtle","Used as background of subtle information components.",we.colorOrange10),backgroundSuccessPrimary:Se.extend("--ft-background-success-primary","Used as background of success components.",we.colorGreen200),backgroundSuccessSubtle:Se.extend("--ft-background-success-subtle","Used as background of subtle success components.",we.colorGreen10),backgroundGlobalSurface:Se.extend("--ft-background-global-surface","Used as app background.",we.colorWhite),backgroundGlobalOnSurface:Se.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",we.colorGray10),backgroundGlobalOnSurfaceDark:Se.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",we.colorGray30),contentActionPrimary:Se.extend("--ft-content-action-primary","Used on label of primary action on light surface.",we.colorBrand0),contentWarningPrimary:Se.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",we.colorOrange300),contentWarningIconOnly:Se.extend("--ft-content-warning-icon-only","Used on warning status icons alone",we.colorOrange0),contentErrorPrimary:Se.extend("--ft-content-error-primary","Used on label of error messages on light surface.",we.colorRed0),contentErrorIconOnly:Se.extend("--ft-content-error-icon-only","Used on error status icons alone",we.colorRed0),contentInfoPrimary:Se.extend("--ft-content-info-primary","Used on label of information messages on light surface.",we.colorCyan200),contentInfoIconOnly:Se.extend("--ft-content-info-icon-only","Used on info status icons alone",we.colorCyan0),contentSuccessIconOnly:Se.extend("--ft-content-success-icon-only","Used on success status icons alone",we.colorGreen0),contentSuccessPrimary:Se.extend("--ft-content-success-primary","Used on label of success messages on light surface.",we.colorGreen200),contentGlobalPrimary:Se.extend("--ft-content-global-primary","Used for main content on the page.",we.colorGray500),contentGlobalSecondary:Se.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",we.colorGray200),contentGlobalSubtle:Se.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",we.colorGray0),contentGlobalOnColor:Se.extend("--ft-content-global-on-color","Used for content on a dominant color.",we.colorWhite),borderActionPrimary:Se.extend("--ft-border-action-primary","Used as border for primary action components.",we.colorBrand0),borderActionFocusRing:Se.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",we.colorCyan0),borderWarningPrimary:Se.extend("--ft-border-warning-primary","Used as border for warning components.",we.colorOrange30),borderSuccessPrimary:Se.extend("--ft-border-success-primary","Used as border for success components.",we.colorGreen30),borderErrorPrimary:Se.extend("--ft-border-error-primary","Used as border for error components.",we.colorRed30),borderInfoPrimary:Se.extend("--ft-border-info-primary","Used as border for information components.",we.colorCyan30),borderGlobalSubtle:Se.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",we.colorGray30),borderGlobalPrimary:Se.extend("--ft-border-global-primary","Used as border for element like input.",we.colorGray50),borderInputPrimary:Se.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",we.colorGray80)};Se.create("--ft-button-large-height","","SIZE","40px"),Se.extend("--ft-button-large-horizontal-padding","",we.spacing4),Se.extend("--ft-button-large-gap","",we.spacing2),Se.extend("--ft-button-large-border-radius","",we.borderRadiusS),Se.extend("--ft-button-large-icon-size","",we.iconSize3),Se.create("--ft-button-large-border-width","","SIZE","1px"),Se.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Se.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Se.create("--ft-button-large-icon-only-width","","SIZE","40px"),Se.create("--ft-button-small-height","","SIZE","30px"),Se.extend("--ft-button-small-horizontal-padding","",we.spacing3),Se.extend("--ft-button-small-gap","",we.spacing2),Se.extend("--ft-button-small-border-radius","",we.borderRadiusS),Se.extend("--ft-button-small-icon-size","",we.iconSize2),Se.create("--ft-button-small-border-width","","SIZE","1px"),Se.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Se.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Se.create("--ft-button-small-icon-only-width","","SIZE","30px"),Se.extend("--ft-button-primary-background-color","",Re.backgroundActionPrimary),Se.extend("--ft-button-primary-color","",Re.contentGlobalOnColor),Se.extend("--ft-button-primary-icon-color","",Re.contentGlobalOnColor),Se.extend("--ft-button-primary-state-layer-color","",Re.contentGlobalOnColor),Se.extend("--ft-button-primary-state-layer-opacity-hover","",we.opacity16),Se.extend("--ft-button-primary-state-layer-opacity-focus","",we.opacity16),Se.extend("--ft-button-primary-state-layer-opacity-active","",we.opacity24),Se.extend("--ft-button-primary-component-opacity-disabled","",we.opacity40),Se.extend("--ft-button-focus-focus-ring-color","",Re.borderActionFocusRing),Se.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Se.extend("--ft-button-tertiary-color","",Re.contentActionPrimary),Se.extend("--ft-button-tertiary-icon-color","",Re.contentActionPrimary),Se.extend("--ft-button-tertiary-state-layer-color","",Re.contentActionPrimary),Se.extend("--ft-button-tertiary-state-layer-opacity-hover","",we.opacity8),Se.extend("--ft-button-tertiary-state-layer-opacity-focus","",we.opacity8),Se.extend("--ft-button-tertiary-state-layer-opacity-active","",we.opacity16),Se.extend("--ft-button-tertiary-component-opacity-disabled","",we.opacity40),Se.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Se.extend("--ft-button-secondary-color","",Re.contentActionPrimary),Se.extend("--ft-button-secondary-icon-color","",Re.contentActionPrimary),Se.extend("--ft-button-secondary-state-layer-color","",Re.contentActionPrimary),Se.extend("--ft-button-secondary-state-layer-opacity-hover","",we.opacity8),Se.extend("--ft-button-secondary-state-layer-opacity-focus","",we.opacity8),Se.extend("--ft-button-secondary-state-layer-opacity-active","",we.opacity16),Se.extend("--ft-button-secondary-component-opacity-disabled","",we.opacity40),Se.extend("--ft-button-secondary-border-color","",Re.borderActionPrimary),Se.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Se.extend("--ft-button-neutral-icon-color","",Re.contentGlobalSecondary),Se.extend("--ft-button-neutral-color","",Re.contentGlobalSecondary),Se.extend("--ft-button-neutral-state-layer-color","",Re.contentGlobalSecondary),Se.extend("--ft-button-neutral-state-layer-opacity-hover","",we.opacity8),Se.extend("--ft-button-neutral-state-layer-opacity-focus","",we.opacity8),Se.extend("--ft-button-neutral-state-layer-opacity-active","",we.opacity16),Se.extend("--ft-button-neutral-component-opacity-disabled","",we.opacity40),Se.extend("--ft-tabs-top-left-border-radius","",we.borderRadiusS),Se.extend("--ft-tabs-top-right-border-radius","",we.borderRadiusS),Se.extend("--ft-tabs-label-horizontal-padding","",we.spacing4),Se.extend("--ft-tabs-label-vertical-padding","",we.spacing3),Se.extend("--ft-tabs-label-gap","",we.spacing1),Se.extend("--ft-switch-group-horizontal-padding","",we.spacing1),Se.extend("--ft-switch-group-vertical-padding","",we.spacing1),Se.extend("--ft-switch-group-gap","",we.spacing1),Se.extend("--ft-switch-group-background-color","",Re.backgroundGlobalSurface),Se.extend("--ft-switch-group-border-color","",Re.borderGlobalSubtle),Se.create("--ft-switch-group-border-radius","","SIZE","6px"),Se.extend("--ft-switch-label-horizontal-padding","",we.spacing2),Se.extend("--ft-switch-label-vertical-padding","",we.spacing1),Se.extend("--ft-switch-icon-horizontal-padding","",we.spacing1),Se.extend("--ft-switch-icon-vertical-padding","",we.spacing1),Se.create("--ft-switch-focus-outline-width","","SIZE","2px"),Se.extend("--ft-switch-focus-focus-ring-color","",Re.borderActionFocusRing),Se.extend("--ft-switch-option-border-radius","",we.borderRadiusS),Se.extend("--ft-switch-off-state-layer-opacity-hover","",we.opacity8),Se.extend("--ft-switch-off-state-layer-opacity-focus","",we.opacity8),Se.extend("--ft-switch-off-state-layer-opacity-active","",we.opacity16),Se.extend("--ft-switch-off-component-opacity-disabled","",we.opacity40),Se.extend("--ft-switch-off-color","",Re.contentGlobalSubtle),Se.extend("--ft-switch-off-state-layer-color","",Re.contentGlobalSubtle),Se.extend("--ft-chart-1-light","for area color charts",we.colorBrand40),Se.extend("--ft-chart-1-base","for line charts",we.colorBrand0),Se.extend("--ft-chart-2-light","for area color charts",we.colorYellow60),Se.extend("--ft-chart-2-base","for line charts",we.colorYellow100),Se.extend("--ft-chart-3-light","",we.colorUltramarine40),Se.extend("--ft-chart-3-base","",we.colorUltramarine70),Se.extend("--ft-chart-4-light","",we.colorCyan50),Se.extend("--ft-chart-4-base","",we.colorCyan100),Se.extend("--ft-chart-5-light","",we.colorRed40),Se.extend("--ft-chart-5-base","",we.colorRed60),Se.extend("--ft-chart-6-light","",we.colorGreen40),Se.extend("--ft-chart-6-base","",we.colorGreen70),Se.extend("--ft-chart-7-light","",we.colorOrange70),Se.extend("--ft-chart-7-base","",we.colorOrange100),Se.extend("--ft-chart-8-light","",we.colorAvocado70),Se.extend("--ft-chart-8-base","",we.colorAvocado200),Se.extend("--ft-chart-9-light","",we.colorBrown50),Se.extend("--ft-chart-9-base","",we.colorBrown200),Se.extend("--ft-chart-10-light","",we.colorGray50),Se.extend("--ft-chart-10-base","",we.colorGray80),Se.extend("--ft-chart-monochrome-10","",we.colorBrand10),Se.extend("--ft-chart-monochrome-20","",we.colorBrand20),Se.extend("--ft-chart-monochrome-30","",we.colorBrand40),Se.extend("--ft-chart-monochrome-40","",we.colorBrand60),Se.extend("--ft-chart-monochrome-50","",we.colorBrand0),Se.extend("--ft-chart-monochrome-60","",we.colorBrand200),Se.extend("--ft-chip-large-horizontal-padding","",we.spacing4),Se.extend("--ft-chip-large-vertical-padding","",we.spacing2),Se.extend("--ft-chip-large-gap","",we.spacing1),Se.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-large-border-radius","",we.borderRadiusPill),Se.create("--ft-chip-large-border-width","","SIZE","1px"),Se.extend("--ft-chip-large-icon-size","",we.iconSize3),Se.extend("--ft-chip-medium-horizontal-padding","",we.spacing3),Se.extend("--ft-chip-medium-vertical-padding","",we.spacing1),Se.extend("--ft-chip-medium-gap","",we.spacing1),Se.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-medium-border-radius","",we.borderRadiusPill),Se.create("--ft-chip-medium-border-width","","SIZE","1px"),Se.extend("--ft-chip-medium-icon-size","",we.iconSize2),Se.extend("--ft-chip-small-horizontal-padding","",we.spacing2),Se.extend("--ft-chip-small-vertical-padding","",we.spacing05),Se.extend("--ft-chip-small-gap","",we.spacing1),Se.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-small-border-radius","",we.borderRadiusPill),Se.create("--ft-chip-small-border-width","","SIZE","1px"),Se.extend("--ft-chip-small-icon-size","",we.iconSize1),Se.extend("--ft-chip-neutral-background-color","",Re.backgroundGlobalOnSurface),Se.extend("--ft-chip-neutral-color","",Re.contentGlobalPrimary),Se.extend("--ft-chip-neutral-border-color","",Re.borderGlobalSubtle),Se.extend("--ft-chip-info-background-color","",Re.backgroundInfoSubtle),Se.extend("--ft-chip-info-color","",Re.contentInfoPrimary),Se.extend("--ft-chip-info-border-color","",Re.borderInfoPrimary),Se.extend("--ft-chip-success-background-color","",Re.backgroundSuccessSubtle),Se.extend("--ft-chip-success-color","",Re.contentSuccessPrimary),Se.extend("--ft-chip-success-border-color","",Re.borderSuccessPrimary),Se.extend("--ft-chip-warning-background-color","",Re.backgroundWarningSubtle),Se.extend("--ft-chip-warning-color","",Re.contentWarningPrimary),Se.extend("--ft-chip-warning-border-color","",Re.borderWarningPrimary),Se.extend("--ft-chip-error-background-color","",Re.backgroundErrorSubtle),Se.extend("--ft-chip-error-color","",Re.contentErrorPrimary),Se.extend("--ft-chip-error-border-color","",Re.borderErrorPrimary),Se.create("--ft-notice-border-width","","SIZE","1px"),Se.extend("--ft-notice-horizontal-padding","",we.spacing2),Se.extend("--ft-notice-vertical-padding","",we.spacing1),Se.extend("--ft-notice-border-radius","",we.borderRadiusS),Se.extend("--ft-notice-gap","",we.spacing2),Se.extend("--ft-notice-icon-size","",we.iconSize3),Se.extend("--ft-notice-info-background-color","",Re.backgroundInfoSubtle),Se.extend("--ft-notice-info-border-color","",Re.borderInfoPrimary),Se.extend("--ft-notice-info-color","",Re.contentInfoPrimary),Se.extend("--ft-notice-warning-background-color","",Re.backgroundWarningSubtle),Se.extend("--ft-notice-warning-border-color","",Re.borderWarningPrimary),Se.extend("--ft-notice-warning-color","",Re.contentWarningPrimary),Se.extend("--ft-checkbox-label-color","",Re.contentGlobalPrimary),Se.extend("--ft-checkbox-checked-background-color","",Re.contentActionPrimary),Se.extend("--ft-checkbox-checked-state-layer-color","",Re.contentActionPrimary),Se.extend("--ft-checkbox-checked-color","",Re.contentGlobalOnColor),Se.extend("--ft-checkbox-checked-state-layer-opacity-hover","",we.opacity16),Se.extend("--ft-checkbox-checked-state-layer-opacity-focus","",we.opacity16),Se.extend("--ft-checkbox-checked-state-layer-opacity-active","",we.opacity24),Se.extend("--ft-checkbox-checked-component-opacity-disabled","",we.opacity40),Se.extend("--ft-checkbox-unchecked-border-color","",we.colorGray80),Se.extend("--ft-checkbox-unchecked-state-layer-color","",we.colorGray80),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",we.opacity16),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",we.opacity16),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",we.opacity24),Se.extend("--ft-checkbox-unchecked-component-opacity-disabled","",we.opacity40),Se.extend("--ft-checkbox-focus-focus-ring-color","",Re.borderActionFocusRing),Se.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Se.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Se.extend("--ft-checkbox-gap","",we.spacing3),Se.extend("--ft-toggle-off-state-layer-opacity-hover","",we.opacity16),Se.extend("--ft-toggle-off-state-layer-opacity-focus","",we.opacity16),Se.extend("--ft-toggle-off-state-layer-opacity-active","",we.opacity24),Se.extend("--ft-toggle-off-component-opacity-disabled","",we.opacity40),Se.extend("--ft-toggle-off-background-color","",Re.contentGlobalSubtle),Se.extend("--ft-toggle-off-icon-color","",Re.contentGlobalSubtle),Se.extend("--ft-toggle-off-state-layer-color","",Re.contentGlobalSubtle),Se.extend("--ft-toggle-on-state-layer-opacity-hover","",we.opacity16),Se.extend("--ft-toggle-on-state-layer-opacity-focus","",we.opacity16),Se.extend("--ft-toggle-on-state-layer-opacity-active","",we.opacity24),Se.extend("--ft-toggle-on-component-opacity-disabled","",we.opacity40),Se.extend("--ft-toggle-on-background-color","",Re.contentActionPrimary),Se.extend("--ft-toggle-on-icon-color","",Re.contentActionPrimary),Se.extend("--ft-toggle-on-state-layer-color","",Re.contentActionPrimary),Se.extend("--ft-toggle-label-color","",Re.contentGlobalPrimary),Se.extend("--ft-toggle-focus-focus-ring-color","",Re.borderActionFocusRing),Se.extend("--ft-toggle-gap","",we.spacing3),Se.extend("--ft-radio-label-color","",Re.contentGlobalPrimary),Se.extend("--ft-radio-selected-color","",Re.contentActionPrimary),Se.extend("--ft-radio-selected-state-layer-color","",Re.contentActionPrimary),Se.extend("--ft-radio-selected-state-layer-opacity-hover","",we.opacity16),Se.extend("--ft-radio-selected-state-layer-opacity-focus","",we.opacity16),Se.extend("--ft-radio-selected-state-layer-opacity-active","",we.opacity24),Se.extend("--ft-radio-selected-component-opacity-disabled","",we.opacity40),Se.extend("--ft-radio-unselected-state-layer-color","",we.colorGray80),Se.extend("--ft-radio-unselected-state-layer-opacity-hover","",we.opacity16),Se.extend("--ft-radio-unselected-state-layer-opacity-focus","",we.opacity16),Se.extend("--ft-radio-unselected-state-layer-opacity-active","",we.opacity24),Se.extend("--ft-radio-unselected-component-opacity-disabled","",we.opacity40),Se.extend("--ft-radio-focus-focus-ring-color","",Re.borderActionFocusRing),Se.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Se.create("--ft-radio-focus-outline-width","","SIZE","2px"),Se.extend("--ft-radio-gap","",we.spacing3),Se.extend("--ft-notification-icon-size","",we.iconSize4),Se.extend("--ft-notification-horizontal-padding","",we.spacing4),Se.extend("--ft-notification-vertical-padding","",we.spacing4),Se.extend("--ft-notification-info-background-color","",Re.backgroundInfoSubtle),Se.extend("--ft-notification-info-color","",Re.contentInfoPrimary),Se.extend("--ft-notification-info-border-color","",Re.borderInfoPrimary),Se.extend("--ft-notification-success-background-color","",Re.backgroundSuccessSubtle),Se.extend("--ft-notification-success-color","",Re.contentSuccessPrimary),Se.extend("--ft-notification-success-border-color","",Re.borderSuccessPrimary),Se.extend("--ft-notification-warning-background-color","",Re.backgroundWarningSubtle),Se.extend("--ft-notification-warning-color","",Re.contentWarningPrimary),Se.extend("--ft-notification-warning-border-color","",Re.borderWarningPrimary),Se.extend("--ft-notification-error-background-color","",Re.backgroundErrorSubtle),Se.extend("--ft-notification-error-color","",Re.contentErrorPrimary),Se.extend("--ft-notification-error-border-color","",Re.borderErrorPrimary),Se.extend("--ft-notification-border-radius","",we.borderRadiusPill),Se.create("--ft-notification-border-width","","SIZE","1px"),Se.extend("--ft-notification-gap-leading","",we.spacing2),Se.extend("--ft-notification-gap-trailing","",we.spacing8);const Ee={colorPrimary:Se.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Se.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Se.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Se.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Se.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Se.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Se.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Se.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Se.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Se.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Se.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Se.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Se.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Se.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Se.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Se.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Se.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Se.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Se.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Se.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Se.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Se.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Se.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Se.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Se.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Se.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Se.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Se.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Se.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Se.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Se.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Se.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Se.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Se.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Se.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Se.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Se.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Se.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Se.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Se.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Se.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Se.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Se.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Se.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Se.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Se.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Se.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Se.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Se.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Se.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Se.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Ue extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class $e extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}
|
|
86
86
|
/**
|
|
87
87
|
* @license
|
|
88
88
|
* Copyright 2019 Google LLC
|
|
89
89
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
|
-
*/const
|
|
90
|
+
*/const Ie=window,ke=Ie.ShadowRoot&&(void 0===Ie.ShadyCSS||Ie.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class We extends Oe{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{ke?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Ie.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Le,Ke=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ze=Symbol("constructorPrototype"),ze=Symbol("constructorName"),Fe=Symbol("exportpartsDebouncer");class Me extends We{constructor(){super(),this[Le]=new $(5),this[ze]=this.constructor.name,this[Ze]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ze]&&Object.setPrototypeOf(this,this[Ze])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Fe].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,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!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Le=Fe,Ke([w()],Me.prototype,"exportpartsPrefix",void 0),Ke([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!I(t,e),...null!=e?e:{}})}([])],Me.prototype,"exportpartsPrefixes",void 0),Ke([w()],Me.prototype,"customStylesheet",void 0);const Ae=Se.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");function De(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Be,Pe,je;Nt`
|
|
91
91
|
.highlight-html-match {
|
|
92
|
-
background: ${
|
|
92
|
+
background: ${Ae};
|
|
93
93
|
}
|
|
94
94
|
`,Nt`
|
|
95
95
|
.ft-no-text-select {
|
|
@@ -123,25 +123,25 @@ let vo=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
123
123
|
display: inline-block;
|
|
124
124
|
width: 0;
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
`;const He=Symbol("internalReduxEventsUnsubscribers"),Te=Symbol("internalStoresUnsubscribers"),_e=Symbol("internalStores");class Ge extends Me{constructor(){super(...arguments),this[Be]=new Map,this[Pe]=new Map,this[je]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[_e].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[_e].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[_e].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:De(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[_e].delete(e)}setupStore(t,e){this[_e].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[_e].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Te].has(t.store):this[Te].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Te].set(t,e.subscribe((()=>this.updateFromStores()))),De(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[He].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Te].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[He].forEach((t=>t())),this[He]=[]}unsubscribeFromStore(t){this[Te].has(t)&&this[Te].get(t)(),this[Te].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}var Ye,Ve;Be=Te,Pe=_e,je=He,Ge.reduxProperties=new Map,Ge.reduxReactiveProperties=new Set,Ge.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Ve=null===(Ye=window.safari)||void 0===Ye?void 0:Ye.pushNotification)||void 0===Ve||Ve.toString());var Je=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class qe extends Me{constructor(){super(...arguments),this.label="",this.icon="",this.active=!1,this.disabled=!1,this.uniqueId=(""+Math.floor(1e5*Math.random())).padStart(5,"0")}render(){return re`
|
|
127
127
|
<style>
|
|
128
128
|
:host {
|
|
129
129
|
display: ${vt(this.active?"block":"none")};
|
|
130
130
|
}
|
|
131
131
|
</style>
|
|
132
132
|
<slot></slot>
|
|
133
|
-
`}update(t){super.update(t),this.id||(this.id="tab-"+this.uniqueId),this.ariaLabelledBy=this.id+"-control"}updated(t){super.updated(t),this.dispatchEvent(new Event("updated"))}}
|
|
133
|
+
`}update(t){super.update(t),this.id||(this.id="tab-"+this.uniqueId),this.ariaLabelledBy=this.id+"-control"}updated(t){super.updated(t),this.dispatchEvent(new Event("updated"))}}qe.elementDefinitions={},Je([w({type:String})],qe.prototype,"label",void 0),Je([w({type:String})],qe.prototype,"icon",void 0),Je([w()],qe.prototype,"iconVariant",void 0),Je([w({type:Boolean,reflect:!0})],qe.prototype,"active",void 0),Je([w({type:Boolean})],qe.prototype,"disabled",void 0),Je([w({reflect:!0})],qe.prototype,"id",void 0),Je([w()],qe.prototype,"color",void 0),Je([w()],qe.prototype,"rippleColor",void 0),Je([w({reflect:!0,attribute:"aria-labelledby"})],qe.prototype,"ariaLabelledBy",void 0);
|
|
134
134
|
/**
|
|
135
135
|
* @license
|
|
136
136
|
* Copyright 2017 Google LLC
|
|
137
137
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
138
138
|
*/
|
|
139
|
-
const
|
|
139
|
+
const Xe=1,Qe=2,to=t=>(...e)=>({_$litDirective$:t,values:e});let eo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
140
140
|
/**
|
|
141
141
|
* @license
|
|
142
142
|
* Copyright 2020 Google LLC
|
|
143
143
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
144
|
-
*/const{D:
|
|
144
|
+
*/const{D:oo}=ut,io=()=>document.createComment(""),ro=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(io(),r),n=i.insertBefore(io(),r);o=new oo(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},no=(t,e,o=t)=>(t._$AI(e,o),t),ao={},so=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},lo=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},co=to(class extends eo{constructor(t){if(super(t),t.type!==Qe)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,p,f=0,h=r.length-1,d=0,u=n.length-1;for(;f<=h&&d<=u;)if(null===r[f])f++;else if(null===r[h])h--;else if(s[f]===a[d])l[d]=no(r[f],n[d]),f++,d++;else if(s[h]===a[u])l[u]=no(r[h],n[u]),h--,u--;else if(s[f]===a[u])l[u]=no(r[f],n[u]),ro(t,l[u+1],r[f]),f++,u--;else if(s[h]===a[d])l[d]=no(r[h],n[d]),ro(t,r[f],r[h]),h--,d++;else if(void 0===c&&(c=lo(a,d,u),p=lo(s,f,h)),c.has(s[f]))if(c.has(s[h])){const e=p.get(a[d]),o=void 0!==e?r[e]:null;if(null===o){const e=ro(t,r[f]);no(e,n[d]),l[d]=e}else l[d]=no(o,n[d]),ro(t,r[f],o),r[e]=null;d++}else so(r[h]),h--;else so(r[f]),f++;for(;d<=u;){const e=ro(t,l[u+1]);no(e,n[d]),l[d++]=e}for(;f<=h;){const t=r[f++];null!==t&&so(t)}return this.dt=a,((t,e=ao)=>{t._$AH=e})(t,l),Q}}),po=to(class extends eo{constructor(t){if(super(t),t.type!==Xe||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return Q}}),fo=Se.extend("--ft-ripple-color","",Ee.colorContent),ho=fo,uo=Se.extend("--ft-ripple-background-color","",fo),yo=Se.external(Ee.opacityContentOnSurfacePressed,"Design system"),go=Se.external(Ee.opacityContentOnSurfaceHover,"Design system"),bo=Se.external(Ee.opacityContentOnSurfaceFocused,"Design system"),mo=Se.external(Ee.opacityContentOnSurfaceSelected,"Design system"),xo=Se.create("--ft-ripple-border-radius","","SIZE","0px"),Oo=Se.extend("--ft-ripple-color","",Ee.colorPrimary),vo=Oo,No=Se.extend("--ft-ripple-background-color","",Oo),So=Se.extend("--ft-ripple-color","",Ee.colorSecondary),wo=So,Co=Se.extend("--ft-ripple-background-color","",So),Ro=Nt`
|
|
145
145
|
:host {
|
|
146
146
|
display: contents;
|
|
147
147
|
}
|
|
@@ -154,7 +154,7 @@ const To=1,_o=2,Go=t=>(...o)=>({_$litDirective$:t,values:o});let Yo=class{constr
|
|
|
154
154
|
|
|
155
155
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
156
156
|
overflow: hidden;
|
|
157
|
-
border-radius: ${
|
|
157
|
+
border-radius: ${xo};
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
.ft-ripple .ft-ripple--background,
|
|
@@ -188,27 +188,27 @@ const To=1,_o=2,Go=t=>(...o)=>({_$litDirective$:t,values:o});let Yo=class{constr
|
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
.ft-ripple .ft-ripple--background {
|
|
191
|
-
background-color: ${
|
|
191
|
+
background-color: ${uo};
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
.ft-ripple .ft-ripple--effect {
|
|
195
|
-
background-color: ${
|
|
195
|
+
background-color: ${ho};
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
199
|
-
background-color: ${
|
|
199
|
+
background-color: ${Co};
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
203
|
-
background-color: ${
|
|
203
|
+
background-color: ${wo};
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
207
|
-
background-color: ${
|
|
207
|
+
background-color: ${No};
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
211
|
-
background-color: ${
|
|
211
|
+
background-color: ${vo};
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
.ft-ripple .ft-ripple--background {
|
|
@@ -238,19 +238,19 @@ const To=1,_o=2,Go=t=>(...o)=>({_$litDirective$:t,values:o});let Yo=class{constr
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
241
|
-
opacity: ${
|
|
241
|
+
opacity: ${go};
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
245
|
-
opacity: ${
|
|
245
|
+
opacity: ${mo};
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
249
|
-
opacity: ${
|
|
249
|
+
opacity: ${bo};
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
253
|
-
opacity: ${
|
|
253
|
+
opacity: ${yo};
|
|
254
254
|
transform: translate(-50%, -50%) scale(1);
|
|
255
255
|
}
|
|
256
256
|
`;
|
|
@@ -258,141 +258,141 @@ const To=1,_o=2,Go=t=>(...o)=>({_$litDirective$:t,values:o});let Yo=class{constr
|
|
|
258
258
|
* @license
|
|
259
259
|
* Copyright 2017 Google LLC
|
|
260
260
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
261
|
-
*/var
|
|
261
|
+
*/var Eo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Uo extends Me{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 $(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 $(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=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 re`
|
|
262
262
|
<style>
|
|
263
263
|
.ft-ripple .ft-ripple--effect {
|
|
264
264
|
left: ${this.originX}px;
|
|
265
265
|
top: ${this.originY}px;
|
|
266
266
|
}
|
|
267
267
|
</style>
|
|
268
|
-
<div class="${
|
|
268
|
+
<div class="${po(t)}">
|
|
269
269
|
<div class="ft-ripple--background"></div>
|
|
270
270
|
<div class="ft-ripple--effect"></div>
|
|
271
271
|
</div>
|
|
272
|
-
`}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
|
|
272
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.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 e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Uo.elementDefinitions={},Uo.styles=Ro,Eo([w({type:Boolean})],Uo.prototype,"primary",void 0),Eo([w({type:Boolean})],Uo.prototype,"secondary",void 0),Eo([w({type:Boolean})],Uo.prototype,"unbounded",void 0),Eo([w({type:Boolean})],Uo.prototype,"activated",void 0),Eo([w({type:Boolean})],Uo.prototype,"selected",void 0),Eo([w({type:Boolean})],Uo.prototype,"disabled",void 0),Eo([C()],Uo.prototype,"hovered",void 0),Eo([C()],Uo.prototype,"focused",void 0),Eo([C()],Uo.prototype,"pressed",void 0),Eo([C()],Uo.prototype,"rippling",void 0),Eo([C()],Uo.prototype,"originX",void 0),Eo([C()],Uo.prototype,"originY",void 0),Eo([U(".ft-ripple")],Uo.prototype,"ripple",void 0),Eo([U(".ft-ripple--effect")],Uo.prototype,"rippleEffect",void 0),k("ft-ripple")(Uo);
|
|
273
273
|
/**
|
|
274
274
|
* @license
|
|
275
275
|
* Copyright 2020 Google LLC
|
|
276
276
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
277
277
|
*/
|
|
278
|
-
const
|
|
278
|
+
const $o=Symbol.for(""),Io=t=>{if(t?.r===$o)return t?._$litStatic$},ko=t=>({_$litStatic$:t,r:$o}),Wo=new Map,Lo=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Io(n));)l+=r+e[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=Wo.get(t))&&(a.raw=a,Wo.set(t,e=a)),o=s}return t(e,...o)})(X);var Ko;!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"}(Ko||(Ko={}));const Zo=Se.extend("--ft-typography-font-family","",Ee.titleFont),zo=Se.extend("--ft-typography-font-family","",Ee.contentFont),Fo={fontFamily:zo,fontSize:Se.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Se.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Se.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Se.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Se.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Mo=Se.extend("--ft-typography-title-font-family","",Zo),Ao=Se.extend("--ft-typography-title-font-size","",Fo.fontSize,"20px"),Do=Se.extend("--ft-typography-title-font-weight","",Fo.fontWeight,"normal"),Bo=Se.extend("--ft-typography-title-letter-spacing","",Fo.letterSpacing,"0.15px"),Po=Se.extend("--ft-typography-title-line-height","",Fo.lineHeight,"1.2"),jo=Se.extend("--ft-typography-title-text-transform","",Fo.textTransform,"inherit"),Ho=Se.extend("--ft-typography-title-dense-font-family","",Zo),To=Se.extend("--ft-typography-title-dense-font-size","",Fo.fontSize,"14px"),_o=Se.extend("--ft-typography-title-dense-font-weight","",Fo.fontWeight,"normal"),Go=Se.extend("--ft-typography-title-dense-letter-spacing","",Fo.letterSpacing,"0.105px"),Yo=Se.extend("--ft-typography-title-dense-line-height","",Fo.lineHeight,"1.7"),Vo=Se.extend("--ft-typography-title-dense-text-transform","",Fo.textTransform,"inherit"),Jo=Se.extend("--ft-typography-subtitle1-font-family","",zo),qo=Se.extend("--ft-typography-subtitle1-font-size","",Fo.fontSize,"16px"),Xo=Se.extend("--ft-typography-subtitle1-font-weight","",Fo.fontWeight,"600"),Qo=Se.extend("--ft-typography-subtitle1-letter-spacing","",Fo.letterSpacing,"0.144px"),ti=Se.extend("--ft-typography-subtitle1-line-height","",Fo.lineHeight,"1.5"),ei=Se.extend("--ft-typography-subtitle1-text-transform","",Fo.textTransform,"inherit"),oi=Se.extend("--ft-typography-subtitle2-font-family","",zo),ii=Se.extend("--ft-typography-subtitle2-font-size","",Fo.fontSize,"14px"),ri=Se.extend("--ft-typography-subtitle2-font-weight","",Fo.fontWeight,"normal"),ni=Se.extend("--ft-typography-subtitle2-letter-spacing","",Fo.letterSpacing,"0.098px"),ai=Se.extend("--ft-typography-subtitle2-line-height","",Fo.lineHeight,"1.7"),si=Se.extend("--ft-typography-subtitle2-text-transform","",Fo.textTransform,"inherit"),li=Se.extend("--ft-typography-body1-font-family","",zo),ci=Se.extend("--ft-typography-body1-font-size","",Fo.fontSize,"16px"),pi=Se.extend("--ft-typography-body1-font-weight","",Fo.fontWeight,"normal"),fi=Se.extend("--ft-typography-body1-letter-spacing","",Fo.letterSpacing,"0.496px"),hi=Se.extend("--ft-typography-body1-line-height","",Fo.lineHeight,"1.5"),di=Se.extend("--ft-typography-body1-text-transform","",Fo.textTransform,"inherit"),ui=Se.extend("--ft-typography-body2-font-family","",zo),yi=Se.extend("--ft-typography-body2-font-size","",Fo.fontSize,"14px"),gi=Se.extend("--ft-typography-body2-font-weight","",Fo.fontWeight,"normal"),bi=Se.extend("--ft-typography-body2-letter-spacing","",Fo.letterSpacing,"0.252px"),mi=Se.extend("--ft-typography-body2-line-height","",Fo.lineHeight,"1.4"),xi=Se.extend("--ft-typography-body2-text-transform","",Fo.textTransform,"inherit"),Oi=Se.extend("--ft-typography-caption-font-family","",zo),vi=Se.extend("--ft-typography-caption-font-size","",Fo.fontSize,"12px"),Ni=Se.extend("--ft-typography-caption-font-weight","",Fo.fontWeight,"normal"),Si=Se.extend("--ft-typography-caption-letter-spacing","",Fo.letterSpacing,"0.396px"),wi=Se.extend("--ft-typography-caption-line-height","",Fo.lineHeight,"1.33"),Ci=Se.extend("--ft-typography-caption-text-transform","",Fo.textTransform,"inherit"),Ri=Se.extend("--ft-typography-breadcrumb-font-family","",zo),Ei=Se.extend("--ft-typography-breadcrumb-font-size","",Fo.fontSize,"10px"),Ui=Se.extend("--ft-typography-breadcrumb-font-weight","",Fo.fontWeight,"normal"),$i=Se.extend("--ft-typography-breadcrumb-letter-spacing","",Fo.letterSpacing,"0.33px"),Ii=Se.extend("--ft-typography-breadcrumb-line-height","",Fo.lineHeight,"1.6"),ki=Se.extend("--ft-typography-breadcrumb-text-transform","",Fo.textTransform,"inherit"),Wi=Se.extend("--ft-typography-overline-font-family","",zo),Li=Se.extend("--ft-typography-overline-font-size","",Fo.fontSize,"10px"),Ki=Se.extend("--ft-typography-overline-font-weight","",Fo.fontWeight,"normal"),Zi=Se.extend("--ft-typography-overline-letter-spacing","",Fo.letterSpacing,"1.5px"),zi=Se.extend("--ft-typography-overline-line-height","",Fo.lineHeight,"1.6"),Fi=Se.extend("--ft-typography-overline-text-transform","",Fo.textTransform,"uppercase"),Mi=Se.extend("--ft-typography-button-font-family","",zo),Ai=Se.extend("--ft-typography-button-font-size","",Fo.fontSize,"14px"),Di=Se.extend("--ft-typography-button-font-weight","",Fo.fontWeight,"600"),Bi=Se.extend("--ft-typography-button-letter-spacing","",Fo.letterSpacing,"1.246px"),Pi=Se.extend("--ft-typography-button-line-height","",Fo.lineHeight,"1.15"),ji=Se.extend("--ft-typography-button-text-transform","",Fo.textTransform,"uppercase"),Hi=Nt`
|
|
279
279
|
.ft-typography--title {
|
|
280
|
-
font-family: ${
|
|
281
|
-
font-size: ${
|
|
282
|
-
font-weight: ${
|
|
283
|
-
letter-spacing: ${
|
|
284
|
-
line-height: ${
|
|
285
|
-
text-transform: ${
|
|
286
|
-
}
|
|
287
|
-
`,
|
|
280
|
+
font-family: ${Mo};
|
|
281
|
+
font-size: ${Ao};
|
|
282
|
+
font-weight: ${Do};
|
|
283
|
+
letter-spacing: ${Bo};
|
|
284
|
+
line-height: ${Po};
|
|
285
|
+
text-transform: ${jo};
|
|
286
|
+
}
|
|
287
|
+
`,Ti=Nt`
|
|
288
288
|
.ft-typography--title-dense {
|
|
289
|
-
font-family: ${
|
|
290
|
-
font-size: ${
|
|
291
|
-
font-weight: ${
|
|
292
|
-
letter-spacing: ${
|
|
293
|
-
line-height: ${
|
|
294
|
-
text-transform: ${
|
|
295
|
-
}
|
|
296
|
-
`,
|
|
289
|
+
font-family: ${Ho};
|
|
290
|
+
font-size: ${To};
|
|
291
|
+
font-weight: ${_o};
|
|
292
|
+
letter-spacing: ${Go};
|
|
293
|
+
line-height: ${Yo};
|
|
294
|
+
text-transform: ${Vo};
|
|
295
|
+
}
|
|
296
|
+
`,_i=Nt`
|
|
297
297
|
.ft-typography--subtitle1 {
|
|
298
|
-
font-family: ${
|
|
299
|
-
font-size: ${
|
|
300
|
-
font-weight: ${
|
|
301
|
-
letter-spacing: ${
|
|
302
|
-
line-height: ${
|
|
303
|
-
text-transform: ${
|
|
304
|
-
}
|
|
305
|
-
`,
|
|
298
|
+
font-family: ${Jo};
|
|
299
|
+
font-size: ${qo};
|
|
300
|
+
font-weight: ${Xo};
|
|
301
|
+
letter-spacing: ${Qo};
|
|
302
|
+
line-height: ${ti};
|
|
303
|
+
text-transform: ${ei};
|
|
304
|
+
}
|
|
305
|
+
`,Gi=Nt`
|
|
306
306
|
.ft-typography--subtitle2 {
|
|
307
|
-
font-family: ${
|
|
308
|
-
font-size: ${
|
|
309
|
-
font-weight: ${
|
|
310
|
-
letter-spacing: ${
|
|
311
|
-
line-height: ${
|
|
312
|
-
text-transform: ${
|
|
307
|
+
font-family: ${oi};
|
|
308
|
+
font-size: ${ii};
|
|
309
|
+
font-weight: ${ri};
|
|
310
|
+
letter-spacing: ${ni};
|
|
311
|
+
line-height: ${ai};
|
|
312
|
+
text-transform: ${si};
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
-
`,
|
|
315
|
+
`,Yi=Nt`
|
|
316
316
|
.ft-typography--body1 {
|
|
317
|
-
font-family: ${
|
|
318
|
-
font-size: ${
|
|
319
|
-
font-weight: ${
|
|
320
|
-
letter-spacing: ${
|
|
321
|
-
line-height: ${
|
|
322
|
-
text-transform: ${
|
|
323
|
-
}
|
|
324
|
-
`,
|
|
317
|
+
font-family: ${li};
|
|
318
|
+
font-size: ${ci};
|
|
319
|
+
font-weight: ${pi};
|
|
320
|
+
letter-spacing: ${fi};
|
|
321
|
+
line-height: ${hi};
|
|
322
|
+
text-transform: ${di};
|
|
323
|
+
}
|
|
324
|
+
`,Vi=Nt`
|
|
325
325
|
.ft-typography--body2 {
|
|
326
|
-
font-family: ${
|
|
327
|
-
font-size: ${
|
|
328
|
-
font-weight: ${
|
|
329
|
-
letter-spacing: ${
|
|
330
|
-
line-height: ${
|
|
331
|
-
text-transform: ${
|
|
332
|
-
}
|
|
333
|
-
`,
|
|
326
|
+
font-family: ${ui};
|
|
327
|
+
font-size: ${yi};
|
|
328
|
+
font-weight: ${gi};
|
|
329
|
+
letter-spacing: ${bi};
|
|
330
|
+
line-height: ${mi};
|
|
331
|
+
text-transform: ${xi};
|
|
332
|
+
}
|
|
333
|
+
`,Ji=Nt`
|
|
334
334
|
.ft-typography--caption {
|
|
335
|
-
font-family: ${
|
|
336
|
-
font-size: ${
|
|
337
|
-
font-weight: ${
|
|
338
|
-
letter-spacing: ${
|
|
339
|
-
line-height: ${
|
|
340
|
-
text-transform: ${
|
|
341
|
-
}
|
|
342
|
-
`,
|
|
335
|
+
font-family: ${Oi};
|
|
336
|
+
font-size: ${vi};
|
|
337
|
+
font-weight: ${Ni};
|
|
338
|
+
letter-spacing: ${Si};
|
|
339
|
+
line-height: ${wi};
|
|
340
|
+
text-transform: ${Ci};
|
|
341
|
+
}
|
|
342
|
+
`,qi=Nt`
|
|
343
343
|
.ft-typography--breadcrumb {
|
|
344
|
-
font-family: ${
|
|
345
|
-
font-size: ${
|
|
346
|
-
font-weight: ${
|
|
347
|
-
letter-spacing: ${
|
|
348
|
-
line-height: ${
|
|
349
|
-
text-transform: ${
|
|
350
|
-
}
|
|
351
|
-
`,
|
|
344
|
+
font-family: ${Ri};
|
|
345
|
+
font-size: ${Ei};
|
|
346
|
+
font-weight: ${Ui};
|
|
347
|
+
letter-spacing: ${$i};
|
|
348
|
+
line-height: ${Ii};
|
|
349
|
+
text-transform: ${ki};
|
|
350
|
+
}
|
|
351
|
+
`,Xi=Nt`
|
|
352
352
|
.ft-typography--overline {
|
|
353
|
-
font-family: ${
|
|
354
|
-
font-size: ${
|
|
355
|
-
font-weight: ${
|
|
356
|
-
letter-spacing: ${
|
|
357
|
-
line-height: ${
|
|
358
|
-
text-transform: ${
|
|
359
|
-
}
|
|
360
|
-
`,
|
|
353
|
+
font-family: ${Wi};
|
|
354
|
+
font-size: ${Li};
|
|
355
|
+
font-weight: ${Ki};
|
|
356
|
+
letter-spacing: ${Zi};
|
|
357
|
+
line-height: ${zi};
|
|
358
|
+
text-transform: ${Fi};
|
|
359
|
+
}
|
|
360
|
+
`,Qi=Nt`
|
|
361
361
|
.ft-typography--button {
|
|
362
|
-
font-family: ${
|
|
363
|
-
font-size: ${
|
|
364
|
-
font-weight: ${
|
|
365
|
-
letter-spacing: ${
|
|
366
|
-
line-height: ${
|
|
367
|
-
text-transform: ${
|
|
368
|
-
}
|
|
369
|
-
`,
|
|
362
|
+
font-family: ${Mi};
|
|
363
|
+
font-size: ${Ai};
|
|
364
|
+
font-weight: ${Di};
|
|
365
|
+
letter-spacing: ${Bi};
|
|
366
|
+
line-height: ${Pi};
|
|
367
|
+
text-transform: ${ji};
|
|
368
|
+
}
|
|
369
|
+
`,tr=Nt`
|
|
370
370
|
.ft-typography {
|
|
371
371
|
vertical-align: inherit;
|
|
372
372
|
}
|
|
373
|
-
`,
|
|
373
|
+
`,er=[Object.keys(Ce).map((t=>function(t){const e=Ce[t];return Nt`
|
|
374
374
|
.ft-typography--${vt(t)} {
|
|
375
|
-
font-family: ${
|
|
376
|
-
font-size: ${
|
|
377
|
-
font-weight: ${
|
|
378
|
-
letter-spacing: ${
|
|
379
|
-
line-height: ${
|
|
380
|
-
text-transform: ${
|
|
375
|
+
font-family: ${e.fontFamily};
|
|
376
|
+
font-size: ${e.fontSize};
|
|
377
|
+
font-weight: ${e.fontWeight};
|
|
378
|
+
letter-spacing: ${e.letterSpacing};
|
|
379
|
+
line-height: ${e.lineHeight};
|
|
380
|
+
text-transform: ${e.textCase};
|
|
381
381
|
}
|
|
382
|
-
`}(t)))];var
|
|
383
|
-
<${
|
|
382
|
+
`}(t)))];var or=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ir extends Me{constructor(){super(...arguments),this.variant=Ko.body1}render(){return this.element?Lo`
|
|
383
|
+
<${ko(this.element)}
|
|
384
384
|
class="ft-typography ft-typography--${this.variant}">
|
|
385
385
|
<slot></slot>
|
|
386
|
-
</${
|
|
387
|
-
`:
|
|
386
|
+
</${ko(this.element)}>
|
|
387
|
+
`:Lo`
|
|
388
388
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
389
|
-
`}}
|
|
389
|
+
`}}ir.styles=[Hi,Ti,_i,Gi,Yi,Vi,Ji,qi,Xi,Qi,tr,...er],or([w()],ir.prototype,"element",void 0),or([w()],ir.prototype,"variant",void 0),k("ft-typography")(ir);
|
|
390
390
|
/**
|
|
391
391
|
* @license
|
|
392
392
|
* Copyright 2017 Google LLC
|
|
393
393
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
394
394
|
*/
|
|
395
|
-
class
|
|
395
|
+
class rr extends eo{constructor(t){if(super(t),this.et=tt,t.type!==Qe)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||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 e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}rr.directiveName="unsafeHTML",rr.resultType=1;const nr=to(rr);var ar,sr;!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=""}(ar||(ar={})),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=""}(sr||(sr={})),new Map([...["abw"].map((t=>[t,sr.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,sr.AUDIO])),...["avi"].map((t=>[t,sr.AVI])),...["chm","xhs"].map((t=>[t,sr.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,sr.CODE])),...["csv"].map((t=>[t,sr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,sr.DITA])),...["epub"].map((t=>[t,sr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,sr.EXCEL])),...["flac"].map((t=>[t,sr.FLAC])),...["gif"].map((t=>[t,sr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,sr.GZIP])),...["html","htm","xhtml"].map((t=>[t,sr.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,sr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,sr.JPEG])),...["json"].map((t=>[t,sr.JSON])),...["m4a","m4p"].map((t=>[t,sr.M4A])),...["mov","qt"].map((t=>[t,sr.MOV])),...["mp3"].map((t=>[t,sr.MP3])),...["mp4","m4v"].map((t=>[t,sr.MP4])),...["ogg","oga"].map((t=>[t,sr.OGG])),...["pdf","ps"].map((t=>[t,sr.PDF])),...["png"].map((t=>[t,sr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,sr.POWERPOINT])),...["rar"].map((t=>[t,sr.RAR])),...["stp"].map((t=>[t,sr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,sr.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,sr.VIDEO])),...["wav"].map((t=>[t,sr.WAV])),...["wma"].map((t=>[t,sr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,sr.WORD])),...["xml","xsl","rdf"].map((t=>[t,sr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,sr.YAML])),...["zip"].map((t=>[t,sr.ZIP]))]);const lr=Se.create("--ft-icon-font-size","","SIZE","24px"),cr=Se.extend("--ft-icon-fluid-topics-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),pr=Se.extend("--ft-icon-file-format-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),fr=Se.extend("--ft-icon-material-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),hr=Se.create("--ft-icon-vertical-align","","UNKNOWN","unset"),dr=Nt`
|
|
396
396
|
:host, i.ft-icon {
|
|
397
397
|
display: inline-flex;
|
|
398
398
|
align-items: center;
|
|
@@ -401,14 +401,14 @@ class Jr extends Yo{constructor(t){if(super(t),this.et=tt,t.type!==_o)throw Erro
|
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
:host {
|
|
404
|
-
width: ${
|
|
405
|
-
height: ${
|
|
404
|
+
width: ${lr};
|
|
405
|
+
height: ${lr};
|
|
406
406
|
}
|
|
407
407
|
|
|
408
408
|
i.ft-icon {
|
|
409
409
|
width: 100%;
|
|
410
410
|
height: 100%;
|
|
411
|
-
font-size: ${
|
|
411
|
+
font-size: ${lr};
|
|
412
412
|
line-height: 1;
|
|
413
413
|
font-weight: normal;
|
|
414
414
|
text-transform: none;
|
|
@@ -419,37 +419,37 @@ class Jr extends Yo{constructor(t){if(super(t),this.et=tt,t.type!==_o)throw Erro
|
|
|
419
419
|
text-rendering: auto;
|
|
420
420
|
-webkit-font-smoothing: antialiased;
|
|
421
421
|
-moz-osx-font-smoothing: grayscale;
|
|
422
|
-
vertical-align: ${
|
|
422
|
+
vertical-align: ${hr};
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
i.ft-icon.ft-icon--fluid-topics {
|
|
426
|
-
font-family: ${
|
|
426
|
+
font-family: ${cr}, ft-icons, fticons, sans-serif;
|
|
427
427
|
|
|
428
428
|
/* Ugly fix because font is broken */
|
|
429
|
-
font-size: calc(0.75 * ${
|
|
430
|
-
line-height: ${
|
|
429
|
+
font-size: calc(0.75 * ${lr});
|
|
430
|
+
line-height: ${lr};
|
|
431
431
|
position: relative;
|
|
432
432
|
top: -4%;
|
|
433
433
|
justify-content: center;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
.ft-icon--file-format {
|
|
437
|
-
font-family: ${
|
|
437
|
+
font-family: ${pr}, ft-mime, sans-serif;
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
.ft-icon--material {
|
|
441
|
-
font-family: ${
|
|
441
|
+
font-family: ${fr}, "Material Icons", sans-serif;
|
|
442
442
|
}
|
|
443
|
-
`;var
|
|
443
|
+
`;var ur;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ur||(ur={}));var yr,gr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class br extends Me{constructor(){super(...arguments),this.resolvedIcon=ae}render(){const t=this.variant&&Object.values(ur).includes(this.variant)?this.variant:ur.fluid_topics,e=t!==ur.material||!!this.value;return re`
|
|
444
444
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
445
|
-
${
|
|
446
|
-
<slot ?hidden=${
|
|
445
|
+
${nr(this.resolvedIcon)}
|
|
446
|
+
<slot ?hidden=${e}></slot>
|
|
447
447
|
</i>
|
|
448
|
-
`}get textContent(){var t,
|
|
448
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case ur.file_format:this.resolvedIcon=null!==(t=sr[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ur.material:this.resolvedIcon=this.value||ae;break;default:this.resolvedIcon=null!==(e=ar[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}br.elementDefinitions={},br.styles=dr,gr([w()],br.prototype,"variant",void 0),gr([w()],br.prototype,"value",void 0),gr([C()],br.prototype,"resolvedIcon",void 0),gr([U("slot")],br.prototype,"slottedContent",void 0),k("ft-icon")(br),t.FtTabsAlignment=void 0,(yr=t.FtTabsAlignment||(t.FtTabsAlignment={})).left="left",yr.right="right",yr.justify="justify";const mr={colorSurface:Se.external(Ee.colorSurface,"Design system"),colorPrimary:Se.external(Ee.colorPrimary,"Design system"),colorOnSurfaceMedium:Se.external(Ee.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Se.external(Ee.colorOnSurfaceDisabled,"Design system")},xr=Nt`
|
|
449
449
|
.ft-tabs {
|
|
450
450
|
display: flex;
|
|
451
451
|
flex-direction: column;
|
|
452
|
-
background-color: ${
|
|
452
|
+
background-color: ${mr.colorSurface};
|
|
453
453
|
height: 100%;
|
|
454
454
|
}
|
|
455
455
|
|
|
@@ -489,15 +489,15 @@ class Jr extends Yo{constructor(t){if(super(t),this.et=tt,t.type!==_o)throw Erro
|
|
|
489
489
|
outline: none;
|
|
490
490
|
font-size: 16px;
|
|
491
491
|
line-height: 1;
|
|
492
|
-
color: ${
|
|
492
|
+
color: ${mr.colorOnSurfaceMedium};
|
|
493
493
|
}
|
|
494
494
|
|
|
495
495
|
[role='tab'][aria-selected='true'] {
|
|
496
|
-
color: ${
|
|
496
|
+
color: ${mr.colorPrimary};
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
[role='tab'][disabled] {
|
|
500
|
-
color: ${
|
|
500
|
+
color: ${mr.colorOnSurfaceDisabled};
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
.ft-tabs--align-justify [role='tab'],
|
|
@@ -529,7 +529,7 @@ class Jr extends Yo{constructor(t){if(super(t),this.et=tt,t.type!==_o)throw Erro
|
|
|
529
529
|
position: absolute;
|
|
530
530
|
height: 3px;
|
|
531
531
|
border-radius: 2px;
|
|
532
|
-
background-color: ${
|
|
532
|
+
background-color: ${mr.colorPrimary};
|
|
533
533
|
transition: width 200ms ease, left 200ms ease, top 200ms ease;
|
|
534
534
|
}
|
|
535
535
|
|
|
@@ -538,7 +538,7 @@ class Jr extends Yo{constructor(t){if(super(t),this.et=tt,t.type!==_o)throw Erro
|
|
|
538
538
|
flex-grow: 1;
|
|
539
539
|
overflow: auto;
|
|
540
540
|
}
|
|
541
|
-
`,
|
|
541
|
+
`,Or=Se.create("--ft-tooltip-distance","","SIZE","4px"),vr=Se.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Nr=Se.create("--ft-tooltip-background-color","","COLOR","#666666"),Sr=Se.create("--ft-tooltip-z-index","","NUMBER","100"),wr=Se.external(Ee.borderRadiusS,"Design system"),Cr=Se.create("--ft-tooltip-max-width","","SIZE","150px"),Rr=Nt`
|
|
542
542
|
.ft-tooltip--container {
|
|
543
543
|
display: block;
|
|
544
544
|
}
|
|
@@ -553,21 +553,21 @@ class Jr extends Yo{constructor(t){if(super(t),this.et=tt,t.type!==_o)throw Erro
|
|
|
553
553
|
box-sizing: border-box;
|
|
554
554
|
overflow: hidden;
|
|
555
555
|
width: max-content;
|
|
556
|
-
max-width: ${
|
|
556
|
+
max-width: ${Cr};
|
|
557
557
|
text-align: center;
|
|
558
|
-
padding: ${
|
|
559
|
-
z-index: ${
|
|
558
|
+
padding: ${Or};
|
|
559
|
+
z-index: ${Sr};
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
.ft-tooltip--content {
|
|
563
563
|
padding: 4px 8px;
|
|
564
|
-
border-radius: ${
|
|
565
|
-
background-color: ${
|
|
566
|
-
color: ${
|
|
564
|
+
border-radius: ${wr};
|
|
565
|
+
background-color: ${Nr};
|
|
566
|
+
color: ${vr};
|
|
567
567
|
position: relative;
|
|
568
568
|
word-break: break-word;
|
|
569
569
|
}
|
|
570
|
-
`,xi=["start","end"],Oi=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+xi[0],o+"-"+xi[1])),[]),vi=Math.min,Ni=Math.max,wi=Math.round,Si=t=>({x:t,y:t}),Ci={left:"right",right:"left",bottom:"top",top:"bottom"},Ri={start:"end",end:"start"};function Ei(t,o,e){return Ni(t,vi(o,e))}function Ui(t,o){return"function"==typeof t?t(o):t}function $i(t){return t.split("-")[0]}function Ii(t){return t.split("-")[1]}function ki(t){return"x"===t?"y":"x"}function Wi(t){return"y"===t?"height":"width"}function Li(t){return["top","bottom"].includes($i(t))?"y":"x"}function Ki(t){return ki(Li(t))}function Zi(t){return t.replace(/left|right|bottom|top/g,(t=>Ci[t]))}function zi(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Fi(t,o,e){let{reference:r,floating:i}=t;const n=Li(o),a=Ki(o),s=Wi(a),l=$i(o),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(Ii(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Mi(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Ui(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=zi(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=zi(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function Ai(t,o,e){return(t?[...e.filter((o=>Ii(o)===t)),...e.filter((o=>Ii(o)!==t))]:e.filter((t=>$i(t)===t))).filter((e=>!t||(Ii(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ri[t]))}(e)!==e)))}const Di=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Oi,autoAlignment:d=!0,...u}=Ui(t,o),y=void 0!==f||h===Oi?Ai(f||null,d,h):h,g=await Mi(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=Ii(t),i=Ki(t),n=Wi(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Zi(a)),[a,Zi(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[$i(m)],g[x[0]],g[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const w=v.map((t=>{const o=Ii(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=w.filter((t=>t[2].slice(0,Ii(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=S[0])?void 0:i[0])||w[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Bi(t){return Hi(t)?(t.nodeName||"").toLowerCase():"#document"}function Pi(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ji(t){var o;return null==(o=(Hi(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Hi(t){return t instanceof Node||t instanceof Pi(t).Node}function Ti(t){return t instanceof Element||t instanceof Pi(t).Element}function _i(t){return t instanceof HTMLElement||t instanceof Pi(t).HTMLElement}function Gi(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Pi(t).ShadowRoot)}function Yi(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Qi(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Vi(t){return["table","td","th"].includes(Bi(t))}function Ji(t){const o=qi(),e=Qi(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function qi(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Xi(t){return["html","body","#document"].includes(Bi(t))}function Qi(t){return Pi(t).getComputedStyle(t)}function tn(t){return Ti(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function on(t){if("html"===Bi(t))return t;const o=t.assignedSlot||t.parentNode||Gi(t)&&t.host||ji(t);return Gi(o)?o.host:o}function en(t){const o=on(t);return Xi(o)?t.ownerDocument?t.ownerDocument.body:t.body:_i(o)&&Yi(o)?o:en(o)}function rn(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=en(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Pi(i);return n?o.concat(a,a.visualViewport||[],Yi(i)?i:[],a.frameElement&&e?rn(a.frameElement):[]):o.concat(i,rn(i,[],e))}function nn(t){const o=Qi(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=_i(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=wi(e)!==n||wi(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function an(t){return Ti(t)?t:t.contextElement}function sn(t){const o=an(t);if(!_i(o))return Si(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=nn(o);let a=(n?wi(e.width):e.width)/r,s=(n?wi(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ln=Si(0);function cn(t){const o=Pi(t);return qi()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ln}function pn(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=an(t);let a=Si(1);o&&(r?Ti(r)&&(a=sn(r)):a=sn(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Pi(t))&&o}(n,e,r)?cn(n):Si(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=Pi(n),o=r&&Ti(r)?Pi(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=sn(e),o=e.getBoundingClientRect(),r=Qi(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,e=Pi(e).frameElement}}return zi({width:p,height:f,x:l,y:c})}function fn(t){return pn(ji(t)).left+tn(t).scrollLeft}function hn(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Pi(t),r=ji(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=qi();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=ji(t),e=tn(t),r=t.ownerDocument.body,i=Ni(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Ni(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+fn(t);const s=-e.scrollTop;return"rtl"===Qi(r).direction&&(a+=Ni(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(ji(t));else if(Ti(o))r=function(t,o){const e=pn(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=_i(t)?sn(t):Si(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=cn(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return zi(r)}function dn(t,o){const e=on(t);return!(e===o||!Ti(e)||Xi(e))&&("fixed"===Qi(e).position||dn(e,o))}function un(t,o,e){const r=_i(o),i=ji(o),n="fixed"===e,a=pn(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Si(0);if(r||!r&&!n)if(("body"!==Bi(o)||Yi(i))&&(s=tn(o)),r){const t=pn(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=fn(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function yn(t,o){return _i(t)&&"fixed"!==Qi(t).position?o?o(t):t.offsetParent:null}function gn(t,o){const e=Pi(t);if(!_i(t))return e;let r=yn(t,o);for(;r&&Vi(r)&&"static"===Qi(r).position;)r=yn(r,o);return r&&("html"===Bi(r)||"body"===Bi(r)&&"static"===Qi(r).position&&!Ji(r))?e:r||function(t){let o=on(t);for(;_i(o)&&!Xi(o);){if(Ji(o))return o;o=on(o)}return null}(t)||e}const bn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=_i(e),n=ji(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Si(1);const l=Si(0);if((i||!i&&"fixed"!==r)&&(("body"!==Bi(e)||Yi(n))&&(a=tn(e)),_i(e))){const t=pn(e);s=sn(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:ji,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=rn(t,[],!1).filter((t=>Ti(t)&&"body"!==Bi(t))),i=null;const n="fixed"===Qi(t).position;let a=n?on(t):t;for(;Ti(a)&&!Xi(a);){const o=Qi(a),e=Ji(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Yi(a)&&!e&&dn(t,a))?r=r.filter((t=>t!==a)):i=o,a=on(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=hn(o,e,i);return t.top=Ni(r.top,t.top),t.right=vi(r.right,t.right),t.bottom=vi(r.bottom,t.bottom),t.left=Ni(r.left,t.left),t}),hn(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:gn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||gn,n=this.getDimensions;return{reference:un(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return nn(t)},getScale:sn,isElement:Ti,isRTL:function(t){return"rtl"===Qi(t).direction}},mn=(t,o,e)=>{const r=new Map,i={platform:bn,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=Fi(c,r,l),h=r,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=Fi(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,o,{...i,platform:n})};var xn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class On extends Ao{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 $,this.revealDebouncer=new $}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return io`
|
|
570
|
+
`,Er=["start","end"],Ur=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Er[0],e+"-"+Er[1])),[]),$r=Math.min,Ir=Math.max,kr=Math.round,Wr=t=>({x:t,y:t}),Lr={left:"right",right:"left",bottom:"top",top:"bottom"},Kr={start:"end",end:"start"};function Zr(t,e,o){return Ir(t,$r(e,o))}function zr(t,e){return"function"==typeof t?t(e):t}function Fr(t){return t.split("-")[0]}function Mr(t){return t.split("-")[1]}function Ar(t){return"x"===t?"y":"x"}function Dr(t){return"y"===t?"height":"width"}function Br(t){return["top","bottom"].includes(Fr(t))?"y":"x"}function Pr(t){return Ar(Br(t))}function jr(t){return t.replace(/left|right|bottom|top/g,(t=>Lr[t]))}function Hr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Tr(t,e,o){let{reference:i,floating:r}=t;const n=Br(e),a=Pr(e),s=Dr(a),l=Fr(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Mr(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function _r(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=zr(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Hr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=Hr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function Gr(t,e,o){return(t?[...o.filter((e=>Mr(e)===t)),...o.filter((e=>Mr(e)!==t))]:o.filter((t=>Fr(t)===t))).filter((o=>!t||(Mr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Kr[t]))}(o)!==o)))}const Yr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Ur,autoAlignment:d=!0,...u}=zr(t,e),y=void 0!==f||h===Ur?Gr(f||null,d,h):h,g=await _r(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Mr(t),r=Pr(t),n=Dr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=jr(a)),[a,jr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[Fr(m)],g[x[0]],g[x[1]]],v=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const e=Mr(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=S.filter((t=>t[2].slice(0,Mr(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Vr(t){return Xr(t)?(t.nodeName||"").toLowerCase():"#document"}function Jr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function qr(t){var e;return null==(e=(Xr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Xr(t){return t instanceof Node||t instanceof Jr(t).Node}function Qr(t){return t instanceof Element||t instanceof Jr(t).Element}function tn(t){return t instanceof HTMLElement||t instanceof Jr(t).HTMLElement}function en(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Jr(t).ShadowRoot)}function on(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=ln(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function rn(t){return["table","td","th"].includes(Vr(t))}function nn(t){const e=an(),o=ln(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function an(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function sn(t){return["html","body","#document"].includes(Vr(t))}function ln(t){return Jr(t).getComputedStyle(t)}function cn(t){return Qr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pn(t){if("html"===Vr(t))return t;const e=t.assignedSlot||t.parentNode||en(t)&&t.host||qr(t);return en(e)?e.host:e}function fn(t){const e=pn(t);return sn(e)?t.ownerDocument?t.ownerDocument.body:t.body:tn(e)&&on(e)?e:fn(e)}function hn(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=fn(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Jr(r);return n?e.concat(a,a.visualViewport||[],on(r)?r:[],a.frameElement&&o?hn(a.frameElement):[]):e.concat(r,hn(r,[],o))}function dn(t){const e=ln(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=tn(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=kr(o)!==n||kr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function un(t){return Qr(t)?t:t.contextElement}function yn(t){const e=un(t);if(!tn(e))return Wr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=dn(e);let a=(n?kr(o.width):o.width)/i,s=(n?kr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const gn=Wr(0);function bn(t){const e=Jr(t);return an()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:gn}function mn(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=un(t);let a=Wr(1);e&&(i?Qr(i)&&(a=yn(i)):a=yn(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Jr(t))&&e}(n,o,i)?bn(n):Wr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=Jr(n),e=i&&Qr(i)?Jr(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=yn(o),e=o.getBoundingClientRect(),i=ln(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=Jr(o).frameElement}}return Hr({width:p,height:f,x:l,y:c})}function xn(t){return mn(qr(t)).left+cn(t).scrollLeft}function On(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Jr(t),i=qr(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=an();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=qr(t),o=cn(t),i=t.ownerDocument.body,r=Ir(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Ir(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+xn(t);const s=-o.scrollTop;return"rtl"===ln(i).direction&&(a+=Ir(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(qr(t));else if(Qr(e))i=function(t,e){const o=mn(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=tn(t)?yn(t):Wr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=bn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Hr(i)}function vn(t,e){const o=pn(t);return!(o===e||!Qr(o)||sn(o))&&("fixed"===ln(o).position||vn(o,e))}function Nn(t,e,o){const i=tn(e),r=qr(e),n="fixed"===o,a=mn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Wr(0);if(i||!i&&!n)if(("body"!==Vr(e)||on(r))&&(s=cn(e)),i){const t=mn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=xn(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Sn(t,e){return tn(t)&&"fixed"!==ln(t).position?e?e(t):t.offsetParent:null}function wn(t,e){const o=Jr(t);if(!tn(t))return o;let i=Sn(t,e);for(;i&&rn(i)&&"static"===ln(i).position;)i=Sn(i,e);return i&&("html"===Vr(i)||"body"===Vr(i)&&"static"===ln(i).position&&!nn(i))?o:i||function(t){let e=pn(t);for(;tn(e)&&!sn(e);){if(nn(e))return e;e=pn(e)}return null}(t)||o}const Cn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=tn(o),n=qr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Wr(1);const l=Wr(0);if((r||!r&&"fixed"!==i)&&(("body"!==Vr(o)||on(n))&&(a=cn(o)),tn(o))){const t=mn(o);s=yn(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:qr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=hn(t,[],!1).filter((t=>Qr(t)&&"body"!==Vr(t))),r=null;const n="fixed"===ln(t).position;let a=n?pn(t):t;for(;Qr(a)&&!sn(a);){const e=ln(a),o=nn(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||on(a)&&!o&&vn(t,a))?i=i.filter((t=>t!==a)):r=e,a=pn(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=On(e,o,r);return t.top=Ir(i.top,t.top),t.right=$r(i.right,t.right),t.bottom=$r(i.bottom,t.bottom),t.left=Ir(i.left,t.left),t}),On(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:wn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||wn,n=this.getDimensions;return{reference:Nn(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return dn(t)},getScale:yn,isElement:Qr,isRTL:function(t){return"rtl"===ln(t).direction}},Rn=(t,e,o)=>{const i=new Map,r={platform:Cn,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=Tr(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:p,y:f}=Tr(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};var En=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Un extends Me{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 $,this.revealDebouncer=new $}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return re`
|
|
571
571
|
<div part="container"
|
|
572
572
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
573
573
|
@mouseenter=${this.onHover}
|
|
@@ -585,13 +585,13 @@ class Jr extends Yo{constructor(t){if(super(t),this.et=tt,t.type!==_o)throw Erro
|
|
|
585
585
|
</div>
|
|
586
586
|
</div>
|
|
587
587
|
</div>
|
|
588
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((
|
|
589
|
-
<div class="${
|
|
588
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Rn(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=zr(t,e),c={x:o,y:i},p=await _r(e,l),f=Br(Fr(r)),h=Ar(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Zr(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Zr(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...e,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),Yr({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Un.elementDefinitions={"ft-typography":ir},Un.styles=Rr,En([w()],Un.prototype,"text",void 0),En([w({type:Boolean})],Un.prototype,"manual",void 0),En([w({type:Boolean})],Un.prototype,"inline",void 0),En([w({type:Number})],Un.prototype,"delay",void 0),En([w()],Un.prototype,"position",void 0),En([function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],Un.prototype,"slotNodes",void 0),En([U(".ft-tooltip--container")],Un.prototype,"container",void 0),En([U(".ft-tooltip")],Un.prototype,"tooltip",void 0),En([U(".ft-tooltip--content")],Un.prototype,"tooltipContent",void 0),En([C()],Un.prototype,"visible",void 0),En([R({passive:!0})],Un.prototype,"onTouch",null),En([R({passive:!0})],Un.prototype,"onHover",null),En([R({passive:!0})],Un.prototype,"onOut",null),k("ft-tooltip")(Un);var $n=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class In extends CustomEvent{constructor(t){super("index-change",{detail:t})}}class kn extends Me{constructor(){super(...arguments),this.dense=!1,this.contentBefore=!1,this.alignTabs=t.FtTabsAlignment.justify,this.ftTabs=[],this.activeIndex=0,this.updateDebouncer=new $(2),this.onTabUpdated=()=>this.updateDebouncer.run((()=>{this.requestUpdate(),this.dispatchEvent(new $e)})),this.resizeObserver=new ResizeObserver((()=>this.placeIndicator()))}render(){var t;const e={"ft-tabs":!0,"ft-tabs--reverse":this.contentBefore,"ft-tabs--dense":this.dense},o=null===(t=this.ftTabs[this.activeIndex])||void 0===t?void 0:t.color;return re`
|
|
589
|
+
<div class="${po(e)}" part="container">
|
|
590
590
|
<div class="ft-tabs--align-${this.alignTabs}" role="tablist" part="tablist">
|
|
591
|
-
${
|
|
592
|
-
<button class="${
|
|
591
|
+
${co(this.ftTabs,((t,e)=>this.addTooltipIfNecessary(t,re`
|
|
592
|
+
<button class="${po({"ft-tabs--tab-with-icon":!!t.icon,"ft-tabs--tab-with-label":!!t.label})}"
|
|
593
593
|
?disabled=${t.disabled}
|
|
594
|
-
@click=${()=>this.activeIndex=
|
|
594
|
+
@click=${()=>this.activeIndex=e}
|
|
595
595
|
role="tab"
|
|
596
596
|
part="tab tab-${t.id}${t.active?" active-tab":""}"
|
|
597
597
|
id="${t.ariaLabelledBy}"
|
|
@@ -611,25 +611,25 @@ class Jr extends Yo{constructor(t){if(super(t),this.et=tt,t.type!==_o)throw Erro
|
|
|
611
611
|
</ft-icon>
|
|
612
612
|
<ft-typography class="ft-tabs--tab-label"
|
|
613
613
|
part="tab-label${t.active?" active-tab-label":""}"
|
|
614
|
-
variant="${
|
|
614
|
+
variant="${Ko.body2}">
|
|
615
615
|
${t.label}
|
|
616
616
|
</ft-typography>
|
|
617
617
|
</button>
|
|
618
618
|
`)))}
|
|
619
619
|
<div class="ft-tabs--active-tab-indicator"
|
|
620
620
|
part="active-tab-indicator"
|
|
621
|
-
style="${
|
|
621
|
+
style="${o?`background-color: ${o} !important;`:""}">
|
|
622
622
|
</div>
|
|
623
623
|
</div>
|
|
624
624
|
<div class="ft-tabs--content" part="content">
|
|
625
625
|
<slot @slotchange=${this.onContentChange}></slot>
|
|
626
626
|
</div>
|
|
627
627
|
</div>
|
|
628
|
-
`}onContentChange(t){const
|
|
628
|
+
`}onContentChange(t){const e=t.composedPath()[0];this.ftTabs=e.assignedElements().map((t=>t)),this.ftTabs.forEach((t=>{t.removeEventListener("updated",this.onTabUpdated),t.addEventListener("updated",this.onTabUpdated)})),this.updateTabs()}update(t){super.update(t),t.has("activeIndex")&&this.dispatchEvent(new Ue),(t.has("ftTabs")||t.has("activeIndex"))&&this.updateTabs(),t.has("activeIndex")&&this.dispatchEvent(new In(this.activeIndex))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.tabsContainer&&this.resizeObserver.observe(this.tabsContainer),this.placeIndicator()}placeIndicator(){var t,e,o,i,r,n,a;if(this.activeTabIndicator){const s=null!==(e=null===(t=this.activeTab)||void 0===t?void 0:t.closest(".ft-tabs--tab-tooltip"))&&void 0!==e?e:this.activeTab;this.activeTabIndicator.style.width=(null!==(o=null==s?void 0:s.clientWidth)&&void 0!==o?o:0)+"px",this.activeTabIndicator.style.left=(null!==(i=null==s?void 0:s.offsetLeft)&&void 0!==i?i:0)+"px",this.contentBefore?this.activeTabIndicator.style.top=(null!==(r=null==s?void 0:s.offsetTop)&&void 0!==r?r:0)+"px":this.activeTabIndicator.style.top=(null!==(n=null==s?void 0:s.offsetTop)&&void 0!==n?n:0)+(null!==(a=null==s?void 0:s.clientHeight)&&void 0!==a?a:0)-this.activeTabIndicator.clientHeight+"px"}}updateTabs(){this.ftTabs.forEach(((t,e)=>{t.active=e==this.activeIndex}))}addTooltipIfNecessary(t,e){return this.dense&&t.label&&t.icon?re`
|
|
629
629
|
<ft-tooltip class="ft-tabs--tab-tooltip"
|
|
630
630
|
part="tab-tooltip"
|
|
631
631
|
text="${t.label}"
|
|
632
632
|
position="${this.contentBefore?"top":"bottom"}">
|
|
633
|
-
${
|
|
633
|
+
${e}
|
|
634
634
|
</ft-tooltip>
|
|
635
|
-
`:
|
|
635
|
+
`:e}}kn.elementDefinitions={"ft-tab":qe,"ft-ripple":Uo,"ft-tooltip":Un,"ft-typography":ir,"ft-icon":br},kn.styles=xr,$n([w({type:Boolean})],kn.prototype,"dense",void 0),$n([w({type:Boolean})],kn.prototype,"contentBefore",void 0),$n([w()],kn.prototype,"alignTabs",void 0),$n([C()],kn.prototype,"ftTabs",void 0),$n([U("[role='tablist']")],kn.prototype,"tabsContainer",void 0),$n([U("[aria-selected='true']")],kn.prototype,"activeTab",void 0),$n([U(".ft-tabs--active-tab-indicator")],kn.prototype,"activeTabIndicator",void 0),$n([w({type:Number,reflect:!0})],kn.prototype,"activeIndex",void 0);k("ft-tab")(qe),k("ft-tabs")(kn),t.FtTab=qe,t.FtTabCssVariables={},t.FtTabs=kn,t.FtTabsCssVariables=mr,t.IndexChangeEvent=In,t.styles=xr}({});
|