@fluid-topics/ft-filter 1.1.25 → 1.1.27
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-filter.light.js +121 -121
- package/build/ft-filter.min.js +205 -205
- package/package.json +10 -10
package/build/ft-filter.min.js
CHANGED
|
@@ -12,23 +12,23 @@
|
|
|
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,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);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=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(mn){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
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,i=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(i&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=n.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return a(o)})(t):t
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:
|
|
25
|
+
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...f(t),...h(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[m("elementProperties")]=new Map,S[m("finalized")]=new Map,b?.({ReactiveElement:S}),(u.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 w={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},N=(t=w,e
|
|
31
|
+
const w={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},N=(t=w,o,e)=>{const{kind:i,metadata:r}=e;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(e.name,t),"accessor"===i){const{name:i}=e;return{set(e){const r=o.get.call(this);o.set.call(this,e),this.requestUpdate(i,r,t)},init(o){return void 0!==o&&this.C(i,void 0,t),o}}}if("setter"===i){const{name:i}=e;return function(e){const r=this[i];o.call(this,e),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function $(t){return(o,e)=>"object"==typeof e?N(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
@@ -38,60 +38,60 @@ const w={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},N=(t=w,e,
|
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/function k(t){return(e
|
|
41
|
+
*/function k(t){return(o,e)=>{const i="function"==typeof o?o:o[e];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
|
|
46
|
+
*/const E=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
-
*/;function
|
|
51
|
+
*/;function R(t,o){return(e,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof i?e:r??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return E(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return E(0,0,{get(){return n(this)}})}}
|
|
52
52
|
/**
|
|
53
53
|
* @license
|
|
54
54
|
* Copyright 2017 Google LLC
|
|
55
55
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
-
*/let U;function I(t,
|
|
56
|
+
*/let U;function I(t,o){return t.flatMap((t=>[t,...I(o(t),o)]))}function W(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!W(t[i],o[i]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;for(i of t.entries())if(!W(i[1],o.get(i[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(r=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(i=e;0!=i--;)if(!Object.prototype.hasOwnProperty.call(o,r[i]))return!1;for(i=e;0!=i--;){var n=r[i];if(!W(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const L=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function z(t,o){const e=()=>JSON.parse(JSON.stringify(t));return $({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!W(t,o),...null!=o?o:{}})}
|
|
57
57
|
/**
|
|
58
58
|
* @license
|
|
59
59
|
* Copyright 2017 Google LLC
|
|
60
60
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
-
*/const
|
|
61
|
+
*/const K=globalThis,F=K.trustedTypes,D=F?F.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",B=`lit$${(Math.random()+"").slice(9)}$`,A="?"+B,M=`<${A}>`,H=document,P=()=>H.createComment(""),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,_=t=>T(t)||"function"==typeof t?.[Symbol.iterator],G="[ \t\n\f\r]",V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Y=/-->/g,J=/>/g,q=RegExp(`>|${G}(?:([^\\s"'>=/]+)(${G}*=${G}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,Q=/"/g,tt=/^(?:script|style|textarea|title)$/i,ot=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),et=Symbol.for("lit-noChange"),it=Symbol.for("lit-nothing"),rt=new WeakMap,nt=H.createTreeWalker(H,129);function at(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==D?D.createHTML(o):o}const st=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=V;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===V?"!--"===l[1]?a=Y:void 0!==l[1]?a=J:void 0!==l[2]?(tt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=q):void 0!==l[3]&&(a=q):a===q?">"===l[0]?(a=r??V,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?q:'"'===l[3]?Q:X):a===Q||a===X?a=q:a===Y||a===J?a=V:(a=q,r=void 0);const f=a===q&&t[o+1].startsWith("/>")?" ":"";n+=a===V?e+M:c>=0?(i.push(s),e.slice(0,c)+Z+e.slice(c)+B+f):e+B+(-2===c?o:f)}return[at(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};let lt=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=st(o,e);if(this.el=t.createElement(c,i),nt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=nt.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Z)){const o=p[a++],e=r.getAttribute(t).split(B),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?dt:"?"===i[1]?ut:"@"===i[1]?yt:ht}),r.removeAttribute(t)}else t.startsWith(B)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(tt.test(r.tagName)){const t=r.textContent.split(B),o=t.length-1;if(o>0){r.textContent=F?F.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],P()),nt.nextNode(),l.push({type:2,index:++n});r.append(t[o],P())}}}else if(8===r.nodeType)if(r.data===A)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(B,t+1));)l.push({type:7,index:n}),t+=B.length-1}n++}}static createElement(t,o){const e=H.createElement("template");return e.innerHTML=t,e}};function ct(t,o,e=t,i){if(o===et)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=j(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=ct(t,r._$AS(t,o.values),r,i)),o}let pt=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??H).importNode(o,!0);nt.currentNode=i;let r=nt.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new ft(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new gt(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=nt.nextNode(),n++)}return nt.currentNode=H,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},ft=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=it,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ct(this,t,o),j(t)?t===it||null==t||""===t?(this._$AH!==it&&this._$AR(),this._$AH=it):t!==this._$AH&&t!==et&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):_(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!==it&&j(this._$AH)?this._$AA.nextSibling.data=t:this.$(H.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=lt.createElement(at(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new pt(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=rt.get(t.strings);return void 0===o&&rt.set(t.strings,o=new lt(t)),o}T(o){T(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(P()),this.k(P()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ht=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=it,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=it}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=ct(this,t,o,0),n=!j(t)||t!==this._$AH&&t!==et,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ct(this,i[e+a],o,a),s===et&&(s=this._$AH[a]),n||=!j(s)||s!==this._$AH[a],s===it?t=it:t!==it&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===it?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},dt=class extends ht{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===it?void 0:t}},ut=class extends ht{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==it)}},yt=class extends ht{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=ct(this,t,o,0)??it)===et)return;const e=this._$AH,i=t===it&&e!==it||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==it&&(e===it||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},gt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ct(this,t)}};const bt={j:Z,P:B,A,C:1,M:st,L:pt,R:_,V:ct,D:ft,I:ht,H:ut,N:yt,U:dt,B:gt},mt=K.litHtmlPolyfillSupport;mt?.(lt,ft),(K.litHtmlVersions??=[]).push("3.1.0");
|
|
62
62
|
/**
|
|
63
63
|
* @license
|
|
64
64
|
* Copyright 2019 Google LLC
|
|
65
65
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
66
66
|
*/
|
|
67
|
-
const xt=globalThis,vt=xt.ShadowRoot&&(void 0===xt.ShadyCSS||xt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ot=Symbol(),St=new WeakMap;let wt=class{constructor(t,e
|
|
67
|
+
const xt=globalThis,vt=xt.ShadowRoot&&(void 0===xt.ShadyCSS||xt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ot=Symbol(),St=new WeakMap;let wt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==Ot)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(vt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=St.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&St.set(o,t))}return t}toString(){return this.cssText}};const Nt=t=>new wt("string"==typeof t?t:t+"",void 0,Ot),$t=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,i)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[i+1]),t[0]);return new wt(e,t,Ot)},Ct=vt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return Nt(o)})(t):t
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
|
70
70
|
* Copyright 2017 Google LLC
|
|
71
71
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
|
-
*/,{is:kt,defineProperty:
|
|
72
|
+
*/,{is:kt,defineProperty:Et,getOwnPropertyDescriptor:Rt,getOwnPropertyNames:Ut,getOwnPropertySymbols:It,getPrototypeOf:Wt}=Object,Lt=globalThis,zt=Lt.trustedTypes,Kt=zt?zt.emptyScript:"",Ft=Lt.reactiveElementPolyfillSupport,Dt=(t,o)=>t,Zt={toAttribute(t,o){switch(o){case Boolean:t=t?Kt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Bt=(t,o)=>!kt(t,o),At={attribute:!0,type:String,converter:Zt,reflect:!1,hasChanged:Bt};Symbol.metadata??=Symbol("metadata"),Lt.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,o=At){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&Et(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=Rt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??At}static _$Ei(){if(this.hasOwnProperty(Dt("elementProperties")))return;const t=Wt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Dt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Dt("properties"))){const t=this.properties,o=[...Ut(t),...It(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(Ct(t))}else void 0!==t&&o.push(Ct(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(vt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=xt.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:Zt).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Zt;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Bt)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Mt.elementStyles=[],Mt.shadowRootOptions={mode:"open"},Mt[Dt("elementProperties")]=new Map,Mt[Dt("finalized")]=new Map,Ft?.({ReactiveElement:Mt}),(Lt.reactiveElementVersions??=[]).push("2.0.2");
|
|
73
73
|
/**
|
|
74
74
|
* @license
|
|
75
75
|
* Copyright 2017 Google LLC
|
|
76
76
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
77
77
|
*/
|
|
78
|
-
const
|
|
78
|
+
const Ht=globalThis,Pt=Ht.trustedTypes,jt=Pt?Pt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Tt="$lit$",_t=`lit$${(Math.random()+"").slice(9)}$`,Gt="?"+_t,Vt=`<${Gt}>`,Yt=document,Jt=()=>Yt.createComment(""),qt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Xt=Array.isArray,Qt="[ \t\n\f\r]",to=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,oo=/-->/g,eo=/>/g,io=RegExp(`>|${Qt}(?:([^\\s"'>=/]+)(${Qt}*=${Qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ro=/'/g,no=/"/g,ao=/^(?:script|style|textarea|title)$/i,so=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),lo=Symbol.for("lit-noChange"),co=Symbol.for("lit-nothing"),po=new WeakMap,fo=Yt.createTreeWalker(Yt,129);function ho(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==jt?jt.createHTML(o):o}const uo=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=to;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===to?"!--"===l[1]?a=oo:void 0!==l[1]?a=eo:void 0!==l[2]?(ao.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=io):void 0!==l[3]&&(a=io):a===io?">"===l[0]?(a=r??to,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?io:'"'===l[3]?no:ro):a===no||a===ro?a=io:a===oo||a===eo?a=to:(a=io,r=void 0);const f=a===io&&t[o+1].startsWith("/>")?" ":"";n+=a===to?e+Vt:c>=0?(i.push(s),e.slice(0,c)+Tt+e.slice(c)+_t+f):e+_t+(-2===c?o:f)}return[ho(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class yo{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=uo(t,o);if(this.el=yo.createElement(l,e),fo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=fo.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Tt)){const o=c[n++],e=i.getAttribute(t).split(_t),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?xo:"?"===a[1]?vo:"@"===a[1]?Oo:mo}),i.removeAttribute(t)}else t.startsWith(_t)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(ao.test(i.tagName)){const t=i.textContent.split(_t),o=t.length-1;if(o>0){i.textContent=Pt?Pt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Jt()),fo.nextNode(),s.push({type:2,index:++r});i.append(t[o],Jt())}}}else if(8===i.nodeType)if(i.data===Gt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(_t,t+1));)s.push({type:7,index:r}),t+=_t.length-1}r++}}static createElement(t,o){const e=Yt.createElement("template");return e.innerHTML=t,e}}function go(t,o,e=t,i){if(o===lo)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=qt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=go(t,r._$AS(t,o.values),r,i)),o}class bo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=co,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=go(this,t,o),qt(t)?t===co||null==t||""===t?(this._$AH!==co&&this._$AR(),this._$AH=co):t!==this._$AH&&t!==lo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Xt(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!==co&&qt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Yt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=yo.createElement(ho(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Yt).importNode(o,!0);fo.currentNode=i;let r=fo.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new bo(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new So(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=fo.nextNode(),n++)}return fo.currentNode=Yt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=po.get(t.strings);return void 0===o&&po.set(t.strings,o=new yo(t)),o}T(t){Xt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new bo(this.k(Jt()),this.k(Jt()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class mo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=co,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=co}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=go(this,t,o,0),n=!qt(t)||t!==this._$AH&&t!==lo,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=go(this,i[e+a],o,a),s===lo&&(s=this._$AH[a]),n||=!qt(s)||s!==this._$AH[a],s===co?t=co:t!==co&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===co?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class xo extends mo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===co?void 0:t}}class vo extends mo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==co)}}class Oo extends mo{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=go(this,t,o,0)??co)===lo)return;const e=this._$AH,i=t===co&&e!==co||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==co&&(e===co||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class So{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){go(this,t)}}const wo=Ht.litHtmlPolyfillSupport;wo?.(yo,bo),(Ht.litHtmlVersions??=[]).push("3.1.0");
|
|
79
79
|
/**
|
|
80
80
|
* @license
|
|
81
81
|
* Copyright 2017 Google LLC
|
|
82
82
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
83
83
|
*/
|
|
84
|
-
let we=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 ge(e.insertBefore(Jt(),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 le}};we._$litElement$=!0,we.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:we});const Ne=globalThis.litElementPolyfillSupport;Ne?.({LitElement:we}),(globalThis.litElementVersions??=[]).push("4.0.2");const $e=t=>"string"==typeof t?Nt(t):t;class Ce{static create(t,e,o,i){const r=t=>$e(null!=t?t:i),n=$t`var(${$e(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>$t`var(${$e(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=$t`var(${$e(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=>$t`var(${$e(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):$e(null!=e?e:t.lastResortDefaultValue()),i=$t`var(${$e(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=>$t`var(${$e(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function ke(t,e){return $e(`${t.name}: ${e}`)}const Re={colorWhite:Ce.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ce.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ce.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ce.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ce.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ce.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ce.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ce.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ce.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ce.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ce.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ce.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ce.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ce.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ce.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ce.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ce.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ce.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ce.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ce.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ce.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ce.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ce.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ce.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ce.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ce.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ce.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ce.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ce.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ce.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ce.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ce.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ce.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ce.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ce.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ce.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ce.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ce.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ce.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ce.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ce.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ce.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ce.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ce.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ce.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ce.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ce.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ce.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ce.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ce.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ce.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ce.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ce.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ce.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ce.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ce.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ce.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ce.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ce.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ce.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ce.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ce.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ce.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ce.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ce.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ce.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ce.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ce.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ce.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ce.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ce.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ce.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ce.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ce.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ce.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ce.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ce.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ce.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ce.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ce.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ce.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ce.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ce.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ce.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ce.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ce.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ce.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ce.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ce.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ce.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ce.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ce.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ce.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ce.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ce.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ce.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ce.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ce.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ce.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ce.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ce.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ce.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ce.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ce.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ce.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ce.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ce.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ce.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ce.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ce.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ce.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ce.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ce.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ce.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ce.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ce.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ce.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ce.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ce.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ce.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ce.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ce.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ce.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ce.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ce.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ce.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ce.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ce.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ce.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ce.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ce.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ce.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ce.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ce.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ce.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ce.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ce.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ce.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ce.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ce.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ce.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ce.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ce.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ce.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ce.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ce.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ce.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ce.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ce.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ce.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ce.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ce.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ce.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ce.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ce.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ce.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ce.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ce.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ce.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ce.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ce.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ce.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ce.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ce.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ce.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ce.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ce.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ce.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ce.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ce.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ce.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ce.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ce.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ce.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ce.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ce.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ce.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ce.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ce.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ce.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ce.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ce.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ce.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ce.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ce.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ce.create("--ft-opacity-80","","NUMBER","0.8")},Ee={display:{fontFamily:Ce.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ce.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ce.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ce.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ce.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ce.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ce.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ce.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ce.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ce.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ce.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ce.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ce.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ce.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ce.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ce.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ce.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ce.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ce.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ce.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ce.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ce.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ce.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ce.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ce.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ce.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ce.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ce.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ce.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ue={backgroundActionPrimary:Ce.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Re.colorBrand0),backgroundErrorPrimary:Ce.extend("--ft-background-error-primary","Used as background of error components.",Re.colorRed0),backgroundErrorSubtle:Ce.extend("--ft-background-error-subtle","Used as background of subtle error components.",Re.colorRed10),backgroundInfoPrimary:Ce.extend("--ft-background-info-primary","Used as background of information components.",Re.colorCyan200),backgroundInfoSubtle:Ce.extend("--ft-background-info-subtle","Used as background of subtle information components.",Re.colorCyan10),backgroundWarningPrimary:Ce.extend("--ft-background-warning-primary","Used as background of warning components.",Re.colorOrange300),backgroundWarningSubtle:Ce.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Re.colorOrange10),backgroundSuccessPrimary:Ce.extend("--ft-background-success-primary","Used as background of success components.",Re.colorGreen200),backgroundSuccessSubtle:Ce.extend("--ft-background-success-subtle","Used as background of subtle success components.",Re.colorGreen10),backgroundGlobalSurface:Ce.extend("--ft-background-global-surface","Used as app background.",Re.colorWhite),backgroundGlobalOnSurface:Ce.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Re.colorGray10),backgroundGlobalOnSurfaceDark:Ce.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Re.colorGray30),contentActionPrimary:Ce.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Re.colorBrand0),contentWarningPrimary:Ce.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Re.colorOrange300),contentWarningIconOnly:Ce.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Re.colorOrange0),contentErrorPrimary:Ce.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Re.colorRed0),contentErrorIconOnly:Ce.extend("--ft-content-error-icon-only","Used on error status icons alone",Re.colorRed0),contentInfoPrimary:Ce.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Re.colorCyan200),contentInfoIconOnly:Ce.extend("--ft-content-info-icon-only","Used on info status icons alone",Re.colorCyan0),contentSuccessIconOnly:Ce.extend("--ft-content-success-icon-only","Used on success status icons alone",Re.colorGreen0),contentSuccessPrimary:Ce.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Re.colorGreen200),contentGlobalPrimary:Ce.extend("--ft-content-global-primary","Used for main content on the page.",Re.colorGray500),contentGlobalSecondary:Ce.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Re.colorGray200),contentGlobalSubtle:Ce.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Re.colorGray0),contentGlobalOnColor:Ce.extend("--ft-content-global-on-color","Used for content on a dominant color.",Re.colorWhite),borderActionPrimary:Ce.extend("--ft-border-action-primary","Used as border for primary action components.",Re.colorBrand0),borderActionFocusRing:Ce.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Re.colorCyan0),borderWarningPrimary:Ce.extend("--ft-border-warning-primary","Used as border for warning components.",Re.colorOrange30),borderSuccessPrimary:Ce.extend("--ft-border-success-primary","Used as border for success components.",Re.colorGreen30),borderErrorPrimary:Ce.extend("--ft-border-error-primary","Used as border for error components.",Re.colorRed30),borderInfoPrimary:Ce.extend("--ft-border-info-primary","Used as border for information components.",Re.colorCyan30),borderGlobalSubtle:Ce.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Re.colorGray30),borderGlobalPrimary:Ce.extend("--ft-border-global-primary","Used as border for element like input.",Re.colorGray50),borderInputPrimary:Ce.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Re.colorGray80)},Ie={largeHeight:Ce.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ce.extend("--ft-button-large-horizontal-padding","",Re.spacing4),largeGap:Ce.extend("--ft-button-large-gap","",Re.spacing2),largeBorderRadius:Ce.extend("--ft-button-large-border-radius","",Re.borderRadiusS),largeIconSize:Ce.extend("--ft-button-large-icon-size","",Re.iconSize3),largeBorderWidth:Ce.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ce.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ce.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ce.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ce.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ce.extend("--ft-button-small-horizontal-padding","",Re.spacing3),smallGap:Ce.extend("--ft-button-small-gap","",Re.spacing2),smallBorderRadius:Ce.extend("--ft-button-small-border-radius","",Re.borderRadiusS),smallIconSize:Ce.extend("--ft-button-small-icon-size","",Re.iconSize2),smallBorderWidth:Ce.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ce.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ce.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ce.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ce.extend("--ft-button-primary-background-color","",Ue.backgroundActionPrimary),primaryColor:Ce.extend("--ft-button-primary-color","",Ue.contentGlobalOnColor),primaryIconColor:Ce.extend("--ft-button-primary-icon-color","",Ue.contentGlobalOnColor),primaryStateLayerColor:Ce.extend("--ft-button-primary-state-layer-color","",Ue.contentGlobalOnColor),primaryStateLayerOpacityHover:Ce.extend("--ft-button-primary-state-layer-opacity-hover","",Re.opacity16),primaryStateLayerOpacityFocus:Ce.extend("--ft-button-primary-state-layer-opacity-focus","",Re.opacity16),primaryStateLayerOpacityActive:Ce.extend("--ft-button-primary-state-layer-opacity-active","",Re.opacity24),primaryComponentOpacityDisabled:Ce.extend("--ft-button-primary-component-opacity-disabled","",Re.opacity40),focusFocusRingColor:Ce.extend("--ft-button-focus-focus-ring-color","",Ue.borderActionFocusRing),tertiaryBackgroundColor:Ce.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ce.extend("--ft-button-tertiary-color","",Ue.contentActionPrimary),tertiaryIconColor:Ce.extend("--ft-button-tertiary-icon-color","",Ue.contentActionPrimary),tertiaryStateLayerColor:Ce.extend("--ft-button-tertiary-state-layer-color","",Ue.contentActionPrimary),tertiaryStateLayerOpacityHover:Ce.extend("--ft-button-tertiary-state-layer-opacity-hover","",Re.opacity8),tertiaryStateLayerOpacityFocus:Ce.extend("--ft-button-tertiary-state-layer-opacity-focus","",Re.opacity8),tertiaryStateLayerOpacityActive:Ce.extend("--ft-button-tertiary-state-layer-opacity-active","",Re.opacity16),tertiaryComponentOpacityDisabled:Ce.extend("--ft-button-tertiary-component-opacity-disabled","",Re.opacity40),secondaryBackgroundColor:Ce.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ce.extend("--ft-button-secondary-color","",Ue.contentActionPrimary),secondaryIconColor:Ce.extend("--ft-button-secondary-icon-color","",Ue.contentActionPrimary),secondaryStateLayerColor:Ce.extend("--ft-button-secondary-state-layer-color","",Ue.contentActionPrimary),secondaryStateLayerOpacityHover:Ce.extend("--ft-button-secondary-state-layer-opacity-hover","",Re.opacity8),secondaryStateLayerOpacityFocus:Ce.extend("--ft-button-secondary-state-layer-opacity-focus","",Re.opacity8),secondaryStateLayerOpacityActive:Ce.extend("--ft-button-secondary-state-layer-opacity-active","",Re.opacity16),secondaryComponentOpacityDisabled:Ce.extend("--ft-button-secondary-component-opacity-disabled","",Re.opacity40),secondaryBorderColor:Ce.extend("--ft-button-secondary-border-color","",Ue.borderActionPrimary),neutralBackgroundColor:Ce.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ce.extend("--ft-button-neutral-icon-color","",Ue.contentGlobalSecondary),neutralColor:Ce.extend("--ft-button-neutral-color","",Ue.contentGlobalSecondary),neutralStateLayerColor:Ce.extend("--ft-button-neutral-state-layer-color","",Ue.contentGlobalSecondary),neutralStateLayerOpacityHover:Ce.extend("--ft-button-neutral-state-layer-opacity-hover","",Re.opacity8),neutralStateLayerOpacityFocus:Ce.extend("--ft-button-neutral-state-layer-opacity-focus","",Re.opacity8),neutralStateLayerOpacityActive:Ce.extend("--ft-button-neutral-state-layer-opacity-active","",Re.opacity16),neutralComponentOpacityDisabled:Ce.extend("--ft-button-neutral-component-opacity-disabled","",Re.opacity40)};Ce.extend("--ft-tabs-top-left-border-radius","",Re.borderRadiusS),Ce.extend("--ft-tabs-top-right-border-radius","",Re.borderRadiusS),Ce.extend("--ft-tabs-label-horizontal-padding","",Re.spacing4),Ce.extend("--ft-tabs-label-vertical-padding","",Re.spacing3),Ce.extend("--ft-tabs-label-gap","",Re.spacing1),Ce.extend("--ft-switch-group-horizontal-padding","",Re.spacing1),Ce.extend("--ft-switch-group-vertical-padding","",Re.spacing1),Ce.extend("--ft-switch-group-gap","",Re.spacing1),Ce.extend("--ft-switch-group-background-color","",Ue.backgroundGlobalSurface),Ce.extend("--ft-switch-group-border-color","",Ue.borderGlobalSubtle),Ce.create("--ft-switch-group-border-radius","","SIZE","6px"),Ce.extend("--ft-switch-label-horizontal-padding","",Re.spacing2),Ce.extend("--ft-switch-label-vertical-padding","",Re.spacing1),Ce.extend("--ft-switch-icon-horizontal-padding","",Re.spacing1),Ce.extend("--ft-switch-icon-vertical-padding","",Re.spacing1),Ce.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-switch-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.extend("--ft-switch-option-border-radius","",Re.borderRadiusS),Ce.extend("--ft-switch-off-state-layer-opacity-hover","",Re.opacity8),Ce.extend("--ft-switch-off-state-layer-opacity-focus","",Re.opacity8),Ce.extend("--ft-switch-off-state-layer-opacity-active","",Re.opacity16),Ce.extend("--ft-switch-off-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-switch-off-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-switch-off-state-layer-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-chart-1-light","for area color charts",Re.colorBrand40),Ce.extend("--ft-chart-1-base","for line charts",Re.colorBrand0),Ce.extend("--ft-chart-2-light","for area color charts",Re.colorYellow60),Ce.extend("--ft-chart-2-base","for line charts",Re.colorYellow100),Ce.extend("--ft-chart-3-light","",Re.colorUltramarine40),Ce.extend("--ft-chart-3-base","",Re.colorUltramarine70),Ce.extend("--ft-chart-4-light","",Re.colorCyan50),Ce.extend("--ft-chart-4-base","",Re.colorCyan100),Ce.extend("--ft-chart-5-light","",Re.colorRed40),Ce.extend("--ft-chart-5-base","",Re.colorRed60),Ce.extend("--ft-chart-6-light","",Re.colorGreen40),Ce.extend("--ft-chart-6-base","",Re.colorGreen70),Ce.extend("--ft-chart-7-light","",Re.colorOrange70),Ce.extend("--ft-chart-7-base","",Re.colorOrange100),Ce.extend("--ft-chart-8-light","",Re.colorAvocado70),Ce.extend("--ft-chart-8-base","",Re.colorAvocado200),Ce.extend("--ft-chart-9-light","",Re.colorBrown50),Ce.extend("--ft-chart-9-base","",Re.colorBrown200),Ce.extend("--ft-chart-10-light","",Re.colorGray50),Ce.extend("--ft-chart-10-base","",Re.colorGray80),Ce.extend("--ft-chart-monochrome-10","",Re.colorBrand10),Ce.extend("--ft-chart-monochrome-20","",Re.colorBrand20),Ce.extend("--ft-chart-monochrome-30","",Re.colorBrand40),Ce.extend("--ft-chart-monochrome-40","",Re.colorBrand60),Ce.extend("--ft-chart-monochrome-50","",Re.colorBrand0),Ce.extend("--ft-chart-monochrome-60","",Re.colorBrand200),Ce.extend("--ft-chip-large-horizontal-padding","",Re.spacing4),Ce.extend("--ft-chip-large-vertical-padding","",Re.spacing2),Ce.extend("--ft-chip-large-gap","",Re.spacing1),Ce.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-large-border-radius","",Re.borderRadiusPill),Ce.create("--ft-chip-large-border-width","","SIZE","1px"),Ce.extend("--ft-chip-large-icon-size","",Re.iconSize3),Ce.extend("--ft-chip-medium-horizontal-padding","",Re.spacing3),Ce.extend("--ft-chip-medium-vertical-padding","",Re.spacing1),Ce.extend("--ft-chip-medium-gap","",Re.spacing1),Ce.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-medium-border-radius","",Re.borderRadiusPill),Ce.create("--ft-chip-medium-border-width","","SIZE","1px"),Ce.extend("--ft-chip-medium-icon-size","",Re.iconSize2),Ce.extend("--ft-chip-small-horizontal-padding","",Re.spacing2),Ce.extend("--ft-chip-small-vertical-padding","",Re.spacing05),Ce.extend("--ft-chip-small-gap","",Re.spacing1),Ce.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-small-border-radius","",Re.borderRadiusPill),Ce.create("--ft-chip-small-border-width","","SIZE","1px"),Ce.extend("--ft-chip-small-icon-size","",Re.iconSize1),Ce.extend("--ft-chip-neutral-background-color","",Ue.backgroundGlobalOnSurface),Ce.extend("--ft-chip-neutral-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-chip-neutral-border-color","",Ue.borderGlobalSubtle),Ce.extend("--ft-chip-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-chip-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-chip-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-chip-success-background-color","",Ue.backgroundSuccessSubtle),Ce.extend("--ft-chip-success-color","",Ue.contentSuccessPrimary),Ce.extend("--ft-chip-success-border-color","",Ue.borderSuccessPrimary),Ce.extend("--ft-chip-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-chip-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-chip-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-chip-error-background-color","",Ue.backgroundErrorSubtle),Ce.extend("--ft-chip-error-color","",Ue.contentErrorPrimary),Ce.extend("--ft-chip-error-border-color","",Ue.borderErrorPrimary),Ce.create("--ft-notice-border-width","","SIZE","1px"),Ce.extend("--ft-notice-horizontal-padding","",Re.spacing2),Ce.extend("--ft-notice-vertical-padding","",Re.spacing1),Ce.extend("--ft-notice-border-radius","",Re.borderRadiusS),Ce.extend("--ft-notice-gap","",Re.spacing2),Ce.extend("--ft-notice-icon-size","",Re.iconSize3),Ce.extend("--ft-notice-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-notice-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-notice-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-notice-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-notice-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-notice-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-checkbox-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-checkbox-checked-background-color","",Ue.contentActionPrimary),Ce.extend("--ft-checkbox-checked-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-checkbox-checked-color","",Ue.contentGlobalOnColor),Ce.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-checkbox-checked-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-checkbox-checked-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-checkbox-unchecked-border-color","",Re.colorGray80),Ce.extend("--ft-checkbox-unchecked-state-layer-color","",Re.colorGray80),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-checkbox-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ce.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-checkbox-gap","",Re.spacing3),Ce.extend("--ft-toggle-off-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-toggle-off-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-toggle-off-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-toggle-off-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-toggle-off-background-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-off-icon-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-off-state-layer-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-on-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-toggle-on-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-toggle-on-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-toggle-on-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-toggle-on-background-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-on-icon-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-on-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-toggle-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.extend("--ft-toggle-gap","",Re.spacing3),Ce.extend("--ft-radio-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-radio-selected-color","",Ue.contentActionPrimary),Ce.extend("--ft-radio-selected-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-radio-selected-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-radio-selected-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-radio-selected-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-radio-selected-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-radio-unselected-state-layer-color","",Re.colorGray80),Ce.extend("--ft-radio-unselected-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-radio-unselected-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-radio-unselected-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-radio-unselected-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-radio-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ce.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-radio-gap","",Re.spacing3),Ce.extend("--ft-notification-icon-size","",Re.iconSize4),Ce.extend("--ft-notification-horizontal-padding","",Re.spacing4),Ce.extend("--ft-notification-vertical-padding","",Re.spacing4),Ce.extend("--ft-notification-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-notification-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-notification-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-notification-success-background-color","",Ue.backgroundSuccessSubtle),Ce.extend("--ft-notification-success-color","",Ue.contentSuccessPrimary),Ce.extend("--ft-notification-success-border-color","",Ue.borderSuccessPrimary),Ce.extend("--ft-notification-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-notification-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-notification-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-notification-error-background-color","",Ue.backgroundErrorSubtle),Ce.extend("--ft-notification-error-color","",Ue.contentErrorPrimary),Ce.extend("--ft-notification-error-border-color","",Ue.borderErrorPrimary),Ce.extend("--ft-notification-border-radius","",Re.borderRadiusPill),Ce.create("--ft-notification-border-width","","SIZE","1px"),Ce.extend("--ft-notification-gap-leading","",Re.spacing2),Ce.extend("--ft-notification-gap-trailing","",Re.spacing8);const Le={colorPrimary:Ce.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ce.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ce.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ce.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ce.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ce.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ce.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ce.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ce.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ce.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ce.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ce.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ce.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ce.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ce.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ce.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ce.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ce.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ce.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ce.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ce.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ce.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ce.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ce.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ce.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ce.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ce.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ce.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ce.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ce.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ce.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ce.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ce.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ce.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ce.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ce.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ce.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ce.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ce.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ce.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ce.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ce.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ce.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ce.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ce.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ce.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ce.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ce.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ce.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ce.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ce.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},We=["start","end"],ze=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+We[0],e+"-"+We[1])),[]),Fe=Math.min,Ke=Math.max,Be=Math.round,Ze=t=>({x:t,y:t}),De={left:"right",right:"left",bottom:"top",top:"bottom"},Ae={start:"end",end:"start"};function Me(t,e,o){return Ke(t,Fe(e,o))}function Pe(t,e){return"function"==typeof t?t(e):t}function He(t){return t.split("-")[0]}function je(t){return t.split("-")[1]}function Te(t){return"x"===t?"y":"x"}function _e(t){return"y"===t?"height":"width"}function Ge(t){return["top","bottom"].includes(He(t))?"y":"x"}function Ve(t){return Te(Ge(t))}function Ye(t){return t.replace(/left|right|bottom|top/g,(t=>De[t]))}function Je(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function qe(t,e,o){let{reference:i,floating:r}=t;const n=Ge(e),a=Ve(e),s=_e(a),l=He(e),c="y"===n,f=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,p=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:h};break;case"left":d={x:i.x-r.width,y:h};break;default:d={x:i.x,y:i.y}}switch(je(e)){case"start":d[a]-=p*(o&&c?-1:1);break;case"end":d[a]+=p*(o&&c?-1:1)}return d}async function Xe(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:f="viewport",elementContext:h="floating",altBoundary:p=!1,padding:d=0}=Pe(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[p?"floating"===h?"reference":"floating":h],g=Je(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:f,strategy:l})),b="floating"===h?{...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},v=Je(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Qe(t,e,o){return(t?[...o.filter((e=>je(e)===t)),...o.filter((e=>je(e)!==t))]:o.filter((t=>He(t)===t))).filter((o=>!t||(je(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Ae[t]))}(o)!==o)))}const to=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:f=!1,alignment:h,allowedPlacements:p=ze,autoAlignment:d=!0,...u}=Pe(t,e),y=void 0!==h||p===ze?Qe(h||null,d,p):p,g=await Xe(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=je(t),r=Ve(t),n=_e(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ye(a)),[a,Ye(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[He(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const w=O.map((t=>{const e=je(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=w.filter((t=>t[2].slice(0,je(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||w[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function eo(t){return ro(t)?(t.nodeName||"").toLowerCase():"#document"}function oo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function io(t){var e;return null==(e=(ro(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function ro(t){return t instanceof Node||t instanceof oo(t).Node}function no(t){return t instanceof Element||t instanceof oo(t).Element}function ao(t){return t instanceof HTMLElement||t instanceof oo(t).HTMLElement}function so(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof oo(t).ShadowRoot)}function lo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=uo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function co(t){return["table","td","th"].includes(eo(t))}function fo(t){const e=ho(),o=uo(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 ho(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function po(t){return["html","body","#document"].includes(eo(t))}function uo(t){return oo(t).getComputedStyle(t)}function yo(t){return no(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function go(t){if("html"===eo(t))return t;const e=t.assignedSlot||t.parentNode||so(t)&&t.host||io(t);return so(e)?e.host:e}function bo(t){const e=go(t);return po(e)?t.ownerDocument?t.ownerDocument.body:t.body:ao(e)&&lo(e)?e:bo(e)}function mo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=bo(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=oo(r);return n?e.concat(a,a.visualViewport||[],lo(r)?r:[],a.frameElement&&o?mo(a.frameElement):[]):e.concat(r,mo(r,[],o))}function xo(t){const e=uo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ao(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Be(o)!==n||Be(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function vo(t){return no(t)?t:t.contextElement}function Oo(t){const e=vo(t);if(!ao(e))return Ze(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=xo(e);let a=(n?Be(o.width):o.width)/i,s=(n?Be(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const So=Ze(0);function wo(t){const e=oo(t);return ho()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:So}function No(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=vo(t);let a=Ze(1);e&&(i?no(i)&&(a=Oo(i)):a=Oo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==oo(t))&&e}(n,o,i)?wo(n):Ze(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,h=r.height/a.y;if(n){const t=oo(n),e=i&&no(i)?oo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Oo(o),e=o.getBoundingClientRect(),i=uo(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,f*=t.x,h*=t.y,l+=r,c+=n,o=oo(o).frameElement}}return Je({width:f,height:h,x:l,y:c})}function $o(t){return No(io(t)).left+yo(t).scrollLeft}function Co(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=oo(t),i=io(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=ho();(!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=io(t),o=yo(t),i=t.ownerDocument.body,r=Ke(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Ke(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+$o(t);const s=-o.scrollTop;return"rtl"===uo(i).direction&&(a+=Ke(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(io(t));else if(no(e))i=function(t,e){const o=No(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ao(t)?Oo(t):Ze(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=wo(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Je(i)}function ko(t,e){const o=go(t);return!(o===e||!no(o)||po(o))&&("fixed"===uo(o).position||ko(o,e))}function Ro(t,e,o){const i=ao(e),r=io(e),n="fixed"===o,a=No(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Ze(0);if(i||!i&&!n)if(("body"!==eo(e)||lo(r))&&(s=yo(e)),i){const t=No(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=$o(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Eo(t,e){return ao(t)&&"fixed"!==uo(t).position?e?e(t):t.offsetParent:null}function Uo(t,e){const o=oo(t);if(!ao(t))return o;let i=Eo(t,e);for(;i&&co(i)&&"static"===uo(i).position;)i=Eo(i,e);return i&&("html"===eo(i)||"body"===eo(i)&&"static"===uo(i).position&&!fo(i))?o:i||function(t){let e=go(t);for(;ao(e)&&!po(e);){if(fo(e))return e;e=go(e)}return null}(t)||o}const Io={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=ao(o),n=io(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Ze(1);const l=Ze(0);if((r||!r&&"fixed"!==i)&&(("body"!==eo(o)||lo(n))&&(a=yo(o)),ao(o))){const t=No(o);s=Oo(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:io,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=mo(t,[],!1).filter((t=>no(t)&&"body"!==eo(t))),r=null;const n="fixed"===uo(t).position;let a=n?go(t):t;for(;no(a)&&!po(a);){const e=uo(a),o=fo(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||lo(a)&&!o&&ko(t,a))?i=i.filter((t=>t!==a)):r=e,a=go(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Co(e,o,r);return t.top=Ke(i.top,t.top),t.right=Fe(i.right,t.right),t.bottom=Fe(i.bottom,t.bottom),t.left=Ke(i.left,t.left),t}),Co(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Uo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Uo,n=this.getDimensions;return{reference:Ro(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 xo(t)},getScale:Oo,isElement:no,isRTL:function(t){return"rtl"===uo(t).direction}},Lo=(t,e,o)=>{const i=new Map,r={platform:Io,...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:f,y:h}=qe(c,i,l),p=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:f,y:h,initialPlacement:i,placement:p,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,h=null!=b?b:h,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:h}=qe(c,p,l))),o=-1)}return{x:f,y:h,placement:p,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Wo(t){return function(t){for(let e=t;e;e=zo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=zo(t);e;e=zo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function zo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
84
|
+
let No=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 i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new bo(o.insertBefore(Jt(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return lo}};No._$litElement$=!0,No.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:No});const $o=globalThis.litElementPolyfillSupport;$o?.({LitElement:No}),(globalThis.litElementVersions??=[]).push("4.0.2");const Co=t=>"string"==typeof t?Nt(t):t;class ko{static create(t,o,e,i){const r=t=>Co(null!=t?t:i),n=$t`var(${Co(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>$t`var(${Co(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=$t`var(${Co(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>$t`var(${Co(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Co(null!=o?o:t.lastResortDefaultValue()),i=$t`var(${Co(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>$t`var(${Co(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Eo(t,o){return Co(`${t.name}: ${o}`)}const Ro={colorWhite:ko.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ko.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ko.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ko.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ko.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ko.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ko.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ko.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ko.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ko.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ko.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ko.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ko.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ko.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ko.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ko.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ko.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ko.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ko.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ko.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ko.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ko.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ko.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ko.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ko.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ko.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ko.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ko.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ko.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ko.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ko.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ko.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ko.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ko.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ko.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ko.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ko.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ko.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ko.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ko.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ko.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ko.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ko.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ko.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ko.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ko.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ko.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ko.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ko.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ko.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ko.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ko.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ko.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ko.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ko.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ko.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ko.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ko.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ko.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ko.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ko.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ko.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ko.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ko.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:ko.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:ko.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:ko.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:ko.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:ko.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:ko.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:ko.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:ko.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:ko.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:ko.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:ko.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:ko.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:ko.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:ko.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:ko.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ko.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ko.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ko.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ko.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ko.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ko.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ko.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ko.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ko.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ko.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ko.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ko.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ko.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ko.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ko.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ko.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ko.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ko.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ko.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ko.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ko.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ko.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ko.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ko.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ko.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ko.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ko.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ko.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ko.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ko.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ko.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ko.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ko.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ko.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ko.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ko.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ko.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ko.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ko.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ko.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ko.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ko.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ko.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ko.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ko.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ko.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ko.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ko.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ko.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ko.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ko.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ko.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ko.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ko.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ko.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ko.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ko.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ko.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ko.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ko.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ko.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ko.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ko.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ko.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ko.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ko.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ko.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ko.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ko.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ko.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ko.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ko.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ko.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ko.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ko.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ko.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ko.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ko.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ko.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ko.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ko.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ko.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ko.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ko.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ko.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ko.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ko.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ko.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ko.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ko.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ko.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ko.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ko.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ko.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ko.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ko.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ko.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ko.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ko.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ko.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ko.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ko.create("--ft-opacity-0","","NUMBER","0"),opacity8:ko.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ko.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ko.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ko.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ko.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:ko.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:ko.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:ko.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:ko.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:ko.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:ko.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:ko.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:ko.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:ko.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Uo={display:{fontFamily:ko.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ko.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ko.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ko.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:ko.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ko.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:ko.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ko.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:ko.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ko.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:ko.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ko.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:ko.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ko.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:ko.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ko.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:ko.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ko.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ko.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ko.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ko.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:ko.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ko.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ko.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ko.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:ko.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ko.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ko.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ko.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:ko.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ko.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ko.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ko.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ko.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:ko.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ko.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ko.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ko.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:ko.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ko.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ko.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ko.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:ko.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ko.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ko.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ko.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ko.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:ko.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ko.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ko.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ko.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ko.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:ko.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ko.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ko.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ko.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ko.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ko.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:ko.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ko.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ko.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ko.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ko.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:ko.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ko.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ko.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ko.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ko.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:ko.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ko.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ko.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ko.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ko.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ko.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:ko.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ko.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:ko.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ko.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:ko.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ko.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ko.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:ko.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ko.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:ko.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ko.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:ko.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ko.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ko.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:ko.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:ko.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:ko.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:ko.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:ko.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:ko.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:ko.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Io={backgroundActionPrimary:ko.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ro.colorBrand0),backgroundErrorPrimary:ko.extend("--ft-background-error-primary","Used as background of error components.",Ro.colorRed0),backgroundErrorSubtle:ko.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ro.colorRed10),backgroundInfoPrimary:ko.extend("--ft-background-info-primary","Used as background of information components.",Ro.colorCyan200),backgroundInfoSubtle:ko.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ro.colorCyan10),backgroundWarningPrimary:ko.extend("--ft-background-warning-primary","Used as background of warning components.",Ro.colorOrange300),backgroundWarningSubtle:ko.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ro.colorOrange10),backgroundSuccessPrimary:ko.extend("--ft-background-success-primary","Used as background of success components.",Ro.colorGreen200),backgroundSuccessSubtle:ko.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ro.colorGreen10),backgroundGlobalSurface:ko.extend("--ft-background-global-surface","Used as app background.",Ro.colorWhite),backgroundGlobalOnSurface:ko.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ro.colorGray10),backgroundGlobalOnSurfaceDark:ko.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ro.colorGray30),contentActionPrimary:ko.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ro.colorBrand0),contentWarningPrimary:ko.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ro.colorOrange300),contentWarningIconOnly:ko.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ro.colorOrange0),contentErrorPrimary:ko.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ro.colorRed0),contentErrorIconOnly:ko.extend("--ft-content-error-icon-only","Used on error status icons alone",Ro.colorRed0),contentInfoPrimary:ko.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ro.colorCyan200),contentInfoIconOnly:ko.extend("--ft-content-info-icon-only","Used on info status icons alone",Ro.colorCyan0),contentSuccessPrimary:ko.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ro.colorGreen200),contentSuccessIconOnly:ko.extend("--ft-content-success-icon-only","Used on success status icons alone",Ro.colorGreen0),contentGlobalPrimary:ko.extend("--ft-content-global-primary","Used for main content on the page.",Ro.colorGray500),contentGlobalSecondary:ko.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ro.colorGray200),contentGlobalSubtle:ko.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ro.colorGray0),contentGlobalOnColor:ko.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ro.colorWhite),borderActionPrimary:ko.extend("--ft-border-action-primary","Used as border for primary action components.",Ro.colorBrand0),borderActionFocusRing:ko.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ro.colorCyan0),borderWarningPrimary:ko.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Ro.colorOrange300),borderWarningSubtle:ko.extend("--ft-border-warning-subtle","Used as border for warning components.",Ro.colorOrange30),borderSuccessPrimary:ko.extend("--ft-border-success-primary","Used as border for success buttons.",Ro.colorGreen200),borderSuccessSubtle:ko.extend("--ft-border-success-subtle","Used as border for success components.",Ro.colorGreen30),borderErrorPrimary:ko.extend("--ft-border-error-primary","Used as border for text fields in error states.",Ro.colorRed0),borderErrorSubtle:ko.extend("--ft-border-error-subtle","Used as border for error components.",Ro.colorRed30),borderInfoPrimary:ko.extend("--ft-border-info-primary","Used as border for buttons in info color.",Ro.colorCyan200),borderInfoSubtle:ko.extend("--ft-border-info-subtle","Used as border for information components.",Ro.colorCyan30),borderGlobalPrimary:ko.extend("--ft-border-global-primary","Used as border for element like input.",Ro.colorGray50),borderGlobalSubtle:ko.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ro.colorGray30),borderInputPrimary:ko.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ro.colorGray80)},Wo={largeHeight:ko.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ko.extend("--ft-button-large-horizontal-padding","",Ro.spacing4),largeGap:ko.extend("--ft-button-large-gap","",Ro.spacing2),largeBorderRadius:ko.extend("--ft-button-large-border-radius","",Ro.borderRadiusS),largeIconSize:ko.extend("--ft-button-large-icon-size","",Ro.iconSize3),largeBorderWidth:ko.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ko.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ko.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ko.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ko.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ko.extend("--ft-button-small-horizontal-padding","",Ro.spacing3),smallGap:ko.extend("--ft-button-small-gap","",Ro.spacing2),smallBorderRadius:ko.extend("--ft-button-small-border-radius","",Ro.borderRadiusS),smallIconSize:ko.extend("--ft-button-small-icon-size","",Ro.iconSize2),smallBorderWidth:ko.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ko.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ko.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ko.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ko.extend("--ft-button-primary-background-color","",Io.backgroundActionPrimary),primaryColor:ko.extend("--ft-button-primary-color","",Io.contentGlobalOnColor),primaryIconColor:ko.extend("--ft-button-primary-icon-color","",Io.contentGlobalOnColor),primaryStateLayerColor:ko.extend("--ft-button-primary-state-layer-color","",Io.contentGlobalOnColor),primaryStateLayerOpacityHover:ko.extend("--ft-button-primary-state-layer-opacity-hover","",Ro.opacity16),primaryStateLayerOpacityFocus:ko.extend("--ft-button-primary-state-layer-opacity-focus","",Ro.opacity16),primaryStateLayerOpacityActive:ko.extend("--ft-button-primary-state-layer-opacity-active","",Ro.opacity24),primaryComponentOpacityDisabled:ko.extend("--ft-button-primary-component-opacity-disabled","",Ro.opacity40),focusFocusRingColor:ko.extend("--ft-button-focus-focus-ring-color","",Io.borderActionFocusRing),tertiaryBackgroundColor:ko.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ko.extend("--ft-button-tertiary-color","",Io.contentActionPrimary),tertiaryIconColor:ko.extend("--ft-button-tertiary-icon-color","",Io.contentActionPrimary),tertiaryStateLayerColor:ko.extend("--ft-button-tertiary-state-layer-color","",Io.contentActionPrimary),tertiaryStateLayerOpacityHover:ko.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ro.opacity8),tertiaryStateLayerOpacityFocus:ko.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ro.opacity8),tertiaryStateLayerOpacityActive:ko.extend("--ft-button-tertiary-state-layer-opacity-active","",Ro.opacity16),tertiaryComponentOpacityDisabled:ko.extend("--ft-button-tertiary-component-opacity-disabled","",Ro.opacity40),secondaryBackgroundColor:ko.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ko.extend("--ft-button-secondary-color","",Io.contentActionPrimary),secondaryIconColor:ko.extend("--ft-button-secondary-icon-color","",Io.contentActionPrimary),secondaryStateLayerColor:ko.extend("--ft-button-secondary-state-layer-color","",Io.contentActionPrimary),secondaryStateLayerOpacityHover:ko.extend("--ft-button-secondary-state-layer-opacity-hover","",Ro.opacity8),secondaryStateLayerOpacityFocus:ko.extend("--ft-button-secondary-state-layer-opacity-focus","",Ro.opacity8),secondaryStateLayerOpacityActive:ko.extend("--ft-button-secondary-state-layer-opacity-active","",Ro.opacity16),secondaryComponentOpacityDisabled:ko.extend("--ft-button-secondary-component-opacity-disabled","",Ro.opacity40),secondaryBorderColor:ko.extend("--ft-button-secondary-border-color","",Io.borderActionPrimary),neutralBackgroundColor:ko.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ko.extend("--ft-button-neutral-icon-color","",Io.contentGlobalSecondary),neutralColor:ko.extend("--ft-button-neutral-color","",Io.contentGlobalSecondary),neutralStateLayerColor:ko.extend("--ft-button-neutral-state-layer-color","",Io.contentGlobalSecondary),neutralStateLayerOpacityHover:ko.extend("--ft-button-neutral-state-layer-opacity-hover","",Ro.opacity8),neutralStateLayerOpacityFocus:ko.extend("--ft-button-neutral-state-layer-opacity-focus","",Ro.opacity8),neutralStateLayerOpacityActive:ko.extend("--ft-button-neutral-state-layer-opacity-active","",Ro.opacity16),neutralComponentOpacityDisabled:ko.extend("--ft-button-neutral-component-opacity-disabled","",Ro.opacity40)};ko.extend("--ft-floating-menu-horizontal-padding","",Ro.spacing4),ko.extend("--ft-floating-menu-vertical-padding","",Ro.spacing4),ko.extend("--ft-floating-menu-off-icon-color","",Io.contentGlobalPrimary),ko.extend("--ft-floating-menu-off-color","",Io.contentGlobalPrimary),ko.extend("--ft-floating-menu-on-color","",Io.contentActionPrimary),ko.extend("--ft-floating-menu-on-icon-color","",Io.contentActionPrimary),ko.extend("--ft-floating-menu-on-state-layer-color","",Io.contentActionPrimary),ko.extend("--ft-floating-menu-gap","",Ro.spacing3),ko.extend("--ft-floating-menu-focus-focus-ring-color","",Io.borderActionFocusRing),ko.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),ko.extend("--ft-floating-menu-state-layer-opacity-hover","",Ro.opacity8),ko.extend("--ft-floating-menu-state-layer-opacity-active","",Ro.opacity16),ko.extend("--ft-floating-menu-state-layer-opacity-focus","",Ro.opacity8),ko.extend("--ft-floating-menu-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-floating-menu-icon-size","",Ro.iconSize3),ko.extend("--ft-floating-menu-background-color","",Io.backgroundGlobalOnSurface),ko.extend("--ft-tabs-top-left-border-radius","",Ro.borderRadiusS),ko.extend("--ft-tabs-top-right-border-radius","",Ro.borderRadiusS),ko.extend("--ft-tabs-label-horizontal-padding","",Ro.spacing4),ko.extend("--ft-tabs-label-vertical-padding","",Ro.spacing3),ko.extend("--ft-tabs-label-gap","",Ro.spacing1),ko.extend("--ft-tabs-icon-horizontal-padding","",Ro.spacing1),ko.extend("--ft-tabs-icon-vertical-padding","",Ro.spacing4),ko.create("--ft-tabs-focus-outline-width","","SIZE","2px"),ko.extend("--ft-tabs-focus-focus-ring-color","",Io.borderActionFocusRing),ko.extend("--ft-tabs-off-state-layer-opacity-hover","",Ro.opacity8),ko.extend("--ft-tabs-off-state-layer-opacity-focus","",Ro.opacity8),ko.extend("--ft-tabs-off-state-layer-opacity-active","",Ro.opacity16),ko.extend("--ft-tabs-off-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-tabs-off-color","",Io.contentGlobalSubtle),ko.extend("--ft-tabs-off-state-layer-color","",Io.contentGlobalSubtle),ko.extend("--ft-tabs-on-state-layer-opacity-hover","",Ro.opacity8),ko.extend("--ft-tabs-on-state-layer-opacity-focus","",Ro.opacity8),ko.extend("--ft-tabs-on-state-layer-opacity-active","",Ro.opacity16),ko.extend("--ft-tabs-on-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-tabs-on-color","",Io.contentActionPrimary),ko.extend("--ft-tabs-on-state-layer-color","",Io.contentActionPrimary),ko.extend("--ft-collapsible-state-layer-opacity-hover","",Ro.opacity8),ko.extend("--ft-collapsible-state-layer-opacity-focus","",Ro.opacity8),ko.extend("--ft-collapsible-state-layer-opacity-active","",Ro.opacity16),ko.extend("--ft-collapsible-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-collapsible-horizontal-padding","",Ro.spacing4),ko.extend("--ft-collapsible-vertical-padding","",Ro.spacing3),ko.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),ko.extend("--ft-collapsible-focus-focus-ring-color","",Io.borderActionFocusRing),ko.extend("--ft-collapsible-color","",Io.contentGlobalPrimary),ko.extend("--ft-collapsible-state-layer-color","",Io.contentGlobalPrimary),ko.extend("--ft-collapsible-background-color","",Io.backgroundGlobalOnSurface),ko.extend("--ft-collapsible-border-color","",Io.borderGlobalSubtle),ko.extend("--ft-collapsible-icon-size","",Ro.iconSize3),ko.extend("--ft-switch-group-horizontal-padding","",Ro.spacing1),ko.extend("--ft-switch-group-vertical-padding","",Ro.spacing1),ko.extend("--ft-switch-group-gap","",Ro.spacing1),ko.extend("--ft-switch-group-background-color","",Io.backgroundGlobalSurface),ko.extend("--ft-switch-group-border-color","",Io.borderGlobalSubtle),ko.create("--ft-switch-group-border-radius","","SIZE","6px"),ko.extend("--ft-switch-label-horizontal-padding","",Ro.spacing2),ko.extend("--ft-switch-label-vertical-padding","",Ro.spacing1),ko.extend("--ft-switch-icon-horizontal-padding","",Ro.spacing1),ko.extend("--ft-switch-icon-vertical-padding","",Ro.spacing1),ko.create("--ft-switch-focus-outline-width","","SIZE","2px"),ko.extend("--ft-switch-focus-focus-ring-color","",Io.borderActionFocusRing),ko.extend("--ft-switch-option-border-radius","",Ro.borderRadiusS),ko.extend("--ft-switch-off-state-layer-opacity-hover","",Ro.opacity8),ko.extend("--ft-switch-off-state-layer-opacity-focus","",Ro.opacity8),ko.extend("--ft-switch-off-state-layer-opacity-active","",Ro.opacity16),ko.extend("--ft-switch-off-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-switch-off-color","",Io.contentGlobalSubtle),ko.extend("--ft-switch-off-state-layer-color","",Io.contentGlobalSubtle),ko.extend("--ft-switch-on-state-layer-opacity-hover","",Ro.opacity8),ko.extend("--ft-switch-on-state-layer-opacity-focus","",Ro.opacity8),ko.extend("--ft-switch-on-state-layer-opacity-active","",Ro.opacity16),ko.extend("--ft-switch-on-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-switch-on-color","",Io.contentActionPrimary),ko.extend("--ft-switch-on-state-layer-color","",Io.contentActionPrimary),ko.extend("--ft-chart-1-light","for area color charts",Ro.colorBrand40),ko.extend("--ft-chart-1-base","for line charts",Ro.colorBrand0),ko.extend("--ft-chart-2-light","for area color charts",Ro.colorYellow60),ko.extend("--ft-chart-2-base","for line charts",Ro.colorYellow100),ko.extend("--ft-chart-3-light","",Ro.colorUltramarine40),ko.extend("--ft-chart-3-base","",Ro.colorUltramarine70),ko.extend("--ft-chart-4-light","",Ro.colorCyan50),ko.extend("--ft-chart-4-base","",Ro.colorCyan100),ko.extend("--ft-chart-5-light","",Ro.colorRed40),ko.extend("--ft-chart-5-base","",Ro.colorRed60),ko.extend("--ft-chart-6-light","",Ro.colorGreen40),ko.extend("--ft-chart-6-base","",Ro.colorGreen70),ko.extend("--ft-chart-7-light","",Ro.colorOrange70),ko.extend("--ft-chart-7-base","",Ro.colorOrange100),ko.extend("--ft-chart-8-light","",Ro.colorAvocado70),ko.extend("--ft-chart-8-base","",Ro.colorAvocado200),ko.extend("--ft-chart-9-light","",Ro.colorBrown50),ko.extend("--ft-chart-9-base","",Ro.colorBrown200),ko.extend("--ft-chart-10-light","",Ro.colorGray50),ko.extend("--ft-chart-10-base","",Ro.colorGray80),ko.extend("--ft-chart-monochrome-10","",Ro.colorBrand10),ko.extend("--ft-chart-monochrome-20","",Ro.colorBrand20),ko.extend("--ft-chart-monochrome-30","",Ro.colorBrand40),ko.extend("--ft-chart-monochrome-40","",Ro.colorBrand60),ko.extend("--ft-chart-monochrome-50","",Ro.colorBrand0),ko.extend("--ft-chart-monochrome-60","",Ro.colorBrand200),ko.extend("--ft-chip-large-horizontal-padding","",Ro.spacing4),ko.extend("--ft-chip-large-vertical-padding","",Ro.spacing2),ko.extend("--ft-chip-large-gap","",Ro.spacing1),ko.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),ko.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),ko.extend("--ft-chip-large-border-radius","",Ro.borderRadiusPill),ko.create("--ft-chip-large-border-width","","SIZE","1px"),ko.extend("--ft-chip-large-icon-size","",Ro.iconSize3),ko.extend("--ft-chip-medium-horizontal-padding","",Ro.spacing3),ko.extend("--ft-chip-medium-vertical-padding","",Ro.spacing1),ko.extend("--ft-chip-medium-gap","",Ro.spacing1),ko.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),ko.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),ko.extend("--ft-chip-medium-border-radius","",Ro.borderRadiusPill),ko.create("--ft-chip-medium-border-width","","SIZE","1px"),ko.extend("--ft-chip-medium-icon-size","",Ro.iconSize2),ko.extend("--ft-chip-small-horizontal-padding","",Ro.spacing2),ko.extend("--ft-chip-small-vertical-padding","",Ro.spacing05),ko.extend("--ft-chip-small-gap","",Ro.spacing1),ko.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),ko.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),ko.extend("--ft-chip-small-border-radius","",Ro.borderRadiusPill),ko.create("--ft-chip-small-border-width","","SIZE","1px"),ko.extend("--ft-chip-small-icon-size","",Ro.iconSize1),ko.extend("--ft-chip-neutral-background-color","",Io.backgroundGlobalOnSurface),ko.extend("--ft-chip-neutral-color","",Io.contentGlobalPrimary),ko.extend("--ft-chip-neutral-border-color","",Io.borderGlobalSubtle),ko.extend("--ft-chip-info-background-color","",Io.backgroundInfoSubtle),ko.extend("--ft-chip-info-color","",Io.contentInfoPrimary),ko.extend("--ft-chip-info-border-color","",Io.borderInfoSubtle),ko.extend("--ft-chip-success-background-color","",Io.backgroundSuccessSubtle),ko.extend("--ft-chip-success-color","",Io.contentSuccessPrimary),ko.extend("--ft-chip-success-border-color","",Io.borderSuccessSubtle),ko.extend("--ft-chip-warning-background-color","",Io.backgroundWarningSubtle),ko.extend("--ft-chip-warning-color","",Io.contentWarningPrimary),ko.extend("--ft-chip-warning-border-color","",Io.borderWarningSubtle),ko.extend("--ft-chip-error-background-color","",Io.backgroundErrorSubtle),ko.extend("--ft-chip-error-color","",Io.contentErrorPrimary),ko.extend("--ft-chip-error-border-color","",Io.borderErrorSubtle),ko.create("--ft-notice-border-width","","SIZE","1px"),ko.extend("--ft-notice-horizontal-padding","",Ro.spacing2),ko.extend("--ft-notice-vertical-padding","",Ro.spacing1),ko.extend("--ft-notice-border-radius","",Ro.borderRadiusS),ko.extend("--ft-notice-gap","",Ro.spacing2),ko.extend("--ft-notice-icon-size","",Ro.iconSize3),ko.extend("--ft-notice-info-background-color","",Io.backgroundInfoSubtle),ko.extend("--ft-notice-info-border-color","",Io.borderInfoSubtle),ko.extend("--ft-notice-info-color","",Io.contentInfoPrimary),ko.extend("--ft-notice-warning-background-color","",Io.backgroundWarningSubtle),ko.extend("--ft-notice-warning-border-color","",Io.borderWarningSubtle),ko.extend("--ft-notice-warning-color","",Io.contentWarningPrimary),ko.extend("--ft-checkbox-label-color","",Io.contentGlobalPrimary),ko.extend("--ft-checkbox-checked-background-color","",Io.contentActionPrimary),ko.extend("--ft-checkbox-checked-state-layer-color","",Io.contentActionPrimary),ko.extend("--ft-checkbox-checked-color","",Io.contentGlobalOnColor),ko.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ro.opacity16),ko.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ro.opacity16),ko.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ro.opacity24),ko.extend("--ft-checkbox-checked-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-checkbox-unchecked-border-color","",Ro.colorGray80),ko.extend("--ft-checkbox-unchecked-state-layer-color","",Ro.colorGray80),ko.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ro.opacity16),ko.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ro.opacity16),ko.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ro.opacity24),ko.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-checkbox-focus-focus-ring-color","",Io.borderActionFocusRing),ko.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),ko.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),ko.extend("--ft-checkbox-gap","",Ro.spacing3),ko.extend("--ft-toggle-off-state-layer-opacity-hover","",Ro.opacity16),ko.extend("--ft-toggle-off-state-layer-opacity-focus","",Ro.opacity16),ko.extend("--ft-toggle-off-state-layer-opacity-active","",Ro.opacity24),ko.extend("--ft-toggle-off-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-toggle-off-background-color","",Io.contentGlobalSubtle),ko.extend("--ft-toggle-off-icon-color","",Io.contentGlobalSubtle),ko.extend("--ft-toggle-off-state-layer-color","",Io.contentGlobalSubtle),ko.extend("--ft-toggle-on-state-layer-opacity-hover","",Ro.opacity16),ko.extend("--ft-toggle-on-state-layer-opacity-focus","",Ro.opacity16),ko.extend("--ft-toggle-on-state-layer-opacity-active","",Ro.opacity24),ko.extend("--ft-toggle-on-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-toggle-on-background-color","",Io.contentActionPrimary),ko.extend("--ft-toggle-on-icon-color","",Io.contentActionPrimary),ko.extend("--ft-toggle-on-state-layer-color","",Io.contentActionPrimary),ko.extend("--ft-toggle-label-color","",Io.contentGlobalPrimary),ko.extend("--ft-toggle-focus-focus-ring-color","",Io.borderActionFocusRing),ko.extend("--ft-toggle-gap","",Ro.spacing3),ko.extend("--ft-radio-label-color","",Io.contentGlobalPrimary),ko.extend("--ft-radio-selected-color","",Io.contentActionPrimary),ko.extend("--ft-radio-selected-state-layer-color","",Io.contentActionPrimary),ko.extend("--ft-radio-selected-state-layer-opacity-hover","",Ro.opacity16),ko.extend("--ft-radio-selected-state-layer-opacity-focus","",Ro.opacity16),ko.extend("--ft-radio-selected-state-layer-opacity-active","",Ro.opacity24),ko.extend("--ft-radio-selected-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-radio-unselected-state-layer-color","",Ro.colorGray80),ko.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ro.opacity16),ko.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ro.opacity16),ko.extend("--ft-radio-unselected-state-layer-opacity-active","",Ro.opacity24),ko.extend("--ft-radio-unselected-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-radio-focus-focus-ring-color","",Io.borderActionFocusRing),ko.create("--ft-radio-focus-outline-offset","","SIZE","3px"),ko.create("--ft-radio-focus-outline-width","","SIZE","2px"),ko.extend("--ft-radio-gap","",Ro.spacing3),ko.extend("--ft-notification-icon-size","",Ro.iconSize4),ko.extend("--ft-notification-horizontal-padding","",Ro.spacing4),ko.extend("--ft-notification-vertical-padding","",Ro.spacing4),ko.extend("--ft-notification-info-background-color","",Io.backgroundInfoSubtle),ko.extend("--ft-notification-info-color","",Io.contentInfoPrimary),ko.extend("--ft-notification-info-border-color","",Io.borderInfoSubtle),ko.extend("--ft-notification-success-background-color","",Io.backgroundSuccessSubtle),ko.extend("--ft-notification-success-color","",Io.contentSuccessPrimary),ko.extend("--ft-notification-success-border-color","",Io.borderSuccessSubtle),ko.extend("--ft-notification-warning-background-color","",Io.backgroundWarningSubtle),ko.extend("--ft-notification-warning-color","",Io.contentWarningPrimary),ko.extend("--ft-notification-warning-border-color","",Io.borderWarningSubtle),ko.extend("--ft-notification-error-background-color","",Io.backgroundErrorSubtle),ko.extend("--ft-notification-error-color","",Io.contentErrorPrimary),ko.extend("--ft-notification-error-border-color","",Io.borderErrorSubtle),ko.extend("--ft-notification-border-radius","",Ro.borderRadiusPill),ko.create("--ft-notification-border-width","","SIZE","1px"),ko.extend("--ft-notification-gap-leading","",Ro.spacing2),ko.extend("--ft-notification-gap-trailing","",Ro.spacing8),ko.extend("--ft-tooltip-horizontal-padding","",Ro.spacing2),ko.extend("--ft-tooltip-vertical-padding","",Ro.spacing2),ko.extend("--ft-tooltip-border-radius","",Ro.borderRadiusS),ko.extend("--ft-tooltip-label","",Io.contentGlobalOnColor),ko.extend("--ft-tooltip-background","",Io.contentGlobalPrimary),ko.extend("--ft-tooltip-background-opacity","",Ro.opacity80),ko.extend("--ft-tooltip-shadow","",Ro.shadowElevation03);const Lo={colorPrimary:ko.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ko.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ko.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ko.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ko.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ko.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ko.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ko.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ko.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ko.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ko.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ko.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ko.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ko.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ko.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ko.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ko.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ko.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ko.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ko.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ko.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ko.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ko.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ko.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ko.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ko.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ko.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ko.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ko.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ko.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ko.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ko.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ko.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ko.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ko.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ko.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ko.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ko.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ko.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ko.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ko.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ko.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ko.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ko.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ko.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:ko.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:ko.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:ko.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:ko.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:ko.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:ko.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:ko.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:ko.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:ko.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:ko.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ko.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ko.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ko.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ko.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ko.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ko.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ko.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},zo=["start","end"],Ko=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+zo[0],o+"-"+zo[1])),[]),Fo=Math.min,Do=Math.max,Zo=Math.round,Bo=t=>({x:t,y:t}),Ao={left:"right",right:"left",bottom:"top",top:"bottom"},Mo={start:"end",end:"start"};function Ho(t,o,e){return Do(t,Fo(o,e))}function Po(t,o){return"function"==typeof t?t(o):t}function jo(t){return t.split("-")[0]}function To(t){return t.split("-")[1]}function _o(t){return"x"===t?"y":"x"}function Go(t){return"y"===t?"height":"width"}function Vo(t){return["top","bottom"].includes(jo(t))?"y":"x"}function Yo(t){return _o(Vo(t))}function Jo(t){return t.replace(/left|right|bottom|top/g,(t=>Ao[t]))}function qo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Xo(t,o,e){let{reference:i,floating:r}=t;const n=Vo(o),a=Yo(o),s=Go(a),l=jo(o),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(To(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Qo(t,o){var e;void 0===o&&(o={});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}=Po(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=qo(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: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},v=qo(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function te(t,o,e){return(t?[...e.filter((o=>To(o)===t)),...e.filter((o=>To(o)!==t))]:e.filter((t=>jo(t)===t))).filter((e=>!t||(To(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Mo[t]))}(e)!==e)))}const oe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Ko,autoAlignment:d=!0,...u}=Po(t,o),y=void 0!==f||h===Ko?te(f||null,d,h):h,g=await Qo(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 i=To(t),r=Yo(t),n=Go(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Jo(a)),[a,Jo(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[jo(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const w=O.map((t=>{const o=To(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])),N=w.filter((t=>t[2].slice(0,To(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||w[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function ee(t){return ne(t)?(t.nodeName||"").toLowerCase():"#document"}function ie(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function re(t){var o;return null==(o=(ne(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ne(t){return t instanceof Node||t instanceof ie(t).Node}function ae(t){return t instanceof Element||t instanceof ie(t).Element}function se(t){return t instanceof HTMLElement||t instanceof ie(t).HTMLElement}function le(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ie(t).ShadowRoot)}function ce(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=ue(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function pe(t){return["table","td","th"].includes(ee(t))}function fe(t){const o=he(),e=ue(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 he(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function de(t){return["html","body","#document"].includes(ee(t))}function ue(t){return ie(t).getComputedStyle(t)}function ye(t){return ae(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ge(t){if("html"===ee(t))return t;const o=t.assignedSlot||t.parentNode||le(t)&&t.host||re(t);return le(o)?o.host:o}function be(t){const o=ge(t);return de(o)?t.ownerDocument?t.ownerDocument.body:t.body:se(o)&&ce(o)?o:be(o)}function me(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=be(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ie(r);return n?o.concat(a,a.visualViewport||[],ce(r)?r:[],a.frameElement&&e?me(a.frameElement):[]):o.concat(r,me(r,[],e))}function xe(t){const o=ue(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=se(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=Zo(e)!==n||Zo(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function ve(t){return ae(t)?t:t.contextElement}function Oe(t){const o=ve(t);if(!se(o))return Bo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=xe(o);let a=(n?Zo(e.width):e.width)/i,s=(n?Zo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Se=Bo(0);function we(t){const o=ie(t);return he()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Se}function Ne(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=ve(t);let a=Bo(1);o&&(i?ae(i)&&(a=Oe(i)):a=Oe(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ie(t))&&o}(n,e,i)?we(n):Bo(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=ie(n),o=i&&ae(i)?ie(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Oe(e),o=e.getBoundingClientRect(),i=ue(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=ie(e).frameElement}}return qo({width:p,height:f,x:l,y:c})}function $e(t){return Ne(re(t)).left+ye(t).scrollLeft}function Ce(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=ie(t),i=re(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=he();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=re(t),e=ye(t),i=t.ownerDocument.body,r=Do(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Do(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+$e(t);const s=-e.scrollTop;return"rtl"===ue(i).direction&&(a+=Do(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(re(t));else if(ae(o))i=function(t,o){const e=Ne(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=se(t)?Oe(t):Bo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=we(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return qo(i)}function ke(t,o){const e=ge(t);return!(e===o||!ae(e)||de(e))&&("fixed"===ue(e).position||ke(e,o))}function Ee(t,o,e){const i=se(o),r=re(o),n="fixed"===e,a=Ne(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Bo(0);if(i||!i&&!n)if(("body"!==ee(o)||ce(r))&&(s=ye(o)),i){const t=Ne(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=$e(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Re(t,o){return se(t)&&"fixed"!==ue(t).position?o?o(t):t.offsetParent:null}function Ue(t,o){const e=ie(t);if(!se(t))return e;let i=Re(t,o);for(;i&&pe(i)&&"static"===ue(i).position;)i=Re(i,o);return i&&("html"===ee(i)||"body"===ee(i)&&"static"===ue(i).position&&!fe(i))?e:i||function(t){let o=ge(t);for(;se(o)&&!de(o);){if(fe(o))return o;o=ge(o)}return null}(t)||e}const Ie={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=se(e),n=re(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Bo(1);const l=Bo(0);if((r||!r&&"fixed"!==i)&&(("body"!==ee(e)||ce(n))&&(a=ye(e)),se(e))){const t=Ne(e);s=Oe(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:re,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=me(t,[],!1).filter((t=>ae(t)&&"body"!==ee(t))),r=null;const n="fixed"===ue(t).position;let a=n?ge(t):t;for(;ae(a)&&!de(a);){const o=ue(a),e=fe(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||ce(a)&&!e&&ke(t,a))?i=i.filter((t=>t!==a)):r=o,a=ge(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=Ce(o,e,r);return t.top=Do(i.top,t.top),t.right=Fo(i.right,t.right),t.bottom=Fo(i.bottom,t.bottom),t.left=Do(i.left,t.left),t}),Ce(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ue,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Ue,n=this.getDimensions;return{reference:Ee(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return xe(t)},getScale:Oe,isElement:ae,isRTL:function(t){return"rtl"===ue(t).direction}},We=(t,o,e)=>{const i=new Map,r={platform:Ie,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="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:r}),{x:p,y:f}=Xo(c,i,l),h=i,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:i,placement:h,strategy:r,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:r}):x.rects),({x:p,y:f}=Xo(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function Le(t){return function(t){for(let o=t;o;o=ze(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=ze(t);o;o=ze(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function ze(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
85
85
|
/**
|
|
86
86
|
* @license
|
|
87
87
|
* Copyright 2019 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
89
|
*/
|
|
90
|
-
const
|
|
90
|
+
const Ke=window,Fe=Ke.ShadowRoot&&(void 0===Ke.ShadyCSS||Ke.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class De extends No{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Fe?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Ke.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ze,Be=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Ae=Symbol("constructorPrototype"),Me=Symbol("constructorName"),He=Symbol("exportpartsDebouncer");class Pe extends De{constructor(){super(),this[Ze]=new o(5),this[Me]=this.constructor.name,this[Ae]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Me]&&Object.setPrototypeOf(this,this[Ae])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[He].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Ze=He,Be([$()],Pe.prototype,"exportpartsPrefix",void 0),Be([z([])],Pe.prototype,"exportpartsPrefixes",void 0),Be([$()],Pe.prototype,"customStylesheet",void 0);const je=ko.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");$t`
|
|
91
91
|
.highlight-html-match {
|
|
92
|
-
background: ${
|
|
92
|
+
background: ${je};
|
|
93
93
|
}
|
|
94
|
-
`;const
|
|
94
|
+
`;const Te=$t`
|
|
95
95
|
.ft-no-text-select {
|
|
96
96
|
-webkit-touch-callout: none;
|
|
97
97
|
-webkit-user-select: none;
|
|
@@ -112,7 +112,7 @@ const Fo=window,Ko=Fo.ShadowRoot&&(void 0===Fo.ShadyCSS||Fo.ShadyCSS.nativeShado
|
|
|
112
112
|
-webkit-hyphens: auto;
|
|
113
113
|
hyphens: auto
|
|
114
114
|
}
|
|
115
|
-
`;const
|
|
115
|
+
`;const _e=$t`
|
|
116
116
|
.ft-safari-ellipsis-fix {
|
|
117
117
|
margin-right: 0;
|
|
118
118
|
|
|
@@ -123,12 +123,12 @@ const Fo=window,Ko=Fo.ShadowRoot&&(void 0===Fo.ShadyCSS||Fo.ShadyCSS.nativeShado
|
|
|
123
123
|
display: inline-block;
|
|
124
124
|
width: 0;
|
|
125
125
|
}
|
|
126
|
-
`;function
|
|
126
|
+
`;function Ge(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Ve,Ye,Je;const qe=Symbol("internalReduxEventsUnsubscribers"),Xe=Symbol("internalStoresUnsubscribers"),Qe=Symbol("internalStores");class ti extends Pe{constructor(){super(...arguments),this[Ve]=new Map,this[Ye]=new Map,this[Je]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Qe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qe].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Qe].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ge(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Qe].delete(o)}setupStore(t,o){this[Qe].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Qe].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Xe].has(t.store):this[Xe].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Xe].set(t,o.subscribe((()=>this.updateFromStores()))),Ge(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[qe].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Xe].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[qe].forEach((t=>t())),this[qe]=[]}unsubscribeFromStore(t){this[Xe].has(t)&&this[Xe].get(t)(),this[Xe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Ve=Xe,Ye=Qe,Je=qe,ti.reduxProperties=new Map,ti.reduxReactiveProperties=new Set,ti.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const oi=Symbol("elementInternals");var ei,ii,ri;const ni=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ri=null===(ii=null===(ei=window.safari)||void 0===ei?void 0:ei.pushNotification)||void 0===ii?void 0:ii.toString())&&void 0!==ri?ri:""),ai=Symbol.for(""),si=t=>{if(t?.r===ai)return t?._$litStatic$},li=t=>({_$litStatic$:t,r:ai}),ci=new Map,pi=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=si(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=ci.get(t))&&(a.raw=a,ci.set(t,o=a)),e=s}return t(o,...e)})(ot);
|
|
127
127
|
/**
|
|
128
128
|
* @license
|
|
129
129
|
* Copyright 2020 Google LLC
|
|
130
130
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
131
|
-
*/var
|
|
131
|
+
*/var fi;!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"}(fi||(fi={}));const hi=ko.extend("--ft-typography-font-family","",Lo.titleFont),di=ko.extend("--ft-typography-font-family","",Lo.contentFont),ui={fontFamily:di,fontSize:ko.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ko.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ko.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ko.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ko.create("--ft-typography-text-transform","","UNKNOWN","inherit")},yi=ko.extend("--ft-typography-title-font-family","",hi),gi=ko.extend("--ft-typography-title-font-size","",ui.fontSize,"20px"),bi=ko.extend("--ft-typography-title-font-weight","",ui.fontWeight,"normal"),mi=ko.extend("--ft-typography-title-letter-spacing","",ui.letterSpacing,"0.15px"),xi=ko.extend("--ft-typography-title-line-height","",ui.lineHeight,"1.2"),vi=ko.extend("--ft-typography-title-text-transform","",ui.textTransform,"inherit"),Oi=ko.extend("--ft-typography-title-dense-font-family","",hi),Si=ko.extend("--ft-typography-title-dense-font-size","",ui.fontSize,"14px"),wi=ko.extend("--ft-typography-title-dense-font-weight","",ui.fontWeight,"normal"),Ni=ko.extend("--ft-typography-title-dense-letter-spacing","",ui.letterSpacing,"0.105px"),$i=ko.extend("--ft-typography-title-dense-line-height","",ui.lineHeight,"1.7"),Ci=ko.extend("--ft-typography-title-dense-text-transform","",ui.textTransform,"inherit"),ki=ko.extend("--ft-typography-subtitle1-font-family","",di),Ei=ko.extend("--ft-typography-subtitle1-font-size","",ui.fontSize,"16px"),Ri=ko.extend("--ft-typography-subtitle1-font-weight","",ui.fontWeight,"600"),Ui=ko.extend("--ft-typography-subtitle1-letter-spacing","",ui.letterSpacing,"0.144px"),Ii=ko.extend("--ft-typography-subtitle1-line-height","",ui.lineHeight,"1.5"),Wi=ko.extend("--ft-typography-subtitle1-text-transform","",ui.textTransform,"inherit"),Li=ko.extend("--ft-typography-subtitle2-font-family","",di),zi=ko.extend("--ft-typography-subtitle2-font-size","",ui.fontSize,"14px"),Ki=ko.extend("--ft-typography-subtitle2-font-weight","",ui.fontWeight,"normal"),Fi=ko.extend("--ft-typography-subtitle2-letter-spacing","",ui.letterSpacing,"0.098px"),Di=ko.extend("--ft-typography-subtitle2-line-height","",ui.lineHeight,"1.7"),Zi=ko.extend("--ft-typography-subtitle2-text-transform","",ui.textTransform,"inherit"),Bi=ko.extend("--ft-typography-body1-font-family","",di),Ai=ko.extend("--ft-typography-body1-font-size","",ui.fontSize,"16px"),Mi=ko.extend("--ft-typography-body1-font-weight","",ui.fontWeight,"normal"),Hi=ko.extend("--ft-typography-body1-letter-spacing","",ui.letterSpacing,"0.496px"),Pi=ko.extend("--ft-typography-body1-line-height","",ui.lineHeight,"1.5"),ji=ko.extend("--ft-typography-body1-text-transform","",ui.textTransform,"inherit"),Ti={fontFamily:ko.extend("--ft-typography-body2-font-family","",di),fontSize:ko.extend("--ft-typography-body2-font-size","",ui.fontSize,"14px"),fontWeight:ko.extend("--ft-typography-body2-font-weight","",ui.fontWeight,"normal"),letterSpacing:ko.extend("--ft-typography-body2-letter-spacing","",ui.letterSpacing,"0.252px"),lineHeight:ko.extend("--ft-typography-body2-line-height","",ui.lineHeight,"1.4"),textTransform:ko.extend("--ft-typography-body2-text-transform","",ui.textTransform,"inherit")},_i=ko.extend("--ft-typography-caption-font-family","",di),Gi=ko.extend("--ft-typography-caption-font-size","",ui.fontSize,"12px"),Vi=ko.extend("--ft-typography-caption-font-weight","",ui.fontWeight,"normal"),Yi=ko.extend("--ft-typography-caption-letter-spacing","",ui.letterSpacing,"0.396px"),Ji=ko.extend("--ft-typography-caption-line-height","",ui.lineHeight,"1.33"),qi=ko.extend("--ft-typography-caption-text-transform","",ui.textTransform,"inherit"),Xi=ko.extend("--ft-typography-breadcrumb-font-family","",di),Qi=ko.extend("--ft-typography-breadcrumb-font-size","",ui.fontSize,"10px"),tr=ko.extend("--ft-typography-breadcrumb-font-weight","",ui.fontWeight,"normal"),or=ko.extend("--ft-typography-breadcrumb-letter-spacing","",ui.letterSpacing,"0.33px"),er=ko.extend("--ft-typography-breadcrumb-line-height","",ui.lineHeight,"1.6"),ir=ko.extend("--ft-typography-breadcrumb-text-transform","",ui.textTransform,"inherit"),rr=ko.extend("--ft-typography-overline-font-family","",di),nr=ko.extend("--ft-typography-overline-font-size","",ui.fontSize,"10px"),ar=ko.extend("--ft-typography-overline-font-weight","",ui.fontWeight,"normal"),sr=ko.extend("--ft-typography-overline-letter-spacing","",ui.letterSpacing,"1.5px"),lr=ko.extend("--ft-typography-overline-line-height","",ui.lineHeight,"1.6"),cr=ko.extend("--ft-typography-overline-text-transform","",ui.textTransform,"uppercase"),pr={fontFamily:ko.extend("--ft-typography-button-font-family","",di),fontSize:ko.extend("--ft-typography-button-font-size","",ui.fontSize,"14px"),fontWeight:ko.extend("--ft-typography-button-font-weight","",ui.fontWeight,"600"),letterSpacing:ko.extend("--ft-typography-button-letter-spacing","",ui.letterSpacing,"1.246px"),lineHeight:ko.extend("--ft-typography-button-line-height","",ui.lineHeight,"1.15"),textTransform:ko.extend("--ft-typography-button-text-transform","",ui.textTransform,"uppercase")},fr=$t`
|
|
132
132
|
.ft-typography--title {
|
|
133
133
|
font-family: ${yi};
|
|
134
134
|
font-size: ${gi};
|
|
@@ -137,7 +137,7 @@ const Fo=window,Ko=Fo.ShadowRoot&&(void 0===Fo.ShadyCSS||Fo.ShadyCSS.nativeShado
|
|
|
137
137
|
line-height: ${xi};
|
|
138
138
|
text-transform: ${vi};
|
|
139
139
|
}
|
|
140
|
-
`,
|
|
140
|
+
`,hr=$t`
|
|
141
141
|
.ft-typography--title-dense {
|
|
142
142
|
font-family: ${Oi};
|
|
143
143
|
font-size: ${Si};
|
|
@@ -149,29 +149,29 @@ const Fo=window,Ko=Fo.ShadowRoot&&(void 0===Fo.ShadyCSS||Fo.ShadyCSS.nativeShado
|
|
|
149
149
|
`,dr=$t`
|
|
150
150
|
.ft-typography--subtitle1 {
|
|
151
151
|
font-family: ${ki};
|
|
152
|
-
font-size: ${
|
|
153
|
-
font-weight: ${
|
|
152
|
+
font-size: ${Ei};
|
|
153
|
+
font-weight: ${Ri};
|
|
154
154
|
letter-spacing: ${Ui};
|
|
155
155
|
line-height: ${Ii};
|
|
156
|
-
text-transform: ${
|
|
156
|
+
text-transform: ${Wi};
|
|
157
157
|
}
|
|
158
158
|
`,ur=$t`
|
|
159
159
|
.ft-typography--subtitle2 {
|
|
160
|
-
font-family: ${
|
|
160
|
+
font-family: ${Li};
|
|
161
161
|
font-size: ${zi};
|
|
162
|
-
font-weight: ${
|
|
163
|
-
letter-spacing: ${
|
|
164
|
-
line-height: ${
|
|
162
|
+
font-weight: ${Ki};
|
|
163
|
+
letter-spacing: ${Fi};
|
|
164
|
+
line-height: ${Di};
|
|
165
165
|
text-transform: ${Zi};
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
`,yr=$t`
|
|
169
169
|
.ft-typography--body1 {
|
|
170
|
-
font-family: ${
|
|
170
|
+
font-family: ${Bi};
|
|
171
171
|
font-size: ${Ai};
|
|
172
172
|
font-weight: ${Mi};
|
|
173
|
-
letter-spacing: ${
|
|
174
|
-
line-height: ${
|
|
173
|
+
letter-spacing: ${Hi};
|
|
174
|
+
line-height: ${Pi};
|
|
175
175
|
text-transform: ${ji};
|
|
176
176
|
}
|
|
177
177
|
`,gr=$t`
|
|
@@ -197,8 +197,8 @@ const Fo=window,Ko=Fo.ShadowRoot&&(void 0===Fo.ShadyCSS||Fo.ShadyCSS.nativeShado
|
|
|
197
197
|
font-family: ${Xi};
|
|
198
198
|
font-size: ${Qi};
|
|
199
199
|
font-weight: ${tr};
|
|
200
|
-
letter-spacing: ${
|
|
201
|
-
line-height: ${
|
|
200
|
+
letter-spacing: ${or};
|
|
201
|
+
line-height: ${er};
|
|
202
202
|
text-transform: ${ir};
|
|
203
203
|
}
|
|
204
204
|
`,xr=$t`
|
|
@@ -212,45 +212,45 @@ const Fo=window,Ko=Fo.ShadowRoot&&(void 0===Fo.ShadyCSS||Fo.ShadyCSS.nativeShado
|
|
|
212
212
|
}
|
|
213
213
|
`,vr=$t`
|
|
214
214
|
.ft-typography--button {
|
|
215
|
-
font-family: ${
|
|
216
|
-
font-size: ${
|
|
217
|
-
font-weight: ${
|
|
218
|
-
letter-spacing: ${
|
|
219
|
-
line-height: ${
|
|
220
|
-
text-transform: ${
|
|
215
|
+
font-family: ${pr.fontFamily};
|
|
216
|
+
font-size: ${pr.fontSize};
|
|
217
|
+
font-weight: ${pr.fontWeight};
|
|
218
|
+
letter-spacing: ${pr.letterSpacing};
|
|
219
|
+
line-height: ${pr.lineHeight};
|
|
220
|
+
text-transform: ${pr.textTransform};
|
|
221
221
|
}
|
|
222
222
|
`,Or=$t`
|
|
223
223
|
.ft-typography {
|
|
224
224
|
vertical-align: inherit;
|
|
225
225
|
}
|
|
226
|
-
`,Sr=[Object.keys(
|
|
226
|
+
`,Sr=[Object.keys(Uo).map((t=>function(t){const o=Uo[t];return $t`
|
|
227
227
|
.ft-typography--${Nt(t)} {
|
|
228
|
-
font-family: ${
|
|
229
|
-
font-size: ${
|
|
230
|
-
font-weight: ${
|
|
231
|
-
letter-spacing: ${
|
|
232
|
-
line-height: ${
|
|
233
|
-
text-transform: ${
|
|
234
|
-
}
|
|
235
|
-
`}(t)))];var wr=function(t,e,
|
|
228
|
+
font-family: ${o.fontFamily};
|
|
229
|
+
font-size: ${o.fontSize};
|
|
230
|
+
font-weight: ${o.fontWeight};
|
|
231
|
+
letter-spacing: ${o.letterSpacing};
|
|
232
|
+
line-height: ${o.lineHeight};
|
|
233
|
+
text-transform: ${o.textCase};
|
|
234
|
+
}
|
|
235
|
+
`}(t)))];var wr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Nr extends Pe{constructor(){super(...arguments),this.variant=fi.body1}render(){return this.element?pi`
|
|
236
236
|
<${li(this.element)}
|
|
237
237
|
class="ft-typography ft-typography--${this.variant}">
|
|
238
238
|
<slot></slot>
|
|
239
239
|
</${li(this.element)}>
|
|
240
|
-
`:
|
|
240
|
+
`:pi`
|
|
241
241
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
242
|
-
`}}Nr.styles=[hr,
|
|
242
|
+
`}}Nr.styles=[fr,hr,dr,ur,yr,gr,br,mr,xr,vr,Or,...Sr],wr([$()],Nr.prototype,"element",void 0),wr([$()],Nr.prototype,"variant",void 0),L("ft-typography")(Nr);
|
|
243
243
|
/**
|
|
244
244
|
* @license
|
|
245
245
|
* Copyright 2017 Google LLC
|
|
246
246
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
247
247
|
*/
|
|
248
|
-
const $r=1,Cr=2,kr=t=>(...
|
|
248
|
+
const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
|
|
249
249
|
/**
|
|
250
250
|
* @license
|
|
251
251
|
* Copyright 2020 Google LLC
|
|
252
252
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
253
|
-
*/const{D:
|
|
253
|
+
*/const{D:Rr}=bt,Ur=()=>document.createComment(""),Ir=(t,o,e)=>{const i=t._$AA.parentNode,r=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(Ur(),r),n=i.insertBefore(Ur(),r);e=new Rr(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==r||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;i.insertBefore(t,r),t=o}}}return e},Wr=(t,o,e=t)=>(t._$AI(o,e),t),Lr={},zr=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},Kr=(t,o,e)=>{const i=new Map;for(let r=o;r<=e;r++)i.set(t[r],r);return i},Fr=kr(class extends Er{constructor(t){if(super(t),t.type!==Cr)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let i;void 0===e?e=o:void 0!==o&&(i=o);const r=[],n=[];let a=0;for(const o of t)r[a]=i?i(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:r}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,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]=Wr(r[f],n[d]),f++,d++;else if(s[h]===a[u])l[u]=Wr(r[h],n[u]),h--,u--;else if(s[f]===a[u])l[u]=Wr(r[f],n[u]),Ir(t,l[u+1],r[f]),f++,u--;else if(s[h]===a[d])l[d]=Wr(r[h],n[d]),Ir(t,r[f],r[h]),h--,d++;else if(void 0===c&&(c=Kr(a,d,u),p=Kr(s,f,h)),c.has(s[f]))if(c.has(s[h])){const o=p.get(a[d]),e=void 0!==o?r[o]:null;if(null===e){const o=Ir(t,r[f]);Wr(o,n[d]),l[d]=o}else l[d]=Wr(e,n[d]),Ir(t,r[f],e),r[o]=null;d++}else zr(r[h]),h--;else zr(r[f]),f++;for(;d<=u;){const o=Ir(t,l[u+1]);Wr(o,n[d]),l[d++]=o}for(;f<=h;){const t=r[f++];null!==t&&zr(t)}return this.dt=a,((t,o=Lr)=>{t._$AH=o})(t,l),et}}),Dr=ko.extend("--ft-ripple-color","",Lo.colorContent),Zr={color:Dr,backgroundColor:ko.extend("--ft-ripple-background-color","",Dr),opacityContentOnSurfacePressed:ko.external(Lo.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ko.external(Lo.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ko.external(Lo.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ko.external(Lo.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ko.create("--ft-ripple-border-radius","","SIZE","0px")},Br=ko.extend("--ft-ripple-color","",Lo.colorPrimary),Ar=Br,Mr=ko.extend("--ft-ripple-background-color","",Br),Hr=ko.extend("--ft-ripple-color","",Lo.colorSecondary),Pr=Hr,jr=ko.extend("--ft-ripple-background-color","",Hr),Tr=$t`
|
|
254
254
|
:host {
|
|
255
255
|
display: contents;
|
|
256
256
|
}
|
|
@@ -309,7 +309,7 @@ const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructo
|
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
312
|
-
background-color: ${
|
|
312
|
+
background-color: ${Pr};
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
@@ -362,7 +362,7 @@ const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructo
|
|
|
362
362
|
opacity: ${Zr.opacityContentOnSurfacePressed};
|
|
363
363
|
transform: translate(-50%, -50%) scale(1);
|
|
364
364
|
}
|
|
365
|
-
`,_r={color:
|
|
365
|
+
`,_r={color:ko.extend("--ft-loader-color","",Lo.colorPrimary),size:ko.create("--ft-loader-size","","SIZE","80px")},Gr=$t`
|
|
366
366
|
:host {
|
|
367
367
|
line-height: 0;
|
|
368
368
|
}
|
|
@@ -431,7 +431,7 @@ const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructo
|
|
|
431
431
|
transform: translate(calc(0.35 * ${_r.size}), 0);
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
|
-
`,Vr={size:
|
|
434
|
+
`,Vr={size:ko.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ko.extend("--ft-icon-fluid-topics-font-family","",ko.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ko.extend("--ft-icon-file-format-font-family","",ko.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ko.extend("--ft-icon-material-font-family","",ko.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ko.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Yr=$t`
|
|
435
435
|
:host, i.ft-icon {
|
|
436
436
|
display: inline-flex;
|
|
437
437
|
align-items: center;
|
|
@@ -479,7 +479,7 @@ const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructo
|
|
|
479
479
|
.ft-icon--material {
|
|
480
480
|
font-family: ${Vr.materialFontFamily}, "Material Icons", sans-serif;
|
|
481
481
|
}
|
|
482
|
-
`,Jr=
|
|
482
|
+
`,Jr=ko.extend("--ft-button-color","",Lo.colorPrimary),qr={backgroundColor:ko.extend("--ft-button-background-color","",Lo.colorSurface),borderRadius:ko.extend("--ft-button-border-radius","",Lo.borderRadiusL),color:Jr,fontSize:ko.extend("--ft-button-font-size","",pr.fontSize),iconSize:ko.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:ko.extend("--ft-button-ripple-color","",Jr),verticalPadding:ko.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:ko.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:ko.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:ko.external(Lo.colorOpacityDisabled,"Design system")},Xr=ko.extend("--ft-button-primary-color","",ko.extend("--ft-button-color","",Lo.colorOnPrimary)),Qr={backgroundColor:ko.extend("--ft-button-primary-background-color","",ko.extend("--ft-button-background-color","",Lo.colorPrimary)),color:Xr,rippleColor:ko.extend("--ft-button-primary-ripple-color","",Xr)},tn=ko.extend("--ft-button-dense-border-radius","",ko.extend("--ft-button-border-radius","",Lo.borderRadiusM)),on=ko.create("--ft-button-dense-vertical-padding","","SIZE","2px"),en=ko.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),rn=ko.create("--ft-button-dense-icon-padding","","SIZE","4px"),nn=[$t`
|
|
483
483
|
:host {
|
|
484
484
|
display: inline-block;
|
|
485
485
|
max-width: 100%;
|
|
@@ -521,8 +521,8 @@ const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructo
|
|
|
521
521
|
|
|
522
522
|
--ft-button-internal-line-height: max(calc(${qr.fontSize} + 2px), ${qr.iconSize});
|
|
523
523
|
--ft-button-internal-color: ${qr.color};
|
|
524
|
-
${
|
|
525
|
-
${
|
|
524
|
+
${Eo(Vr.size,qr.iconSize)};
|
|
525
|
+
${Eo(Zr.color,qr.rippleColor)};
|
|
526
526
|
|
|
527
527
|
border-radius: ${qr.borderRadius};
|
|
528
528
|
padding: ${qr.verticalPadding} ${qr.horizontalPadding};
|
|
@@ -537,13 +537,13 @@ const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructo
|
|
|
537
537
|
}
|
|
538
538
|
|
|
539
539
|
.ft-button.ft-button--dense {
|
|
540
|
-
padding: ${
|
|
540
|
+
padding: ${on} ${en};
|
|
541
541
|
border-radius: ${tn};
|
|
542
542
|
gap: ${rn};
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
546
|
-
padding: calc(${
|
|
546
|
+
padding: calc(${on} - 1px) calc(${en} - 1px);
|
|
547
547
|
}
|
|
548
548
|
|
|
549
549
|
.ft-button:not([disabled]):hover {
|
|
@@ -555,7 +555,7 @@ const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructo
|
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
.ft-button--round.ft-button--dense {
|
|
558
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
558
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${on});
|
|
559
559
|
}
|
|
560
560
|
|
|
561
561
|
.ft-button[disabled] {
|
|
@@ -566,7 +566,7 @@ const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructo
|
|
|
566
566
|
.ft-button.ft-button--primary {
|
|
567
567
|
background-color: ${Qr.backgroundColor};
|
|
568
568
|
--ft-button-internal-color: ${Qr.color};
|
|
569
|
-
${
|
|
569
|
+
${Eo(Zr.color,Qr.rippleColor)};
|
|
570
570
|
}
|
|
571
571
|
|
|
572
572
|
.ft-button:focus {
|
|
@@ -580,8 +580,8 @@ const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructo
|
|
|
580
580
|
text-overflow: ellipsis;
|
|
581
581
|
display: block;
|
|
582
582
|
margin: 0 ${qr.iconPadding};
|
|
583
|
-
${
|
|
584
|
-
${
|
|
583
|
+
${Eo(pr.fontSize,"1em")};
|
|
584
|
+
${Eo(pr.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
585
585
|
}
|
|
586
586
|
|
|
587
587
|
.ft-button--dense .ft-button--label {
|
|
@@ -603,8 +603,8 @@ const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructo
|
|
|
603
603
|
}
|
|
604
604
|
|
|
605
605
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
606
|
-
margin: 0 calc(${
|
|
607
|
-
padding: 0 ${
|
|
606
|
+
margin: 0 calc(${en} * -1);
|
|
607
|
+
padding: 0 ${on};
|
|
608
608
|
}
|
|
609
609
|
|
|
610
610
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -613,15 +613,15 @@ const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructo
|
|
|
613
613
|
}
|
|
614
614
|
|
|
615
615
|
ft-loader {
|
|
616
|
-
${
|
|
617
|
-
${
|
|
616
|
+
${Eo(_r.size,qr.iconSize)};
|
|
617
|
+
${Eo(_r.color,"var(--ft-button-internal-color)")};
|
|
618
618
|
}
|
|
619
|
-
`,
|
|
619
|
+
`,Te],an=kr(class extends Er{constructor(t){if(super(t),t.type!==$r||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return et}});
|
|
620
620
|
/**
|
|
621
621
|
* @license
|
|
622
622
|
* Copyright 2017 Google LLC
|
|
623
623
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
624
|
-
*/var sn=function(t,e,
|
|
624
|
+
*/var sn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ln extends Pe{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return so`
|
|
625
625
|
<style>
|
|
626
626
|
.ft-ripple .ft-ripple--effect {
|
|
627
627
|
left: ${this.originX}px;
|
|
@@ -632,7 +632,7 @@ const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructo
|
|
|
632
632
|
<div class="ft-ripple--background"></div>
|
|
633
633
|
<div class="ft-ripple--effect"></div>
|
|
634
634
|
</div>
|
|
635
|
-
`}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
|
|
635
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,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",e,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 o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}ln.elementDefinitions={},ln.styles=Tr,sn([$({type:Boolean})],ln.prototype,"primary",void 0),sn([$({type:Boolean})],ln.prototype,"secondary",void 0),sn([$({type:Boolean})],ln.prototype,"unbounded",void 0),sn([$({type:Boolean})],ln.prototype,"activated",void 0),sn([$({type:Boolean})],ln.prototype,"selected",void 0),sn([$({type:Boolean})],ln.prototype,"disabled",void 0),sn([C()],ln.prototype,"hovered",void 0),sn([C()],ln.prototype,"focused",void 0),sn([C()],ln.prototype,"pressed",void 0),sn([C()],ln.prototype,"rippling",void 0),sn([C()],ln.prototype,"originX",void 0),sn([C()],ln.prototype,"originY",void 0),sn([R(".ft-ripple")],ln.prototype,"ripple",void 0),sn([R(".ft-ripple--effect")],ln.prototype,"rippleEffect",void 0),L("ft-ripple")(ln);const cn=ko.create("--ft-tooltip-distance","","SIZE","4px"),pn=ko.create("--ft-tooltip-color","","COLOR","#FFFFFF"),fn=ko.create("--ft-tooltip-background-color","","COLOR","#666666"),hn=ko.create("--ft-tooltip-z-index","","NUMBER","100"),dn=ko.external(Lo.borderRadiusS,"Design system"),un=ko.create("--ft-tooltip-max-width","","SIZE","150px"),yn=$t`
|
|
636
636
|
.ft-tooltip--container {
|
|
637
637
|
display: block;
|
|
638
638
|
}
|
|
@@ -650,18 +650,18 @@ const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructo
|
|
|
650
650
|
max-width: ${un};
|
|
651
651
|
text-align: center;
|
|
652
652
|
padding: ${cn};
|
|
653
|
-
z-index: ${
|
|
653
|
+
z-index: ${hn};
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
.ft-tooltip--content {
|
|
657
657
|
padding: 4px 8px;
|
|
658
658
|
border-radius: ${dn};
|
|
659
|
-
background-color: ${
|
|
660
|
-
color: ${
|
|
659
|
+
background-color: ${fn};
|
|
660
|
+
color: ${pn};
|
|
661
661
|
position: relative;
|
|
662
662
|
word-break: break-word;
|
|
663
663
|
}
|
|
664
|
-
`;var gn=function(t,e,
|
|
664
|
+
`;var gn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bn extends Pe{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return so`
|
|
665
665
|
<div part="container"
|
|
666
666
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
667
667
|
@mouseenter=${this.onHover}
|
|
@@ -679,31 +679,31 @@ const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructo
|
|
|
679
679
|
</div>
|
|
680
680
|
</div>
|
|
681
681
|
</div>
|
|
682
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((
|
|
682
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return We(t,o,{platform:{...Ie,getOffsetParent:t=>Ie.getOffsetParent(t,Le)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Po(i,t),c={x:o,y:e},p=await Qo(t,l),f=Vo(jo(r)),h=_o(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Ho(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Ho(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...t,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),oe({allowedPlacements:[e]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}bn.elementDefinitions={"ft-typography":Nr},bn.styles=yn,gn([$()],bn.prototype,"text",void 0),gn([$({type:Boolean})],bn.prototype,"manual",void 0),gn([$({type:Boolean})],bn.prototype,"inline",void 0),gn([$({type:Number})],bn.prototype,"delay",void 0),gn([$()],bn.prototype,"position",void 0),gn([
|
|
683
683
|
/**
|
|
684
684
|
* @license
|
|
685
685
|
* Copyright 2017 Google LLC
|
|
686
686
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
687
687
|
*/
|
|
688
|
-
function(t){return(e
|
|
688
|
+
function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],bn.prototype,"slotNodes",void 0),gn([R(".ft-tooltip--container")],bn.prototype,"container",void 0),gn([R(".ft-tooltip")],bn.prototype,"tooltip",void 0),gn([R(".ft-tooltip--content")],bn.prototype,"tooltipContent",void 0),gn([C()],bn.prototype,"visible",void 0),gn([k({passive:!0})],bn.prototype,"onTouch",null),gn([k({passive:!0})],bn.prototype,"onHover",null),gn([k({passive:!0})],bn.prototype,"onOut",null),gn([k({passive:!0})],bn.prototype,"onClick",null),L("ft-tooltip")(bn);
|
|
689
689
|
/**
|
|
690
690
|
* @license
|
|
691
691
|
* Copyright 2017 Google LLC
|
|
692
692
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
693
693
|
*/
|
|
694
|
-
class mn extends
|
|
694
|
+
class mn extends Er{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===it||null==t)return this.vt=void 0,this.et=t;if(t===et)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}mn.directiveName="unsafeHTML",mn.resultType=1;const xn=kr(mn);var vn,On,Sn;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(vn||(vn={})),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=""}(On||(On={})),new Map([...["abw"].map((t=>[t,On.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,On.AUDIO])),...["avi"].map((t=>[t,On.AVI])),...["chm","xhs"].map((t=>[t,On.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,On.CODE])),...["csv"].map((t=>[t,On.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,On.DITA])),...["epub"].map((t=>[t,On.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,On.EXCEL])),...["flac"].map((t=>[t,On.FLAC])),...["gif"].map((t=>[t,On.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,On.GZIP])),...["html","htm","xhtml"].map((t=>[t,On.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,On.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,On.JPEG])),...["json"].map((t=>[t,On.JSON])),...["m4a","m4p"].map((t=>[t,On.M4A])),...["mov","qt"].map((t=>[t,On.MOV])),...["mp3"].map((t=>[t,On.MP3])),...["mp4","m4v"].map((t=>[t,On.MP4])),...["ogg","oga"].map((t=>[t,On.OGG])),...["pdf","ps"].map((t=>[t,On.PDF])),...["png"].map((t=>[t,On.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,On.POWERPOINT])),...["rar"].map((t=>[t,On.RAR])),...["stp"].map((t=>[t,On.STP])),...["txt","rtf","md","mdown"].map((t=>[t,On.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,On.VIDEO])),...["wav"].map((t=>[t,On.WAV])),...["wma"].map((t=>[t,On.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,On.WORD])),...["xml","xsl","rdf"].map((t=>[t,On.XML])),...["yaml","yml","x-yaml"].map((t=>[t,On.YAML])),...["zip"].map((t=>[t,On.ZIP]))]),On.ABW,On.AUDIO,On.AVI,On.CHM,On.CODE,On.CSV,On.DITA,On.EPUB,On.EXCEL,On.FLAC,On.GIF,On.GZIP,On.HTML,On.IMAGE,On.JPEG,On.JSON,On.M4A,On.MOV,On.MP3,On.MP4,On.OGG,On.PDF,On.PNG,On.POWERPOINT,On.RAR,On.STP,On.TEXT,On.UNKNOWN,On.VIDEO,On.WAV,On.WMA,On.WORD,On.XML,On.YAML,On.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Sn||(Sn={}));var wn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Nn extends Pe{constructor(){super(...arguments),this.resolvedIcon=co}render(){const t=this.variant&&Object.values(Sn).includes(this.variant)?this.variant:Sn.fluid_topics,o=t!==Sn.material||!!this.value;return so`
|
|
695
695
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
696
696
|
${xn(this.resolvedIcon)}
|
|
697
|
-
<slot ?hidden=${
|
|
697
|
+
<slot ?hidden=${o}></slot>
|
|
698
698
|
</i>
|
|
699
|
-
`}get textContent(){var t,
|
|
699
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case Sn.file_format:this.resolvedIcon=null!==(t=On[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Sn.material:this.resolvedIcon=this.value||co;break;default:this.resolvedIcon=null!==(o=vn[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Nn.elementDefinitions={},Nn.styles=Yr,wn([$()],Nn.prototype,"variant",void 0),wn([$()],Nn.prototype,"value",void 0),wn([C()],Nn.prototype,"resolvedIcon",void 0),wn([R("slot")],Nn.prototype,"slottedContent",void 0),L("ft-icon")(Nn);class $n extends Pe{render(){return so`
|
|
700
700
|
<div class="ft-loader">
|
|
701
701
|
<div></div>
|
|
702
702
|
<div></div>
|
|
703
703
|
<div></div>
|
|
704
704
|
<div></div>
|
|
705
705
|
</div>
|
|
706
|
-
`}}$n.styles=Gr,
|
|
706
|
+
`}}$n.styles=Gr,L("ft-loader")($n);var Cn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class kn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[oi].form}constructor(...t){super(t),this[oi]=this.attachInternals(),this[oi].role=o}setFormValue(t){this[oi].setFormValue(t)}}}(Pe,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(so`
|
|
707
707
|
<button part="button"
|
|
708
708
|
class="${an(this.buttonClasses)}"
|
|
709
709
|
aria-label="${this.getLabel()}"
|
|
@@ -718,15 +718,15 @@ class mn extends Rr{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
|
|
|
718
718
|
</ft-typography>
|
|
719
719
|
${this.resolveIcon()}
|
|
720
720
|
</button>
|
|
721
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
721
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?so`
|
|
722
722
|
<ft-tooltip part="tooltip"
|
|
723
723
|
text="${this.getLabel()}"
|
|
724
724
|
position="${this.tooltipPosition}">
|
|
725
725
|
${t}
|
|
726
726
|
</ft-tooltip>
|
|
727
|
-
`:t}resolveIcon(){return this.loading?
|
|
728
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
729
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
727
|
+
`:t}resolveIcon(){return this.loading?so`
|
|
728
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?so`
|
|
729
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:co}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}kn.elementDefinitions={"ft-ripple":ln,"ft-tooltip":bn,"ft-typography":Nr,"ft-icon":Nn,"ft-loader":$n},Cn([$({type:String,reflect:!0})],kn.prototype,"role",void 0),Cn([$()],kn.prototype,"type",void 0),Cn([$({type:Boolean})],kn.prototype,"disabled",void 0),Cn([$()],kn.prototype,"label",void 0),Cn([$()],kn.prototype,"icon",void 0),Cn([$()],kn.prototype,"iconVariant",void 0),Cn([$({type:Boolean})],kn.prototype,"trailingIcon",void 0),Cn([$({type:Boolean})],kn.prototype,"loading",void 0),Cn([$()],kn.prototype,"tooltipPosition",void 0),Cn([$({type:Boolean})],kn.prototype,"hideTooltip",void 0),Cn([$({type:Boolean})],kn.prototype,"forceTooltip",void 0),Cn([R(".ft-button")],kn.prototype,"button",void 0),Cn([R(".ft-button--label slot")],kn.prototype,"slottedContent",void 0);var En=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Rn extends kn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Rn.styles=[_e,nn],En([$({type:Boolean})],Rn.prototype,"primary",void 0),En([$({type:Boolean})],Rn.prototype,"outlined",void 0),En([$({type:Boolean})],Rn.prototype,"dense",void 0),En([$({type:Boolean})],Rn.prototype,"round",void 0);const Un=[$t`
|
|
730
730
|
:host {
|
|
731
731
|
display: inline-block;
|
|
732
732
|
max-width: 100%;
|
|
@@ -776,7 +776,7 @@ class mn extends Rr{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
|
|
|
776
776
|
}
|
|
777
777
|
|
|
778
778
|
.ft-button:focus-visible {
|
|
779
|
-
outline-color: ${
|
|
779
|
+
outline-color: ${Wo.focusFocusRingColor};
|
|
780
780
|
outline-style: solid;
|
|
781
781
|
}
|
|
782
782
|
|
|
@@ -805,153 +805,153 @@ class mn extends Rr{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
|
|
|
805
805
|
/** Primary styles **/
|
|
806
806
|
|
|
807
807
|
.ft-button--primary {
|
|
808
|
-
${
|
|
808
|
+
${Eo(_r.color,Wo.primaryIconColor)};
|
|
809
809
|
|
|
810
|
-
${
|
|
811
|
-
${
|
|
812
|
-
${
|
|
813
|
-
${
|
|
814
|
-
${
|
|
810
|
+
${Eo(Zr.color,Wo.primaryStateLayerColor)};
|
|
811
|
+
${Eo(Zr.opacityContentOnSurfaceHover,Wo.primaryStateLayerOpacityHover)};
|
|
812
|
+
${Eo(Zr.opacityContentOnSurfaceFocused,Wo.primaryStateLayerOpacityFocus)};
|
|
813
|
+
${Eo(Zr.opacityContentOnSurfaceSelected,Wo.primaryStateLayerOpacityActive)};
|
|
814
|
+
${Eo(Zr.opacityContentOnSurfacePressed,Wo.primaryStateLayerOpacityActive)};
|
|
815
815
|
|
|
816
|
-
background-color: ${
|
|
817
|
-
color: ${
|
|
816
|
+
background-color: ${Wo.primaryBackgroundColor};
|
|
817
|
+
color: ${Wo.primaryColor};
|
|
818
818
|
border-style: none;
|
|
819
819
|
}
|
|
820
820
|
|
|
821
821
|
.ft-button--primary[disabled] {
|
|
822
|
-
opacity: ${
|
|
822
|
+
opacity: ${Wo.primaryComponentOpacityDisabled};
|
|
823
823
|
}
|
|
824
824
|
|
|
825
825
|
.ft-button--primary ft-icon {
|
|
826
|
-
color: ${
|
|
826
|
+
color: ${Wo.primaryIconColor};
|
|
827
827
|
}
|
|
828
828
|
|
|
829
829
|
/** Secondary styles **/
|
|
830
830
|
|
|
831
831
|
.ft-button--secondary {
|
|
832
|
-
${
|
|
832
|
+
${Eo(_r.color,Wo.secondaryIconColor)};
|
|
833
833
|
|
|
834
|
-
${
|
|
835
|
-
${
|
|
836
|
-
${
|
|
837
|
-
${
|
|
838
|
-
${
|
|
834
|
+
${Eo(Zr.color,Wo.secondaryStateLayerColor)};
|
|
835
|
+
${Eo(Zr.opacityContentOnSurfaceHover,Wo.secondaryStateLayerOpacityHover)};
|
|
836
|
+
${Eo(Zr.opacityContentOnSurfaceFocused,Wo.secondaryStateLayerOpacityFocus)};
|
|
837
|
+
${Eo(Zr.opacityContentOnSurfaceSelected,Wo.secondaryStateLayerOpacityActive)};
|
|
838
|
+
${Eo(Zr.opacityContentOnSurfacePressed,Wo.secondaryStateLayerOpacityActive)};
|
|
839
839
|
|
|
840
|
-
background-color: ${
|
|
841
|
-
color: ${
|
|
842
|
-
border-color: ${
|
|
840
|
+
background-color: ${Wo.secondaryBackgroundColor};
|
|
841
|
+
color: ${Wo.secondaryColor};
|
|
842
|
+
border-color: ${Wo.secondaryBorderColor};
|
|
843
843
|
border-style: solid;
|
|
844
844
|
}
|
|
845
845
|
|
|
846
846
|
.ft-button--secondary[disabled] {
|
|
847
|
-
opacity: ${
|
|
847
|
+
opacity: ${Wo.secondaryComponentOpacityDisabled};
|
|
848
848
|
}
|
|
849
849
|
|
|
850
850
|
.ft-button--secondary ft-icon {
|
|
851
|
-
color: ${
|
|
851
|
+
color: ${Wo.secondaryIconColor};
|
|
852
852
|
}
|
|
853
853
|
|
|
854
854
|
/** Tertiary styles **/
|
|
855
855
|
|
|
856
856
|
.ft-button--tertiary {
|
|
857
|
-
${
|
|
857
|
+
${Eo(_r.color,Wo.tertiaryIconColor)};
|
|
858
858
|
|
|
859
|
-
${
|
|
860
|
-
${
|
|
861
|
-
${
|
|
862
|
-
${
|
|
863
|
-
${
|
|
859
|
+
${Eo(Zr.color,Wo.tertiaryStateLayerColor)};
|
|
860
|
+
${Eo(Zr.opacityContentOnSurfaceHover,Wo.tertiaryStateLayerOpacityHover)};
|
|
861
|
+
${Eo(Zr.opacityContentOnSurfaceFocused,Wo.tertiaryStateLayerOpacityFocus)};
|
|
862
|
+
${Eo(Zr.opacityContentOnSurfaceSelected,Wo.tertiaryStateLayerOpacityActive)};
|
|
863
|
+
${Eo(Zr.opacityContentOnSurfacePressed,Wo.tertiaryStateLayerOpacityActive)};
|
|
864
864
|
|
|
865
|
-
background-color: ${
|
|
866
|
-
color: ${
|
|
865
|
+
background-color: ${Wo.tertiaryBackgroundColor};
|
|
866
|
+
color: ${Wo.tertiaryColor};
|
|
867
867
|
border-style: none;
|
|
868
868
|
}
|
|
869
869
|
|
|
870
870
|
.ft-button--tertiary[disabled] {
|
|
871
|
-
opacity: ${
|
|
871
|
+
opacity: ${Wo.tertiaryComponentOpacityDisabled};
|
|
872
872
|
}
|
|
873
873
|
|
|
874
874
|
.ft-button--tertiary ft-icon {
|
|
875
|
-
color: ${
|
|
875
|
+
color: ${Wo.tertiaryIconColor};
|
|
876
876
|
}
|
|
877
877
|
|
|
878
878
|
/** Neutral styles **/
|
|
879
879
|
|
|
880
880
|
.ft-button--neutral {
|
|
881
|
-
${
|
|
881
|
+
${Eo(_r.color,Wo.neutralIconColor)};
|
|
882
882
|
|
|
883
|
-
${
|
|
884
|
-
${
|
|
885
|
-
${
|
|
886
|
-
${
|
|
887
|
-
${
|
|
883
|
+
${Eo(Zr.backgroundColor,Wo.neutralStateLayerColor)};
|
|
884
|
+
${Eo(Zr.opacityContentOnSurfaceHover,Wo.neutralStateLayerOpacityHover)};
|
|
885
|
+
${Eo(Zr.opacityContentOnSurfaceFocused,Wo.neutralStateLayerOpacityFocus)};
|
|
886
|
+
${Eo(Zr.opacityContentOnSurfaceSelected,Wo.neutralStateLayerOpacityActive)};
|
|
887
|
+
${Eo(Zr.opacityContentOnSurfacePressed,Wo.neutralStateLayerOpacityActive)};
|
|
888
888
|
|
|
889
|
-
background-color: ${
|
|
890
|
-
color: ${
|
|
889
|
+
background-color: ${Wo.neutralBackgroundColor};
|
|
890
|
+
color: ${Wo.neutralColor};
|
|
891
891
|
border-style: none;
|
|
892
892
|
}
|
|
893
893
|
|
|
894
894
|
.ft-button--neutral[disabled] {
|
|
895
|
-
opacity: ${
|
|
895
|
+
opacity: ${Wo.neutralComponentOpacityDisabled};
|
|
896
896
|
}
|
|
897
897
|
|
|
898
898
|
.ft-button--neutral ft-icon {
|
|
899
|
-
color: ${
|
|
899
|
+
color: ${Wo.neutralIconColor};
|
|
900
900
|
}
|
|
901
901
|
|
|
902
902
|
/** Large styles **/
|
|
903
903
|
|
|
904
904
|
.ft-button--large {
|
|
905
|
-
${
|
|
906
|
-
${
|
|
905
|
+
${Eo(Vr.size,Wo.largeIconSize)};
|
|
906
|
+
${Eo(_r.size,Wo.largeIconSize)};
|
|
907
907
|
|
|
908
|
-
height: ${
|
|
909
|
-
padding: 0 ${
|
|
910
|
-
gap: ${
|
|
911
|
-
border-radius: ${
|
|
912
|
-
border-width: ${
|
|
908
|
+
height: ${Wo.largeHeight};
|
|
909
|
+
padding: 0 ${Wo.largeHorizontalPadding};
|
|
910
|
+
gap: ${Wo.largeGap};
|
|
911
|
+
border-radius: ${Wo.largeBorderRadius};
|
|
912
|
+
border-width: ${Wo.largeBorderWidth};
|
|
913
913
|
}
|
|
914
914
|
|
|
915
915
|
.ft-button--large:focus-visible {
|
|
916
|
-
outline-width: ${
|
|
917
|
-
outline-offset: ${
|
|
916
|
+
outline-width: ${Wo.largeFocusOutlineWidth};
|
|
917
|
+
outline-offset: ${Wo.largeFocusOutlineOffset};
|
|
918
918
|
}
|
|
919
919
|
|
|
920
920
|
.ft-button--large.ft-button--icon-only {
|
|
921
|
-
width: ${
|
|
921
|
+
width: ${Wo.largeIconOnlyWidth};
|
|
922
922
|
padding: unset;
|
|
923
923
|
}
|
|
924
924
|
|
|
925
925
|
/** Small styles **/
|
|
926
926
|
|
|
927
927
|
.ft-button--small {
|
|
928
|
-
${
|
|
929
|
-
${
|
|
928
|
+
${Eo(Vr.size,Wo.smallIconSize)};
|
|
929
|
+
${Eo(_r.size,Wo.smallIconSize)};
|
|
930
930
|
|
|
931
|
-
height: ${
|
|
932
|
-
padding: 0 ${
|
|
933
|
-
gap: ${
|
|
934
|
-
border-radius: ${
|
|
935
|
-
border-width: ${
|
|
931
|
+
height: ${Wo.smallHeight};
|
|
932
|
+
padding: 0 ${Wo.smallHorizontalPadding};
|
|
933
|
+
gap: ${Wo.smallGap};
|
|
934
|
+
border-radius: ${Wo.smallBorderRadius};
|
|
935
|
+
border-width: ${Wo.smallBorderWidth};
|
|
936
936
|
}
|
|
937
937
|
|
|
938
938
|
.ft-button--small:focus-visible {
|
|
939
|
-
outline-width: ${
|
|
940
|
-
outline-offset: ${
|
|
939
|
+
outline-width: ${Wo.smallFocusOutlineWidth};
|
|
940
|
+
outline-offset: ${Wo.smallFocusOutlineOffset};
|
|
941
941
|
}
|
|
942
942
|
|
|
943
943
|
.ft-button--small.ft-button--icon-only {
|
|
944
|
-
width: ${
|
|
944
|
+
width: ${Wo.smallIconOnlyWidth};
|
|
945
945
|
padding: unset;
|
|
946
946
|
}
|
|
947
|
-
`,
|
|
947
|
+
`,Te];var In=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Wn extends kn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?fi.caption1medium:fi.body2medium}}Wn.styles=[_e,Un],In([$({type:Boolean})],Wn.prototype,"primary",void 0),In([$({type:Boolean})],Wn.prototype,"secondary",void 0),In([$({type:Boolean})],Wn.prototype,"tertiary",void 0),In([$({type:Boolean})],Wn.prototype,"neutral",void 0),In([$({type:Boolean})],Wn.prototype,"small",void 0),L("ft-button")(Rn),L("ftds-button")(Wn);const Ln=ko.extend("--ft-checkbox-text-color","",Lo.colorOnSurfaceHigh),zn=ko.extend("--ft-checkbox-font-size","",ui.fontSize),Kn=ko.external(Lo.colorPrimary,"Design system"),Fn=ko.external(Lo.colorOnPrimary,"Design system"),Dn=ko.extend("--ft-checkbox-border-color","",Lo.colorOnSurfaceMedium),Zn=ko.external(Lo.colorOnSurfaceDisabled,"Design system"),Bn=$t`
|
|
948
948
|
* {
|
|
949
949
|
box-sizing: border-box;
|
|
950
950
|
}
|
|
951
951
|
|
|
952
952
|
.ft-checkbox {
|
|
953
953
|
box-sizing: border-box;
|
|
954
|
-
color: ${
|
|
954
|
+
color: ${Ln};
|
|
955
955
|
font-size: ${zn};
|
|
956
956
|
|
|
957
957
|
display: inline-flex;
|
|
@@ -984,20 +984,20 @@ class mn extends Rr{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
|
|
|
984
984
|
|
|
985
985
|
.ft-checkbox--box {
|
|
986
986
|
display: flex;
|
|
987
|
-
border: 2px solid ${
|
|
987
|
+
border: 2px solid ${Dn};
|
|
988
988
|
border-radius: 2px;
|
|
989
989
|
|
|
990
990
|
width: 18px;
|
|
991
991
|
height: 18px;
|
|
992
992
|
|
|
993
|
-
color: ${
|
|
993
|
+
color: ${Fn};
|
|
994
994
|
}
|
|
995
995
|
|
|
996
996
|
|
|
997
997
|
.ft-checkbox--checked .ft-checkbox--box,
|
|
998
998
|
.ft-checkbox--indeterminate .ft-checkbox--box {
|
|
999
|
-
border-color: ${
|
|
1000
|
-
background-color: ${
|
|
999
|
+
border-color: ${Kn};
|
|
1000
|
+
background-color: ${Kn};
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
1003
|
.ft-checkbox--disabled .ft-checkbox--box {
|
|
@@ -1022,7 +1022,7 @@ class mn extends Rr{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
|
|
|
1022
1022
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
1023
1023
|
opacity: 1;
|
|
1024
1024
|
}
|
|
1025
|
-
`;var An=function(t,e,
|
|
1025
|
+
`;var An=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Mn extends Pe{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return so`
|
|
1026
1026
|
<label class="${an(t)}" for="checkbox-input">
|
|
1027
1027
|
<div class="ft-checkbox--box-container">
|
|
1028
1028
|
<ft-ripple
|
|
@@ -1048,14 +1048,14 @@ class mn extends Rr{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
|
|
|
1048
1048
|
<slot></slot>
|
|
1049
1049
|
</ft-typography>
|
|
1050
1050
|
</label>
|
|
1051
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var
|
|
1051
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}Mn.elementDefinitions={"ft-ripple":ln,"ft-typography":Nr},Mn.styles=Bn,An([$()],Mn.prototype,"name",void 0),An([$({type:Boolean,reflect:!0})],Mn.prototype,"checked",void 0),An([$({type:Boolean})],Mn.prototype,"indeterminate",void 0),An([$({type:Boolean})],Mn.prototype,"disabled",void 0),An([R(".ft-checkbox")],Mn.prototype,"container",void 0),An([R("ft-ripple")],Mn.prototype,"ripple",void 0),L("ft-checkbox")(Mn);const Hn=ko.extend("--ft-radio-text-color","",Lo.colorOnSurfaceHigh),Pn=ko.external(Lo.colorPrimary,"Design system"),jn=(ko.external(Lo.colorOnPrimary,"Design system"),ko.extend("--ft-radio-border-color","",Lo.colorOnSurfaceMedium)),Tn=ko.external(Lo.colorOnSurfaceDisabled,"Design system"),_n=$t`
|
|
1052
1052
|
* {
|
|
1053
1053
|
box-sizing: border-box;
|
|
1054
1054
|
}
|
|
1055
1055
|
|
|
1056
1056
|
.ft-radio {
|
|
1057
1057
|
box-sizing: border-box;
|
|
1058
|
-
color: ${
|
|
1058
|
+
color: ${Hn};
|
|
1059
1059
|
|
|
1060
1060
|
display: inline-flex;
|
|
1061
1061
|
align-items: center;
|
|
@@ -1099,7 +1099,7 @@ class mn extends Rr{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
|
|
|
1099
1099
|
|
|
1100
1100
|
.ft-radio--box:after {
|
|
1101
1101
|
content: " ";
|
|
1102
|
-
background-color: ${
|
|
1102
|
+
background-color: ${Pn};
|
|
1103
1103
|
|
|
1104
1104
|
border-radius: 50%;
|
|
1105
1105
|
|
|
@@ -1111,7 +1111,7 @@ class mn extends Rr{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
|
|
|
1111
1111
|
}
|
|
1112
1112
|
|
|
1113
1113
|
.ft-radio--checked .ft-radio--box {
|
|
1114
|
-
border-color: ${
|
|
1114
|
+
border-color: ${Pn};
|
|
1115
1115
|
}
|
|
1116
1116
|
|
|
1117
1117
|
|
|
@@ -1127,7 +1127,7 @@ class mn extends Rr{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
|
|
|
1127
1127
|
.ft-radio--disabled .ft-radio--box:after {
|
|
1128
1128
|
background-color: ${Tn};
|
|
1129
1129
|
}
|
|
1130
|
-
`;var Gn=function(t,e,
|
|
1130
|
+
`;var Gn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Vn extends CustomEvent{constructor(t,o){super("change",{detail:{value:t,checked:o},bubbles:!0,composed:!0})}}class Yn extends Pe{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return so`
|
|
1131
1131
|
<div class="${an(t)}">
|
|
1132
1132
|
<div class="ft-radio--box-container">
|
|
1133
1133
|
<ft-ripple
|
|
@@ -1152,22 +1152,22 @@ class mn extends Rr{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
|
|
|
1152
1152
|
</ft-typography>
|
|
1153
1153
|
</label>
|
|
1154
1154
|
</div>
|
|
1155
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Vn(this.value,this.checked))}contentAvailableCallback(t){var
|
|
1155
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Vn(this.value,this.checked))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Vn(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Yn.elementDefinitions={"ft-ripple":ln,"ft-typography":Nr},Yn.styles=_n,Gn([$()],Yn.prototype,"value",void 0),Gn([$()],Yn.prototype,"name",void 0),Gn([$({type:Boolean,reflect:!0})],Yn.prototype,"checked",void 0),Gn([$({type:Boolean})],Yn.prototype,"disabled",void 0),Gn([R(".ft-radio")],Yn.prototype,"container",void 0),Gn([R("ft-ripple")],Yn.prototype,"ripple",void 0),Gn([R("input")],Yn.prototype,"input",void 0);const Jn=$t`
|
|
1156
1156
|
:host {
|
|
1157
1157
|
display: contents;
|
|
1158
1158
|
}
|
|
1159
|
-
`;var qn=function(t,e,
|
|
1159
|
+
`;var qn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xn extends Pe{constructor(){super(...arguments),this.name=""}render(){return so`
|
|
1160
1160
|
<slot @slotchange=${this.onSlotChange}
|
|
1161
1161
|
@change=${this.onChange}
|
|
1162
1162
|
@keydown=${this.onKeyDown}
|
|
1163
1163
|
></slot>
|
|
1164
|
-
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((
|
|
1164
|
+
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((o=>o.checked=t.detail.value===o.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let o=this.findFtRadio(t),e=this.radioButtons.indexOf(o)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Xn.elementDefinitions={},Xn.styles=Jn,qn([$()],Xn.prototype,"name",void 0),qn([
|
|
1165
1165
|
/**
|
|
1166
1166
|
* @license
|
|
1167
1167
|
* Copyright 2021 Google LLC
|
|
1168
1168
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1169
1169
|
*/
|
|
1170
|
-
function(t){return(e
|
|
1170
|
+
function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(n),e=o?.assignedElements(t)??[];return void 0===r?e:e.filter((t=>t.matches(r)))}})}}()],Xn.prototype,"radioButtons",void 0),L("ft-radio")(Yn),L("ft-radio-group")(Xn);const Qn={borderRadiusM:ko.external(Lo.borderRadiusM,"Design system"),colorOutline:ko.external(Lo.colorOutline,"Design system"),colorOnSurface:ko.external(Lo.colorOnSurface,"Design system"),colorOnSurfaceMedium:ko.external(Lo.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ko.external(Lo.colorOnSurfaceDisabled,"Design system"),colorPrimary:ko.external(Lo.colorPrimary,"Design system"),colorOnPrimary:ko.external(Lo.colorOnPrimary,"Design system"),fontFamily:ko.external(Ti.fontFamily,"Body2 typography"),fontSize:ko.external(Ti.fontSize,"Body2 typography"),fontWeight:ko.external(Ti.fontWeight,"Body2 typography"),letterSpacing:ko.external(Ti.letterSpacing,"Body2 typography"),lineHeight:ko.external(Ti.lineHeight,"Body2 typography"),textTransform:ko.external(Ti.textTransform,"Body2 typography")},ta=$t`
|
|
1171
1171
|
.ft-filter-level--container {
|
|
1172
1172
|
display: flex;
|
|
1173
1173
|
flex-direction: column;
|
|
@@ -1217,7 +1217,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1217
1217
|
}
|
|
1218
1218
|
|
|
1219
1219
|
ft-button {
|
|
1220
|
-
${
|
|
1220
|
+
${Eo(qr.color,Qn.colorOnSurface)};
|
|
1221
1221
|
}
|
|
1222
1222
|
|
|
1223
1223
|
ft-radio, ft-checkbox {
|
|
@@ -1233,9 +1233,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1233
1233
|
margin: 10px 0;
|
|
1234
1234
|
color: ${Qn.colorOnSurfaceMedium};
|
|
1235
1235
|
}
|
|
1236
|
-
`;var
|
|
1236
|
+
`;var oa=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ea extends Pe{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,o;return null!==(o=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==o?o:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const o=t.slice(0,this.limit);return so`
|
|
1237
1237
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1238
|
-
${null==this.parent?null:
|
|
1238
|
+
${null==this.parent?null:so`
|
|
1239
1239
|
<div tabindex="0"
|
|
1240
1240
|
part="controls go-back"
|
|
1241
1241
|
class="ft-filter-level--go-back"
|
|
@@ -1247,15 +1247,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1247
1247
|
<ft-typography variant="body2">${this.parent.label}</ft-typography>
|
|
1248
1248
|
</div>
|
|
1249
1249
|
`}
|
|
1250
|
-
${0===this.options.length&&this.noValuesLabel?
|
|
1250
|
+
${0===this.options.length&&this.noValuesLabel?so`
|
|
1251
1251
|
<ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
|
|
1252
1252
|
${this.noValuesLabel}
|
|
1253
1253
|
</ft-typography>
|
|
1254
|
-
`:
|
|
1255
|
-
${
|
|
1254
|
+
`:co}
|
|
1255
|
+
${Fr(o,(t=>t.value),(t=>{var o;return so`
|
|
1256
1256
|
<div class="ft-filter-level--option" part="options">
|
|
1257
1257
|
${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
|
|
1258
|
-
${this.preventNavigation||t.selected||0===(null!==(
|
|
1258
|
+
${this.preventNavigation||t.selected||0===(null!==(o=t.subOptions)&&void 0!==o?o:[]).length?co:so`
|
|
1259
1259
|
<ft-button icon="thin_arrow_right"
|
|
1260
1260
|
part="controls navigate-hierarchy"
|
|
1261
1261
|
label="${t.label}"
|
|
@@ -1265,7 +1265,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1265
1265
|
`}
|
|
1266
1266
|
</div>
|
|
1267
1267
|
`}))}
|
|
1268
|
-
${
|
|
1268
|
+
${o.length<t.length?so`
|
|
1269
1269
|
<ft-button
|
|
1270
1270
|
class="ft-filter-level--display-more"
|
|
1271
1271
|
icon="thin_arrow"
|
|
@@ -1274,30 +1274,30 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1274
1274
|
@click=${this.displayMore}>
|
|
1275
1275
|
${this.moreValuesButtonLabel}
|
|
1276
1276
|
</ft-button>
|
|
1277
|
-
`:
|
|
1277
|
+
`:co}
|
|
1278
1278
|
</div>
|
|
1279
|
-
`}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var
|
|
1279
|
+
`}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var o;return so`
|
|
1280
1280
|
<ft-checkbox name="${this.filterId}"
|
|
1281
1281
|
part="multivalued-option"
|
|
1282
1282
|
data-value="${t.value}"
|
|
1283
1283
|
.checked=${t.selected}
|
|
1284
1284
|
.disabled=${this.disabled}
|
|
1285
|
-
.indeterminate=${I(null!==(
|
|
1286
|
-
@change=${
|
|
1285
|
+
.indeterminate=${I(null!==(o=t.subOptions)&&void 0!==o?o:[],(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]})).some((t=>t.selected))}
|
|
1286
|
+
@change=${o=>this.optionsChanged(o,t)}>
|
|
1287
1287
|
${t.renderOption?t.renderOption:t.label}
|
|
1288
1288
|
</ft-checkbox>
|
|
1289
|
-
`}buildMonoValuedOption(t){return
|
|
1289
|
+
`}buildMonoValuedOption(t){return so`
|
|
1290
1290
|
<ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
|
|
1291
1291
|
part="monovalued-option"
|
|
1292
1292
|
data-value="${t.value}"
|
|
1293
1293
|
.checked=${t.selected}
|
|
1294
1294
|
.disabled=${this.disabled}
|
|
1295
|
-
@click=${
|
|
1296
|
-
@keyup=${
|
|
1295
|
+
@click=${o=>this.optionsChanged(o,t)}
|
|
1296
|
+
@keyup=${o=>this.onRadioKeyUp(o,t)}
|
|
1297
1297
|
@change=${t=>t.stopPropagation()}>
|
|
1298
1298
|
${t.renderOption?t.renderOption:t.label}
|
|
1299
1299
|
</ft-radio>
|
|
1300
|
-
`}onRadioKeyUp(t,
|
|
1300
|
+
`}onRadioKeyUp(t,o){o.selected&&" "===t.key&&this.optionsChanged(t,o)}optionsChanged(t,o){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}ea.elementDefinitions={"ft-button":Rn,"ft-ripple":ln,"ft-typography":Nr,"ft-checkbox":Mn,"ft-icon":Nn,"ft-radio":Yn},ea.styles=ta,oa([$({type:String})],ea.prototype,"filterId",void 0),oa([$({type:Object})],ea.prototype,"parent",void 0),oa([$({type:Array})],ea.prototype,"options",void 0),oa([$({type:Boolean})],ea.prototype,"multivalued",void 0),oa([$({type:Boolean})],ea.prototype,"disabled",void 0),oa([$({type:Boolean})],ea.prototype,"hideSelectedOptions",void 0),oa([$({type:Boolean})],ea.prototype,"preventNavigation",void 0),oa([$({type:String})],ea.prototype,"filter",void 0),oa([$({type:String})],ea.prototype,"moreValuesButtonLabel",void 0),oa([$({type:String})],ea.prototype,"noValuesLabel",void 0),oa([$({type:Number})],ea.prototype,"displayedValuesLimit",void 0),oa([R(".ft-filter-level--container")],ea.prototype,"container",void 0),oa([C()],ea.prototype,"displayedPages",void 0);const ia={buttonsColor:ko.extend("--ft-snap-scroll-buttons-color","",Lo.colorPrimary),buttonsZIndex:ko.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:ko.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:ko.external(Lo.colorSurface,"Design system")},ra=$t`
|
|
1301
1301
|
.ft-snap-scroll {
|
|
1302
1302
|
box-sizing: border-box;
|
|
1303
1303
|
position: relative;
|
|
@@ -1378,8 +1378,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1378
1378
|
z-index: ${ia.buttonsZIndex};
|
|
1379
1379
|
opacity: 1;
|
|
1380
1380
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1381
|
-
${
|
|
1382
|
-
${
|
|
1381
|
+
${Eo(qr.backgroundColor,"transparent")};
|
|
1382
|
+
${Eo(qr.color,ia.buttonsColor)};
|
|
1383
1383
|
}
|
|
1384
1384
|
|
|
1385
1385
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1422,15 +1422,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1422
1422
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1423
1423
|
background-color: ${ia.colorSurface};
|
|
1424
1424
|
}
|
|
1425
|
-
`;var na=function(t,e,
|
|
1425
|
+
`;var na=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class aa extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class sa extends Pe{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new o(200),this.updateScrollDebouncer=new o(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=an({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":ni}),o=this.controls&&this.withScroll;return so`
|
|
1426
1426
|
<div part="container" class="${t}">
|
|
1427
1427
|
<ft-button
|
|
1428
1428
|
class="ft-snap-scroll--previous"
|
|
1429
1429
|
part="controls"
|
|
1430
1430
|
primary
|
|
1431
1431
|
icon="${this.horizontal?"THIN_ARROW_LEFT":"THIN_ARROW_UP"}"
|
|
1432
|
-
?hidden=${!
|
|
1433
|
-
?disabled=${!
|
|
1432
|
+
?hidden=${!o||this.startReached}
|
|
1433
|
+
?disabled=${!o||this.startReached}
|
|
1434
1434
|
@click=${this.previous}
|
|
1435
1435
|
></ft-button>
|
|
1436
1436
|
<slot class="ft-snap-scroll--content"
|
|
@@ -1441,12 +1441,12 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1441
1441
|
part="controls"
|
|
1442
1442
|
primary
|
|
1443
1443
|
icon="${this.horizontal?"THIN_ARROW_RIGHT":"THIN_ARROW"}"
|
|
1444
|
-
?hidden=${!
|
|
1445
|
-
?disabled=${!
|
|
1444
|
+
?hidden=${!o||this.endReached}
|
|
1445
|
+
?disabled=${!o||this.endReached}
|
|
1446
1446
|
@click=${this.next}
|
|
1447
1447
|
></ft-button>
|
|
1448
1448
|
</div>
|
|
1449
|
-
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new aa(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var
|
|
1449
|
+
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new aa(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(o=this.listenedContainer)||void 0===o||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,e;t&&(this.horizontal?null===(o=this.contentSlot)||void 0===o||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=null!==(o=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==o?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}}sa.elementDefinitions={"ft-button":Rn},sa.styles=ra,na([$({type:Boolean})],sa.prototype,"horizontal",void 0),na([$({type:Boolean})],sa.prototype,"hideScrollbar",void 0),na([$({type:Boolean})],sa.prototype,"controls",void 0),na([$({type:Boolean})],sa.prototype,"limitSize",void 0),na([C()],sa.prototype,"elements",void 0),na([C()],sa.prototype,"currentElement",void 0),na([C()],sa.prototype,"withScroll",void 0),na([C()],sa.prototype,"startReached",void 0),na([C()],sa.prototype,"endReached",void 0),na([R(".ft-snap-scroll--content")],sa.prototype,"contentSlot",void 0),L("ft-snap-scroll")(sa);const la={colorOutline:ko.external(Lo.colorOutline,"Design system"),colorOnSurface:ko.external(Lo.colorOnSurface,"Design system"),colorOnSurfaceMedium:ko.external(Lo.colorOnSurfaceMedium,"Design system"),colorPrimary:ko.external(Lo.colorPrimary,"Design system"),colorSurface:ko.external(Lo.colorSurface,"Design system"),transitionDuration:ko.external(Lo.transitionDuration,"Design system"),transitionTimingFunction:ko.external(Lo.transitionTimingFunction,"Design system"),labelColor:ko.extend("--ft-filter-label-color","",Lo.colorOnSurface),labelFontSize:ko.extend("--ft-filter-label-font-size","",ui.fontSize,"16px")},ca=[br,$t`
|
|
1450
1450
|
:host {
|
|
1451
1451
|
display: flex;
|
|
1452
1452
|
max-height: 100%;
|
|
@@ -1473,7 +1473,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1473
1473
|
.ft-filter--header ft-button {
|
|
1474
1474
|
flex-shrink: 0;
|
|
1475
1475
|
margin-left: auto;
|
|
1476
|
-
${
|
|
1476
|
+
${Eo(qr.iconSize,"18px")};
|
|
1477
1477
|
}
|
|
1478
1478
|
|
|
1479
1479
|
.ft-filter--label {
|
|
@@ -1483,8 +1483,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1483
1483
|
word-break: break-word;
|
|
1484
1484
|
color: ${la.labelColor};
|
|
1485
1485
|
font-size: ${la.labelFontSize};
|
|
1486
|
-
${
|
|
1487
|
-
${
|
|
1486
|
+
${Eo(ui.lineHeight,"22px")};
|
|
1487
|
+
${Eo(ui.fontWeight,"bold")};
|
|
1488
1488
|
}
|
|
1489
1489
|
|
|
1490
1490
|
.ft-filter--filter {
|
|
@@ -1558,29 +1558,29 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1558
1558
|
slot:not([name]) {
|
|
1559
1559
|
display: none;
|
|
1560
1560
|
}
|
|
1561
|
-
`];var
|
|
1561
|
+
`];var pa=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fa extends CustomEvent{constructor(t){super("change",{detail:t})}}class ha extends Pe{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new o(300),this.changeDebouncer=new o(10),this.lastDispatchedValues=[]}get flatOptions(){return I(this.options,(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]}))}get childrenFilteredFlatOptions(){return I(this.options,(t=>{var o;return t.selected?[]:null!==(o=t.subOptions)&&void 0!==o?o:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,e=this.filterPlaceHolder.replace("{0}",this.label);return so`
|
|
1562
1562
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1563
1563
|
part="container">
|
|
1564
|
-
${this.label||t?
|
|
1564
|
+
${this.label||t?so`
|
|
1565
1565
|
<div class="ft-filter--header" part="header">
|
|
1566
1566
|
<ft-typography class="ft-filter--label" variant="overline" part="label">
|
|
1567
1567
|
${this.label}
|
|
1568
1568
|
</ft-typography>
|
|
1569
1569
|
<slot name="label"></slot>
|
|
1570
|
-
${t&&!this.hideClearButton?
|
|
1570
|
+
${t&&!this.hideClearButton?so`
|
|
1571
1571
|
<ft-button icon="close" dense @click=${this.clear} part="clear-button">
|
|
1572
1572
|
${this.clearButtonLabel}
|
|
1573
1573
|
</ft-button>
|
|
1574
1574
|
`:null}
|
|
1575
1575
|
</div>
|
|
1576
1576
|
`:null}
|
|
1577
|
-
<div class="ft-filter--filter" ?hidden=${!
|
|
1577
|
+
<div class="ft-filter--filter" ?hidden=${!o}>
|
|
1578
1578
|
<input type="search"
|
|
1579
1579
|
part="input"
|
|
1580
1580
|
class="ft-typography--caption"
|
|
1581
|
-
?disabled=${!
|
|
1582
|
-
placeholder="${
|
|
1583
|
-
size="${e
|
|
1581
|
+
?disabled=${!o}
|
|
1582
|
+
placeholder="${e}"
|
|
1583
|
+
size="${o?e.length:0}"
|
|
1584
1584
|
@search=${this.onFilterChange}
|
|
1585
1585
|
@keyup=${this.onFilterChange}>
|
|
1586
1586
|
</div>
|
|
@@ -1591,14 +1591,14 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1591
1591
|
@slotchange=${this.updateOptionsFromSlot}
|
|
1592
1592
|
@option-change=${this.optionsChanged}></slot>
|
|
1593
1593
|
</div>
|
|
1594
|
-
`}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((
|
|
1595
|
-
${this.raiseSelectedOptions&&
|
|
1594
|
+
`}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((o=>t.has(o))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var o,e,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(o=this.levelsContainer)||void 0===o||o.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(e=this.levelsContainer)||void 0===e||e.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,o=t.filter((t=>t.selected)),e=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=e<0?"ft-filter--level-center":"ft-filter--level-left";return so`
|
|
1595
|
+
${this.raiseSelectedOptions&&o.length>0?so`
|
|
1596
1596
|
<ft-filter-level
|
|
1597
1597
|
filterId="${this.id}"
|
|
1598
1598
|
?multivalued=${this.multivalued}
|
|
1599
1599
|
?disabled=${this.disabled}
|
|
1600
1600
|
preventNavigation
|
|
1601
|
-
.options=${
|
|
1601
|
+
.options=${o}
|
|
1602
1602
|
@change=${this.onChange}
|
|
1603
1603
|
part="values selected-values"
|
|
1604
1604
|
.exportpartsPrefixes=${["values","selected-values"]}
|
|
@@ -1609,9 +1609,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1609
1609
|
class="ft-filter--levels"
|
|
1610
1610
|
@current-element-change=${t=>this.levelsScrollDebouncer.run((()=>{for(;t.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()}))}>
|
|
1611
1611
|
${this.renderLevel(i,this.options)}
|
|
1612
|
-
${this.displayedLevels.map((
|
|
1612
|
+
${this.displayedLevels.map((o=>t.find((t=>t.value===o)))).map(((t,o)=>{var i;const r=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":o===e?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(r,null!==(i=null==t?void 0:t.subOptions)&&void 0!==i?i:[],t)}))}
|
|
1613
1613
|
</ft-snap-scroll>
|
|
1614
|
-
`}renderLevel(t,e
|
|
1614
|
+
`}renderLevel(t,o,e){return so`
|
|
1615
1615
|
<ft-filter-level
|
|
1616
1616
|
class="${t}"
|
|
1617
1617
|
filterId="${this.id}"
|
|
@@ -1620,8 +1620,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1620
1620
|
?multivalued=${this.multivalued}
|
|
1621
1621
|
?disabled=${this.disabled||"ft-filter--level-center"!==t}
|
|
1622
1622
|
?hideSelectedOptions=${this.raiseSelectedOptions}
|
|
1623
|
-
.parent=${
|
|
1624
|
-
.options=${
|
|
1623
|
+
.parent=${e}
|
|
1624
|
+
.options=${o}
|
|
1625
1625
|
.displayedValuesLimit=${this.displayedValuesLimit}
|
|
1626
1626
|
@change=${this.onChange}
|
|
1627
1627
|
@go-back=${this.goBack}
|
|
@@ -1630,6 +1630,6 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1630
1630
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1631
1631
|
noValuesLabel="${this.noValuesLabel}"
|
|
1632
1632
|
></ft-filter-level>
|
|
1633
|
-
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var
|
|
1633
|
+
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var o;t.stopPropagation();const e=this.flatOptions.find((o=>o.value===t.detail.value));e.selected=!e.selected;const i=t=>{var o;t!==e&&(t.selected=!1),null===(o=t.subOptions)||void 0===o||o.forEach(i)};this.multivalued?null===(o=e.subOptions)||void 0===o||o.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;W(this.lastDispatchedValues,t)||(this.dispatchEvent(new fa(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,o;this.filter=null!==(o=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==o?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}ha.elementDefinitions={"ft-button":Rn,"ft-filter-level":ea,"ft-snap-scroll":sa,"ft-typography":Nr},ha.styles=ca,pa([$({type:String})],ha.prototype,"id",void 0),pa([$({type:String})],ha.prototype,"label",void 0),pa([$({type:String})],ha.prototype,"filterPlaceHolder",void 0),pa([$({type:String})],ha.prototype,"clearButtonLabel",void 0),pa([$({type:String})],ha.prototype,"moreValuesButtonLabel",void 0),pa([$({type:String})],ha.prototype,"noValuesLabel",void 0),pa([z([])],ha.prototype,"options",void 0),pa([$({type:Boolean})],ha.prototype,"multivalued",void 0),pa([$({type:Boolean})],ha.prototype,"disabled",void 0),pa([$({type:Boolean})],ha.prototype,"raiseSelectedOptions",void 0),pa([$({type:Number})],ha.prototype,"displayedValuesLimit",void 0),pa([$({type:Boolean})],ha.prototype,"hideClearButton",void 0),pa([R(".ft-filter--slot")],ha.prototype,"slotElement",void 0),pa([R(".ft-filter--container")],ha.prototype,"container",void 0),pa([R(".ft-filter--values")],ha.prototype,"valuesContainer",void 0),pa([R(".ft-filter--levels")],ha.prototype,"levelsContainer",void 0),pa([C()],ha.prototype,"lastLevelHasHiddenvalues",void 0),pa([R(".ft-filter--filter input")],ha.prototype,"filterInput",void 0),pa([function(t){return(o,e)=>E(0,0,{get(){return(this.renderRoot??(U??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],ha.prototype,"levels",void 0),pa([C()],ha.prototype,"withScroll",void 0),pa([C()],ha.prototype,"filter",void 0),pa([C()],ha.prototype,"slideIn",void 0),pa([C()],ha.prototype,"slideOut",void 0);var da=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ua extends Pe{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return so`
|
|
1634
1634
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1635
|
-
`}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ua.elementDefinitions={},da([$({type:String})],ua.prototype,"label",void 0),da([$({type:Object,converter:t=>t})],ua.prototype,"value",void 0),da([$({type:Boolean,reflect:!0})],ua.prototype,"selected",void 0),da([$({type:Object})],ua.prototype,"subOptions",void 0),da([z({})],ua.prototype,"renderOption",void 0),da([
|
|
1635
|
+
`}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ua.elementDefinitions={},da([$({type:String})],ua.prototype,"label",void 0),da([$({type:Object,converter:t=>t})],ua.prototype,"value",void 0),da([$({type:Boolean,reflect:!0})],ua.prototype,"selected",void 0),da([$({type:Object})],ua.prototype,"subOptions",void 0),da([z({})],ua.prototype,"renderOption",void 0),da([R(".ft-filter-option--slot")],ua.prototype,"slotElement",void 0),L("ft-filter")(ha),L("ft-filter-option")(ua),t.FtFilter=ha,t.FtFilterChangeEvent=fa,t.FtFilterCssVariables=la,t.FtFilterLevelCssVariables=Qn,t.FtFilterOption=ua,t.levelStyles=ta,t.styles=ca}({});
|