@fluid-topics/ft-filter 1.0.62 → 1.1.0
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-level.d.ts +1 -1
- package/build/ft-filter.d.ts +1 -1
- package/build/ft-filter.light.js +254 -254
- package/build/ft-filter.min.js +404 -383
- package/package.json +11 -11
package/build/ft-filter.min.js
CHANGED
|
@@ -1,78 +1,87 @@
|
|
|
1
1
|
!function(t){
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
*/
|
|
17
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=r.prototype.attributeChangedCallback,s=new Set(r.observedAttributes||[]);h(r,s,l);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=s;if(o)return s=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),s=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&l.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0!==r.get(e).formAssociated)throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`);i?.call(this,...o)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(oi){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
5
|
+
* This code may only be used under the BSD style license found at
|
|
6
|
+
* http://polymer.github.io/LICENSE.txt
|
|
7
|
+
* The complete set of authors may be found at
|
|
8
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
9
|
+
* The complete set of contributors may be found at
|
|
10
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
11
|
+
* Code distributed by Google as part of the polymer project is also
|
|
12
|
+
* subject to an additional IP rights grant found at
|
|
13
|
+
* http://polymer.github.io/PATENTS.txt
|
|
14
|
+
*/
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=h(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},h=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(ar){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
18
16
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
* @license
|
|
18
|
+
* Copyright 2019 Google LLC
|
|
19
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
+
*/const e=globalThis,i=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(i&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=n.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return a(o)})(t):t
|
|
23
21
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
* @license
|
|
23
|
+
* Copyright 2017 Google LLC
|
|
24
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
+
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:h,getOwnPropertySymbols:f,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let 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=[...h(t),...f(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};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");
|
|
28
26
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright 2017 Google LLC
|
|
29
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
+
*/
|
|
31
|
+
const N={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=N,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?w(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
33
32
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
* @license
|
|
34
|
+
* Copyright 2017 Google LLC
|
|
35
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
+
*/}function C(t){return $({...t,state:!0,attribute:!1})}
|
|
38
37
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
* @license
|
|
39
|
+
* Copyright 2017 Google LLC
|
|
40
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
+
*/const k=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
43
42
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
var l;const s=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,o)=>t.assignedElements(o):(t,o)=>t.assignedNodes(o).filter((t=>t.nodeType===Node.ELEMENT_NODE));function c(t){const{slot:o,selector:e}=null!=t?t:{};return n({descriptor:i=>({get(){var i;const r="slot"+(o?`[name=${o}]`:":not([name])"),n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(r),a=null!=n?s(n,t):[];return e?a.filter((t=>t.matches(e))):a},enumerable:!0,configurable:!0})})}
|
|
43
|
+
* @license
|
|
44
|
+
* Copyright 2017 Google LLC
|
|
45
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
+
*/;function R(t,o){return(e,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof i?e:r??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return k(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 k(0,0,{get(){return n(this)}})}}
|
|
49
47
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
48
|
+
* @license
|
|
49
|
+
* Copyright 2017 Google LLC
|
|
50
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
+
*/let E;function U(t,o){return t.flatMap((t=>[t,...U(o(t),o)]))}function I(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(!I(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(!I(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(!I(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 W(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)=>!I(t,o),...null!=o?o:{}})}
|
|
54
52
|
/**
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
* @license
|
|
54
|
+
* Copyright 2017 Google LLC
|
|
55
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
+
*/const z=globalThis,K=z.trustedTypes,F=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,B="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,D="?"+Z,M=`<${D}>`,A=document,P=()=>A.createComment(""),H=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,T=t=>j(t)||"function"==typeof t?.[Symbol.iterator],_="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,V=/-->/g,Y=/>/g,J=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),q=/'/g,X=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ot=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),it=new WeakMap,rt=A.createTreeWalker(A,129);function nt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==F?F.createHTML(o):o}const at=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=G;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===G?"!--"===l[1]?a=V:void 0!==l[1]?a=Y:void 0!==l[2]?(Q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=J):void 0!==l[3]&&(a=J):a===J?">"===l[0]?(a=r??G,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?J:'"'===l[3]?X:q):a===X||a===q?a=J:a===V||a===Y?a=G:(a=J,r=void 0);const h=a===J&&t[o+1].startsWith("/>")?" ":"";n+=a===G?e+M:c>=0?(i.push(s),e.slice(0,c)+B+e.slice(c)+Z+h):e+Z+(-2===c?o:h)}return[nt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};let st=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]=at(o,e);if(this.el=t.createElement(c,i),rt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=rt.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(B)){const o=p[a++],e=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?ft:"?"===i[1]?dt:"@"===i[1]?ut:ht}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(Q.test(r.tagName)){const t=r.textContent.split(Z),o=t.length-1;if(o>0){r.textContent=K?K.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],P()),rt.nextNode(),l.push({type:2,index:++n});r.append(t[o],P())}}}else if(8===r.nodeType)if(r.data===D)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)l.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,o){const e=A.createElement("template");return e.innerHTML=t,e}};function lt(t,o,e=t,i){if(o===ot)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=H(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=lt(t,r._$AS(t,o.values),r,i)),o}let ct=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??A).importNode(o,!0);rt.currentNode=i;let r=rt.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new pt(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new yt(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=rt.nextNode(),n++)}return rt.currentNode=A,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++}},pt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=et,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=lt(this,t,o),H(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==ot&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):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!==et&&H(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.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=st.createElement(nt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new ct(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=it.get(t.strings);return void 0===o&&it.set(t.strings,o=new st(t)),o}T(o){j(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=et,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=et}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=lt(this,t,o,0),n=!H(t)||t!==this._$AH&&t!==ot,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=lt(this,i[e+a],o,a),s===ot&&(s=this._$AH[a]),n||=!H(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends ht{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},dt=class extends ht{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},ut=class extends ht{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=lt(this,t,o,0)??et)===ot)return;const e=this._$AH,i=t===et&&e!==et||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==et&&(e===et||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)}},yt=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){lt(this,t)}};const gt={j:B,P:Z,A:D,C:1,M:at,L:ct,R:T,V:lt,D:pt,I:ht,H:dt,N:ut,U:ft,B:yt},bt=z.litHtmlPolyfillSupport;bt?.(st,pt),(z.litHtmlVersions??=[]).push("3.1.0");
|
|
59
57
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
* @license
|
|
59
|
+
* Copyright 2019 Google LLC
|
|
60
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
+
*/
|
|
62
|
+
const mt=globalThis,xt=mt.ShadowRoot&&(void 0===mt.ShadyCSS||mt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vt=Symbol(),Ot=new WeakMap;let St=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==vt)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(xt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=Ot.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&Ot.set(o,t))}return t}toString(){return this.cssText}};const Nt=t=>new St("string"==typeof t?t:t+"",void 0,vt),wt=(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 St(e,t,vt)},$t=xt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return Nt(o)})(t):t
|
|
64
63
|
/**
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
var L;U.finalized=!0,U.elementProperties=new Map,U.elementStyles=[],U.shadowRootOptions={mode:"open"},null==k||k({ReactiveElement:U}),(null!==(S=w.reactiveElementVersions)&&void 0!==S?S:w.reactiveElementVersions=[]).push("1.6.1");const W=window,z=W.trustedTypes,K=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",B=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+B,D=`<${Z}>`,M=document,A=()=>M.createComment(""),H=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,P=t=>j(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),T="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,V=/>/g,Y=RegExp(`>|${T}(?:([^\\s"'>=/]+)(${T}*=${T}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),J=/'/g,q=/"/g,X=/^(?:script|style|textarea|title)$/i,Q=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),tt=Symbol.for("lit-noChange"),ot=Symbol.for("lit-nothing"),et=new WeakMap,it=M.createTreeWalker(M,129,null,!1),rt=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=_;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,s=a.exec(e),null!==s);)p=a.lastIndex,a===_?"!--"===s[1]?a=G:void 0!==s[1]?a=V:void 0!==s[2]?(X.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=Y):void 0!==s[3]&&(a=Y):a===Y?">"===s[0]?(a=null!=r?r:_,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Y:'"'===s[3]?q:J):a===q||a===J?a=Y:a===G||a===V?a=_:(a=Y,r=void 0);const f=a===Y&&t[o+1].startsWith("/>")?" ":"";n+=a===_?e+D:c>=0?(i.push(l),e.slice(0,c)+F+e.slice(c)+B+f):e+B+(-2===c?(i.push(void 0),o):f)}const l=n+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==K?K.createHTML(l):l,i]};class nt{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[s,c]=rt(t,o);if(this.el=nt.createElement(s,e),it.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(i=it.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const o of i.getAttributeNames())if(o.endsWith(F)||o.startsWith(B)){const e=c[n++];if(t.push(o),void 0!==e){const t=i.getAttribute(e.toLowerCase()+F).split(B),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:o[2],strings:t,ctor:"."===o[1]?pt:"?"===o[1]?ht:"@"===o[1]?dt:ct})}else l.push({type:6,index:r})}for(const o of t)i.removeAttribute(o)}if(X.test(i.tagName)){const t=i.textContent.split(B),o=t.length-1;if(o>0){i.textContent=z?z.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],A()),it.nextNode(),l.push({type:2,index:++r});i.append(t[o],A())}}}else if(8===i.nodeType)if(i.data===Z)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(B,t+1));)l.push({type:7,index:r}),t+=B.length-1}r++}}static createElement(t,o){const e=M.createElement("template");return e.innerHTML=t,e}}function at(t,o,e=t,i){var r,n,a,l;if(o===tt)return o;let s=void 0!==i?null===(r=e._$Co)||void 0===r?void 0:r[i]:e._$Cl;const c=H(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(n=null==s?void 0:s._$AO)||void 0===n||n.call(s,!1),void 0===c?s=void 0:(s=new c(t),s._$AT(t,e,i)),void 0!==i?(null!==(a=(l=e)._$Co)&&void 0!==a?a:l._$Co=[])[i]=s:e._$Cl=s),void 0!==s&&(o=at(t,s._$AS(t,o.values),s,i)),o}class lt{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:i}=this._$AD,r=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:M).importNode(e,!0);it.currentNode=r;let n=it.nextNode(),a=0,l=0,s=i[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new st(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new ut(n,this,t)),this._$AV.push(o),s=i[++l]}a!==(null==s?void 0:s.index)&&(n=it.nextNode(),a++)}return r}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class st{constructor(t,o,e,i){var r;this.type=2,this._$AH=ot,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=at(this,t,o),H(t)?t===ot||null==t||""===t?(this._$AH!==ot&&this._$AR(),this._$AH=ot):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):P(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!==ot&&H(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=nt.createElement(i.h,this.options)),i);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===r)this._$AH.v(e);else{const t=new lt(r,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=et.get(t.strings);return void 0===o&&et.set(t.strings,o=new nt(t)),o}T(t){j(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 st(this.k(A()),this.k(A()),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){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class ct{constructor(t,o,e,i,r){this.type=1,this._$AH=ot,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=ot}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=at(this,t,o,0),n=!H(t)||t!==this._$AH&&t!==tt,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=at(this,i[e+a],o,a),l===tt&&(l=this._$AH[a]),n||(n=!H(l)||l!==this._$AH[a]),l===ot?t=ot:t!==ot&&(t+=(null!=l?l:"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.j(t)}j(t){t===ot?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class pt extends ct{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===ot?void 0:t}}const ft=z?z.emptyScript:"";class ht extends ct{constructor(){super(...arguments),this.type=4}j(t){t&&t!==ot?this.element.setAttribute(this.name,ft):this.element.removeAttribute(this.name)}}class dt extends ct{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=at(this,t,o,0))&&void 0!==e?e:ot)===tt)return;const i=this._$AH,r=t===ot&&i!==ot||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==ot&&(i===ot||r);r&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class ut{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){at(this,t)}}const yt={O:F,P:B,A:Z,C:1,M:rt,L:lt,D:P,R:at,I:st,V:ct,H:ht,N:dt,U:pt,F:ut},gt=W.litHtmlPolyfillSupport;null==gt||gt(nt,st),(null!==(L=W.litHtmlVersions)&&void 0!==L?L:W.litHtmlVersions=[]).push("2.7.3");
|
|
64
|
+
* @license
|
|
65
|
+
* Copyright 2017 Google LLC
|
|
66
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
|
+
*/,{is:Ct,defineProperty:kt,getOwnPropertyDescriptor:Rt,getOwnPropertyNames:Et,getOwnPropertySymbols:Ut,getPrototypeOf:It}=Object,Lt=globalThis,Wt=Lt.trustedTypes,zt=Wt?Wt.emptyScript:"",Kt=Lt.reactiveElementPolyfillSupport,Ft=(t,o)=>t,Bt={toAttribute(t,o){switch(o){case Boolean:t=t?zt: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}},Zt=(t,o)=>!Ct(t,o),Dt={attribute:!0,type:String,converter:Bt,reflect:!1,hasChanged:Zt};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=Dt){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&&kt(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)??Dt}static _$Ei(){if(this.hasOwnProperty(Ft("elementProperties")))return;const t=It(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ft("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ft("properties"))){const t=this.properties,o=[...Et(t),...Ut(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($t(t))}else void 0!==t&&o.push($t(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(xt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=mt.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:Bt).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:Bt;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??Zt)(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[Ft("elementProperties")]=new Map,Mt[Ft("finalized")]=new Map,Kt?.({ReactiveElement:Mt}),(Lt.reactiveElementVersions??=[]).push("2.0.2");
|
|
70
68
|
/**
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
var bt,mt;let vt=class extends U{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var i,r;const n=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:o;let a=n._$litPart$;if(void 0===a){const t=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:null;n._$litPart$=a=new st(o.insertBefore(A(),t),t,void 0,null!=e?e:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return tt}};vt.finalized=!0,vt._$litElement$=!0,null===(bt=globalThis.litElementHydrateSupport)||void 0===bt||bt.call(globalThis,{LitElement:vt});const xt=globalThis.litElementPolyfillSupport;null==xt||xt({LitElement:vt}),(null!==(mt=globalThis.litElementVersions)&&void 0!==mt?mt:globalThis.litElementVersions=[]).push("3.3.2");const Ot=t=>"string"==typeof t?v(t):t;class Nt{static create(t,o,e,i){const r=t=>Ot(null!=t?t:i),n=x`var(${Ot(t)}, ${r(i)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>x`var(${Ot(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=x`var(${Ot(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=>x`var(${Ot(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):Ot(null!=o?o:t.lastResortDefaultValue()),i=x`var(${Ot(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=>x`var(${Ot(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function St(t,o){return Ot(`${t.name}: ${o}`)}const wt={colorWhite:Nt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Nt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Nt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Nt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Nt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Nt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Nt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Nt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Nt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Nt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Nt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Nt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Nt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Nt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Nt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Nt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Nt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Nt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Nt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Nt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Nt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Nt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Nt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Nt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Nt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Nt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Nt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Nt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Nt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Nt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Nt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Nt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Nt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Nt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Nt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Nt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Nt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Nt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Nt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Nt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Nt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Nt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Nt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Nt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Nt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Nt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Nt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Nt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Nt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Nt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Nt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Nt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Nt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Nt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Nt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Nt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Nt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Nt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Nt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Nt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Nt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Nt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Nt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Nt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Nt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Nt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Nt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Nt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Nt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Nt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Nt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Nt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Nt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Nt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Nt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Nt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Nt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Nt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Nt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Nt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Nt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Nt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Nt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Nt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Nt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Nt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Nt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Nt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Nt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Nt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Nt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Nt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Nt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Nt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Nt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Nt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Nt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Nt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Nt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Nt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Nt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Nt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Nt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Nt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Nt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Nt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Nt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Nt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Nt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Nt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Nt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Nt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Nt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Nt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Nt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Nt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Nt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Nt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Nt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Nt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Nt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Nt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Nt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Nt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Nt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Nt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Nt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Nt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Nt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Nt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Nt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Nt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Nt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Nt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Nt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Nt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Nt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Nt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Nt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Nt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Nt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Nt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Nt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Nt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Nt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Nt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Nt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Nt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Nt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Nt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Nt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Nt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Nt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Nt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Nt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Nt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Nt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Nt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Nt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Nt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Nt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Nt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Nt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Nt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Nt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Nt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Nt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Nt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Nt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Nt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Nt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Nt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Nt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Nt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Nt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Nt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Nt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Nt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Nt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Nt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Nt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Nt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Nt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Nt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Nt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Nt.create("--ft-opacity-80","","NUMBER","0.8")},$t={display:{fontFamily:Nt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Nt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Nt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Nt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Nt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Nt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Nt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Nt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Nt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Nt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Nt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Nt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Nt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Nt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Nt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Nt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Nt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Nt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Nt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Nt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Nt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Nt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Nt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Nt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Nt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Nt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Nt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Nt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Nt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Nt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Nt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Nt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Nt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Nt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Nt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Nt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Nt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Nt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Nt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Nt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Nt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Nt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Nt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Nt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Nt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Nt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ct={backgroundActionPrimary:Nt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",wt.colorBrand0),backgroundErrorPrimary:Nt.extend("--ft-background-error-primary","Used as background of error components.",wt.colorRed0),backgroundErrorSubtle:Nt.extend("--ft-background-error-subtle","Used as background of subtle error components.",wt.colorRed10),backgroundInfoPrimary:Nt.extend("--ft-background-info-primary","Used as background of information components.",wt.colorCyan200),backgroundInfoSubtle:Nt.extend("--ft-background-info-subtle","Used as background of subtle information components.",wt.colorCyan10),backgroundWarningPrimary:Nt.extend("--ft-background-warning-primary","Used as background of warning components.",wt.colorOrange300),backgroundWarningSubtle:Nt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",wt.colorOrange10),backgroundSuccessPrimary:Nt.extend("--ft-background-success-primary","Used as background of success components.",wt.colorGreen200),backgroundSuccessSubtle:Nt.extend("--ft-background-success-subtle","Used as background of subtle success components.",wt.colorGreen10),backgroundGlobalSurface:Nt.extend("--ft-background-global-surface","Used as app background.",wt.colorWhite),backgroundGlobalOnSurface:Nt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",wt.colorGray10),backgroundGlobalOnSurfaceDark:Nt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",wt.colorGray30),contentActionPrimary:Nt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",wt.colorBrand0),contentWarningPrimary:Nt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",wt.colorOrange300),contentWarningIconOnly:Nt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",wt.colorOrange0),contentErrorPrimary:Nt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",wt.colorRed0),contentErrorIconOnly:Nt.extend("--ft-content-error-icon-only","Used on error status icons alone",wt.colorRed0),contentInfoPrimary:Nt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",wt.colorCyan200),contentInfoIconOnly:Nt.extend("--ft-content-info-icon-only","Used on info status icons alone",wt.colorCyan0),contentSuccessIconOnly:Nt.extend("--ft-content-success-icon-only","Used on success status icons alone",wt.colorGreen0),contentSuccessPrimary:Nt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",wt.colorGreen200),contentGlobalPrimary:Nt.extend("--ft-content-global-primary","Used for main content on the page.",wt.colorGray500),contentGlobalSecondary:Nt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",wt.colorGray200),contentGlobalSubtle:Nt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",wt.colorGray0),contentGlobalOnColor:Nt.extend("--ft-content-global-on-color","Used for content on a dominant color.",wt.colorWhite),borderActionPrimary:Nt.extend("--ft-border-action-primary","Used as border for primary action components.",wt.colorBrand0),borderActionFocusRing:Nt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",wt.colorCyan0),borderWarningPrimary:Nt.extend("--ft-border-warning-primary","Used as border for warning components.",wt.colorOrange30),borderSuccessPrimary:Nt.extend("--ft-border-success-primary","Used as border for success components.",wt.colorGreen30),borderErrorPrimary:Nt.extend("--ft-border-error-primary","Used as border for error components.",wt.colorRed30),borderInfoPrimary:Nt.extend("--ft-border-info-primary","Used as border for information components.",wt.colorCyan30),borderGlobalSubtle:Nt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",wt.colorGray30),borderGlobalPrimary:Nt.extend("--ft-border-global-primary","Used as border for element like input.",wt.colorGray50),borderInputPrimary:Nt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",wt.colorGray80)},kt={largeHeight:Nt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Nt.extend("--ft-button-large-horizontal-padding","",wt.spacing4),largeGap:Nt.extend("--ft-button-large-gap","",wt.spacing2),largeBorderRadius:Nt.extend("--ft-button-large-border-radius","",wt.borderRadiusS),largeIconSize:Nt.extend("--ft-button-large-icon-size","",wt.iconSize3),largeBorderWidth:Nt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Nt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Nt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Nt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Nt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Nt.extend("--ft-button-small-horizontal-padding","",wt.spacing3),smallGap:Nt.extend("--ft-button-small-gap","",wt.spacing2),smallBorderRadius:Nt.extend("--ft-button-small-border-radius","",wt.borderRadiusS),smallIconSize:Nt.extend("--ft-button-small-icon-size","",wt.iconSize2),smallBorderWidth:Nt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Nt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Nt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Nt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Nt.extend("--ft-button-primary-background-color","",Ct.backgroundActionPrimary),primaryColor:Nt.extend("--ft-button-primary-color","",Ct.contentGlobalOnColor),primaryIconColor:Nt.extend("--ft-button-primary-icon-color","",Ct.contentGlobalOnColor),primaryStateLayerColor:Nt.extend("--ft-button-primary-state-layer-color","",Ct.contentGlobalOnColor),primaryStateLayerOpacityHover:Nt.extend("--ft-button-primary-state-layer-opacity-hover","",wt.opacity16),primaryStateLayerOpacityFocus:Nt.extend("--ft-button-primary-state-layer-opacity-focus","",wt.opacity16),primaryStateLayerOpacityActive:Nt.extend("--ft-button-primary-state-layer-opacity-active","",wt.opacity24),primaryComponentOpacityDisabled:Nt.extend("--ft-button-primary-component-opacity-disabled","",wt.opacity40),focusFocusRingColor:Nt.extend("--ft-button-focus-focus-ring-color","",Ct.borderActionFocusRing),tertiaryBackgroundColor:Nt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Nt.extend("--ft-button-tertiary-color","",Ct.contentActionPrimary),tertiaryIconColor:Nt.extend("--ft-button-tertiary-icon-color","",Ct.contentActionPrimary),tertiaryStateLayerColor:Nt.extend("--ft-button-tertiary-state-layer-color","",Ct.contentActionPrimary),tertiaryStateLayerOpacityHover:Nt.extend("--ft-button-tertiary-state-layer-opacity-hover","",wt.opacity8),tertiaryStateLayerOpacityFocus:Nt.extend("--ft-button-tertiary-state-layer-opacity-focus","",wt.opacity8),tertiaryStateLayerOpacityActive:Nt.extend("--ft-button-tertiary-state-layer-opacity-active","",wt.opacity16),tertiaryComponentOpacityDisabled:Nt.extend("--ft-button-tertiary-component-opacity-disabled","",wt.opacity40),secondaryBackgroundColor:Nt.extend("--ft-button-secondary-background-color","",wt.colorWhite),secondaryColor:Nt.extend("--ft-button-secondary-color","",Ct.contentActionPrimary),secondaryIconColor:Nt.extend("--ft-button-secondary-icon-color","",Ct.contentActionPrimary),secondaryStateLayerColor:Nt.extend("--ft-button-secondary-state-layer-color","",Ct.contentActionPrimary),secondaryStateLayerOpacityHover:Nt.extend("--ft-button-secondary-state-layer-opacity-hover","",wt.opacity8),secondaryStateLayerOpacityFocus:Nt.extend("--ft-button-secondary-state-layer-opacity-focus","",wt.opacity8),secondaryStateLayerOpacityActive:Nt.extend("--ft-button-secondary-state-layer-opacity-active","",wt.opacity16),secondaryComponentOpacityDisabled:Nt.extend("--ft-button-secondary-component-opacity-disabled","",wt.opacity40),secondaryBorderColor:Nt.extend("--ft-button-secondary-border-color","",Ct.borderActionPrimary),neutralBackgroundColor:Nt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Nt.extend("--ft-button-neutral-icon-color","",Ct.contentGlobalSecondary),neutralColor:Nt.extend("--ft-button-neutral-color","",Ct.contentGlobalSecondary),neutralStateLayerColor:Nt.extend("--ft-button-neutral-state-layer-color","",Ct.contentGlobalSecondary),neutralStateLayerOpacityHover:Nt.extend("--ft-button-neutral-state-layer-opacity-hover","",wt.opacity8),neutralStateLayerOpacityFocus:Nt.extend("--ft-button-neutral-state-layer-opacity-focus","",wt.opacity8),neutralStateLayerOpacityActive:Nt.extend("--ft-button-neutral-state-layer-opacity-active","",wt.opacity16),neutralComponentOpacityDisabled:Nt.extend("--ft-button-neutral-component-opacity-disabled","",wt.opacity40)};Nt.extend("--ft-tabs-top-left-border-radius","",wt.borderRadiusS),Nt.extend("--ft-tabs-top-right-border-radius","",wt.borderRadiusS),Nt.extend("--ft-tabs-label-horizontal-padding","",wt.spacing4),Nt.extend("--ft-tabs-label-vertical-padding","",wt.spacing3),Nt.extend("--ft-tabs-label-gap","",wt.spacing1),Nt.extend("--ft-switch-group-horizontal-padding","",wt.spacing1),Nt.extend("--ft-switch-group-vertical-padding","",wt.spacing1),Nt.extend("--ft-switch-group-gap","",wt.spacing1),Nt.extend("--ft-switch-group-background-color","",Ct.backgroundGlobalSurface),Nt.extend("--ft-switch-group-border-color","",Ct.borderGlobalSubtle),Nt.create("--ft-switch-group-border-radius","","SIZE","6px"),Nt.extend("--ft-switch-label-horizontal-padding","",wt.spacing2),Nt.extend("--ft-switch-label-vertical-padding","",wt.spacing1),Nt.extend("--ft-switch-icon-horizontal-padding","",wt.spacing1),Nt.extend("--ft-switch-icon-vertical-padding","",wt.spacing1),Nt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-switch-focus-focus-ring-color","",Ct.borderActionFocusRing),Nt.extend("--ft-switch-option-border-radius","",wt.borderRadiusS),Nt.extend("--ft-switch-off-state-layer-opacity-hover","",wt.opacity8),Nt.extend("--ft-switch-off-state-layer-opacity-focus","",wt.opacity8),Nt.extend("--ft-switch-off-state-layer-opacity-active","",wt.opacity16),Nt.extend("--ft-switch-off-component-opacity-disabled","",wt.opacity40),Nt.extend("--ft-switch-off-color","",Ct.contentGlobalSubtle),Nt.extend("--ft-switch-off-state-layer-color","",Ct.contentGlobalSubtle),Nt.extend("--ft-chart-1-light","for area color charts",wt.colorBrand40),Nt.extend("--ft-chart-1-base","for line charts",wt.colorBrand0),Nt.extend("--ft-chart-2-light","for area color charts",wt.colorYellow60),Nt.extend("--ft-chart-2-base","for line charts",wt.colorYellow100),Nt.extend("--ft-chart-3-light","",wt.colorUltramarine40),Nt.extend("--ft-chart-3-base","",wt.colorUltramarine70),Nt.extend("--ft-chart-4-light","",wt.colorCyan50),Nt.extend("--ft-chart-4-base","",wt.colorCyan100),Nt.extend("--ft-chart-5-light","",wt.colorRed40),Nt.extend("--ft-chart-5-base","",wt.colorRed60),Nt.extend("--ft-chart-6-light","",wt.colorGreen40),Nt.extend("--ft-chart-6-base","",wt.colorGreen70),Nt.extend("--ft-chart-7-light","",wt.colorOrange70),Nt.extend("--ft-chart-7-base","",wt.colorOrange100),Nt.extend("--ft-chart-8-light","",wt.colorAvocado70),Nt.extend("--ft-chart-8-base","",wt.colorAvocado200),Nt.extend("--ft-chart-9-light","",wt.colorBrown50),Nt.extend("--ft-chart-9-base","",wt.colorBrown200),Nt.extend("--ft-chart-10-light","",wt.colorGray50),Nt.extend("--ft-chart-10-base","",wt.colorGray80),Nt.extend("--ft-chart-monochrome-10","",wt.colorBrand10),Nt.extend("--ft-chart-monochrome-20","",wt.colorBrand20),Nt.extend("--ft-chart-monochrome-30","",wt.colorBrand40),Nt.extend("--ft-chart-monochrome-40","",wt.colorBrand60),Nt.extend("--ft-chart-monochrome-50","",wt.colorBrand0),Nt.extend("--ft-chart-monochrome-60","",wt.colorBrand200),Nt.extend("--ft-chip-large-horizontal-padding","",wt.spacing4),Nt.extend("--ft-chip-large-vertical-padding","",wt.spacing2),Nt.extend("--ft-chip-large-gap","",wt.spacing1),Nt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Nt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-chip-large-border-radius","",wt.borderRadiusPill),Nt.create("--ft-chip-large-border-width","","SIZE","1px"),Nt.extend("--ft-chip-large-icon-size","",wt.iconSize3),Nt.extend("--ft-chip-medium-horizontal-padding","",wt.spacing3),Nt.extend("--ft-chip-medium-vertical-padding","",wt.spacing1),Nt.extend("--ft-chip-medium-gap","",wt.spacing1),Nt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Nt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-chip-medium-border-radius","",wt.borderRadiusPill),Nt.create("--ft-chip-medium-border-width","","SIZE","1px"),Nt.extend("--ft-chip-medium-icon-size","",wt.iconSize2),Nt.extend("--ft-chip-small-horizontal-padding","",wt.spacing2),Nt.extend("--ft-chip-small-vertical-padding","",wt.spacing05),Nt.extend("--ft-chip-small-gap","",wt.spacing1),Nt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Nt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-chip-small-border-radius","",wt.borderRadiusPill),Nt.create("--ft-chip-small-border-width","","SIZE","1px"),Nt.extend("--ft-chip-small-icon-size","",wt.iconSize1),Nt.extend("--ft-chip-neutral-background-color","",Ct.backgroundGlobalOnSurface),Nt.extend("--ft-chip-neutral-color","",Ct.contentGlobalPrimary),Nt.extend("--ft-chip-neutral-border-color","",Ct.borderGlobalSubtle),Nt.extend("--ft-chip-info-background-color","",Ct.backgroundInfoSubtle),Nt.extend("--ft-chip-info-color","",Ct.contentInfoPrimary),Nt.extend("--ft-chip-info-border-color","",Ct.borderInfoPrimary),Nt.extend("--ft-chip-success-background-color","",Ct.backgroundSuccessSubtle),Nt.extend("--ft-chip-success-color","",Ct.contentSuccessPrimary),Nt.extend("--ft-chip-success-border-color","",Ct.borderSuccessPrimary),Nt.extend("--ft-chip-warning-background-color","",Ct.backgroundWarningSubtle),Nt.extend("--ft-chip-warning-color","",Ct.contentWarningPrimary),Nt.extend("--ft-chip-warning-border-color","",Ct.borderWarningPrimary),Nt.extend("--ft-chip-error-background-color","",Ct.backgroundErrorSubtle),Nt.extend("--ft-chip-error-color","",Ct.contentErrorPrimary),Nt.extend("--ft-chip-error-border-color","",Ct.borderErrorPrimary),Nt.create("--ft-notice-border-width","","SIZE","1px"),Nt.extend("--ft-notice-horizontal-padding","",wt.spacing2),Nt.extend("--ft-notice-vertical-padding","",wt.spacing1),Nt.extend("--ft-notice-border-radius","",wt.borderRadiusS),Nt.extend("--ft-notice-gap","",wt.spacing2),Nt.extend("--ft-notice-icon-size","",wt.iconSize3),Nt.extend("--ft-notice-info-background-color","",Ct.backgroundInfoSubtle),Nt.extend("--ft-notice-info-border-color","",Ct.borderInfoPrimary),Nt.extend("--ft-notice-info-color","",Ct.contentInfoPrimary),Nt.extend("--ft-notice-warning-background-color","",Ct.backgroundWarningSubtle),Nt.extend("--ft-notice-warning-border-color","",Ct.borderWarningPrimary),Nt.extend("--ft-notice-warning-color","",Ct.contentWarningPrimary),Nt.extend("--ft-checkbox-label-color","",Ct.contentGlobalPrimary),Nt.extend("--ft-checkbox-checked-background-color","",Ct.contentActionPrimary),Nt.extend("--ft-checkbox-checked-state-layer-color","",Ct.contentActionPrimary),Nt.extend("--ft-checkbox-checked-color","",Ct.contentGlobalOnColor),Nt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",wt.opacity16),Nt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",wt.opacity16),Nt.extend("--ft-checkbox-checked-state-layer-opacity-active","",wt.opacity24),Nt.extend("--ft-checkbox-checked-component-opacity-disabled","",wt.opacity40),Nt.extend("--ft-checkbox-unchecked-border-color","",wt.colorGray80),Nt.extend("--ft-checkbox-unchecked-state-layer-color","",wt.colorGray80),Nt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",wt.opacity16),Nt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",wt.opacity16),Nt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",wt.opacity24),Nt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",wt.opacity40),Nt.extend("--ft-checkbox-focus-focus-ring-color","",Ct.borderActionFocusRing),Nt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Nt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-checkbox-gap","",wt.spacing3),Nt.extend("--ft-toggle-off-state-layer-opacity-hover","",wt.opacity16),Nt.extend("--ft-toggle-off-state-layer-opacity-focus","",wt.opacity16),Nt.extend("--ft-toggle-off-state-layer-opacity-active","",wt.opacity24),Nt.extend("--ft-toggle-off-component-opacity-disabled","",wt.opacity40),Nt.extend("--ft-toggle-off-background-color","",Ct.contentGlobalSubtle),Nt.extend("--ft-toggle-off-icon-color","",Ct.contentGlobalSubtle),Nt.extend("--ft-toggle-off-state-layer-color","",Ct.contentGlobalSubtle),Nt.extend("--ft-toggle-on-state-layer-opacity-hover","",wt.opacity16),Nt.extend("--ft-toggle-on-state-layer-opacity-focus","",wt.opacity16),Nt.extend("--ft-toggle-on-state-layer-opacity-active","",wt.opacity24),Nt.extend("--ft-toggle-on-component-opacity-disabled","",wt.opacity40),Nt.extend("--ft-toggle-on-background-color","",Ct.contentActionPrimary),Nt.extend("--ft-toggle-on-icon-color","",Ct.contentActionPrimary),Nt.extend("--ft-toggle-on-state-layer-color","",Ct.contentActionPrimary),Nt.extend("--ft-toggle-label-color","",Ct.contentGlobalPrimary),Nt.extend("--ft-toggle-focus-focus-ring-color","",Ct.borderActionFocusRing),Nt.extend("--ft-toggle-gap","",wt.spacing3),Nt.extend("--ft-radio-label-color","",Ct.contentGlobalPrimary),Nt.extend("--ft-radio-selected-color","",Ct.contentActionPrimary),Nt.extend("--ft-radio-selected-state-layer-color","",Ct.contentActionPrimary),Nt.extend("--ft-radio-selected-state-layer-opacity-hover","",wt.opacity16),Nt.extend("--ft-radio-selected-state-layer-opacity-focus","",wt.opacity16),Nt.extend("--ft-radio-selected-state-layer-opacity-active","",wt.opacity24),Nt.extend("--ft-radio-selected-component-opacity-disabled","",wt.opacity40),Nt.extend("--ft-radio-unselected-state-layer-color","",wt.colorGray80),Nt.extend("--ft-radio-unselected-state-layer-opacity-hover","",wt.opacity16),Nt.extend("--ft-radio-unselected-state-layer-opacity-focus","",wt.opacity16),Nt.extend("--ft-radio-unselected-state-layer-opacity-active","",wt.opacity24),Nt.extend("--ft-radio-unselected-component-opacity-disabled","",wt.opacity40),Nt.extend("--ft-radio-focus-focus-ring-color","",Ct.borderActionFocusRing),Nt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Nt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-radio-gap","",wt.spacing3),Nt.extend("--ft-notification-icon-size","",wt.iconSize4),Nt.extend("--ft-notification-horizontal-padding","",wt.spacing4),Nt.extend("--ft-notification-vertical-padding","",wt.spacing4),Nt.extend("--ft-notification-info-background-color","",Ct.backgroundInfoSubtle),Nt.extend("--ft-notification-info-color","",Ct.contentInfoPrimary),Nt.extend("--ft-notification-info-border-color","",Ct.borderInfoPrimary),Nt.extend("--ft-notification-success-background-color","",Ct.backgroundSuccessSubtle),Nt.extend("--ft-notification-success-color","",Ct.contentSuccessPrimary),Nt.extend("--ft-notification-success-border-color","",Ct.borderSuccessPrimary),Nt.extend("--ft-notification-warning-background-color","",Ct.backgroundWarningSubtle),Nt.extend("--ft-notification-warning-color","",Ct.contentWarningPrimary),Nt.extend("--ft-notification-warning-border-color","",Ct.borderWarningPrimary),Nt.extend("--ft-notification-error-background-color","",Ct.backgroundErrorSubtle),Nt.extend("--ft-notification-error-color","",Ct.contentErrorPrimary),Nt.extend("--ft-notification-error-border-color","",Ct.borderErrorPrimary),Nt.extend("--ft-notification-border-radius","",wt.borderRadiusPill),Nt.create("--ft-notification-border-width","","SIZE","1px"),Nt.extend("--ft-notification-gap-leading","",wt.spacing2),Nt.extend("--ft-notification-gap-trailing","",wt.spacing8);const Rt={colorPrimary:Nt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Nt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Nt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Nt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Nt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Nt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Nt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Nt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Nt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Nt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Nt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Nt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Nt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Nt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Nt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Nt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Nt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Nt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Nt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Nt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Nt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Nt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Nt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Nt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Nt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Nt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Nt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Nt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Nt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Nt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Nt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Nt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Nt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Nt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Nt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Nt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Nt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Nt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Nt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Nt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Nt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Nt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Nt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Nt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Nt.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:Nt.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:Nt.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:Nt.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:Nt.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:Nt.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:Nt.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:Nt.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:Nt.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:Nt.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:Nt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Nt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Nt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Nt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Nt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Nt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Nt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Nt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Et extends vt{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 O(e,t.elementStyles),e}}var It,Ut=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Lt=Symbol("constructorPrototype"),Wt=Symbol("constructorName"),zt=Symbol("exportpartsDebouncer");class Kt extends Et{constructor(){super(),this[It]=new o(5),this[Wt]=this.constructor.name,this[Lt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wt]&&Object.setPrototypeOf(this,this[Lt])}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[zt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}It=zt,Ut([i()],Kt.prototype,"exportpartsPrefix",void 0),Ut([d([])],Kt.prototype,"exportpartsPrefixes",void 0),Ut([i()],Kt.prototype,"customStylesheet",void 0);const Ft=x`
|
|
69
|
+
* @license
|
|
70
|
+
* Copyright 2017 Google LLC
|
|
71
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
|
+
*/
|
|
73
|
+
const At=globalThis,Pt=At.trustedTypes,Ht=Pt?Pt.createPolicy("lit-html",{createHTML:t=>t}):void 0,jt="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,_t="?"+Tt,Gt=`<${_t}>`,Vt=document,Yt=()=>Vt.createComment(""),Jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,qt=Array.isArray,Xt="[ \t\n\f\r]",Qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,to=/-->/g,oo=/>/g,eo=RegExp(`>|${Xt}(?:([^\\s"'>=/]+)(${Xt}*=${Xt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),io=/'/g,ro=/"/g,no=/^(?:script|style|textarea|title)$/i,ao=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),so=Symbol.for("lit-noChange"),lo=Symbol.for("lit-nothing"),co=new WeakMap,po=Vt.createTreeWalker(Vt,129);function ho(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ht?Ht.createHTML(o):o}const fo=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Qt;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===Qt?"!--"===l[1]?a=to:void 0!==l[1]?a=oo:void 0!==l[2]?(no.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=eo):void 0!==l[3]&&(a=eo):a===eo?">"===l[0]?(a=r??Qt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?eo:'"'===l[3]?ro:io):a===ro||a===io?a=eo:a===to||a===oo?a=Qt:(a=eo,r=void 0);const h=a===eo&&t[o+1].startsWith("/>")?" ":"";n+=a===Qt?e+Gt:c>=0?(i.push(s),e.slice(0,c)+jt+e.slice(c)+Tt+h):e+Tt+(-2===c?o:h)}return[ho(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class uo{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]=fo(t,o);if(this.el=uo.createElement(l,e),po.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=po.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(jt)){const o=c[n++],e=i.getAttribute(t).split(Tt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?mo:"?"===a[1]?xo:"@"===a[1]?vo:bo}),i.removeAttribute(t)}else t.startsWith(Tt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(no.test(i.tagName)){const t=i.textContent.split(Tt),o=t.length-1;if(o>0){i.textContent=Pt?Pt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Yt()),po.nextNode(),s.push({type:2,index:++r});i.append(t[o],Yt())}}}else if(8===i.nodeType)if(i.data===_t)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Tt,t+1));)s.push({type:7,index:r}),t+=Tt.length-1}r++}}static createElement(t,o){const e=Vt.createElement("template");return e.innerHTML=t,e}}function yo(t,o,e=t,i){if(o===so)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Jt(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=yo(t,r._$AS(t,o.values),r,i)),o}class go{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=lo,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=yo(this,t,o),Jt(t)?t===lo||null==t||""===t?(this._$AH!==lo&&this._$AR(),this._$AH=lo):t!==this._$AH&&t!==so&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>qt(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!==lo&&Jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Vt.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=uo.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??Vt).importNode(o,!0);po.currentNode=i;let r=po.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new go(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new Oo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=po.nextNode(),n++)}return po.currentNode=Vt,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=co.get(t.strings);return void 0===o&&co.set(t.strings,o=new uo(t)),o}T(t){qt(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 go(this.k(Yt()),this.k(Yt()),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 bo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=lo,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=lo}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=yo(this,t,o,0),n=!Jt(t)||t!==this._$AH&&t!==so,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=yo(this,i[e+a],o,a),s===so&&(s=this._$AH[a]),n||=!Jt(s)||s!==this._$AH[a],s===lo?t=lo:t!==lo&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===lo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class mo extends bo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===lo?void 0:t}}class xo extends bo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==lo)}}class vo extends bo{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=yo(this,t,o,0)??lo)===so)return;const e=this._$AH,i=t===lo&&e!==lo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==lo&&(e===lo||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 Oo{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){yo(this,t)}}const So=At.litHtmlPolyfillSupport;So?.(uo,go),(At.litHtmlVersions??=[]).push("3.1.0");
|
|
74
|
+
/**
|
|
75
|
+
* @license
|
|
76
|
+
* Copyright 2017 Google LLC
|
|
77
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
+
*/
|
|
79
|
+
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 go(o.insertBefore(Yt(),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 so}};No._$litElement$=!0,No.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:No});const wo=globalThis.litElementPolyfillSupport;wo?.({LitElement:No}),(globalThis.litElementVersions??=[]).push("4.0.2");const $o=t=>"string"==typeof t?Nt(t):t;class Co{static create(t,o,e,i){const r=t=>$o(null!=t?t:i),n=wt`var(${$o(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>wt`var(${$o(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=wt`var(${$o(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=>wt`var(${$o(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):$o(null!=o?o:t.lastResortDefaultValue()),i=wt`var(${$o(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=>wt`var(${$o(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function ko(t,o){return $o(`${t.name}: ${o}`)}const Ro={colorWhite:Co.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Co.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Co.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Co.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Co.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Co.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Co.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Co.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Co.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Co.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Co.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Co.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Co.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Co.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Co.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Co.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Co.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Co.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Co.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Co.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Co.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Co.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Co.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Co.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Co.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Co.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Co.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Co.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Co.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Co.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Co.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Co.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Co.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Co.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Co.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Co.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Co.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Co.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Co.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Co.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Co.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Co.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Co.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Co.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Co.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Co.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Co.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Co.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Co.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Co.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Co.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Co.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Co.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Co.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Co.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Co.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Co.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Co.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Co.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Co.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Co.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Co.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Co.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Co.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Co.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Co.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Co.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Co.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Co.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Co.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Co.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Co.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Co.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Co.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Co.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Co.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Co.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Co.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Co.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Co.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Co.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Co.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Co.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Co.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Co.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Co.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Co.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Co.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Co.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Co.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Co.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Co.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Co.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Co.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Co.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Co.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Co.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Co.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Co.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Co.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Co.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Co.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Co.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Co.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Co.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Co.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Co.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Co.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Co.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Co.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Co.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Co.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Co.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Co.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Co.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Co.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Co.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Co.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Co.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Co.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Co.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Co.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Co.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Co.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Co.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Co.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Co.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Co.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Co.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Co.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Co.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Co.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Co.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Co.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Co.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Co.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Co.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Co.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Co.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Co.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Co.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Co.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Co.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Co.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Co.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Co.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Co.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Co.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Co.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Co.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Co.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Co.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Co.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Co.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Co.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Co.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Co.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Co.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Co.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Co.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Co.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Co.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Co.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Co.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Co.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Co.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Co.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Co.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Co.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Co.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Co.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Co.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Co.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Co.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Co.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Co.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Co.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Co.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Co.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Co.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Co.create("--ft-opacity-0","","NUMBER","0"),opacity8:Co.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Co.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Co.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Co.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Co.create("--ft-opacity-80","","NUMBER","0.8")},Eo={display:{fontFamily:Co.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Co.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Co.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Co.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Co.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Co.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Co.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Co.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Co.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Co.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Co.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Co.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Co.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Co.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Co.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Co.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Co.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Co.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Co.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Co.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Co.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Co.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Co.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Co.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Co.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Co.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Co.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Co.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Co.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Uo={backgroundActionPrimary:Co.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ro.colorBrand0),backgroundErrorPrimary:Co.extend("--ft-background-error-primary","Used as background of error components.",Ro.colorRed0),backgroundErrorSubtle:Co.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ro.colorRed10),backgroundInfoPrimary:Co.extend("--ft-background-info-primary","Used as background of information components.",Ro.colorCyan200),backgroundInfoSubtle:Co.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ro.colorCyan10),backgroundWarningPrimary:Co.extend("--ft-background-warning-primary","Used as background of warning components.",Ro.colorOrange300),backgroundWarningSubtle:Co.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ro.colorOrange10),backgroundSuccessPrimary:Co.extend("--ft-background-success-primary","Used as background of success components.",Ro.colorGreen200),backgroundSuccessSubtle:Co.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ro.colorGreen10),backgroundGlobalSurface:Co.extend("--ft-background-global-surface","Used as app background.",Ro.colorWhite),backgroundGlobalOnSurface:Co.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ro.colorGray10),backgroundGlobalOnSurfaceDark:Co.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ro.colorGray30),contentActionPrimary:Co.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ro.colorBrand0),contentWarningPrimary:Co.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ro.colorOrange300),contentWarningIconOnly:Co.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ro.colorOrange0),contentErrorPrimary:Co.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ro.colorRed0),contentErrorIconOnly:Co.extend("--ft-content-error-icon-only","Used on error status icons alone",Ro.colorRed0),contentInfoPrimary:Co.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ro.colorCyan200),contentInfoIconOnly:Co.extend("--ft-content-info-icon-only","Used on info status icons alone",Ro.colorCyan0),contentSuccessIconOnly:Co.extend("--ft-content-success-icon-only","Used on success status icons alone",Ro.colorGreen0),contentSuccessPrimary:Co.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ro.colorGreen200),contentGlobalPrimary:Co.extend("--ft-content-global-primary","Used for main content on the page.",Ro.colorGray500),contentGlobalSecondary:Co.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ro.colorGray200),contentGlobalSubtle:Co.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ro.colorGray0),contentGlobalOnColor:Co.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ro.colorWhite),borderActionPrimary:Co.extend("--ft-border-action-primary","Used as border for primary action components.",Ro.colorBrand0),borderActionFocusRing:Co.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ro.colorCyan0),borderWarningPrimary:Co.extend("--ft-border-warning-primary","Used as border for warning components.",Ro.colorOrange30),borderSuccessPrimary:Co.extend("--ft-border-success-primary","Used as border for success components.",Ro.colorGreen30),borderErrorPrimary:Co.extend("--ft-border-error-primary","Used as border for error components.",Ro.colorRed30),borderInfoPrimary:Co.extend("--ft-border-info-primary","Used as border for information components.",Ro.colorCyan30),borderGlobalSubtle:Co.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ro.colorGray30),borderGlobalPrimary:Co.extend("--ft-border-global-primary","Used as border for element like input.",Ro.colorGray50),borderInputPrimary:Co.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ro.colorGray80)},Io={largeHeight:Co.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Co.extend("--ft-button-large-horizontal-padding","",Ro.spacing4),largeGap:Co.extend("--ft-button-large-gap","",Ro.spacing2),largeBorderRadius:Co.extend("--ft-button-large-border-radius","",Ro.borderRadiusS),largeIconSize:Co.extend("--ft-button-large-icon-size","",Ro.iconSize3),largeBorderWidth:Co.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Co.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Co.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Co.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Co.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Co.extend("--ft-button-small-horizontal-padding","",Ro.spacing3),smallGap:Co.extend("--ft-button-small-gap","",Ro.spacing2),smallBorderRadius:Co.extend("--ft-button-small-border-radius","",Ro.borderRadiusS),smallIconSize:Co.extend("--ft-button-small-icon-size","",Ro.iconSize2),smallBorderWidth:Co.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Co.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Co.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Co.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Co.extend("--ft-button-primary-background-color","",Uo.backgroundActionPrimary),primaryColor:Co.extend("--ft-button-primary-color","",Uo.contentGlobalOnColor),primaryIconColor:Co.extend("--ft-button-primary-icon-color","",Uo.contentGlobalOnColor),primaryStateLayerColor:Co.extend("--ft-button-primary-state-layer-color","",Uo.contentGlobalOnColor),primaryStateLayerOpacityHover:Co.extend("--ft-button-primary-state-layer-opacity-hover","",Ro.opacity16),primaryStateLayerOpacityFocus:Co.extend("--ft-button-primary-state-layer-opacity-focus","",Ro.opacity16),primaryStateLayerOpacityActive:Co.extend("--ft-button-primary-state-layer-opacity-active","",Ro.opacity24),primaryComponentOpacityDisabled:Co.extend("--ft-button-primary-component-opacity-disabled","",Ro.opacity40),focusFocusRingColor:Co.extend("--ft-button-focus-focus-ring-color","",Uo.borderActionFocusRing),tertiaryBackgroundColor:Co.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Co.extend("--ft-button-tertiary-color","",Uo.contentActionPrimary),tertiaryIconColor:Co.extend("--ft-button-tertiary-icon-color","",Uo.contentActionPrimary),tertiaryStateLayerColor:Co.extend("--ft-button-tertiary-state-layer-color","",Uo.contentActionPrimary),tertiaryStateLayerOpacityHover:Co.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ro.opacity8),tertiaryStateLayerOpacityFocus:Co.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ro.opacity8),tertiaryStateLayerOpacityActive:Co.extend("--ft-button-tertiary-state-layer-opacity-active","",Ro.opacity16),tertiaryComponentOpacityDisabled:Co.extend("--ft-button-tertiary-component-opacity-disabled","",Ro.opacity40),secondaryBackgroundColor:Co.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Co.extend("--ft-button-secondary-color","",Uo.contentActionPrimary),secondaryIconColor:Co.extend("--ft-button-secondary-icon-color","",Uo.contentActionPrimary),secondaryStateLayerColor:Co.extend("--ft-button-secondary-state-layer-color","",Uo.contentActionPrimary),secondaryStateLayerOpacityHover:Co.extend("--ft-button-secondary-state-layer-opacity-hover","",Ro.opacity8),secondaryStateLayerOpacityFocus:Co.extend("--ft-button-secondary-state-layer-opacity-focus","",Ro.opacity8),secondaryStateLayerOpacityActive:Co.extend("--ft-button-secondary-state-layer-opacity-active","",Ro.opacity16),secondaryComponentOpacityDisabled:Co.extend("--ft-button-secondary-component-opacity-disabled","",Ro.opacity40),secondaryBorderColor:Co.extend("--ft-button-secondary-border-color","",Uo.borderActionPrimary),neutralBackgroundColor:Co.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Co.extend("--ft-button-neutral-icon-color","",Uo.contentGlobalSecondary),neutralColor:Co.extend("--ft-button-neutral-color","",Uo.contentGlobalSecondary),neutralStateLayerColor:Co.extend("--ft-button-neutral-state-layer-color","",Uo.contentGlobalSecondary),neutralStateLayerOpacityHover:Co.extend("--ft-button-neutral-state-layer-opacity-hover","",Ro.opacity8),neutralStateLayerOpacityFocus:Co.extend("--ft-button-neutral-state-layer-opacity-focus","",Ro.opacity8),neutralStateLayerOpacityActive:Co.extend("--ft-button-neutral-state-layer-opacity-active","",Ro.opacity16),neutralComponentOpacityDisabled:Co.extend("--ft-button-neutral-component-opacity-disabled","",Ro.opacity40)};Co.extend("--ft-tabs-top-left-border-radius","",Ro.borderRadiusS),Co.extend("--ft-tabs-top-right-border-radius","",Ro.borderRadiusS),Co.extend("--ft-tabs-label-horizontal-padding","",Ro.spacing4),Co.extend("--ft-tabs-label-vertical-padding","",Ro.spacing3),Co.extend("--ft-tabs-label-gap","",Ro.spacing1),Co.extend("--ft-switch-group-horizontal-padding","",Ro.spacing1),Co.extend("--ft-switch-group-vertical-padding","",Ro.spacing1),Co.extend("--ft-switch-group-gap","",Ro.spacing1),Co.extend("--ft-switch-group-background-color","",Uo.backgroundGlobalSurface),Co.extend("--ft-switch-group-border-color","",Uo.borderGlobalSubtle),Co.create("--ft-switch-group-border-radius","","SIZE","6px"),Co.extend("--ft-switch-label-horizontal-padding","",Ro.spacing2),Co.extend("--ft-switch-label-vertical-padding","",Ro.spacing1),Co.extend("--ft-switch-icon-horizontal-padding","",Ro.spacing1),Co.extend("--ft-switch-icon-vertical-padding","",Ro.spacing1),Co.create("--ft-switch-focus-outline-width","","SIZE","2px"),Co.extend("--ft-switch-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.extend("--ft-switch-option-border-radius","",Ro.borderRadiusS),Co.extend("--ft-switch-off-state-layer-opacity-hover","",Ro.opacity8),Co.extend("--ft-switch-off-state-layer-opacity-focus","",Ro.opacity8),Co.extend("--ft-switch-off-state-layer-opacity-active","",Ro.opacity16),Co.extend("--ft-switch-off-component-opacity-disabled","",Ro.opacity40),Co.extend("--ft-switch-off-color","",Uo.contentGlobalSubtle),Co.extend("--ft-switch-off-state-layer-color","",Uo.contentGlobalSubtle),Co.extend("--ft-chart-1-light","for area color charts",Ro.colorBrand40),Co.extend("--ft-chart-1-base","for line charts",Ro.colorBrand0),Co.extend("--ft-chart-2-light","for area color charts",Ro.colorYellow60),Co.extend("--ft-chart-2-base","for line charts",Ro.colorYellow100),Co.extend("--ft-chart-3-light","",Ro.colorUltramarine40),Co.extend("--ft-chart-3-base","",Ro.colorUltramarine70),Co.extend("--ft-chart-4-light","",Ro.colorCyan50),Co.extend("--ft-chart-4-base","",Ro.colorCyan100),Co.extend("--ft-chart-5-light","",Ro.colorRed40),Co.extend("--ft-chart-5-base","",Ro.colorRed60),Co.extend("--ft-chart-6-light","",Ro.colorGreen40),Co.extend("--ft-chart-6-base","",Ro.colorGreen70),Co.extend("--ft-chart-7-light","",Ro.colorOrange70),Co.extend("--ft-chart-7-base","",Ro.colorOrange100),Co.extend("--ft-chart-8-light","",Ro.colorAvocado70),Co.extend("--ft-chart-8-base","",Ro.colorAvocado200),Co.extend("--ft-chart-9-light","",Ro.colorBrown50),Co.extend("--ft-chart-9-base","",Ro.colorBrown200),Co.extend("--ft-chart-10-light","",Ro.colorGray50),Co.extend("--ft-chart-10-base","",Ro.colorGray80),Co.extend("--ft-chart-monochrome-10","",Ro.colorBrand10),Co.extend("--ft-chart-monochrome-20","",Ro.colorBrand20),Co.extend("--ft-chart-monochrome-30","",Ro.colorBrand40),Co.extend("--ft-chart-monochrome-40","",Ro.colorBrand60),Co.extend("--ft-chart-monochrome-50","",Ro.colorBrand0),Co.extend("--ft-chart-monochrome-60","",Ro.colorBrand200),Co.extend("--ft-chip-large-horizontal-padding","",Ro.spacing4),Co.extend("--ft-chip-large-vertical-padding","",Ro.spacing2),Co.extend("--ft-chip-large-gap","",Ro.spacing1),Co.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-large-border-radius","",Ro.borderRadiusPill),Co.create("--ft-chip-large-border-width","","SIZE","1px"),Co.extend("--ft-chip-large-icon-size","",Ro.iconSize3),Co.extend("--ft-chip-medium-horizontal-padding","",Ro.spacing3),Co.extend("--ft-chip-medium-vertical-padding","",Ro.spacing1),Co.extend("--ft-chip-medium-gap","",Ro.spacing1),Co.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-medium-border-radius","",Ro.borderRadiusPill),Co.create("--ft-chip-medium-border-width","","SIZE","1px"),Co.extend("--ft-chip-medium-icon-size","",Ro.iconSize2),Co.extend("--ft-chip-small-horizontal-padding","",Ro.spacing2),Co.extend("--ft-chip-small-vertical-padding","",Ro.spacing05),Co.extend("--ft-chip-small-gap","",Ro.spacing1),Co.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-small-border-radius","",Ro.borderRadiusPill),Co.create("--ft-chip-small-border-width","","SIZE","1px"),Co.extend("--ft-chip-small-icon-size","",Ro.iconSize1),Co.extend("--ft-chip-neutral-background-color","",Uo.backgroundGlobalOnSurface),Co.extend("--ft-chip-neutral-color","",Uo.contentGlobalPrimary),Co.extend("--ft-chip-neutral-border-color","",Uo.borderGlobalSubtle),Co.extend("--ft-chip-info-background-color","",Uo.backgroundInfoSubtle),Co.extend("--ft-chip-info-color","",Uo.contentInfoPrimary),Co.extend("--ft-chip-info-border-color","",Uo.borderInfoPrimary),Co.extend("--ft-chip-success-background-color","",Uo.backgroundSuccessSubtle),Co.extend("--ft-chip-success-color","",Uo.contentSuccessPrimary),Co.extend("--ft-chip-success-border-color","",Uo.borderSuccessPrimary),Co.extend("--ft-chip-warning-background-color","",Uo.backgroundWarningSubtle),Co.extend("--ft-chip-warning-color","",Uo.contentWarningPrimary),Co.extend("--ft-chip-warning-border-color","",Uo.borderWarningPrimary),Co.extend("--ft-chip-error-background-color","",Uo.backgroundErrorSubtle),Co.extend("--ft-chip-error-color","",Uo.contentErrorPrimary),Co.extend("--ft-chip-error-border-color","",Uo.borderErrorPrimary),Co.create("--ft-notice-border-width","","SIZE","1px"),Co.extend("--ft-notice-horizontal-padding","",Ro.spacing2),Co.extend("--ft-notice-vertical-padding","",Ro.spacing1),Co.extend("--ft-notice-border-radius","",Ro.borderRadiusS),Co.extend("--ft-notice-gap","",Ro.spacing2),Co.extend("--ft-notice-icon-size","",Ro.iconSize3),Co.extend("--ft-notice-info-background-color","",Uo.backgroundInfoSubtle),Co.extend("--ft-notice-info-border-color","",Uo.borderInfoPrimary),Co.extend("--ft-notice-info-color","",Uo.contentInfoPrimary),Co.extend("--ft-notice-warning-background-color","",Uo.backgroundWarningSubtle),Co.extend("--ft-notice-warning-border-color","",Uo.borderWarningPrimary),Co.extend("--ft-notice-warning-color","",Uo.contentWarningPrimary),Co.extend("--ft-checkbox-label-color","",Uo.contentGlobalPrimary),Co.extend("--ft-checkbox-checked-background-color","",Uo.contentActionPrimary),Co.extend("--ft-checkbox-checked-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-checkbox-checked-color","",Uo.contentGlobalOnColor),Co.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ro.opacity16),Co.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ro.opacity16),Co.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ro.opacity24),Co.extend("--ft-checkbox-checked-component-opacity-disabled","",Ro.opacity40),Co.extend("--ft-checkbox-unchecked-border-color","",Ro.colorGray80),Co.extend("--ft-checkbox-unchecked-state-layer-color","",Ro.colorGray80),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ro.opacity16),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ro.opacity16),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ro.opacity24),Co.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ro.opacity40),Co.extend("--ft-checkbox-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Co.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Co.extend("--ft-checkbox-gap","",Ro.spacing3),Co.extend("--ft-toggle-off-state-layer-opacity-hover","",Ro.opacity16),Co.extend("--ft-toggle-off-state-layer-opacity-focus","",Ro.opacity16),Co.extend("--ft-toggle-off-state-layer-opacity-active","",Ro.opacity24),Co.extend("--ft-toggle-off-component-opacity-disabled","",Ro.opacity40),Co.extend("--ft-toggle-off-background-color","",Uo.contentGlobalSubtle),Co.extend("--ft-toggle-off-icon-color","",Uo.contentGlobalSubtle),Co.extend("--ft-toggle-off-state-layer-color","",Uo.contentGlobalSubtle),Co.extend("--ft-toggle-on-state-layer-opacity-hover","",Ro.opacity16),Co.extend("--ft-toggle-on-state-layer-opacity-focus","",Ro.opacity16),Co.extend("--ft-toggle-on-state-layer-opacity-active","",Ro.opacity24),Co.extend("--ft-toggle-on-component-opacity-disabled","",Ro.opacity40),Co.extend("--ft-toggle-on-background-color","",Uo.contentActionPrimary),Co.extend("--ft-toggle-on-icon-color","",Uo.contentActionPrimary),Co.extend("--ft-toggle-on-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-toggle-label-color","",Uo.contentGlobalPrimary),Co.extend("--ft-toggle-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.extend("--ft-toggle-gap","",Ro.spacing3),Co.extend("--ft-radio-label-color","",Uo.contentGlobalPrimary),Co.extend("--ft-radio-selected-color","",Uo.contentActionPrimary),Co.extend("--ft-radio-selected-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-radio-selected-state-layer-opacity-hover","",Ro.opacity16),Co.extend("--ft-radio-selected-state-layer-opacity-focus","",Ro.opacity16),Co.extend("--ft-radio-selected-state-layer-opacity-active","",Ro.opacity24),Co.extend("--ft-radio-selected-component-opacity-disabled","",Ro.opacity40),Co.extend("--ft-radio-unselected-state-layer-color","",Ro.colorGray80),Co.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ro.opacity16),Co.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ro.opacity16),Co.extend("--ft-radio-unselected-state-layer-opacity-active","",Ro.opacity24),Co.extend("--ft-radio-unselected-component-opacity-disabled","",Ro.opacity40),Co.extend("--ft-radio-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Co.create("--ft-radio-focus-outline-width","","SIZE","2px"),Co.extend("--ft-radio-gap","",Ro.spacing3),Co.extend("--ft-notification-icon-size","",Ro.iconSize4),Co.extend("--ft-notification-horizontal-padding","",Ro.spacing4),Co.extend("--ft-notification-vertical-padding","",Ro.spacing4),Co.extend("--ft-notification-info-background-color","",Uo.backgroundInfoSubtle),Co.extend("--ft-notification-info-color","",Uo.contentInfoPrimary),Co.extend("--ft-notification-info-border-color","",Uo.borderInfoPrimary),Co.extend("--ft-notification-success-background-color","",Uo.backgroundSuccessSubtle),Co.extend("--ft-notification-success-color","",Uo.contentSuccessPrimary),Co.extend("--ft-notification-success-border-color","",Uo.borderSuccessPrimary),Co.extend("--ft-notification-warning-background-color","",Uo.backgroundWarningSubtle),Co.extend("--ft-notification-warning-color","",Uo.contentWarningPrimary),Co.extend("--ft-notification-warning-border-color","",Uo.borderWarningPrimary),Co.extend("--ft-notification-error-background-color","",Uo.backgroundErrorSubtle),Co.extend("--ft-notification-error-color","",Uo.contentErrorPrimary),Co.extend("--ft-notification-error-border-color","",Uo.borderErrorPrimary),Co.extend("--ft-notification-border-radius","",Ro.borderRadiusPill),Co.create("--ft-notification-border-width","","SIZE","1px"),Co.extend("--ft-notification-gap-leading","",Ro.spacing2),Co.extend("--ft-notification-gap-trailing","",Ro.spacing8);const Lo={colorPrimary:Co.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Co.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Co.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Co.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Co.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Co.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Co.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Co.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Co.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Co.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Co.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Co.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Co.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Co.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Co.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Co.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Co.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Co.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Co.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Co.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Co.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Co.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Co.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Co.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Co.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Co.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Co.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Co.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Co.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Co.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Co.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Co.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Co.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Co.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Co.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Co.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Co.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Co.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Co.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Co.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Co.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Co.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Co.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Co.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Co.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Co.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Co.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Co.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Co.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Co.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Co.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Wo=window,zo=Wo.ShadowRoot&&(void 0===Wo.ShadyCSS||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
80
|
+
/**
|
|
81
|
+
* @license
|
|
82
|
+
* Copyright 2019 Google LLC
|
|
83
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
|
+
*/class Ko 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)=>{zo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Wo.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Fo,Bo=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 Zo=Symbol("constructorPrototype"),Do=Symbol("constructorName"),Mo=Symbol("exportpartsDebouncer");class Ao extends Ko{constructor(){super(),this[Fo]=new o(5),this[Do]=this.constructor.name,this[Zo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Do]&&Object.setPrototypeOf(this,this[Zo])}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[Mo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var 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(", "))}}Fo=Mo,Bo([$()],Ao.prototype,"exportpartsPrefix",void 0),Bo([W([])],Ao.prototype,"exportpartsPrefixes",void 0),Bo([$()],Ao.prototype,"customStylesheet",void 0);const Po=wt`
|
|
76
85
|
.ft-no-text-select {
|
|
77
86
|
-webkit-touch-callout: none;
|
|
78
87
|
-webkit-user-select: none;
|
|
@@ -81,7 +90,7 @@ var bt,mt;let vt=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
81
90
|
-ms-user-select: none;
|
|
82
91
|
user-select: none;
|
|
83
92
|
}
|
|
84
|
-
`;
|
|
93
|
+
`;wt`
|
|
85
94
|
.ft-word-wrap {
|
|
86
95
|
white-space: normal;
|
|
87
96
|
word-wrap: break-word;
|
|
@@ -93,7 +102,7 @@ var bt,mt;let vt=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
93
102
|
-webkit-hyphens: auto;
|
|
94
103
|
hyphens: auto
|
|
95
104
|
}
|
|
96
|
-
`;const
|
|
105
|
+
`;const Ho=wt`
|
|
97
106
|
.ft-safari-ellipsis-fix {
|
|
98
107
|
margin-right: 0;
|
|
99
108
|
|
|
@@ -104,108 +113,108 @@ var bt,mt;let vt=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
104
113
|
display: inline-block;
|
|
105
114
|
width: 0;
|
|
106
115
|
}
|
|
107
|
-
`;window.ftReduxStores||(window.ftReduxStores={});const
|
|
116
|
+
`;window.ftReduxStores||(window.ftReduxStores={});const jo=Symbol("elementInternals");var To,_o,Go;const Vo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Go=null===(_o=null===(To=window.safari)||void 0===To?void 0:To.pushNotification)||void 0===_o?void 0:_o.toString())&&void 0!==Go?Go:""),Yo=Symbol.for(""),Jo=t=>{if(t?.r===Yo)return t?._$litStatic$},qo=t=>({_$litStatic$:t,r:Yo}),Xo=new Map,Qo=(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=Jo(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=Xo.get(t))&&(a.raw=a,Xo.set(t,o=a)),e=s}return t(o,...e)})(tt);
|
|
108
117
|
/**
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
118
|
+
* @license
|
|
119
|
+
* Copyright 2020 Google LLC
|
|
120
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
121
|
+
*/var te;!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"}(te||(te={}));const oe=Co.extend("--ft-typography-font-family","",Lo.titleFont),ee=Co.extend("--ft-typography-font-family","",Lo.contentFont),ie={fontFamily:ee,fontSize:Co.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Co.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Co.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Co.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Co.create("--ft-typography-text-transform","","UNKNOWN","inherit")},re=Co.extend("--ft-typography-title-font-family","",oe),ne=Co.extend("--ft-typography-title-font-size","",ie.fontSize,"20px"),ae=Co.extend("--ft-typography-title-font-weight","",ie.fontWeight,"normal"),se=Co.extend("--ft-typography-title-letter-spacing","",ie.letterSpacing,"0.15px"),le=Co.extend("--ft-typography-title-line-height","",ie.lineHeight,"1.2"),ce=Co.extend("--ft-typography-title-text-transform","",ie.textTransform,"inherit"),pe=Co.extend("--ft-typography-title-dense-font-family","",oe),he=Co.extend("--ft-typography-title-dense-font-size","",ie.fontSize,"14px"),fe=Co.extend("--ft-typography-title-dense-font-weight","",ie.fontWeight,"normal"),de=Co.extend("--ft-typography-title-dense-letter-spacing","",ie.letterSpacing,"0.105px"),ue=Co.extend("--ft-typography-title-dense-line-height","",ie.lineHeight,"1.7"),ye=Co.extend("--ft-typography-title-dense-text-transform","",ie.textTransform,"inherit"),ge=Co.extend("--ft-typography-subtitle1-font-family","",ee),be=Co.extend("--ft-typography-subtitle1-font-size","",ie.fontSize,"16px"),me=Co.extend("--ft-typography-subtitle1-font-weight","",ie.fontWeight,"600"),xe=Co.extend("--ft-typography-subtitle1-letter-spacing","",ie.letterSpacing,"0.144px"),ve=Co.extend("--ft-typography-subtitle1-line-height","",ie.lineHeight,"1.5"),Oe=Co.extend("--ft-typography-subtitle1-text-transform","",ie.textTransform,"inherit"),Se=Co.extend("--ft-typography-subtitle2-font-family","",ee),Ne=Co.extend("--ft-typography-subtitle2-font-size","",ie.fontSize,"14px"),we=Co.extend("--ft-typography-subtitle2-font-weight","",ie.fontWeight,"normal"),$e=Co.extend("--ft-typography-subtitle2-letter-spacing","",ie.letterSpacing,"0.098px"),Ce=Co.extend("--ft-typography-subtitle2-line-height","",ie.lineHeight,"1.7"),ke=Co.extend("--ft-typography-subtitle2-text-transform","",ie.textTransform,"inherit"),Re=Co.extend("--ft-typography-body1-font-family","",ee),Ee=Co.extend("--ft-typography-body1-font-size","",ie.fontSize,"16px"),Ue=Co.extend("--ft-typography-body1-font-weight","",ie.fontWeight,"normal"),Ie=Co.extend("--ft-typography-body1-letter-spacing","",ie.letterSpacing,"0.496px"),Le=Co.extend("--ft-typography-body1-line-height","",ie.lineHeight,"1.5"),We=Co.extend("--ft-typography-body1-text-transform","",ie.textTransform,"inherit"),ze={fontFamily:Co.extend("--ft-typography-body2-font-family","",ee),fontSize:Co.extend("--ft-typography-body2-font-size","",ie.fontSize,"14px"),fontWeight:Co.extend("--ft-typography-body2-font-weight","",ie.fontWeight,"normal"),letterSpacing:Co.extend("--ft-typography-body2-letter-spacing","",ie.letterSpacing,"0.252px"),lineHeight:Co.extend("--ft-typography-body2-line-height","",ie.lineHeight,"1.4"),textTransform:Co.extend("--ft-typography-body2-text-transform","",ie.textTransform,"inherit")},Ke=Co.extend("--ft-typography-caption-font-family","",ee),Fe=Co.extend("--ft-typography-caption-font-size","",ie.fontSize,"12px"),Be=Co.extend("--ft-typography-caption-font-weight","",ie.fontWeight,"normal"),Ze=Co.extend("--ft-typography-caption-letter-spacing","",ie.letterSpacing,"0.396px"),De=Co.extend("--ft-typography-caption-line-height","",ie.lineHeight,"1.33"),Me=Co.extend("--ft-typography-caption-text-transform","",ie.textTransform,"inherit"),Ae=Co.extend("--ft-typography-breadcrumb-font-family","",ee),Pe=Co.extend("--ft-typography-breadcrumb-font-size","",ie.fontSize,"10px"),He=Co.extend("--ft-typography-breadcrumb-font-weight","",ie.fontWeight,"normal"),je=Co.extend("--ft-typography-breadcrumb-letter-spacing","",ie.letterSpacing,"0.33px"),Te=Co.extend("--ft-typography-breadcrumb-line-height","",ie.lineHeight,"1.6"),_e=Co.extend("--ft-typography-breadcrumb-text-transform","",ie.textTransform,"inherit"),Ge=Co.extend("--ft-typography-overline-font-family","",ee),Ve=Co.extend("--ft-typography-overline-font-size","",ie.fontSize,"10px"),Ye=Co.extend("--ft-typography-overline-font-weight","",ie.fontWeight,"normal"),Je=Co.extend("--ft-typography-overline-letter-spacing","",ie.letterSpacing,"1.5px"),qe=Co.extend("--ft-typography-overline-line-height","",ie.lineHeight,"1.6"),Xe=Co.extend("--ft-typography-overline-text-transform","",ie.textTransform,"uppercase"),Qe={fontFamily:Co.extend("--ft-typography-button-font-family","",ee),fontSize:Co.extend("--ft-typography-button-font-size","",ie.fontSize,"14px"),fontWeight:Co.extend("--ft-typography-button-font-weight","",ie.fontWeight,"600"),letterSpacing:Co.extend("--ft-typography-button-letter-spacing","",ie.letterSpacing,"1.246px"),lineHeight:Co.extend("--ft-typography-button-line-height","",ie.lineHeight,"1.15"),textTransform:Co.extend("--ft-typography-button-text-transform","",ie.textTransform,"uppercase")},ti=wt`
|
|
113
122
|
.ft-typography--title {
|
|
114
|
-
font-family: ${
|
|
115
|
-
font-size: ${
|
|
116
|
-
font-weight: ${
|
|
117
|
-
letter-spacing: ${
|
|
118
|
-
line-height: ${
|
|
119
|
-
text-transform: ${
|
|
120
|
-
}
|
|
121
|
-
`,
|
|
123
|
+
font-family: ${re};
|
|
124
|
+
font-size: ${ne};
|
|
125
|
+
font-weight: ${ae};
|
|
126
|
+
letter-spacing: ${se};
|
|
127
|
+
line-height: ${le};
|
|
128
|
+
text-transform: ${ce};
|
|
129
|
+
}
|
|
130
|
+
`,oi=wt`
|
|
122
131
|
.ft-typography--title-dense {
|
|
123
|
-
font-family: ${
|
|
124
|
-
font-size: ${
|
|
125
|
-
font-weight: ${
|
|
126
|
-
letter-spacing: ${
|
|
127
|
-
line-height: ${
|
|
128
|
-
text-transform: ${
|
|
129
|
-
}
|
|
130
|
-
`,
|
|
132
|
+
font-family: ${pe};
|
|
133
|
+
font-size: ${he};
|
|
134
|
+
font-weight: ${fe};
|
|
135
|
+
letter-spacing: ${de};
|
|
136
|
+
line-height: ${ue};
|
|
137
|
+
text-transform: ${ye};
|
|
138
|
+
}
|
|
139
|
+
`,ei=wt`
|
|
131
140
|
.ft-typography--subtitle1 {
|
|
132
|
-
font-family: ${
|
|
133
|
-
font-size: ${
|
|
134
|
-
font-weight: ${
|
|
135
|
-
letter-spacing: ${
|
|
136
|
-
line-height: ${
|
|
137
|
-
text-transform: ${
|
|
138
|
-
}
|
|
139
|
-
`,
|
|
141
|
+
font-family: ${ge};
|
|
142
|
+
font-size: ${be};
|
|
143
|
+
font-weight: ${me};
|
|
144
|
+
letter-spacing: ${xe};
|
|
145
|
+
line-height: ${ve};
|
|
146
|
+
text-transform: ${Oe};
|
|
147
|
+
}
|
|
148
|
+
`,ii=wt`
|
|
140
149
|
.ft-typography--subtitle2 {
|
|
141
|
-
font-family: ${
|
|
142
|
-
font-size: ${
|
|
143
|
-
font-weight: ${
|
|
144
|
-
letter-spacing: ${
|
|
145
|
-
line-height: ${
|
|
146
|
-
text-transform: ${
|
|
150
|
+
font-family: ${Se};
|
|
151
|
+
font-size: ${Ne};
|
|
152
|
+
font-weight: ${we};
|
|
153
|
+
letter-spacing: ${$e};
|
|
154
|
+
line-height: ${Ce};
|
|
155
|
+
text-transform: ${ke};
|
|
147
156
|
}
|
|
148
157
|
|
|
149
|
-
`,
|
|
158
|
+
`,ri=wt`
|
|
150
159
|
.ft-typography--body1 {
|
|
151
|
-
font-family: ${
|
|
152
|
-
font-size: ${
|
|
153
|
-
font-weight: ${
|
|
154
|
-
letter-spacing: ${
|
|
155
|
-
line-height: ${
|
|
156
|
-
text-transform: ${
|
|
157
|
-
}
|
|
158
|
-
`,
|
|
160
|
+
font-family: ${Re};
|
|
161
|
+
font-size: ${Ee};
|
|
162
|
+
font-weight: ${Ue};
|
|
163
|
+
letter-spacing: ${Ie};
|
|
164
|
+
line-height: ${Le};
|
|
165
|
+
text-transform: ${We};
|
|
166
|
+
}
|
|
167
|
+
`,ni=wt`
|
|
159
168
|
.ft-typography--body2 {
|
|
160
|
-
font-family: ${
|
|
161
|
-
font-size: ${
|
|
162
|
-
font-weight: ${
|
|
163
|
-
letter-spacing: ${
|
|
164
|
-
line-height: ${
|
|
165
|
-
text-transform: ${
|
|
166
|
-
}
|
|
167
|
-
`,
|
|
169
|
+
font-family: ${ze.fontFamily};
|
|
170
|
+
font-size: ${ze.fontSize};
|
|
171
|
+
font-weight: ${ze.fontWeight};
|
|
172
|
+
letter-spacing: ${ze.letterSpacing};
|
|
173
|
+
line-height: ${ze.lineHeight};
|
|
174
|
+
text-transform: ${ze.textTransform};
|
|
175
|
+
}
|
|
176
|
+
`,ai=wt`
|
|
168
177
|
.ft-typography--caption {
|
|
169
|
-
font-family: ${
|
|
170
|
-
font-size: ${
|
|
171
|
-
font-weight: ${
|
|
172
|
-
letter-spacing: ${
|
|
173
|
-
line-height: ${
|
|
174
|
-
text-transform: ${
|
|
175
|
-
}
|
|
176
|
-
`,
|
|
178
|
+
font-family: ${Ke};
|
|
179
|
+
font-size: ${Fe};
|
|
180
|
+
font-weight: ${Be};
|
|
181
|
+
letter-spacing: ${Ze};
|
|
182
|
+
line-height: ${De};
|
|
183
|
+
text-transform: ${Me};
|
|
184
|
+
}
|
|
185
|
+
`,si=wt`
|
|
177
186
|
.ft-typography--breadcrumb {
|
|
178
|
-
font-family: ${
|
|
179
|
-
font-size: ${
|
|
180
|
-
font-weight: ${
|
|
181
|
-
letter-spacing: ${
|
|
182
|
-
line-height: ${
|
|
183
|
-
text-transform: ${
|
|
184
|
-
}
|
|
185
|
-
`,
|
|
187
|
+
font-family: ${Ae};
|
|
188
|
+
font-size: ${Pe};
|
|
189
|
+
font-weight: ${He};
|
|
190
|
+
letter-spacing: ${je};
|
|
191
|
+
line-height: ${Te};
|
|
192
|
+
text-transform: ${_e};
|
|
193
|
+
}
|
|
194
|
+
`,li=wt`
|
|
186
195
|
.ft-typography--overline {
|
|
187
|
-
font-family: ${
|
|
188
|
-
font-size: ${
|
|
189
|
-
font-weight: ${
|
|
190
|
-
letter-spacing: ${
|
|
191
|
-
line-height: ${
|
|
192
|
-
text-transform: ${
|
|
193
|
-
}
|
|
194
|
-
`,
|
|
196
|
+
font-family: ${Ge};
|
|
197
|
+
font-size: ${Ve};
|
|
198
|
+
font-weight: ${Ye};
|
|
199
|
+
letter-spacing: ${Je};
|
|
200
|
+
line-height: ${qe};
|
|
201
|
+
text-transform: ${Xe};
|
|
202
|
+
}
|
|
203
|
+
`,ci=wt`
|
|
195
204
|
.ft-typography--button {
|
|
196
|
-
font-family: ${
|
|
197
|
-
font-size: ${
|
|
198
|
-
font-weight: ${
|
|
199
|
-
letter-spacing: ${
|
|
200
|
-
line-height: ${
|
|
201
|
-
text-transform: ${
|
|
202
|
-
}
|
|
203
|
-
`,
|
|
205
|
+
font-family: ${Qe.fontFamily};
|
|
206
|
+
font-size: ${Qe.fontSize};
|
|
207
|
+
font-weight: ${Qe.fontWeight};
|
|
208
|
+
letter-spacing: ${Qe.letterSpacing};
|
|
209
|
+
line-height: ${Qe.lineHeight};
|
|
210
|
+
text-transform: ${Qe.textTransform};
|
|
211
|
+
}
|
|
212
|
+
`,pi=wt`
|
|
204
213
|
.ft-typography {
|
|
205
214
|
vertical-align: inherit;
|
|
206
215
|
}
|
|
207
|
-
`,
|
|
208
|
-
.ft-typography--${
|
|
216
|
+
`,hi=[Object.keys(Eo).map((t=>function(t){const o=Eo[t];return wt`
|
|
217
|
+
.ft-typography--${Nt(t)} {
|
|
209
218
|
font-family: ${o.fontFamily};
|
|
210
219
|
font-size: ${o.fontSize};
|
|
211
220
|
font-weight: ${o.fontWeight};
|
|
@@ -213,25 +222,25 @@ var bt,mt;let vt=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
213
222
|
line-height: ${o.lineHeight};
|
|
214
223
|
text-transform: ${o.textCase};
|
|
215
224
|
}
|
|
216
|
-
`}(t)))];var
|
|
217
|
-
<${
|
|
225
|
+
`}(t)))];var fi=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 di extends Ao{constructor(){super(...arguments),this.variant=te.body1}render(){return this.element?Qo`
|
|
226
|
+
<${qo(this.element)}
|
|
218
227
|
class="ft-typography ft-typography--${this.variant}">
|
|
219
228
|
<slot></slot>
|
|
220
|
-
</${
|
|
221
|
-
`:
|
|
229
|
+
</${qo(this.element)}>
|
|
230
|
+
`:Qo`
|
|
222
231
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
223
|
-
`}}
|
|
232
|
+
`}}di.styles=[ti,oi,ei,ii,ri,ni,ai,si,li,ci,pi,...hi],fi([$()],di.prototype,"element",void 0),fi([$()],di.prototype,"variant",void 0),L("ft-typography")(di);
|
|
224
233
|
/**
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
const
|
|
234
|
+
* @license
|
|
235
|
+
* Copyright 2017 Google LLC
|
|
236
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
237
|
+
*/
|
|
238
|
+
const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{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)}}
|
|
230
239
|
/**
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
240
|
+
* @license
|
|
241
|
+
* Copyright 2020 Google LLC
|
|
242
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
243
|
+
*/const{D:mi}=gt,xi=()=>document.createComment(""),vi=(t,o,e)=>{const i=t._$AA.parentNode,r=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(xi(),r),n=i.insertBefore(xi(),r);e=new mi(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},Oi=(t,o,e=t)=>(t._$AI(o,e),t),Si={},Ni=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}},wi=(t,o,e)=>{const i=new Map;for(let r=o;r<=e;r++)i.set(t[r],r);return i},$i=gi(class extends bi{constructor(t){if(super(t),t.type!==yi)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,h=0,f=r.length-1,d=0,u=n.length-1;for(;h<=f&&d<=u;)if(null===r[h])h++;else if(null===r[f])f--;else if(s[h]===a[d])l[d]=Oi(r[h],n[d]),h++,d++;else if(s[f]===a[u])l[u]=Oi(r[f],n[u]),f--,u--;else if(s[h]===a[u])l[u]=Oi(r[h],n[u]),vi(t,l[u+1],r[h]),h++,u--;else if(s[f]===a[d])l[d]=Oi(r[f],n[d]),vi(t,r[h],r[f]),f--,d++;else if(void 0===c&&(c=wi(a,d,u),p=wi(s,h,f)),c.has(s[h]))if(c.has(s[f])){const o=p.get(a[d]),e=void 0!==o?r[o]:null;if(null===e){const o=vi(t,r[h]);Oi(o,n[d]),l[d]=o}else l[d]=Oi(e,n[d]),vi(t,r[h],e),r[o]=null;d++}else Ni(r[f]),f--;else Ni(r[h]),h++;for(;d<=u;){const o=vi(t,l[u+1]);Oi(o,n[d]),l[d++]=o}for(;h<=f;){const t=r[h++];null!==t&&Ni(t)}return this.dt=a,((t,o=Si)=>{t._$AH=o})(t,l),ot}}),Ci=Co.extend("--ft-ripple-color","",Lo.colorContent),ki={color:Ci,backgroundColor:Co.extend("--ft-ripple-background-color","",Ci),opacityContentOnSurfacePressed:Co.external(Lo.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Co.external(Lo.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Co.external(Lo.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Co.external(Lo.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Co.create("--ft-ripple-border-radius","","SIZE","0px")},Ri=Co.extend("--ft-ripple-color","",Lo.colorPrimary),Ei=Ri,Ui=Co.extend("--ft-ripple-background-color","",Ri),Ii=Co.extend("--ft-ripple-color","",Lo.colorSecondary),Li=Ii,Wi=Co.extend("--ft-ripple-background-color","",Ii),zi=wt`
|
|
235
244
|
:host {
|
|
236
245
|
display: contents;
|
|
237
246
|
}
|
|
@@ -244,7 +253,7 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
244
253
|
|
|
245
254
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
246
255
|
overflow: hidden;
|
|
247
|
-
border-radius: ${
|
|
256
|
+
border-radius: ${ki.borderRadius};
|
|
248
257
|
}
|
|
249
258
|
|
|
250
259
|
.ft-ripple .ft-ripple--background,
|
|
@@ -278,27 +287,27 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
278
287
|
}
|
|
279
288
|
|
|
280
289
|
.ft-ripple .ft-ripple--background {
|
|
281
|
-
background-color: ${
|
|
290
|
+
background-color: ${ki.backgroundColor};
|
|
282
291
|
}
|
|
283
292
|
|
|
284
293
|
.ft-ripple .ft-ripple--effect {
|
|
285
|
-
background-color: ${
|
|
294
|
+
background-color: ${ki.color};
|
|
286
295
|
}
|
|
287
296
|
|
|
288
297
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
289
|
-
background-color: ${
|
|
298
|
+
background-color: ${Wi};
|
|
290
299
|
}
|
|
291
300
|
|
|
292
301
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
293
|
-
background-color: ${
|
|
302
|
+
background-color: ${Li};
|
|
294
303
|
}
|
|
295
304
|
|
|
296
305
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
297
|
-
background-color: ${
|
|
306
|
+
background-color: ${Ui};
|
|
298
307
|
}
|
|
299
308
|
|
|
300
309
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
301
|
-
background-color: ${
|
|
310
|
+
background-color: ${Ei};
|
|
302
311
|
}
|
|
303
312
|
|
|
304
313
|
.ft-ripple .ft-ripple--background {
|
|
@@ -328,22 +337,22 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
328
337
|
}
|
|
329
338
|
|
|
330
339
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
331
|
-
opacity: ${
|
|
340
|
+
opacity: ${ki.opacityContentOnSurfaceHover};
|
|
332
341
|
}
|
|
333
342
|
|
|
334
343
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
335
|
-
opacity: ${
|
|
344
|
+
opacity: ${ki.opacityContentOnSurfaceSelected};
|
|
336
345
|
}
|
|
337
346
|
|
|
338
347
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
339
|
-
opacity: ${
|
|
348
|
+
opacity: ${ki.opacityContentOnSurfaceFocused};
|
|
340
349
|
}
|
|
341
350
|
|
|
342
351
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
343
|
-
opacity: ${
|
|
352
|
+
opacity: ${ki.opacityContentOnSurfacePressed};
|
|
344
353
|
transform: translate(-50%, -50%) scale(1);
|
|
345
354
|
}
|
|
346
|
-
`,
|
|
355
|
+
`,Ki={color:Co.extend("--ft-loader-color","",Lo.colorPrimary),size:Co.create("--ft-loader-size","","SIZE","80px")},Fi=wt`
|
|
347
356
|
:host {
|
|
348
357
|
line-height: 0;
|
|
349
358
|
}
|
|
@@ -352,8 +361,8 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
352
361
|
display: inline-block;
|
|
353
362
|
position: relative;
|
|
354
363
|
|
|
355
|
-
width: ${
|
|
356
|
-
height: ${
|
|
364
|
+
width: ${Ki.size};
|
|
365
|
+
height: ${Ki.size};
|
|
357
366
|
}
|
|
358
367
|
|
|
359
368
|
.ft-loader div {
|
|
@@ -362,7 +371,7 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
362
371
|
width: 25%;
|
|
363
372
|
height: 25%;
|
|
364
373
|
border-radius: 50%;
|
|
365
|
-
background: ${
|
|
374
|
+
background: ${Ki.color};
|
|
366
375
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
367
376
|
}
|
|
368
377
|
|
|
@@ -409,10 +418,10 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
409
418
|
transform: translate(0, 0);
|
|
410
419
|
}
|
|
411
420
|
100% {
|
|
412
|
-
transform: translate(calc(0.35 * ${
|
|
421
|
+
transform: translate(calc(0.35 * ${Ki.size}), 0);
|
|
413
422
|
}
|
|
414
423
|
}
|
|
415
|
-
`,
|
|
424
|
+
`,Bi={size:Co.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Co.extend("--ft-icon-fluid-topics-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Co.extend("--ft-icon-file-format-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Co.extend("--ft-icon-material-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Co.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Zi=wt`
|
|
416
425
|
:host, i.ft-icon {
|
|
417
426
|
display: inline-flex;
|
|
418
427
|
align-items: center;
|
|
@@ -421,14 +430,14 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
421
430
|
}
|
|
422
431
|
|
|
423
432
|
:host {
|
|
424
|
-
width: ${
|
|
425
|
-
height: ${
|
|
433
|
+
width: ${Bi.size};
|
|
434
|
+
height: ${Bi.size};
|
|
426
435
|
}
|
|
427
436
|
|
|
428
437
|
i.ft-icon {
|
|
429
438
|
width: 100%;
|
|
430
439
|
height: 100%;
|
|
431
|
-
font-size: ${
|
|
440
|
+
font-size: ${Bi.size};
|
|
432
441
|
line-height: 1;
|
|
433
442
|
font-weight: normal;
|
|
434
443
|
text-transform: none;
|
|
@@ -439,28 +448,28 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
439
448
|
text-rendering: auto;
|
|
440
449
|
-webkit-font-smoothing: antialiased;
|
|
441
450
|
-moz-osx-font-smoothing: grayscale;
|
|
442
|
-
vertical-align: ${
|
|
451
|
+
vertical-align: ${Bi.verticalAlign};
|
|
443
452
|
}
|
|
444
453
|
|
|
445
454
|
i.ft-icon.ft-icon--fluid-topics {
|
|
446
|
-
font-family: ${
|
|
455
|
+
font-family: ${Bi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
447
456
|
|
|
448
457
|
/* Ugly fix because font is broken */
|
|
449
|
-
font-size: calc(0.75 * ${
|
|
450
|
-
line-height: ${
|
|
458
|
+
font-size: calc(0.75 * ${Bi.size});
|
|
459
|
+
line-height: ${Bi.size};
|
|
451
460
|
position: relative;
|
|
452
461
|
top: -4%;
|
|
453
462
|
justify-content: center;
|
|
454
463
|
}
|
|
455
464
|
|
|
456
465
|
.ft-icon--file-format {
|
|
457
|
-
font-family: ${
|
|
466
|
+
font-family: ${Bi.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
458
467
|
}
|
|
459
468
|
|
|
460
469
|
.ft-icon--material {
|
|
461
|
-
font-family: ${
|
|
470
|
+
font-family: ${Bi.materialFontFamily}, "Material Icons", sans-serif;
|
|
462
471
|
}
|
|
463
|
-
`,
|
|
472
|
+
`,Di=Co.extend("--ft-button-color","",Lo.colorPrimary),Mi={backgroundColor:Co.extend("--ft-button-background-color","",Lo.colorSurface),borderRadius:Co.extend("--ft-button-border-radius","",Lo.borderRadiusL),color:Di,fontSize:Co.extend("--ft-button-font-size","",Qe.fontSize),iconSize:Co.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Co.extend("--ft-button-ripple-color","",Di),verticalPadding:Co.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Co.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Co.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Co.external(Lo.colorOpacityDisabled,"Design system")},Ai=Co.extend("--ft-button-primary-color","",Co.extend("--ft-button-color","",Lo.colorOnPrimary)),Pi={backgroundColor:Co.extend("--ft-button-primary-background-color","",Co.extend("--ft-button-background-color","",Lo.colorPrimary)),color:Ai,rippleColor:Co.extend("--ft-button-primary-ripple-color","",Ai)},Hi=Co.extend("--ft-button-dense-border-radius","",Co.extend("--ft-button-border-radius","",Lo.borderRadiusM)),ji=Co.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ti=Co.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),_i=Co.create("--ft-button-dense-icon-padding","","SIZE","4px"),Gi=[wt`
|
|
464
473
|
:host {
|
|
465
474
|
display: inline-block;
|
|
466
475
|
max-width: 100%;
|
|
@@ -471,7 +480,7 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
471
480
|
box-shadow: 0px 0px 0px transparent;
|
|
472
481
|
border: 0px solid transparent;
|
|
473
482
|
text-shadow: 0px 0px 0px transparent;
|
|
474
|
-
font-size: ${
|
|
483
|
+
font-size: ${Mi.fontSize};
|
|
475
484
|
}
|
|
476
485
|
|
|
477
486
|
button:hover {
|
|
@@ -500,31 +509,31 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
500
509
|
border: none;
|
|
501
510
|
pointer-events: auto;
|
|
502
511
|
|
|
503
|
-
--ft-button-internal-line-height: max(calc(${
|
|
504
|
-
--ft-button-internal-color: ${
|
|
505
|
-
${
|
|
506
|
-
${
|
|
512
|
+
--ft-button-internal-line-height: max(calc(${Mi.fontSize} + 2px), ${Mi.iconSize});
|
|
513
|
+
--ft-button-internal-color: ${Mi.color};
|
|
514
|
+
${ko(Bi.size,Mi.iconSize)};
|
|
515
|
+
${ko(ki.color,Mi.rippleColor)};
|
|
507
516
|
|
|
508
|
-
border-radius: ${
|
|
509
|
-
padding: ${
|
|
510
|
-
background-color: ${
|
|
517
|
+
border-radius: ${Mi.borderRadius};
|
|
518
|
+
padding: ${Mi.verticalPadding} ${Mi.horizontalPadding};
|
|
519
|
+
background-color: ${Mi.backgroundColor};
|
|
511
520
|
color: var(--ft-button-internal-color);
|
|
512
521
|
-webkit-mask-image: radial-gradient(white, black);
|
|
513
522
|
}
|
|
514
523
|
|
|
515
524
|
.ft-button.ft-button--outlined {
|
|
516
525
|
border: 1px solid var(--ft-button-internal-color);
|
|
517
|
-
padding: calc(${
|
|
526
|
+
padding: calc(${Mi.verticalPadding} - 1px) calc(${Mi.horizontalPadding} - 1px);
|
|
518
527
|
}
|
|
519
528
|
|
|
520
529
|
.ft-button.ft-button--dense {
|
|
521
|
-
padding: ${
|
|
522
|
-
border-radius: ${
|
|
523
|
-
gap: ${
|
|
530
|
+
padding: ${ji} ${Ti};
|
|
531
|
+
border-radius: ${Hi};
|
|
532
|
+
gap: ${_i};
|
|
524
533
|
}
|
|
525
534
|
|
|
526
535
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
527
|
-
padding: calc(${
|
|
536
|
+
padding: calc(${ji} - 1px) calc(${Ti} - 1px);
|
|
528
537
|
}
|
|
529
538
|
|
|
530
539
|
.ft-button:not([disabled]):hover {
|
|
@@ -532,22 +541,22 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
532
541
|
}
|
|
533
542
|
|
|
534
543
|
.ft-button--round {
|
|
535
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
544
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Mi.verticalPadding});
|
|
536
545
|
}
|
|
537
546
|
|
|
538
547
|
.ft-button--round.ft-button--dense {
|
|
539
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
548
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ji});
|
|
540
549
|
}
|
|
541
550
|
|
|
542
551
|
.ft-button[disabled] {
|
|
543
552
|
filter: grayscale(1);
|
|
544
|
-
opacity: ${
|
|
553
|
+
opacity: ${Mi.opacityDisabled};
|
|
545
554
|
}
|
|
546
555
|
|
|
547
556
|
.ft-button.ft-button--primary {
|
|
548
|
-
background-color: ${
|
|
549
|
-
--ft-button-internal-color: ${
|
|
550
|
-
${
|
|
557
|
+
background-color: ${Pi.backgroundColor};
|
|
558
|
+
--ft-button-internal-color: ${Pi.color};
|
|
559
|
+
${ko(ki.color,Pi.rippleColor)};
|
|
551
560
|
}
|
|
552
561
|
|
|
553
562
|
.ft-button:focus {
|
|
@@ -560,13 +569,13 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
560
569
|
white-space: nowrap;
|
|
561
570
|
text-overflow: ellipsis;
|
|
562
571
|
display: block;
|
|
563
|
-
margin: 0 ${
|
|
564
|
-
${
|
|
565
|
-
${
|
|
572
|
+
margin: 0 ${Mi.iconPadding};
|
|
573
|
+
${ko(Qe.fontSize,"1em")};
|
|
574
|
+
${ko(Qe.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
566
575
|
}
|
|
567
576
|
|
|
568
577
|
.ft-button--dense .ft-button--label {
|
|
569
|
-
margin: 0 ${
|
|
578
|
+
margin: 0 ${_i};
|
|
570
579
|
}
|
|
571
580
|
|
|
572
581
|
.ft-button--label[hidden] {
|
|
@@ -579,13 +588,13 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
579
588
|
}
|
|
580
589
|
|
|
581
590
|
.ft-button--label[hidden] + ft-icon {
|
|
582
|
-
margin: 0 calc(${
|
|
583
|
-
padding: 0 ${
|
|
591
|
+
margin: 0 calc(${Mi.horizontalPadding} * -1);
|
|
592
|
+
padding: 0 ${Mi.verticalPadding};
|
|
584
593
|
}
|
|
585
594
|
|
|
586
595
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
587
|
-
margin: 0 calc(${
|
|
588
|
-
padding: 0 ${
|
|
596
|
+
margin: 0 calc(${Ti} * -1);
|
|
597
|
+
padding: 0 ${ji};
|
|
589
598
|
}
|
|
590
599
|
|
|
591
600
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -594,26 +603,26 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
594
603
|
}
|
|
595
604
|
|
|
596
605
|
ft-loader {
|
|
597
|
-
${
|
|
598
|
-
${
|
|
606
|
+
${ko(Ki.size,Mi.iconSize)};
|
|
607
|
+
${ko(Ki.color,"var(--ft-button-internal-color)")};
|
|
599
608
|
}
|
|
600
|
-
`,
|
|
609
|
+
`,Po],Vi=gi(class extends bi{constructor(t){if(super(t),t.type!==ui||"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 ot}});
|
|
601
610
|
/**
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
611
|
+
* @license
|
|
612
|
+
* Copyright 2017 Google LLC
|
|
613
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
614
|
+
*/var Yi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ji extends Ao{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 ao`
|
|
606
615
|
<style>
|
|
607
616
|
.ft-ripple .ft-ripple--effect {
|
|
608
617
|
left: ${this.originX}px;
|
|
609
618
|
top: ${this.originY}px;
|
|
610
619
|
}
|
|
611
620
|
</style>
|
|
612
|
-
<div class="${
|
|
621
|
+
<div class="${Vi(t)}">
|
|
613
622
|
<div class="ft-ripple--background"></div>
|
|
614
623
|
<div class="ft-ripple--effect"></div>
|
|
615
624
|
</div>
|
|
616
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
625
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ji.elementDefinitions={},Ji.styles=zi,Yi([$({type:Boolean})],Ji.prototype,"primary",void 0),Yi([$({type:Boolean})],Ji.prototype,"secondary",void 0),Yi([$({type:Boolean})],Ji.prototype,"unbounded",void 0),Yi([$({type:Boolean})],Ji.prototype,"activated",void 0),Yi([$({type:Boolean})],Ji.prototype,"selected",void 0),Yi([$({type:Boolean})],Ji.prototype,"disabled",void 0),Yi([C()],Ji.prototype,"hovered",void 0),Yi([C()],Ji.prototype,"focused",void 0),Yi([C()],Ji.prototype,"pressed",void 0),Yi([C()],Ji.prototype,"rippling",void 0),Yi([C()],Ji.prototype,"originX",void 0),Yi([C()],Ji.prototype,"originY",void 0),Yi([R(".ft-ripple")],Ji.prototype,"ripple",void 0),Yi([R(".ft-ripple--effect")],Ji.prototype,"rippleEffect",void 0),L("ft-ripple")(Ji);const qi=Co.create("--ft-tooltip-distance","","SIZE","4px"),Xi=Co.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Qi=Co.create("--ft-tooltip-background-color","","COLOR","#666666"),tr=Co.create("--ft-tooltip-z-index","","NUMBER","100"),or=Co.external(Lo.borderRadiusS,"Design system"),er=Co.create("--ft-tooltip-max-width","","SIZE","150px"),ir=wt`
|
|
617
626
|
.ft-tooltip--container {
|
|
618
627
|
display: block;
|
|
619
628
|
}
|
|
@@ -628,21 +637,21 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
628
637
|
box-sizing: border-box;
|
|
629
638
|
overflow: hidden;
|
|
630
639
|
width: max-content;
|
|
631
|
-
max-width: ${
|
|
640
|
+
max-width: ${er};
|
|
632
641
|
text-align: center;
|
|
633
|
-
padding: ${
|
|
634
|
-
z-index: ${
|
|
642
|
+
padding: ${qi};
|
|
643
|
+
z-index: ${tr};
|
|
635
644
|
}
|
|
636
645
|
|
|
637
646
|
.ft-tooltip--content {
|
|
638
647
|
padding: 4px 8px;
|
|
639
|
-
border-radius: ${
|
|
640
|
-
background-color: ${
|
|
641
|
-
color: ${
|
|
648
|
+
border-radius: ${or};
|
|
649
|
+
background-color: ${Qi};
|
|
650
|
+
color: ${Xi};
|
|
642
651
|
position: relative;
|
|
643
652
|
word-break: break-word;
|
|
644
653
|
}
|
|
645
|
-
`;var
|
|
654
|
+
`;var rr=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 Ao{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ao`
|
|
646
655
|
<div part="container"
|
|
647
656
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
648
657
|
@mouseenter=${this.onHover}
|
|
@@ -660,48 +669,54 @@ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{constructo
|
|
|
660
669
|
</div>
|
|
661
670
|
</div>
|
|
662
671
|
</div>
|
|
663
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const
|
|
672
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,p=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let h=-l.y,f=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,f))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${er})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}nr.elementDefinitions={"ft-typography":di},nr.styles=ir,rr([$()],nr.prototype,"text",void 0),rr([$({type:Boolean})],nr.prototype,"manual",void 0),rr([$({type:Boolean})],nr.prototype,"inline",void 0),rr([$({type:Number})],nr.prototype,"delay",void 0),rr([$()],nr.prototype,"position",void 0),rr([
|
|
664
673
|
/**
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
674
|
+
* @license
|
|
675
|
+
* Copyright 2017 Google LLC
|
|
676
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
677
|
+
*/
|
|
678
|
+
function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],nr.prototype,"slotNodes",void 0),rr([R(".ft-tooltip--container")],nr.prototype,"container",void 0),rr([R(".ft-tooltip")],nr.prototype,"tooltip",void 0),rr([R(".ft-tooltip--content")],nr.prototype,"tooltipContent",void 0),rr([C()],nr.prototype,"visible",void 0),L("ft-tooltip")(nr);
|
|
679
|
+
/**
|
|
680
|
+
* @license
|
|
681
|
+
* Copyright 2017 Google LLC
|
|
682
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
683
|
+
*/
|
|
684
|
+
class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.vt=void 0,this.et=t;if(t===ot)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:[]}}}ar.directiveName="unsafeHTML",ar.resultType=1;const sr=gi(ar);var lr,cr,pr;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(lr||(lr={})),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=""}(cr||(cr={})),new Map([...["abw"].map((t=>[t,cr.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,cr.AUDIO])),...["avi"].map((t=>[t,cr.AVI])),...["chm","xhs"].map((t=>[t,cr.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,cr.CODE])),...["csv"].map((t=>[t,cr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,cr.DITA])),...["epub"].map((t=>[t,cr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,cr.EXCEL])),...["flac"].map((t=>[t,cr.FLAC])),...["gif"].map((t=>[t,cr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,cr.GZIP])),...["html","htm","xhtml"].map((t=>[t,cr.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,cr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,cr.JPEG])),...["json"].map((t=>[t,cr.JSON])),...["m4a","m4p"].map((t=>[t,cr.M4A])),...["mov","qt"].map((t=>[t,cr.MOV])),...["mp3"].map((t=>[t,cr.MP3])),...["mp4","m4v"].map((t=>[t,cr.MP4])),...["ogg","oga"].map((t=>[t,cr.OGG])),...["pdf","ps"].map((t=>[t,cr.PDF])),...["png"].map((t=>[t,cr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,cr.POWERPOINT])),...["rar"].map((t=>[t,cr.RAR])),...["stp"].map((t=>[t,cr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,cr.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,cr.VIDEO])),...["wav"].map((t=>[t,cr.WAV])),...["wma"].map((t=>[t,cr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,cr.WORD])),...["xml","xsl","rdf"].map((t=>[t,cr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,cr.YAML])),...["zip"].map((t=>[t,cr.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(pr||(pr={}));var hr=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 fr extends Ao{constructor(){super(...arguments),this.resolvedIcon=lo}render(){const t=this.variant&&Object.values(pr).includes(this.variant)?this.variant:pr.fluid_topics,o=t!==pr.material||!!this.value;return ao`
|
|
670
685
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
671
|
-
${
|
|
686
|
+
${sr(this.resolvedIcon)}
|
|
672
687
|
<slot ?hidden=${o}></slot>
|
|
673
688
|
</i>
|
|
674
|
-
`}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
|
|
689
|
+
`}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 pr.file_format:this.resolvedIcon=null!==(t=cr[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case pr.material:this.resolvedIcon=this.value||lo;break;default:this.resolvedIcon=null!==(o=lr[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}fr.elementDefinitions={},fr.styles=Zi,hr([$()],fr.prototype,"variant",void 0),hr([$()],fr.prototype,"value",void 0),hr([C()],fr.prototype,"resolvedIcon",void 0),hr([R("slot")],fr.prototype,"slottedContent",void 0),L("ft-icon")(fr);class dr extends Ao{render(){return ao`
|
|
675
690
|
<div class="ft-loader">
|
|
676
691
|
<div></div>
|
|
677
692
|
<div></div>
|
|
678
693
|
<div></div>
|
|
679
694
|
<div></div>
|
|
680
695
|
</div>
|
|
681
|
-
`}}
|
|
696
|
+
`}}dr.styles=Fi,L("ft-loader")(dr);var ur=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 yr extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[jo].form}constructor(...t){super(t),this[jo]=this.attachInternals(),this[jo].role=o}setFormValue(t){this[jo].setFormValue(t)}}}(Ao,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(ao`
|
|
682
697
|
<button part="button"
|
|
683
|
-
class="${
|
|
698
|
+
class="${Vi(this.buttonClasses)}"
|
|
684
699
|
aria-label="${this.getLabel()}"
|
|
685
700
|
?disabled=${this.isDisabled()}>
|
|
686
701
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
687
702
|
<ft-typography part="label"
|
|
688
703
|
variant=${this.typographyVariant}
|
|
689
704
|
element="span"
|
|
690
|
-
class="ft-button--label ${
|
|
705
|
+
class="ft-button--label ${Vo?"ft-safari-ellipsis-fix":""}"
|
|
691
706
|
?hidden=${!this.hasTextContent()}>
|
|
692
707
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
693
708
|
</ft-typography>
|
|
694
709
|
${this.resolveIcon()}
|
|
695
710
|
</button>
|
|
696
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
711
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ao`
|
|
697
712
|
<ft-tooltip part="tooltip"
|
|
698
713
|
text="${this.getLabel()}"
|
|
699
714
|
position="${this.tooltipPosition}">
|
|
700
715
|
${t}
|
|
701
716
|
</ft-tooltip>
|
|
702
|
-
`:t}resolveIcon(){return this.loading?
|
|
703
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
704
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
717
|
+
`:t}resolveIcon(){return this.loading?ao`
|
|
718
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?ao`
|
|
719
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:lo}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}}yr.elementDefinitions={"ft-ripple":Ji,"ft-tooltip":nr,"ft-typography":di,"ft-icon":fr,"ft-loader":dr},ur([$({type:String,reflect:!0})],yr.prototype,"role",void 0),ur([$()],yr.prototype,"type",void 0),ur([$({type:Boolean})],yr.prototype,"disabled",void 0),ur([$()],yr.prototype,"label",void 0),ur([$()],yr.prototype,"icon",void 0),ur([$()],yr.prototype,"iconVariant",void 0),ur([$({type:Boolean})],yr.prototype,"trailingIcon",void 0),ur([$({type:Boolean})],yr.prototype,"loading",void 0),ur([$()],yr.prototype,"tooltipPosition",void 0),ur([$({type:Boolean})],yr.prototype,"hideTooltip",void 0),ur([$({type:Boolean})],yr.prototype,"forceTooltip",void 0),ur([R(".ft-button")],yr.prototype,"button",void 0),ur([R(".ft-button--label slot")],yr.prototype,"slottedContent",void 0);var gr=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 br extends yr{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"}}br.styles=[Ho,Gi],gr([$({type:Boolean})],br.prototype,"primary",void 0),gr([$({type:Boolean})],br.prototype,"outlined",void 0),gr([$({type:Boolean})],br.prototype,"dense",void 0),gr([$({type:Boolean})],br.prototype,"round",void 0);const mr=[wt`
|
|
705
720
|
:host {
|
|
706
721
|
display: inline-block;
|
|
707
722
|
max-width: 100%;
|
|
@@ -751,7 +766,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
751
766
|
}
|
|
752
767
|
|
|
753
768
|
.ft-button:focus-visible {
|
|
754
|
-
outline-color: ${
|
|
769
|
+
outline-color: ${Io.focusFocusRingColor};
|
|
755
770
|
outline-style: solid;
|
|
756
771
|
}
|
|
757
772
|
|
|
@@ -780,153 +795,153 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
780
795
|
/** Primary styles **/
|
|
781
796
|
|
|
782
797
|
.ft-button--primary {
|
|
783
|
-
${
|
|
798
|
+
${ko(Ki.color,Io.primaryIconColor)};
|
|
784
799
|
|
|
785
|
-
${
|
|
786
|
-
${
|
|
787
|
-
${
|
|
788
|
-
${
|
|
789
|
-
${
|
|
800
|
+
${ko(ki.color,Io.primaryStateLayerColor)};
|
|
801
|
+
${ko(ki.opacityContentOnSurfaceHover,Io.primaryStateLayerOpacityHover)};
|
|
802
|
+
${ko(ki.opacityContentOnSurfaceFocused,Io.primaryStateLayerOpacityFocus)};
|
|
803
|
+
${ko(ki.opacityContentOnSurfaceSelected,Io.primaryStateLayerOpacityActive)};
|
|
804
|
+
${ko(ki.opacityContentOnSurfacePressed,Io.primaryStateLayerOpacityActive)};
|
|
790
805
|
|
|
791
|
-
background-color: ${
|
|
792
|
-
color: ${
|
|
806
|
+
background-color: ${Io.primaryBackgroundColor};
|
|
807
|
+
color: ${Io.primaryColor};
|
|
793
808
|
border-style: none;
|
|
794
809
|
}
|
|
795
810
|
|
|
796
811
|
.ft-button--primary[disabled] {
|
|
797
|
-
opacity: ${
|
|
812
|
+
opacity: ${Io.primaryComponentOpacityDisabled};
|
|
798
813
|
}
|
|
799
814
|
|
|
800
815
|
.ft-button--primary ft-icon {
|
|
801
|
-
color: ${
|
|
816
|
+
color: ${Io.primaryIconColor};
|
|
802
817
|
}
|
|
803
818
|
|
|
804
819
|
/** Secondary styles **/
|
|
805
820
|
|
|
806
821
|
.ft-button--secondary {
|
|
807
|
-
${
|
|
822
|
+
${ko(Ki.color,Io.secondaryIconColor)};
|
|
808
823
|
|
|
809
|
-
${
|
|
810
|
-
${
|
|
811
|
-
${
|
|
812
|
-
${
|
|
813
|
-
${
|
|
824
|
+
${ko(ki.color,Io.secondaryStateLayerColor)};
|
|
825
|
+
${ko(ki.opacityContentOnSurfaceHover,Io.secondaryStateLayerOpacityHover)};
|
|
826
|
+
${ko(ki.opacityContentOnSurfaceFocused,Io.secondaryStateLayerOpacityFocus)};
|
|
827
|
+
${ko(ki.opacityContentOnSurfaceSelected,Io.secondaryStateLayerOpacityActive)};
|
|
828
|
+
${ko(ki.opacityContentOnSurfacePressed,Io.secondaryStateLayerOpacityActive)};
|
|
814
829
|
|
|
815
|
-
background-color: ${
|
|
816
|
-
color: ${
|
|
817
|
-
border-color: ${
|
|
830
|
+
background-color: ${Io.secondaryBackgroundColor};
|
|
831
|
+
color: ${Io.secondaryColor};
|
|
832
|
+
border-color: ${Io.secondaryBorderColor};
|
|
818
833
|
border-style: solid;
|
|
819
834
|
}
|
|
820
835
|
|
|
821
836
|
.ft-button--secondary[disabled] {
|
|
822
|
-
opacity: ${
|
|
837
|
+
opacity: ${Io.secondaryComponentOpacityDisabled};
|
|
823
838
|
}
|
|
824
839
|
|
|
825
840
|
.ft-button--secondary ft-icon {
|
|
826
|
-
color: ${
|
|
841
|
+
color: ${Io.secondaryIconColor};
|
|
827
842
|
}
|
|
828
843
|
|
|
829
844
|
/** Tertiary styles **/
|
|
830
845
|
|
|
831
846
|
.ft-button--tertiary {
|
|
832
|
-
${
|
|
847
|
+
${ko(Ki.color,Io.tertiaryIconColor)};
|
|
833
848
|
|
|
834
|
-
${
|
|
835
|
-
${
|
|
836
|
-
${
|
|
837
|
-
${
|
|
838
|
-
${
|
|
849
|
+
${ko(ki.color,Io.tertiaryStateLayerColor)};
|
|
850
|
+
${ko(ki.opacityContentOnSurfaceHover,Io.tertiaryStateLayerOpacityHover)};
|
|
851
|
+
${ko(ki.opacityContentOnSurfaceFocused,Io.tertiaryStateLayerOpacityFocus)};
|
|
852
|
+
${ko(ki.opacityContentOnSurfaceSelected,Io.tertiaryStateLayerOpacityActive)};
|
|
853
|
+
${ko(ki.opacityContentOnSurfacePressed,Io.tertiaryStateLayerOpacityActive)};
|
|
839
854
|
|
|
840
|
-
background-color: ${
|
|
841
|
-
color: ${
|
|
855
|
+
background-color: ${Io.tertiaryBackgroundColor};
|
|
856
|
+
color: ${Io.tertiaryColor};
|
|
842
857
|
border-style: none;
|
|
843
858
|
}
|
|
844
859
|
|
|
845
860
|
.ft-button--tertiary[disabled] {
|
|
846
|
-
opacity: ${
|
|
861
|
+
opacity: ${Io.tertiaryComponentOpacityDisabled};
|
|
847
862
|
}
|
|
848
863
|
|
|
849
864
|
.ft-button--tertiary ft-icon {
|
|
850
|
-
color: ${
|
|
865
|
+
color: ${Io.tertiaryIconColor};
|
|
851
866
|
}
|
|
852
867
|
|
|
853
868
|
/** Neutral styles **/
|
|
854
869
|
|
|
855
870
|
.ft-button--neutral {
|
|
856
|
-
${
|
|
871
|
+
${ko(Ki.color,Io.neutralIconColor)};
|
|
857
872
|
|
|
858
|
-
${
|
|
859
|
-
${
|
|
860
|
-
${
|
|
861
|
-
${
|
|
862
|
-
${
|
|
873
|
+
${ko(ki.backgroundColor,Io.neutralStateLayerColor)};
|
|
874
|
+
${ko(ki.opacityContentOnSurfaceHover,Io.neutralStateLayerOpacityHover)};
|
|
875
|
+
${ko(ki.opacityContentOnSurfaceFocused,Io.neutralStateLayerOpacityFocus)};
|
|
876
|
+
${ko(ki.opacityContentOnSurfaceSelected,Io.neutralStateLayerOpacityActive)};
|
|
877
|
+
${ko(ki.opacityContentOnSurfacePressed,Io.neutralStateLayerOpacityActive)};
|
|
863
878
|
|
|
864
|
-
background-color: ${
|
|
865
|
-
color: ${
|
|
879
|
+
background-color: ${Io.neutralBackgroundColor};
|
|
880
|
+
color: ${Io.neutralColor};
|
|
866
881
|
border-style: none;
|
|
867
882
|
}
|
|
868
883
|
|
|
869
884
|
.ft-button--neutral[disabled] {
|
|
870
|
-
opacity: ${
|
|
885
|
+
opacity: ${Io.neutralComponentOpacityDisabled};
|
|
871
886
|
}
|
|
872
887
|
|
|
873
888
|
.ft-button--neutral ft-icon {
|
|
874
|
-
color: ${
|
|
889
|
+
color: ${Io.neutralIconColor};
|
|
875
890
|
}
|
|
876
891
|
|
|
877
892
|
/** Large styles **/
|
|
878
893
|
|
|
879
894
|
.ft-button--large {
|
|
880
|
-
${
|
|
881
|
-
${
|
|
895
|
+
${ko(Bi.size,Io.largeIconSize)};
|
|
896
|
+
${ko(Ki.size,Io.largeIconSize)};
|
|
882
897
|
|
|
883
|
-
height: ${
|
|
884
|
-
padding: 0 ${
|
|
885
|
-
gap: ${
|
|
886
|
-
border-radius: ${
|
|
887
|
-
border-width: ${
|
|
898
|
+
height: ${Io.largeHeight};
|
|
899
|
+
padding: 0 ${Io.largeHorizontalPadding};
|
|
900
|
+
gap: ${Io.largeGap};
|
|
901
|
+
border-radius: ${Io.largeBorderRadius};
|
|
902
|
+
border-width: ${Io.largeBorderWidth};
|
|
888
903
|
}
|
|
889
904
|
|
|
890
905
|
.ft-button--large:focus-visible {
|
|
891
|
-
outline-width: ${
|
|
892
|
-
outline-offset: ${
|
|
906
|
+
outline-width: ${Io.largeFocusOutlineWidth};
|
|
907
|
+
outline-offset: ${Io.largeFocusOutlineOffset};
|
|
893
908
|
}
|
|
894
909
|
|
|
895
910
|
.ft-button--large.ft-button--icon-only {
|
|
896
|
-
width: ${
|
|
911
|
+
width: ${Io.largeIconOnlyWidth};
|
|
897
912
|
padding: unset;
|
|
898
913
|
}
|
|
899
914
|
|
|
900
915
|
/** Small styles **/
|
|
901
916
|
|
|
902
917
|
.ft-button--small {
|
|
903
|
-
${
|
|
904
|
-
${
|
|
918
|
+
${ko(Bi.size,Io.smallIconSize)};
|
|
919
|
+
${ko(Ki.size,Io.smallIconSize)};
|
|
905
920
|
|
|
906
|
-
height: ${
|
|
907
|
-
padding: 0 ${
|
|
908
|
-
gap: ${
|
|
909
|
-
border-radius: ${
|
|
910
|
-
border-width: ${
|
|
921
|
+
height: ${Io.smallHeight};
|
|
922
|
+
padding: 0 ${Io.smallHorizontalPadding};
|
|
923
|
+
gap: ${Io.smallGap};
|
|
924
|
+
border-radius: ${Io.smallBorderRadius};
|
|
925
|
+
border-width: ${Io.smallBorderWidth};
|
|
911
926
|
}
|
|
912
927
|
|
|
913
928
|
.ft-button--small:focus-visible {
|
|
914
|
-
outline-width: ${
|
|
915
|
-
outline-offset: ${
|
|
929
|
+
outline-width: ${Io.smallFocusOutlineWidth};
|
|
930
|
+
outline-offset: ${Io.smallFocusOutlineOffset};
|
|
916
931
|
}
|
|
917
932
|
|
|
918
933
|
.ft-button--small.ft-button--icon-only {
|
|
919
|
-
width: ${
|
|
934
|
+
width: ${Io.smallIconOnlyWidth};
|
|
920
935
|
padding: unset;
|
|
921
936
|
}
|
|
922
|
-
`,
|
|
937
|
+
`,Po];var xr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vr extends yr{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?te.caption1medium:te.body2medium}}vr.styles=[Ho,mr],xr([$({type:Boolean})],vr.prototype,"primary",void 0),xr([$({type:Boolean})],vr.prototype,"secondary",void 0),xr([$({type:Boolean})],vr.prototype,"tertiary",void 0),xr([$({type:Boolean})],vr.prototype,"neutral",void 0),xr([$({type:Boolean})],vr.prototype,"small",void 0),L("ft-button")(br),L("ftds-button")(vr);const Or=Co.extend("--ft-checkbox-text-color","",Lo.colorOnSurfaceHigh),Sr=Co.external(Lo.colorPrimary,"Design system"),Nr=Co.external(Lo.colorOnPrimary,"Design system"),wr=Co.extend("--ft-checkbox-border-color","",Lo.colorOnSurfaceMedium),$r=Co.external(Lo.colorOnSurfaceDisabled,"Design system"),Cr=wt`
|
|
923
938
|
* {
|
|
924
939
|
box-sizing: border-box;
|
|
925
940
|
}
|
|
926
941
|
|
|
927
942
|
.ft-checkbox {
|
|
928
943
|
box-sizing: border-box;
|
|
929
|
-
color: ${
|
|
944
|
+
color: ${Or};
|
|
930
945
|
|
|
931
946
|
display: inline-flex;
|
|
932
947
|
align-items: center;
|
|
@@ -934,7 +949,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
934
949
|
}
|
|
935
950
|
|
|
936
951
|
.ft-checkbox--disabled {
|
|
937
|
-
color: ${
|
|
952
|
+
color: ${$r};
|
|
938
953
|
}
|
|
939
954
|
|
|
940
955
|
input {
|
|
@@ -958,26 +973,26 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
958
973
|
|
|
959
974
|
.ft-checkbox--box {
|
|
960
975
|
display: flex;
|
|
961
|
-
border: 2px solid ${
|
|
976
|
+
border: 2px solid ${wr};
|
|
962
977
|
border-radius: 2px;
|
|
963
978
|
|
|
964
979
|
width: 18px;
|
|
965
980
|
height: 18px;
|
|
966
981
|
|
|
967
|
-
color: ${
|
|
982
|
+
color: ${Nr};
|
|
968
983
|
}
|
|
969
984
|
|
|
970
985
|
|
|
971
986
|
.ft-checkbox--checked .ft-checkbox--box,
|
|
972
987
|
.ft-checkbox--indeterminate .ft-checkbox--box {
|
|
973
|
-
border-color: ${
|
|
974
|
-
background-color: ${
|
|
988
|
+
border-color: ${Sr};
|
|
989
|
+
background-color: ${Sr};
|
|
975
990
|
}
|
|
976
991
|
|
|
977
992
|
.ft-checkbox--disabled .ft-checkbox--box {
|
|
978
|
-
border-color: ${
|
|
993
|
+
border-color: ${$r};
|
|
979
994
|
background-color: transparent;
|
|
980
|
-
color: ${
|
|
995
|
+
color: ${$r};
|
|
981
996
|
}
|
|
982
997
|
|
|
983
998
|
.ft-checkbox--checkmark {
|
|
@@ -996,8 +1011,8 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
996
1011
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
997
1012
|
opacity: 1;
|
|
998
1013
|
}
|
|
999
|
-
`;var
|
|
1000
|
-
<label class="${
|
|
1014
|
+
`;var kr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Rr extends Ao{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 ao`
|
|
1015
|
+
<label class="${Vi(t)}" for="checkbox-input">
|
|
1001
1016
|
<div class="ft-checkbox--box-container">
|
|
1002
1017
|
<ft-ripple
|
|
1003
1018
|
?disabled=${this.disabled}
|
|
@@ -1022,14 +1037,14 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1022
1037
|
<slot></slot>
|
|
1023
1038
|
</ft-typography>
|
|
1024
1039
|
</label>
|
|
1025
|
-
`}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)}}
|
|
1040
|
+
`}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)}}Rr.elementDefinitions={"ft-ripple":Ji,"ft-typography":di},Rr.styles=Cr,kr([$()],Rr.prototype,"name",void 0),kr([$({type:Boolean,reflect:!0})],Rr.prototype,"checked",void 0),kr([$({type:Boolean})],Rr.prototype,"indeterminate",void 0),kr([$({type:Boolean})],Rr.prototype,"disabled",void 0),kr([R(".ft-checkbox")],Rr.prototype,"container",void 0),kr([R("ft-ripple")],Rr.prototype,"ripple",void 0),L("ft-checkbox")(Rr);const Er=Co.extend("--ft-radio-text-color","",Lo.colorOnSurfaceHigh),Ur=Co.external(Lo.colorPrimary,"Design system"),Ir=(Co.external(Lo.colorOnPrimary,"Design system"),Co.extend("--ft-radio-border-color","",Lo.colorOnSurfaceMedium)),Lr=Co.external(Lo.colorOnSurfaceDisabled,"Design system"),Wr=wt`
|
|
1026
1041
|
* {
|
|
1027
1042
|
box-sizing: border-box;
|
|
1028
1043
|
}
|
|
1029
1044
|
|
|
1030
1045
|
.ft-radio {
|
|
1031
1046
|
box-sizing: border-box;
|
|
1032
|
-
color: ${
|
|
1047
|
+
color: ${Er};
|
|
1033
1048
|
|
|
1034
1049
|
display: inline-flex;
|
|
1035
1050
|
align-items: center;
|
|
@@ -1037,7 +1052,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1037
1052
|
}
|
|
1038
1053
|
|
|
1039
1054
|
.ft-radio--disabled {
|
|
1040
|
-
color: ${
|
|
1055
|
+
color: ${Lr};
|
|
1041
1056
|
}
|
|
1042
1057
|
|
|
1043
1058
|
input {
|
|
@@ -1060,7 +1075,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1060
1075
|
}
|
|
1061
1076
|
|
|
1062
1077
|
.ft-radio--box {
|
|
1063
|
-
border: 2px solid ${
|
|
1078
|
+
border: 2px solid ${Ir};
|
|
1064
1079
|
border-radius: 50%;
|
|
1065
1080
|
|
|
1066
1081
|
display: flex;
|
|
@@ -1073,7 +1088,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1073
1088
|
|
|
1074
1089
|
.ft-radio--box:after {
|
|
1075
1090
|
content: " ";
|
|
1076
|
-
background-color: ${
|
|
1091
|
+
background-color: ${Ur};
|
|
1077
1092
|
|
|
1078
1093
|
border-radius: 50%;
|
|
1079
1094
|
|
|
@@ -1085,7 +1100,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1085
1100
|
}
|
|
1086
1101
|
|
|
1087
1102
|
.ft-radio--checked .ft-radio--box {
|
|
1088
|
-
border-color: ${
|
|
1103
|
+
border-color: ${Ur};
|
|
1089
1104
|
}
|
|
1090
1105
|
|
|
1091
1106
|
|
|
@@ -1094,15 +1109,15 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1094
1109
|
}
|
|
1095
1110
|
|
|
1096
1111
|
.ft-radio--disabled .ft-radio--box {
|
|
1097
|
-
border-color: ${
|
|
1112
|
+
border-color: ${Lr};
|
|
1098
1113
|
background-color: transparent;
|
|
1099
1114
|
}
|
|
1100
1115
|
|
|
1101
1116
|
.ft-radio--disabled .ft-radio--box:after {
|
|
1102
|
-
background-color: ${
|
|
1117
|
+
background-color: ${Lr};
|
|
1103
1118
|
}
|
|
1104
|
-
`;var
|
|
1105
|
-
<div class="${
|
|
1119
|
+
`;var zr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Kr extends CustomEvent{constructor(t,o){super("change",{detail:{value:t,checked:o},bubbles:!0,composed:!0})}}class Fr extends Ao{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 ao`
|
|
1120
|
+
<div class="${Vi(t)}">
|
|
1106
1121
|
<div class="ft-radio--box-container">
|
|
1107
1122
|
<ft-ripple
|
|
1108
1123
|
?disabled=${this.disabled}
|
|
@@ -1126,16 +1141,22 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1126
1141
|
</ft-typography>
|
|
1127
1142
|
</label>
|
|
1128
1143
|
</div>
|
|
1129
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new
|
|
1144
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Kr(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 Kr(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Fr.elementDefinitions={"ft-ripple":Ji,"ft-typography":di},Fr.styles=Wr,zr([$()],Fr.prototype,"value",void 0),zr([$()],Fr.prototype,"name",void 0),zr([$({type:Boolean,reflect:!0})],Fr.prototype,"checked",void 0),zr([$({type:Boolean})],Fr.prototype,"disabled",void 0),zr([R(".ft-radio")],Fr.prototype,"container",void 0),zr([R("ft-ripple")],Fr.prototype,"ripple",void 0),zr([R("input")],Fr.prototype,"input",void 0);const Br=wt`
|
|
1130
1145
|
:host {
|
|
1131
1146
|
display: contents;
|
|
1132
1147
|
}
|
|
1133
|
-
`;var
|
|
1148
|
+
`;var Zr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Dr extends Ao{constructor(){super(...arguments),this.name=""}render(){return ao`
|
|
1134
1149
|
<slot @slotchange=${this.onSlotChange}
|
|
1135
1150
|
@change=${this.onChange}
|
|
1136
1151
|
@keydown=${this.onKeyDown}
|
|
1137
1152
|
></slot>
|
|
1138
|
-
`}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)}}
|
|
1153
|
+
`}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)}}Dr.elementDefinitions={},Dr.styles=Br,Zr([$()],Dr.prototype,"name",void 0),Zr([
|
|
1154
|
+
/**
|
|
1155
|
+
* @license
|
|
1156
|
+
* Copyright 2021 Google LLC
|
|
1157
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1158
|
+
*/
|
|
1159
|
+
function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const o=this.renderRoot?.querySelector(n),e=o?.assignedElements(t)??[];return void 0===r?e:e.filter((t=>t.matches(r)))}})}}()],Dr.prototype,"radioButtons",void 0),L("ft-radio")(Fr),L("ft-radio-group")(Dr);const Mr={borderRadiusM:Co.external(Lo.borderRadiusM,"Design system"),colorOutline:Co.external(Lo.colorOutline,"Design system"),colorOnSurface:Co.external(Lo.colorOnSurface,"Design system"),colorOnSurfaceMedium:Co.external(Lo.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Co.external(Lo.colorOnSurfaceDisabled,"Design system"),colorPrimary:Co.external(Lo.colorPrimary,"Design system"),colorOnPrimary:Co.external(Lo.colorOnPrimary,"Design system"),fontFamily:Co.external(ze.fontFamily,"Body2 typography"),fontSize:Co.external(ze.fontSize,"Body2 typography"),fontWeight:Co.external(ze.fontWeight,"Body2 typography"),letterSpacing:Co.external(ze.letterSpacing,"Body2 typography"),lineHeight:Co.external(ze.lineHeight,"Body2 typography"),textTransform:Co.external(ze.textTransform,"Body2 typography")},Ar=wt`
|
|
1139
1160
|
.ft-filter-level--container {
|
|
1140
1161
|
display: flex;
|
|
1141
1162
|
flex-direction: column;
|
|
@@ -1149,14 +1170,14 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1149
1170
|
flex-shrink: 0;
|
|
1150
1171
|
text-decoration: none;
|
|
1151
1172
|
position: relative;
|
|
1152
|
-
border-radius: ${
|
|
1173
|
+
border-radius: ${Mr.borderRadiusM};
|
|
1153
1174
|
overflow: hidden;
|
|
1154
1175
|
display: flex;
|
|
1155
1176
|
align-items: center;
|
|
1156
1177
|
padding: 4px 4px;
|
|
1157
1178
|
gap: 4px;
|
|
1158
1179
|
cursor: pointer;
|
|
1159
|
-
color: ${
|
|
1180
|
+
color: ${Mr.colorOnSurface};
|
|
1160
1181
|
}
|
|
1161
1182
|
|
|
1162
1183
|
.ft-filter-level--go-back:focus {
|
|
@@ -1185,7 +1206,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1185
1206
|
}
|
|
1186
1207
|
|
|
1187
1208
|
ft-button {
|
|
1188
|
-
${
|
|
1209
|
+
${ko(Mi.color,Mr.colorOnSurface)};
|
|
1189
1210
|
}
|
|
1190
1211
|
|
|
1191
1212
|
ft-radio, ft-checkbox {
|
|
@@ -1199,11 +1220,11 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1199
1220
|
|
|
1200
1221
|
.ft-filter-level--no-values {
|
|
1201
1222
|
margin: 10px 0;
|
|
1202
|
-
color: ${
|
|
1223
|
+
color: ${Mr.colorOnSurfaceMedium};
|
|
1203
1224
|
}
|
|
1204
|
-
`;var
|
|
1225
|
+
`;var Pr=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 Hr extends Ao{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 ao`
|
|
1205
1226
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1206
|
-
${null==this.parent?null:
|
|
1227
|
+
${null==this.parent?null:ao`
|
|
1207
1228
|
<div tabindex="0"
|
|
1208
1229
|
part="controls go-back"
|
|
1209
1230
|
class="ft-filter-level--go-back"
|
|
@@ -1215,15 +1236,15 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1215
1236
|
<ft-typography variant="body2">${this.parent.label}</ft-typography>
|
|
1216
1237
|
</div>
|
|
1217
1238
|
`}
|
|
1218
|
-
${0===this.options.length&&this.noValuesLabel?
|
|
1239
|
+
${0===this.options.length&&this.noValuesLabel?ao`
|
|
1219
1240
|
<ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
|
|
1220
1241
|
${this.noValuesLabel}
|
|
1221
1242
|
</ft-typography>
|
|
1222
|
-
`:
|
|
1223
|
-
${
|
|
1243
|
+
`:lo}
|
|
1244
|
+
${$i(o,(t=>t.value),(t=>{var o;return ao`
|
|
1224
1245
|
<div class="ft-filter-level--option" part="options">
|
|
1225
1246
|
${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
|
|
1226
|
-
${this.preventNavigation||t.selected||0===(null!==(o=t.subOptions)&&void 0!==o?o:[]).length?
|
|
1247
|
+
${this.preventNavigation||t.selected||0===(null!==(o=t.subOptions)&&void 0!==o?o:[]).length?lo:ao`
|
|
1227
1248
|
<ft-button icon="thin_arrow_right"
|
|
1228
1249
|
part="controls navigate-hierarchy"
|
|
1229
1250
|
label="${t.label}"
|
|
@@ -1233,7 +1254,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1233
1254
|
`}
|
|
1234
1255
|
</div>
|
|
1235
1256
|
`}))}
|
|
1236
|
-
${o.length<t.length?
|
|
1257
|
+
${o.length<t.length?ao`
|
|
1237
1258
|
<ft-button
|
|
1238
1259
|
class="ft-filter-level--display-more"
|
|
1239
1260
|
icon="thin_arrow"
|
|
@@ -1242,19 +1263,19 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1242
1263
|
@click=${this.displayMore}>
|
|
1243
1264
|
${this.moreValuesButtonLabel}
|
|
1244
1265
|
</ft-button>
|
|
1245
|
-
`:
|
|
1266
|
+
`:lo}
|
|
1246
1267
|
</div>
|
|
1247
|
-
`}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
|
|
1268
|
+
`}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 ao`
|
|
1248
1269
|
<ft-checkbox name="${this.filterId}"
|
|
1249
1270
|
part="multivalued-option"
|
|
1250
1271
|
data-value="${t.value}"
|
|
1251
1272
|
.checked=${t.selected}
|
|
1252
1273
|
.disabled=${this.disabled}
|
|
1253
|
-
.indeterminate=${
|
|
1274
|
+
.indeterminate=${U(null!==(o=t.subOptions)&&void 0!==o?o:[],(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]})).some((t=>t.selected))}
|
|
1254
1275
|
@change=${o=>this.optionsChanged(o,t)}>
|
|
1255
1276
|
${t.renderOption?t.renderOption:t.label}
|
|
1256
1277
|
</ft-checkbox>
|
|
1257
|
-
`}buildMonoValuedOption(t){return
|
|
1278
|
+
`}buildMonoValuedOption(t){return ao`
|
|
1258
1279
|
<ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
|
|
1259
1280
|
part="monovalued-option"
|
|
1260
1281
|
data-value="${t.value}"
|
|
@@ -1265,7 +1286,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1265
1286
|
@change=${t=>t.stopPropagation()}>
|
|
1266
1287
|
${t.renderOption?t.renderOption:t.label}
|
|
1267
1288
|
</ft-radio>
|
|
1268
|
-
`}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}))}}
|
|
1289
|
+
`}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}))}}Hr.elementDefinitions={"ft-button":br,"ft-ripple":Ji,"ft-typography":di,"ft-checkbox":Rr,"ft-icon":fr,"ft-radio":Fr},Hr.styles=Ar,Pr([$({type:String})],Hr.prototype,"filterId",void 0),Pr([$({type:Object})],Hr.prototype,"parent",void 0),Pr([$({type:Array})],Hr.prototype,"options",void 0),Pr([$({type:Boolean})],Hr.prototype,"multivalued",void 0),Pr([$({type:Boolean})],Hr.prototype,"disabled",void 0),Pr([$({type:Boolean})],Hr.prototype,"hideSelectedOptions",void 0),Pr([$({type:Boolean})],Hr.prototype,"preventNavigation",void 0),Pr([$({type:String})],Hr.prototype,"filter",void 0),Pr([$({type:String})],Hr.prototype,"moreValuesButtonLabel",void 0),Pr([$({type:String})],Hr.prototype,"noValuesLabel",void 0),Pr([$({type:Number})],Hr.prototype,"displayedValuesLimit",void 0),Pr([R(".ft-filter-level--container")],Hr.prototype,"container",void 0),Pr([C()],Hr.prototype,"displayedPages",void 0);const jr={buttonsColor:Co.extend("--ft-snap-scroll-buttons-color","",Lo.colorPrimary),buttonsZIndex:Co.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Co.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Co.external(Lo.colorSurface,"Design system")},Tr=wt`
|
|
1269
1290
|
.ft-snap-scroll {
|
|
1270
1291
|
box-sizing: border-box;
|
|
1271
1292
|
position: relative;
|
|
@@ -1300,7 +1321,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1300
1321
|
flex-wrap: nowrap;
|
|
1301
1322
|
align-items: flex-start;
|
|
1302
1323
|
justify-content: flex-start;
|
|
1303
|
-
gap: ${
|
|
1324
|
+
gap: ${jr.gap};
|
|
1304
1325
|
}
|
|
1305
1326
|
|
|
1306
1327
|
.ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
|
|
@@ -1343,11 +1364,11 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1343
1364
|
.ft-snap-scroll--next {
|
|
1344
1365
|
position: absolute;
|
|
1345
1366
|
display: flex;
|
|
1346
|
-
z-index: ${
|
|
1367
|
+
z-index: ${jr.buttonsZIndex};
|
|
1347
1368
|
opacity: 1;
|
|
1348
1369
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1349
|
-
${
|
|
1350
|
-
${
|
|
1370
|
+
${ko(Mi.backgroundColor,"transparent")};
|
|
1371
|
+
${ko(Mi.color,jr.buttonsColor)};
|
|
1351
1372
|
}
|
|
1352
1373
|
|
|
1353
1374
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1360,37 +1381,37 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1360
1381
|
top: 0;
|
|
1361
1382
|
left: -1px;
|
|
1362
1383
|
bottom: 0;
|
|
1363
|
-
background: linear-gradient(to right, ${
|
|
1384
|
+
background: linear-gradient(to right, ${jr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1364
1385
|
}
|
|
1365
1386
|
|
|
1366
1387
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous {
|
|
1367
1388
|
top: -1px;
|
|
1368
1389
|
left: 0;
|
|
1369
1390
|
right: 0;
|
|
1370
|
-
background: linear-gradient(to bottom, ${
|
|
1391
|
+
background: linear-gradient(to bottom, ${jr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1371
1392
|
}
|
|
1372
1393
|
|
|
1373
1394
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next {
|
|
1374
1395
|
top: 0;
|
|
1375
1396
|
right: -1px;
|
|
1376
1397
|
bottom: 0;
|
|
1377
|
-
background: linear-gradient(to left, ${
|
|
1398
|
+
background: linear-gradient(to left, ${jr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1378
1399
|
}
|
|
1379
1400
|
|
|
1380
1401
|
.ft-snap-scroll--vertical .ft-snap-scroll--next {
|
|
1381
1402
|
left: 0;
|
|
1382
1403
|
right: 0;
|
|
1383
1404
|
bottom: -1px;
|
|
1384
|
-
background: linear-gradient(to top, ${
|
|
1405
|
+
background: linear-gradient(to top, ${jr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1385
1406
|
}
|
|
1386
1407
|
|
|
1387
1408
|
.ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
|
|
1388
1409
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
|
|
1389
1410
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
|
|
1390
1411
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1391
|
-
background-color: ${
|
|
1412
|
+
background-color: ${jr.colorSurface};
|
|
1392
1413
|
}
|
|
1393
|
-
`;var
|
|
1414
|
+
`;var _r=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 Gr extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class Vr extends Ao{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=Vi({"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":Vo}),o=this.controls&&this.withScroll;return ao`
|
|
1394
1415
|
<div part="container" class="${t}">
|
|
1395
1416
|
<ft-button
|
|
1396
1417
|
class="ft-snap-scroll--previous"
|
|
@@ -1414,7 +1435,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1414
1435
|
@click=${this.next}
|
|
1415
1436
|
></ft-button>
|
|
1416
1437
|
</div>
|
|
1417
|
-
`}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
|
|
1438
|
+
`}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 Gr(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)}}Vr.elementDefinitions={"ft-button":br},Vr.styles=Tr,_r([$({type:Boolean})],Vr.prototype,"horizontal",void 0),_r([$({type:Boolean})],Vr.prototype,"hideScrollbar",void 0),_r([$({type:Boolean})],Vr.prototype,"controls",void 0),_r([$({type:Boolean})],Vr.prototype,"limitSize",void 0),_r([C()],Vr.prototype,"elements",void 0),_r([C()],Vr.prototype,"currentElement",void 0),_r([C()],Vr.prototype,"withScroll",void 0),_r([C()],Vr.prototype,"startReached",void 0),_r([C()],Vr.prototype,"endReached",void 0),_r([R(".ft-snap-scroll--content")],Vr.prototype,"contentSlot",void 0),L("ft-snap-scroll")(Vr);const Yr={colorOutline:Co.external(Lo.colorOutline,"Design system"),colorOnSurface:Co.external(Lo.colorOnSurface,"Design system"),colorOnSurfaceMedium:Co.external(Lo.colorOnSurfaceMedium,"Design system"),colorPrimary:Co.external(Lo.colorPrimary,"Design system"),colorSurface:Co.external(Lo.colorSurface,"Design system"),transitionDuration:Co.external(Lo.transitionDuration,"Design system"),transitionTimingFunction:Co.external(Lo.transitionTimingFunction,"Design system")},Jr=[ai,wt`
|
|
1418
1439
|
:host {
|
|
1419
1440
|
display: flex;
|
|
1420
1441
|
max-height: 100%;
|
|
@@ -1427,7 +1448,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1427
1448
|
flex-direction: column;
|
|
1428
1449
|
max-height: 100%;
|
|
1429
1450
|
max-width: 100%;
|
|
1430
|
-
color: ${
|
|
1451
|
+
color: ${Yr.colorOnSurface};
|
|
1431
1452
|
}
|
|
1432
1453
|
|
|
1433
1454
|
.ft-filter--header {
|
|
@@ -1437,13 +1458,13 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1437
1458
|
flex-shrink: 0;
|
|
1438
1459
|
padding: 0 10px;
|
|
1439
1460
|
margin-bottom: 8px;
|
|
1440
|
-
${
|
|
1461
|
+
${ko(ie.fontSize,"14px")};
|
|
1441
1462
|
}
|
|
1442
1463
|
|
|
1443
1464
|
.ft-filter--header ft-button {
|
|
1444
1465
|
flex-shrink: 0;
|
|
1445
1466
|
margin-left: auto;
|
|
1446
|
-
${
|
|
1467
|
+
${ko(Mi.iconSize,"18px")};
|
|
1447
1468
|
}
|
|
1448
1469
|
|
|
1449
1470
|
.ft-filter--label {
|
|
@@ -1451,8 +1472,8 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1451
1472
|
flex-shrink: 1;
|
|
1452
1473
|
flex-grow: 1;
|
|
1453
1474
|
word-break: break-word;
|
|
1454
|
-
${
|
|
1455
|
-
${
|
|
1475
|
+
${ko(ie.lineHeight,"22px")};
|
|
1476
|
+
${ko(ie.fontWeight,"bold")};
|
|
1456
1477
|
}
|
|
1457
1478
|
|
|
1458
1479
|
.ft-filter--filter {
|
|
@@ -1463,8 +1484,8 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1463
1484
|
padding: 0 10px;
|
|
1464
1485
|
overflow: hidden;
|
|
1465
1486
|
height: 32px;
|
|
1466
|
-
transition: height ${
|
|
1467
|
-
margin ${
|
|
1487
|
+
transition: height ${Yr.transitionDuration} ${Yr.transitionTimingFunction},
|
|
1488
|
+
margin ${Yr.transitionDuration} ${Yr.transitionTimingFunction};
|
|
1468
1489
|
transition-delay: 500ms;
|
|
1469
1490
|
}
|
|
1470
1491
|
|
|
@@ -1477,15 +1498,15 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1477
1498
|
display: block;
|
|
1478
1499
|
width: 100%;
|
|
1479
1500
|
border-radius: 4px;
|
|
1480
|
-
border: 1px solid ${
|
|
1501
|
+
border: 1px solid ${Yr.colorOutline};
|
|
1481
1502
|
padding: 4px;
|
|
1482
|
-
background-color: ${
|
|
1483
|
-
color: ${
|
|
1484
|
-
outline-color: ${
|
|
1503
|
+
background-color: ${Yr.colorSurface};
|
|
1504
|
+
color: ${Yr.colorOnSurface};
|
|
1505
|
+
outline-color: ${Yr.colorPrimary};
|
|
1485
1506
|
}
|
|
1486
1507
|
|
|
1487
1508
|
input::placeholder {
|
|
1488
|
-
color: ${
|
|
1509
|
+
color: ${Yr.colorOnSurfaceMedium};
|
|
1489
1510
|
}
|
|
1490
1511
|
|
|
1491
1512
|
input:placeholder-shown {
|
|
@@ -1501,7 +1522,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1501
1522
|
}
|
|
1502
1523
|
|
|
1503
1524
|
.ft-filter--separator {
|
|
1504
|
-
border-top: 1px solid ${
|
|
1525
|
+
border-top: 1px solid ${Yr.colorOutline};
|
|
1505
1526
|
margin: 4px 10px;
|
|
1506
1527
|
}
|
|
1507
1528
|
|
|
@@ -1526,16 +1547,16 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1526
1547
|
slot:not([name]) {
|
|
1527
1548
|
display: none;
|
|
1528
1549
|
}
|
|
1529
|
-
`];var
|
|
1550
|
+
`];var qr=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 Xr extends CustomEvent{constructor(t){super("change",{detail:t})}}class Qr extends Ao{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 U(this.options,(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]}))}get selectedValues(){return this.flatOptions.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 ao`
|
|
1530
1551
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1531
1552
|
part="container">
|
|
1532
|
-
${this.label||t?
|
|
1553
|
+
${this.label||t?ao`
|
|
1533
1554
|
<div class="ft-filter--header" part="header">
|
|
1534
1555
|
<ft-typography class="ft-filter--label" variant="overline" part="label">
|
|
1535
1556
|
${this.label}
|
|
1536
1557
|
</ft-typography>
|
|
1537
1558
|
<slot name="label"></slot>
|
|
1538
|
-
${t&&!this.hideClearButton?
|
|
1559
|
+
${t&&!this.hideClearButton?ao`
|
|
1539
1560
|
<ft-button icon="close" dense @click=${this.clear} part="clear-button">
|
|
1540
1561
|
${this.clearButtonLabel}
|
|
1541
1562
|
</ft-button>
|
|
@@ -1559,8 +1580,8 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1559
1580
|
@slotchange=${this.updateOptionsFromSlot}
|
|
1560
1581
|
@option-change=${this.optionsChanged}></slot>
|
|
1561
1582
|
</div>
|
|
1562
|
-
`}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
|
|
1563
|
-
${this.raiseSelectedOptions&&o.length>0?
|
|
1583
|
+
`}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 ao`
|
|
1584
|
+
${this.raiseSelectedOptions&&o.length>0?ao`
|
|
1564
1585
|
<ft-filter-level
|
|
1565
1586
|
filterId="${this.id}"
|
|
1566
1587
|
?multivalued=${this.multivalued}
|
|
@@ -1579,7 +1600,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1579
1600
|
${this.renderLevel(i,this.options)}
|
|
1580
1601
|
${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)}))}
|
|
1581
1602
|
</ft-snap-scroll>
|
|
1582
|
-
`}renderLevel(t,o,e){return
|
|
1603
|
+
`}renderLevel(t,o,e){return ao`
|
|
1583
1604
|
<ft-filter-level
|
|
1584
1605
|
class="${t}"
|
|
1585
1606
|
filterId="${this.id}"
|
|
@@ -1598,6 +1619,6 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
1598
1619
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1599
1620
|
noValuesLabel="${this.noValuesLabel}"
|
|
1600
1621
|
></ft-filter-level>
|
|
1601
|
-
`}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;
|
|
1622
|
+
`}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;I(this.lastDispatchedValues,t)||(this.dispatchEvent(new Xr(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)}}Qr.elementDefinitions={"ft-button":br,"ft-filter-level":Hr,"ft-snap-scroll":Vr,"ft-typography":di},Qr.styles=Jr,qr([$({type:String})],Qr.prototype,"id",void 0),qr([$({type:String})],Qr.prototype,"label",void 0),qr([$({type:String})],Qr.prototype,"filterPlaceHolder",void 0),qr([$({type:String})],Qr.prototype,"clearButtonLabel",void 0),qr([$({type:String})],Qr.prototype,"moreValuesButtonLabel",void 0),qr([$({type:String})],Qr.prototype,"noValuesLabel",void 0),qr([W([])],Qr.prototype,"options",void 0),qr([$({type:Boolean})],Qr.prototype,"multivalued",void 0),qr([$({type:Boolean})],Qr.prototype,"disabled",void 0),qr([$({type:Boolean})],Qr.prototype,"raiseSelectedOptions",void 0),qr([$({type:Number})],Qr.prototype,"displayedValuesLimit",void 0),qr([$({type:Boolean})],Qr.prototype,"hideClearButton",void 0),qr([R(".ft-filter--slot")],Qr.prototype,"slotElement",void 0),qr([R(".ft-filter--container")],Qr.prototype,"container",void 0),qr([R(".ft-filter--values")],Qr.prototype,"valuesContainer",void 0),qr([R(".ft-filter--levels")],Qr.prototype,"levelsContainer",void 0),qr([C()],Qr.prototype,"lastLevelHasHiddenvalues",void 0),qr([R(".ft-filter--filter input")],Qr.prototype,"filterInput",void 0),qr([function(t){return(o,e)=>k(0,0,{get(){return(this.renderRoot??(E??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],Qr.prototype,"levels",void 0),qr([C()],Qr.prototype,"withScroll",void 0),qr([C()],Qr.prototype,"filter",void 0),qr([C()],Qr.prototype,"slideIn",void 0),qr([C()],Qr.prototype,"slideOut",void 0);var tn=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 on extends Ao{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ao`
|
|
1602
1623
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1603
|
-
`}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}))}}
|
|
1624
|
+
`}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}))}}on.elementDefinitions={},tn([$({type:String})],on.prototype,"label",void 0),tn([$({type:Object,converter:t=>t})],on.prototype,"value",void 0),tn([$({type:Boolean,reflect:!0})],on.prototype,"selected",void 0),tn([$({type:Object})],on.prototype,"subOptions",void 0),tn([W({})],on.prototype,"renderOption",void 0),tn([R(".ft-filter-option--slot")],on.prototype,"slotElement",void 0),L("ft-filter")(Qr),L("ft-filter-option")(on),t.FtFilter=Qr,t.FtFilterChangeEvent=Xr,t.FtFilterCssVariables=Yr,t.FtFilterLevelCssVariables=Mr,t.FtFilterOption=on,t.levelStyles=Ar,t.styles=Jr}({});
|