@fluid-topics/ft-floating-menu 1.0.63 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,67 +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,r=window.customElements,i=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,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=i.prototype.attributeChangedCallback,s=new Set(i.observedAttributes||[]);d(i,s,l);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(a.set(i,c),c.standInClass=p);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const 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 r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.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),i.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 r=p(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)})},h=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):h(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),s=t;try{new o.elementClass}catch(t){h(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 r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.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 r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0!==i.get(e).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...o)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Je){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,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 r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
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||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Qi){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:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},O=(t,o)=>!l(t,o),v={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:O};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let N=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=v){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)??v}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...f(t),...h(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??O)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};N.elementStyles=[],N.shadowRootOptions={mode:"open"},N[m("elementProperties")]=new Map,N[m("finalized")]=new Map,b?.({ReactiveElement:N}),(u.reactiveElementVersions??=[]).push("2.0.2");
|
|
28
26
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright 2017 Google LLC
|
|
29
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
+
*/
|
|
31
|
+
const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:O},w=(t=S,o,e)=>{const{kind:i,metadata:r}=e;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(e.name,t),"accessor"===i){const{name:i}=e;return{set(e){const r=o.get.call(this);o.set.call(this,e),this.requestUpdate(i,r,t)},init(o){return void 0!==o&&this.C(i,void 0,t),o}}}if("setter"===i){const{name:i}=e;return function(e){const r=this[i];o.call(this,e),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function C(t){return(o,e)=>"object"==typeof e?w(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
33
32
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
* @license
|
|
34
|
+
* Copyright 2017 Google LLC
|
|
35
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
+
*/}function $(t){return C({...t,state:!0,attribute:!1})}
|
|
38
37
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
* @license
|
|
39
|
+
* Copyright 2017 Google LLC
|
|
40
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
+
*/const R=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
43
42
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
* @license
|
|
44
|
+
* Copyright 2017 Google LLC
|
|
45
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
+
*/;function E(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 R(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 R(0,0,{get(){return n(this)}})}}
|
|
48
47
|
/**
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
* @license
|
|
49
|
+
* Copyright 2017 Google LLC
|
|
50
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
+
*/function U(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!U(t[i],o[i]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;for(i of t.entries())if(!U(i[1],o.get(i[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(r=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(i=e;0!=i--;)if(!Object.prototype.hasOwnProperty.call(o,r[i]))return!1;for(i=e;0!=i--;){var n=r[i];if(!U(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const k=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function I(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!U(t,o),...null!=o?o:{}})}
|
|
53
52
|
/**
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
var U;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:k}),(null!==(O=N.reactiveElementVersions)&&void 0!==O?O:N.reactiveElementVersions=[]).push("1.6.1");const I=window,W=I.trustedTypes,L=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+z,F=`<${Z}>`,B=document,D=()=>B.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,H="[ \t\n\f\r]",j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,T=/>/g,G=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,Y=/"/g,V=/^(?:script|style|textarea|title)$/i,J=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),q=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Q=new WeakMap,tt=B.createTreeWalker(B,129,null,!1),ot=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=j;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===j?"!--"===s[1]?a=P:void 0!==s[1]?a=T:void 0!==s[2]?(V.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=G):void 0!==s[3]&&(a=G):a===G?">"===s[0]?(a=null!=i?i:j,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?G:'"'===s[3]?Y:_):a===Y||a===_?a=G:a===P||a===T?a=j:(a=G,i=void 0);const f=a===G&&t[o+1].startsWith("/>")?" ":"";n+=a===j?e+F:c>=0?(r.push(l),e.slice(0,c)+K+e.slice(c)+z+f):e+z+(-2===c?(r.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!==L?L.createHTML(l):l,r]};class et{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[s,c]=ot(t,o);if(this.el=et.createElement(s,e),tt.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=tt.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(K)||o.startsWith(z)){const e=c[n++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+K).split(z),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?lt:"?"===o[1]?ct:"@"===o[1]?pt:at})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(V.test(r.tagName)){const t=r.textContent.split(z),o=t.length-1;if(o>0){r.textContent=W?W.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],D()),tt.nextNode(),l.push({type:2,index:++i});r.append(t[o],D())}}}else if(8===r.nodeType)if(r.data===Z)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(z,t+1));)l.push({type:7,index:i}),t+=z.length-1}i++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}}function rt(t,o,e=t,r){var i,n,a,l;if(o===q)return o;let s=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const c=M(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,r)),void 0!==r?(null!==(a=(l=e)._$Co)&&void 0!==a?a:l._$Co=[])[r]=s:e._$Cl=s),void 0!==s&&(o=rt(t,s._$AS(t,o.values),s,r)),o}class it{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:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:B).importNode(e,!0);tt.currentNode=i;let n=tt.nextNode(),a=0,l=0,s=r[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new nt(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new ft(n,this,t)),this._$AV.push(o),s=r[++l]}a!==(null==s?void 0:s.index)&&(n=tt.nextNode(),a++)}return i}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 nt{constructor(t,o,e,r){var i;this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}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=rt(this,t,o),M(t)?t===X||null==t||""===t?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>A(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==X&&M(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=et.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new it(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new et(t)),o}T(t){A(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new nt(this.k(D()),this.k(D()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$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 at{constructor(t,o,e,r,i){this.type=1,this._$AH=X,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=X}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=rt(this,t,o,0),n=!M(t)||t!==this._$AH&&t!==q,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=rt(this,r[e+a],o,a),l===q&&(l=this._$AH[a]),n||(n=!M(l)||l!==this._$AH[a]),l===X?t=X:t!==X&&(t+=(null!=l?l:"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.j(t)}j(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class lt extends at{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===X?void 0:t}}const st=W?W.emptyScript:"";class ct extends at{constructor(){super(...arguments),this.type=4}j(t){t&&t!==X?this.element.setAttribute(this.name,st):this.element.removeAttribute(this.name)}}class pt extends at{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=rt(this,t,o,0))&&void 0!==e?e:X)===q)return;const r=this._$AH,i=t===X&&r!==X||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==X&&(r===X||i);i&&this.element.removeEventListener(this.name,this,r),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 ft{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){rt(this,t)}}const dt=I.litHtmlPolyfillSupport;null==dt||dt(et,nt),(null!==(U=I.litHtmlVersions)&&void 0!==U?U:I.litHtmlVersions=[]).push("2.7.3");
|
|
53
|
+
* @license
|
|
54
|
+
* Copyright 2017 Google LLC
|
|
55
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
+
*/const W=globalThis,L=W.trustedTypes,K=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,F="?"+Z,B=`<${F}>`,M=document,A=()=>M.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,H="[ \t\n\f\r]",j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,_=/>/g,G=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,V=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),X=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),tt=new WeakMap,ot=M.createTreeWalker(M,129);function et(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(o):o}let it=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=((t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=j;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===j?"!--"===l[1]?a=T:void 0!==l[1]?a=_:void 0!==l[2]?(J.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=G):void 0!==l[3]&&(a=G):a===G?">"===l[0]?(a=r??j,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?G:'"'===l[3]?V:Y):a===V||a===Y?a=G:a===T||a===_?a=j:(a=G,r=void 0);const f=a===G&&t[o+1].startsWith("/>")?" ":"";n+=a===j?e+B:c>=0?(i.push(s),e.slice(0,c)+z+e.slice(c)+Z+f):e+Z+(-2===c?o:f)}return[et(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]})(o,e);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(z)){const 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]?st:"?"===i[1]?lt:"@"===i[1]?ct:at}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(J.test(r.tagName)){const t=r.textContent.split(Z),o=t.length-1;if(o>0){r.textContent=L?L.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],A()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[o],A())}}}else if(8===r.nodeType)if(r.data===F)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)l.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,o){const e=M.createElement("template");return e.innerHTML=t,e}};function rt(t,o,e=t,i){if(o===X)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=D(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=rt(t,r._$AS(t,o.values),r,i)),o}let nt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=Q,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=rt(this,t,o),D(t)?t===Q||null==t||""===t?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>P(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!==Q&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.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=it.createElement(et(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??M).importNode(o,!0);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new nt(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new pt(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.currentNode=M,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=tt.get(t.strings);return void 0===o&&tt.set(t.strings,o=new it(t)),o}T(o){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(A()),this.k(A()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},at=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=Q,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=Q}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=rt(this,t,o,0),n=!D(t)||t!==this._$AH&&t!==X,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=rt(this,i[e+a],o,a),s===X&&(s=this._$AH[a]),n||=!D(s)||s!==this._$AH[a],s===Q?t=Q:t!==Q&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends at{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Q?void 0:t}},lt=class extends at{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Q)}},ct=class extends at{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=rt(this,t,o,0)??Q)===X)return;const e=this._$AH,i=t===Q&&e!==Q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==Q&&(e===Q||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)}},pt=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){rt(this,t)}};const ft=W.litHtmlPolyfillSupport;ft?.(it,nt),(W.litHtmlVersions??=[]).push("3.1.0");
|
|
59
57
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
var ht,ut;let yt=class extends k{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 r,i;const n=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let a=n._$litPart$;if(void 0===a){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;n._$litPart$=a=new nt(o.insertBefore(D(),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 q}};yt.finalized=!0,yt._$litElement$=!0,null===(ht=globalThis.litElementHydrateSupport)||void 0===ht||ht.call(globalThis,{LitElement:yt});const gt=globalThis.litElementPolyfillSupport;null==gt||gt({LitElement:yt}),(null!==(ut=globalThis.litElementVersions)&&void 0!==ut?ut:globalThis.litElementVersions=[]).push("3.3.2");const bt=t=>"string"==typeof t?b(t):t;class mt{static create(t,o,e,r){const i=t=>bt(null!=t?t:r),n=m`var(${bt(t)}, ${i(r)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>m`var(${bt(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=m`var(${bt(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>m`var(${bt(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):bt(null!=o?o:t.lastResortDefaultValue()),r=m`var(${bt(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>m`var(${bt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function xt(t,o){return bt(`${t.name}: ${o}`)}const vt={colorWhite:mt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:mt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:mt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:mt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:mt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:mt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:mt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:mt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:mt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:mt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:mt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:mt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:mt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:mt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:mt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:mt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:mt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:mt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:mt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:mt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:mt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:mt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:mt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:mt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:mt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:mt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:mt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:mt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:mt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:mt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:mt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:mt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:mt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:mt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:mt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:mt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:mt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:mt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:mt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:mt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:mt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:mt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:mt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:mt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:mt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:mt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:mt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:mt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:mt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:mt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:mt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:mt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:mt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:mt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:mt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:mt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:mt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:mt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:mt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:mt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:mt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:mt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:mt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:mt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:mt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:mt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:mt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:mt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:mt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:mt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:mt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:mt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:mt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:mt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:mt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:mt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:mt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:mt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:mt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:mt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:mt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:mt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:mt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:mt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:mt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:mt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:mt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:mt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:mt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:mt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:mt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:mt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:mt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:mt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:mt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:mt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:mt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:mt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:mt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:mt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:mt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:mt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:mt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:mt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:mt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:mt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:mt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:mt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:mt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:mt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:mt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:mt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:mt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:mt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:mt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:mt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:mt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:mt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:mt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:mt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:mt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:mt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:mt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:mt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:mt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:mt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:mt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:mt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:mt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:mt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:mt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:mt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:mt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:mt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:mt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:mt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:mt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:mt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:mt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:mt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:mt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:mt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:mt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:mt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:mt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:mt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:mt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:mt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:mt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:mt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:mt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:mt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:mt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:mt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:mt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:mt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:mt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:mt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:mt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:mt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:mt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:mt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:mt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:mt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:mt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:mt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:mt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:mt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:mt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:mt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:mt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:mt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:mt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:mt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:mt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:mt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:mt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:mt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:mt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:mt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:mt.create("--ft-opacity-0","","NUMBER","0"),opacity8:mt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:mt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:mt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:mt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:mt.create("--ft-opacity-80","","NUMBER","0.8")},Ot={display:{fontFamily:mt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:mt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:mt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:mt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:mt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:mt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:mt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:mt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:mt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:mt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:mt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:mt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:mt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:mt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:mt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:mt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:mt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:mt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:mt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:mt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:mt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:mt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:mt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:mt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:mt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:mt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:mt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:mt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:mt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Nt={backgroundActionPrimary:mt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",vt.colorBrand0),backgroundErrorPrimary:mt.extend("--ft-background-error-primary","Used as background of error components.",vt.colorRed0),backgroundErrorSubtle:mt.extend("--ft-background-error-subtle","Used as background of subtle error components.",vt.colorRed10),backgroundInfoPrimary:mt.extend("--ft-background-info-primary","Used as background of information components.",vt.colorCyan200),backgroundInfoSubtle:mt.extend("--ft-background-info-subtle","Used as background of subtle information components.",vt.colorCyan10),backgroundWarningPrimary:mt.extend("--ft-background-warning-primary","Used as background of warning components.",vt.colorOrange300),backgroundWarningSubtle:mt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",vt.colorOrange10),backgroundSuccessPrimary:mt.extend("--ft-background-success-primary","Used as background of success components.",vt.colorGreen200),backgroundSuccessSubtle:mt.extend("--ft-background-success-subtle","Used as background of subtle success components.",vt.colorGreen10),backgroundGlobalSurface:mt.extend("--ft-background-global-surface","Used as app background.",vt.colorWhite),backgroundGlobalOnSurface:mt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",vt.colorGray10),backgroundGlobalOnSurfaceDark:mt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",vt.colorGray30),contentActionPrimary:mt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",vt.colorBrand0),contentWarningPrimary:mt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",vt.colorOrange300),contentWarningIconOnly:mt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",vt.colorOrange0),contentErrorPrimary:mt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",vt.colorRed0),contentErrorIconOnly:mt.extend("--ft-content-error-icon-only","Used on error status icons alone",vt.colorRed0),contentInfoPrimary:mt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",vt.colorCyan200),contentInfoIconOnly:mt.extend("--ft-content-info-icon-only","Used on info status icons alone",vt.colorCyan0),contentSuccessIconOnly:mt.extend("--ft-content-success-icon-only","Used on success status icons alone",vt.colorGreen0),contentSuccessPrimary:mt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",vt.colorGreen200),contentGlobalPrimary:mt.extend("--ft-content-global-primary","Used for main content on the page.",vt.colorGray500),contentGlobalSecondary:mt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",vt.colorGray200),contentGlobalSubtle:mt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",vt.colorGray0),contentGlobalOnColor:mt.extend("--ft-content-global-on-color","Used for content on a dominant color.",vt.colorWhite),borderActionPrimary:mt.extend("--ft-border-action-primary","Used as border for primary action components.",vt.colorBrand0),borderActionFocusRing:mt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",vt.colorCyan0),borderWarningPrimary:mt.extend("--ft-border-warning-primary","Used as border for warning components.",vt.colorOrange30),borderSuccessPrimary:mt.extend("--ft-border-success-primary","Used as border for success components.",vt.colorGreen30),borderErrorPrimary:mt.extend("--ft-border-error-primary","Used as border for error components.",vt.colorRed30),borderInfoPrimary:mt.extend("--ft-border-info-primary","Used as border for information components.",vt.colorCyan30),borderGlobalSubtle:mt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",vt.colorGray30),borderGlobalPrimary:mt.extend("--ft-border-global-primary","Used as border for element like input.",vt.colorGray50),borderInputPrimary:mt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",vt.colorGray80)},St={largeHeight:mt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:mt.extend("--ft-button-large-horizontal-padding","",vt.spacing4),largeGap:mt.extend("--ft-button-large-gap","",vt.spacing2),largeBorderRadius:mt.extend("--ft-button-large-border-radius","",vt.borderRadiusS),largeIconSize:mt.extend("--ft-button-large-icon-size","",vt.iconSize3),largeBorderWidth:mt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:mt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:mt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:mt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:mt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:mt.extend("--ft-button-small-horizontal-padding","",vt.spacing3),smallGap:mt.extend("--ft-button-small-gap","",vt.spacing2),smallBorderRadius:mt.extend("--ft-button-small-border-radius","",vt.borderRadiusS),smallIconSize:mt.extend("--ft-button-small-icon-size","",vt.iconSize2),smallBorderWidth:mt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:mt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:mt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:mt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:mt.extend("--ft-button-primary-background-color","",Nt.backgroundActionPrimary),primaryColor:mt.extend("--ft-button-primary-color","",Nt.contentGlobalOnColor),primaryIconColor:mt.extend("--ft-button-primary-icon-color","",Nt.contentGlobalOnColor),primaryStateLayerColor:mt.extend("--ft-button-primary-state-layer-color","",Nt.contentGlobalOnColor),primaryStateLayerOpacityHover:mt.extend("--ft-button-primary-state-layer-opacity-hover","",vt.opacity16),primaryStateLayerOpacityFocus:mt.extend("--ft-button-primary-state-layer-opacity-focus","",vt.opacity16),primaryStateLayerOpacityActive:mt.extend("--ft-button-primary-state-layer-opacity-active","",vt.opacity24),primaryComponentOpacityDisabled:mt.extend("--ft-button-primary-component-opacity-disabled","",vt.opacity40),focusFocusRingColor:mt.extend("--ft-button-focus-focus-ring-color","",Nt.borderActionFocusRing),tertiaryBackgroundColor:mt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:mt.extend("--ft-button-tertiary-color","",Nt.contentActionPrimary),tertiaryIconColor:mt.extend("--ft-button-tertiary-icon-color","",Nt.contentActionPrimary),tertiaryStateLayerColor:mt.extend("--ft-button-tertiary-state-layer-color","",Nt.contentActionPrimary),tertiaryStateLayerOpacityHover:mt.extend("--ft-button-tertiary-state-layer-opacity-hover","",vt.opacity8),tertiaryStateLayerOpacityFocus:mt.extend("--ft-button-tertiary-state-layer-opacity-focus","",vt.opacity8),tertiaryStateLayerOpacityActive:mt.extend("--ft-button-tertiary-state-layer-opacity-active","",vt.opacity16),tertiaryComponentOpacityDisabled:mt.extend("--ft-button-tertiary-component-opacity-disabled","",vt.opacity40),secondaryBackgroundColor:mt.extend("--ft-button-secondary-background-color","",vt.colorWhite),secondaryColor:mt.extend("--ft-button-secondary-color","",Nt.contentActionPrimary),secondaryIconColor:mt.extend("--ft-button-secondary-icon-color","",Nt.contentActionPrimary),secondaryStateLayerColor:mt.extend("--ft-button-secondary-state-layer-color","",Nt.contentActionPrimary),secondaryStateLayerOpacityHover:mt.extend("--ft-button-secondary-state-layer-opacity-hover","",vt.opacity8),secondaryStateLayerOpacityFocus:mt.extend("--ft-button-secondary-state-layer-opacity-focus","",vt.opacity8),secondaryStateLayerOpacityActive:mt.extend("--ft-button-secondary-state-layer-opacity-active","",vt.opacity16),secondaryComponentOpacityDisabled:mt.extend("--ft-button-secondary-component-opacity-disabled","",vt.opacity40),secondaryBorderColor:mt.extend("--ft-button-secondary-border-color","",Nt.borderActionPrimary),neutralBackgroundColor:mt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:mt.extend("--ft-button-neutral-icon-color","",Nt.contentGlobalSecondary),neutralColor:mt.extend("--ft-button-neutral-color","",Nt.contentGlobalSecondary),neutralStateLayerColor:mt.extend("--ft-button-neutral-state-layer-color","",Nt.contentGlobalSecondary),neutralStateLayerOpacityHover:mt.extend("--ft-button-neutral-state-layer-opacity-hover","",vt.opacity8),neutralStateLayerOpacityFocus:mt.extend("--ft-button-neutral-state-layer-opacity-focus","",vt.opacity8),neutralStateLayerOpacityActive:mt.extend("--ft-button-neutral-state-layer-opacity-active","",vt.opacity16),neutralComponentOpacityDisabled:mt.extend("--ft-button-neutral-component-opacity-disabled","",vt.opacity40)};mt.extend("--ft-tabs-top-left-border-radius","",vt.borderRadiusS),mt.extend("--ft-tabs-top-right-border-radius","",vt.borderRadiusS),mt.extend("--ft-tabs-label-horizontal-padding","",vt.spacing4),mt.extend("--ft-tabs-label-vertical-padding","",vt.spacing3),mt.extend("--ft-tabs-label-gap","",vt.spacing1),mt.extend("--ft-switch-group-horizontal-padding","",vt.spacing1),mt.extend("--ft-switch-group-vertical-padding","",vt.spacing1),mt.extend("--ft-switch-group-gap","",vt.spacing1),mt.extend("--ft-switch-group-background-color","",Nt.backgroundGlobalSurface),mt.extend("--ft-switch-group-border-color","",Nt.borderGlobalSubtle),mt.create("--ft-switch-group-border-radius","","SIZE","6px"),mt.extend("--ft-switch-label-horizontal-padding","",vt.spacing2),mt.extend("--ft-switch-label-vertical-padding","",vt.spacing1),mt.extend("--ft-switch-icon-horizontal-padding","",vt.spacing1),mt.extend("--ft-switch-icon-vertical-padding","",vt.spacing1),mt.create("--ft-switch-focus-outline-width","","SIZE","2px"),mt.extend("--ft-switch-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.extend("--ft-switch-option-border-radius","",vt.borderRadiusS),mt.extend("--ft-switch-off-state-layer-opacity-hover","",vt.opacity8),mt.extend("--ft-switch-off-state-layer-opacity-focus","",vt.opacity8),mt.extend("--ft-switch-off-state-layer-opacity-active","",vt.opacity16),mt.extend("--ft-switch-off-component-opacity-disabled","",vt.opacity40),mt.extend("--ft-switch-off-color","",Nt.contentGlobalSubtle),mt.extend("--ft-switch-off-state-layer-color","",Nt.contentGlobalSubtle),mt.extend("--ft-chart-1-light","for area color charts",vt.colorBrand40),mt.extend("--ft-chart-1-base","for line charts",vt.colorBrand0),mt.extend("--ft-chart-2-light","for area color charts",vt.colorYellow60),mt.extend("--ft-chart-2-base","for line charts",vt.colorYellow100),mt.extend("--ft-chart-3-light","",vt.colorUltramarine40),mt.extend("--ft-chart-3-base","",vt.colorUltramarine70),mt.extend("--ft-chart-4-light","",vt.colorCyan50),mt.extend("--ft-chart-4-base","",vt.colorCyan100),mt.extend("--ft-chart-5-light","",vt.colorRed40),mt.extend("--ft-chart-5-base","",vt.colorRed60),mt.extend("--ft-chart-6-light","",vt.colorGreen40),mt.extend("--ft-chart-6-base","",vt.colorGreen70),mt.extend("--ft-chart-7-light","",vt.colorOrange70),mt.extend("--ft-chart-7-base","",vt.colorOrange100),mt.extend("--ft-chart-8-light","",vt.colorAvocado70),mt.extend("--ft-chart-8-base","",vt.colorAvocado200),mt.extend("--ft-chart-9-light","",vt.colorBrown50),mt.extend("--ft-chart-9-base","",vt.colorBrown200),mt.extend("--ft-chart-10-light","",vt.colorGray50),mt.extend("--ft-chart-10-base","",vt.colorGray80),mt.extend("--ft-chart-monochrome-10","",vt.colorBrand10),mt.extend("--ft-chart-monochrome-20","",vt.colorBrand20),mt.extend("--ft-chart-monochrome-30","",vt.colorBrand40),mt.extend("--ft-chart-monochrome-40","",vt.colorBrand60),mt.extend("--ft-chart-monochrome-50","",vt.colorBrand0),mt.extend("--ft-chart-monochrome-60","",vt.colorBrand200),mt.extend("--ft-chip-large-horizontal-padding","",vt.spacing4),mt.extend("--ft-chip-large-vertical-padding","",vt.spacing2),mt.extend("--ft-chip-large-gap","",vt.spacing1),mt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-large-border-radius","",vt.borderRadiusPill),mt.create("--ft-chip-large-border-width","","SIZE","1px"),mt.extend("--ft-chip-large-icon-size","",vt.iconSize3),mt.extend("--ft-chip-medium-horizontal-padding","",vt.spacing3),mt.extend("--ft-chip-medium-vertical-padding","",vt.spacing1),mt.extend("--ft-chip-medium-gap","",vt.spacing1),mt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-medium-border-radius","",vt.borderRadiusPill),mt.create("--ft-chip-medium-border-width","","SIZE","1px"),mt.extend("--ft-chip-medium-icon-size","",vt.iconSize2),mt.extend("--ft-chip-small-horizontal-padding","",vt.spacing2),mt.extend("--ft-chip-small-vertical-padding","",vt.spacing05),mt.extend("--ft-chip-small-gap","",vt.spacing1),mt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-small-border-radius","",vt.borderRadiusPill),mt.create("--ft-chip-small-border-width","","SIZE","1px"),mt.extend("--ft-chip-small-icon-size","",vt.iconSize1),mt.extend("--ft-chip-neutral-background-color","",Nt.backgroundGlobalOnSurface),mt.extend("--ft-chip-neutral-color","",Nt.contentGlobalPrimary),mt.extend("--ft-chip-neutral-border-color","",Nt.borderGlobalSubtle),mt.extend("--ft-chip-info-background-color","",Nt.backgroundInfoSubtle),mt.extend("--ft-chip-info-color","",Nt.contentInfoPrimary),mt.extend("--ft-chip-info-border-color","",Nt.borderInfoPrimary),mt.extend("--ft-chip-success-background-color","",Nt.backgroundSuccessSubtle),mt.extend("--ft-chip-success-color","",Nt.contentSuccessPrimary),mt.extend("--ft-chip-success-border-color","",Nt.borderSuccessPrimary),mt.extend("--ft-chip-warning-background-color","",Nt.backgroundWarningSubtle),mt.extend("--ft-chip-warning-color","",Nt.contentWarningPrimary),mt.extend("--ft-chip-warning-border-color","",Nt.borderWarningPrimary),mt.extend("--ft-chip-error-background-color","",Nt.backgroundErrorSubtle),mt.extend("--ft-chip-error-color","",Nt.contentErrorPrimary),mt.extend("--ft-chip-error-border-color","",Nt.borderErrorPrimary),mt.create("--ft-notice-border-width","","SIZE","1px"),mt.extend("--ft-notice-horizontal-padding","",vt.spacing2),mt.extend("--ft-notice-vertical-padding","",vt.spacing1),mt.extend("--ft-notice-border-radius","",vt.borderRadiusS),mt.extend("--ft-notice-gap","",vt.spacing2),mt.extend("--ft-notice-icon-size","",vt.iconSize3),mt.extend("--ft-notice-info-background-color","",Nt.backgroundInfoSubtle),mt.extend("--ft-notice-info-border-color","",Nt.borderInfoPrimary),mt.extend("--ft-notice-info-color","",Nt.contentInfoPrimary),mt.extend("--ft-notice-warning-background-color","",Nt.backgroundWarningSubtle),mt.extend("--ft-notice-warning-border-color","",Nt.borderWarningPrimary),mt.extend("--ft-notice-warning-color","",Nt.contentWarningPrimary),mt.extend("--ft-checkbox-label-color","",Nt.contentGlobalPrimary),mt.extend("--ft-checkbox-checked-background-color","",Nt.contentActionPrimary),mt.extend("--ft-checkbox-checked-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-checkbox-checked-color","",Nt.contentGlobalOnColor),mt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",vt.opacity16),mt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",vt.opacity16),mt.extend("--ft-checkbox-checked-state-layer-opacity-active","",vt.opacity24),mt.extend("--ft-checkbox-checked-component-opacity-disabled","",vt.opacity40),mt.extend("--ft-checkbox-unchecked-border-color","",vt.colorGray80),mt.extend("--ft-checkbox-unchecked-state-layer-color","",vt.colorGray80),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",vt.opacity16),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",vt.opacity16),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",vt.opacity24),mt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",vt.opacity40),mt.extend("--ft-checkbox-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),mt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),mt.extend("--ft-checkbox-gap","",vt.spacing3),mt.extend("--ft-toggle-off-state-layer-opacity-hover","",vt.opacity16),mt.extend("--ft-toggle-off-state-layer-opacity-focus","",vt.opacity16),mt.extend("--ft-toggle-off-state-layer-opacity-active","",vt.opacity24),mt.extend("--ft-toggle-off-component-opacity-disabled","",vt.opacity40),mt.extend("--ft-toggle-off-background-color","",Nt.contentGlobalSubtle),mt.extend("--ft-toggle-off-icon-color","",Nt.contentGlobalSubtle),mt.extend("--ft-toggle-off-state-layer-color","",Nt.contentGlobalSubtle),mt.extend("--ft-toggle-on-state-layer-opacity-hover","",vt.opacity16),mt.extend("--ft-toggle-on-state-layer-opacity-focus","",vt.opacity16),mt.extend("--ft-toggle-on-state-layer-opacity-active","",vt.opacity24),mt.extend("--ft-toggle-on-component-opacity-disabled","",vt.opacity40),mt.extend("--ft-toggle-on-background-color","",Nt.contentActionPrimary),mt.extend("--ft-toggle-on-icon-color","",Nt.contentActionPrimary),mt.extend("--ft-toggle-on-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-toggle-label-color","",Nt.contentGlobalPrimary),mt.extend("--ft-toggle-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.extend("--ft-toggle-gap","",vt.spacing3),mt.extend("--ft-radio-label-color","",Nt.contentGlobalPrimary),mt.extend("--ft-radio-selected-color","",Nt.contentActionPrimary),mt.extend("--ft-radio-selected-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-radio-selected-state-layer-opacity-hover","",vt.opacity16),mt.extend("--ft-radio-selected-state-layer-opacity-focus","",vt.opacity16),mt.extend("--ft-radio-selected-state-layer-opacity-active","",vt.opacity24),mt.extend("--ft-radio-selected-component-opacity-disabled","",vt.opacity40),mt.extend("--ft-radio-unselected-state-layer-color","",vt.colorGray80),mt.extend("--ft-radio-unselected-state-layer-opacity-hover","",vt.opacity16),mt.extend("--ft-radio-unselected-state-layer-opacity-focus","",vt.opacity16),mt.extend("--ft-radio-unselected-state-layer-opacity-active","",vt.opacity24),mt.extend("--ft-radio-unselected-component-opacity-disabled","",vt.opacity40),mt.extend("--ft-radio-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),mt.create("--ft-radio-focus-outline-width","","SIZE","2px"),mt.extend("--ft-radio-gap","",vt.spacing3),mt.extend("--ft-notification-icon-size","",vt.iconSize4),mt.extend("--ft-notification-horizontal-padding","",vt.spacing4),mt.extend("--ft-notification-vertical-padding","",vt.spacing4),mt.extend("--ft-notification-info-background-color","",Nt.backgroundInfoSubtle),mt.extend("--ft-notification-info-color","",Nt.contentInfoPrimary),mt.extend("--ft-notification-info-border-color","",Nt.borderInfoPrimary),mt.extend("--ft-notification-success-background-color","",Nt.backgroundSuccessSubtle),mt.extend("--ft-notification-success-color","",Nt.contentSuccessPrimary),mt.extend("--ft-notification-success-border-color","",Nt.borderSuccessPrimary),mt.extend("--ft-notification-warning-background-color","",Nt.backgroundWarningSubtle),mt.extend("--ft-notification-warning-color","",Nt.contentWarningPrimary),mt.extend("--ft-notification-warning-border-color","",Nt.borderWarningPrimary),mt.extend("--ft-notification-error-background-color","",Nt.backgroundErrorSubtle),mt.extend("--ft-notification-error-color","",Nt.contentErrorPrimary),mt.extend("--ft-notification-error-border-color","",Nt.borderErrorPrimary),mt.extend("--ft-notification-border-radius","",vt.borderRadiusPill),mt.create("--ft-notification-border-width","","SIZE","1px"),mt.extend("--ft-notification-gap-leading","",vt.spacing2),mt.extend("--ft-notification-gap-trailing","",vt.spacing8);const wt={colorPrimary:mt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:mt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:mt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:mt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:mt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:mt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:mt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:mt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:mt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:mt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:mt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:mt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:mt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:mt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:mt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:mt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:mt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:mt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:mt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:mt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:mt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:mt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:mt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:mt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:mt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:mt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:mt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:mt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:mt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:mt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:mt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:mt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:mt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:mt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:mt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:mt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:mt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:mt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:mt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:mt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:mt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:mt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:mt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:mt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:mt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:mt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:mt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:mt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:mt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:mt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:mt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Ct extends yt{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 x(e,t.elementStyles),e}}var $t,Rt=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Et=Symbol("constructorPrototype"),kt=Symbol("constructorName"),Ut=Symbol("exportpartsDebouncer");class It extends Ct{constructor(){super(),this[$t]=new o(5),this[kt]=this.constructor.name,this[Et]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[kt]&&Object.setPrototypeOf(this,this[Et])}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[Ut].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,r,i,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!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],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(", "))}}$t=Ut,Rt([r()],It.prototype,"exportpartsPrefix",void 0),Rt([f([])],It.prototype,"exportpartsPrefixes",void 0),Rt([r()],It.prototype,"customStylesheet",void 0);const Wt=m`
|
|
58
|
+
* @license
|
|
59
|
+
* Copyright 2019 Google LLC
|
|
60
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
+
*/
|
|
62
|
+
const ht=globalThis,dt=ht.ShadowRoot&&(void 0===ht.ShadyCSS||ht.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ut=Symbol(),yt=new WeakMap;let gt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==ut)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(dt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=yt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&yt.set(o,t))}return t}toString(){return this.cssText}};const bt=t=>new gt("string"==typeof t?t:t+"",void 0,ut),mt=(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 gt(e,t,ut)},xt=dt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return bt(o)})(t):t
|
|
63
|
+
/**
|
|
64
|
+
* @license
|
|
65
|
+
* Copyright 2017 Google LLC
|
|
66
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
|
+
*/,{is:Ot,defineProperty:vt,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:St,getOwnPropertySymbols:wt,getPrototypeOf:Ct}=Object,$t=globalThis,Rt=$t.trustedTypes,Et=Rt?Rt.emptyScript:"",Ut=$t.reactiveElementPolyfillSupport,kt=(t,o)=>t,It={toAttribute(t,o){switch(o){case Boolean:t=t?Et:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Wt=(t,o)=>!Ot(t,o),Lt={attribute:!0,type:String,converter:It,reflect:!1,hasChanged:Wt};Symbol.metadata??=Symbol("metadata"),$t.litPropertyMetadata??=new WeakMap;class Kt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Lt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&vt(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=Nt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Lt}static _$Ei(){if(this.hasOwnProperty(kt("elementProperties")))return;const t=Ct(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(kt("properties"))){const t=this.properties,o=[...St(t),...wt(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(xt(t))}else void 0!==t&&o.push(xt(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(dt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=ht.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:It).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:It;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??Wt)(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){}}Kt.elementStyles=[],Kt.shadowRootOptions={mode:"open"},Kt[kt("elementProperties")]=new Map,Kt[kt("finalized")]=new Map,Ut?.({ReactiveElement:Kt}),($t.reactiveElementVersions??=[]).push("2.0.2");
|
|
68
|
+
/**
|
|
69
|
+
* @license
|
|
70
|
+
* Copyright 2017 Google LLC
|
|
71
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
|
+
*/
|
|
73
|
+
const zt=globalThis,Zt=zt.trustedTypes,Ft=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bt="$lit$",Mt=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Mt,Dt=`<${At}>`,Pt=document,Ht=()=>Pt.createComment(""),jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Tt=Array.isArray,_t="[ \t\n\f\r]",Gt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yt=/-->/g,Vt=/>/g,Jt=RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),qt=/'/g,Xt=/"/g,Qt=/^(?:script|style|textarea|title)$/i,to=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),oo=Symbol.for("lit-noChange"),eo=Symbol.for("lit-nothing"),io=new WeakMap,ro=Pt.createTreeWalker(Pt,129);function no(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ft?Ft.createHTML(o):o}const ao=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Gt;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===Gt?"!--"===l[1]?a=Yt:void 0!==l[1]?a=Vt:void 0!==l[2]?(Qt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Jt):void 0!==l[3]&&(a=Jt):a===Jt?">"===l[0]?(a=r??Gt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Jt:'"'===l[3]?Xt:qt):a===Xt||a===qt?a=Jt:a===Yt||a===Vt?a=Gt:(a=Jt,r=void 0);const f=a===Jt&&t[o+1].startsWith("/>")?" ":"";n+=a===Gt?e+Dt:c>=0?(i.push(s),e.slice(0,c)+Bt+e.slice(c)+Mt+f):e+Mt+(-2===c?o:f)}return[no(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class so{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]=ao(t,o);if(this.el=so.createElement(l,e),ro.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ro.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Bt)){const o=c[n++],e=i.getAttribute(t).split(Mt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?ho:"@"===a[1]?uo:po}),i.removeAttribute(t)}else t.startsWith(Mt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(Qt.test(i.tagName)){const t=i.textContent.split(Mt),o=t.length-1;if(o>0){i.textContent=Zt?Zt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Ht()),ro.nextNode(),s.push({type:2,index:++r});i.append(t[o],Ht())}}}else if(8===i.nodeType)if(i.data===At)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Mt,t+1));)s.push({type:7,index:r}),t+=Mt.length-1}r++}}static createElement(t,o){const e=Pt.createElement("template");return e.innerHTML=t,e}}function lo(t,o,e=t,i){if(o===oo)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=lo(t,r._$AS(t,o.values),r,i)),o}class co{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=eo,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=lo(this,t,o),jt(t)?t===eo||null==t||""===t?(this._$AH!==eo&&this._$AR(),this._$AH=eo):t!==this._$AH&&t!==oo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Tt(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!==eo&&jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Pt.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=so.createElement(no(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??Pt).importNode(o,!0);ro.currentNode=i;let r=ro.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new co(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new yo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=ro.nextNode(),n++)}return ro.currentNode=Pt,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=io.get(t.strings);return void 0===o&&io.set(t.strings,o=new so(t)),o}T(t){Tt(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 co(this.k(Ht()),this.k(Ht()),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 po{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=eo,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=eo}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=lo(this,t,o,0),n=!jt(t)||t!==this._$AH&&t!==oo,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=lo(this,i[e+a],o,a),s===oo&&(s=this._$AH[a]),n||=!jt(s)||s!==this._$AH[a],s===eo?t=eo:t!==eo&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===eo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class fo extends po{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===eo?void 0:t}}class ho extends po{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==eo)}}class uo extends po{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=lo(this,t,o,0)??eo)===oo)return;const e=this._$AH,i=t===eo&&e!==eo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==eo&&(e===eo||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 yo{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){lo(this,t)}}const go=zt.litHtmlPolyfillSupport;go?.(so,co),(zt.litHtmlVersions??=[]).push("3.1.0");
|
|
74
|
+
/**
|
|
75
|
+
* @license
|
|
76
|
+
* Copyright 2017 Google LLC
|
|
77
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
+
*/
|
|
79
|
+
class bo extends Kt{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 co(o.insertBefore(Ht(),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 oo}}bo._$litElement$=!0,bo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:bo});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:bo}),(globalThis.litElementVersions??=[]).push("4.0.2");const xo=t=>"string"==typeof t?bt(t):t;class Oo{static create(t,o,e,i){const r=t=>xo(null!=t?t:i),n=mt`var(${xo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>mt`var(${xo(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=mt`var(${xo(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=>mt`var(${xo(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):xo(null!=o?o:t.lastResortDefaultValue()),i=mt`var(${xo(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=>mt`var(${xo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function vo(t,o){return xo(`${t.name}: ${o}`)}const No={colorWhite:Oo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oo.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oo.create("--ft-opacity-80","","NUMBER","0.8")},So={display:{fontFamily:Oo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Oo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Oo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Oo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Oo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Oo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Oo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Oo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Oo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Oo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Oo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Oo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Oo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Oo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Oo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Oo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Oo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Oo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Oo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Oo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Oo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Oo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Oo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Oo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Oo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Oo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Oo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},wo={backgroundActionPrimary:Oo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",No.colorBrand0),backgroundErrorPrimary:Oo.extend("--ft-background-error-primary","Used as background of error components.",No.colorRed0),backgroundErrorSubtle:Oo.extend("--ft-background-error-subtle","Used as background of subtle error components.",No.colorRed10),backgroundInfoPrimary:Oo.extend("--ft-background-info-primary","Used as background of information components.",No.colorCyan200),backgroundInfoSubtle:Oo.extend("--ft-background-info-subtle","Used as background of subtle information components.",No.colorCyan10),backgroundWarningPrimary:Oo.extend("--ft-background-warning-primary","Used as background of warning components.",No.colorOrange300),backgroundWarningSubtle:Oo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",No.colorOrange10),backgroundSuccessPrimary:Oo.extend("--ft-background-success-primary","Used as background of success components.",No.colorGreen200),backgroundSuccessSubtle:Oo.extend("--ft-background-success-subtle","Used as background of subtle success components.",No.colorGreen10),backgroundGlobalSurface:Oo.extend("--ft-background-global-surface","Used as app background.",No.colorWhite),backgroundGlobalOnSurface:Oo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",No.colorGray10),backgroundGlobalOnSurfaceDark:Oo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",No.colorGray30),contentActionPrimary:Oo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",No.colorBrand0),contentWarningPrimary:Oo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",No.colorOrange300),contentWarningIconOnly:Oo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",No.colorOrange0),contentErrorPrimary:Oo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",No.colorRed0),contentErrorIconOnly:Oo.extend("--ft-content-error-icon-only","Used on error status icons alone",No.colorRed0),contentInfoPrimary:Oo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",No.colorCyan200),contentInfoIconOnly:Oo.extend("--ft-content-info-icon-only","Used on info status icons alone",No.colorCyan0),contentSuccessIconOnly:Oo.extend("--ft-content-success-icon-only","Used on success status icons alone",No.colorGreen0),contentSuccessPrimary:Oo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",No.colorGreen200),contentGlobalPrimary:Oo.extend("--ft-content-global-primary","Used for main content on the page.",No.colorGray500),contentGlobalSecondary:Oo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",No.colorGray200),contentGlobalSubtle:Oo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",No.colorGray0),contentGlobalOnColor:Oo.extend("--ft-content-global-on-color","Used for content on a dominant color.",No.colorWhite),borderActionPrimary:Oo.extend("--ft-border-action-primary","Used as border for primary action components.",No.colorBrand0),borderActionFocusRing:Oo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",No.colorCyan0),borderWarningPrimary:Oo.extend("--ft-border-warning-primary","Used as border for warning components.",No.colorOrange30),borderSuccessPrimary:Oo.extend("--ft-border-success-primary","Used as border for success components.",No.colorGreen30),borderErrorPrimary:Oo.extend("--ft-border-error-primary","Used as border for error components.",No.colorRed30),borderInfoPrimary:Oo.extend("--ft-border-info-primary","Used as border for information components.",No.colorCyan30),borderGlobalSubtle:Oo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",No.colorGray30),borderGlobalPrimary:Oo.extend("--ft-border-global-primary","Used as border for element like input.",No.colorGray50),borderInputPrimary:Oo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",No.colorGray80)},Co={largeHeight:Oo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Oo.extend("--ft-button-large-horizontal-padding","",No.spacing4),largeGap:Oo.extend("--ft-button-large-gap","",No.spacing2),largeBorderRadius:Oo.extend("--ft-button-large-border-radius","",No.borderRadiusS),largeIconSize:Oo.extend("--ft-button-large-icon-size","",No.iconSize3),largeBorderWidth:Oo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Oo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Oo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Oo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Oo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Oo.extend("--ft-button-small-horizontal-padding","",No.spacing3),smallGap:Oo.extend("--ft-button-small-gap","",No.spacing2),smallBorderRadius:Oo.extend("--ft-button-small-border-radius","",No.borderRadiusS),smallIconSize:Oo.extend("--ft-button-small-icon-size","",No.iconSize2),smallBorderWidth:Oo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Oo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Oo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Oo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Oo.extend("--ft-button-primary-background-color","",wo.backgroundActionPrimary),primaryColor:Oo.extend("--ft-button-primary-color","",wo.contentGlobalOnColor),primaryIconColor:Oo.extend("--ft-button-primary-icon-color","",wo.contentGlobalOnColor),primaryStateLayerColor:Oo.extend("--ft-button-primary-state-layer-color","",wo.contentGlobalOnColor),primaryStateLayerOpacityHover:Oo.extend("--ft-button-primary-state-layer-opacity-hover","",No.opacity16),primaryStateLayerOpacityFocus:Oo.extend("--ft-button-primary-state-layer-opacity-focus","",No.opacity16),primaryStateLayerOpacityActive:Oo.extend("--ft-button-primary-state-layer-opacity-active","",No.opacity24),primaryComponentOpacityDisabled:Oo.extend("--ft-button-primary-component-opacity-disabled","",No.opacity40),focusFocusRingColor:Oo.extend("--ft-button-focus-focus-ring-color","",wo.borderActionFocusRing),tertiaryBackgroundColor:Oo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Oo.extend("--ft-button-tertiary-color","",wo.contentActionPrimary),tertiaryIconColor:Oo.extend("--ft-button-tertiary-icon-color","",wo.contentActionPrimary),tertiaryStateLayerColor:Oo.extend("--ft-button-tertiary-state-layer-color","",wo.contentActionPrimary),tertiaryStateLayerOpacityHover:Oo.extend("--ft-button-tertiary-state-layer-opacity-hover","",No.opacity8),tertiaryStateLayerOpacityFocus:Oo.extend("--ft-button-tertiary-state-layer-opacity-focus","",No.opacity8),tertiaryStateLayerOpacityActive:Oo.extend("--ft-button-tertiary-state-layer-opacity-active","",No.opacity16),tertiaryComponentOpacityDisabled:Oo.extend("--ft-button-tertiary-component-opacity-disabled","",No.opacity40),secondaryBackgroundColor:Oo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Oo.extend("--ft-button-secondary-color","",wo.contentActionPrimary),secondaryIconColor:Oo.extend("--ft-button-secondary-icon-color","",wo.contentActionPrimary),secondaryStateLayerColor:Oo.extend("--ft-button-secondary-state-layer-color","",wo.contentActionPrimary),secondaryStateLayerOpacityHover:Oo.extend("--ft-button-secondary-state-layer-opacity-hover","",No.opacity8),secondaryStateLayerOpacityFocus:Oo.extend("--ft-button-secondary-state-layer-opacity-focus","",No.opacity8),secondaryStateLayerOpacityActive:Oo.extend("--ft-button-secondary-state-layer-opacity-active","",No.opacity16),secondaryComponentOpacityDisabled:Oo.extend("--ft-button-secondary-component-opacity-disabled","",No.opacity40),secondaryBorderColor:Oo.extend("--ft-button-secondary-border-color","",wo.borderActionPrimary),neutralBackgroundColor:Oo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Oo.extend("--ft-button-neutral-icon-color","",wo.contentGlobalSecondary),neutralColor:Oo.extend("--ft-button-neutral-color","",wo.contentGlobalSecondary),neutralStateLayerColor:Oo.extend("--ft-button-neutral-state-layer-color","",wo.contentGlobalSecondary),neutralStateLayerOpacityHover:Oo.extend("--ft-button-neutral-state-layer-opacity-hover","",No.opacity8),neutralStateLayerOpacityFocus:Oo.extend("--ft-button-neutral-state-layer-opacity-focus","",No.opacity8),neutralStateLayerOpacityActive:Oo.extend("--ft-button-neutral-state-layer-opacity-active","",No.opacity16),neutralComponentOpacityDisabled:Oo.extend("--ft-button-neutral-component-opacity-disabled","",No.opacity40)};Oo.extend("--ft-tabs-top-left-border-radius","",No.borderRadiusS),Oo.extend("--ft-tabs-top-right-border-radius","",No.borderRadiusS),Oo.extend("--ft-tabs-label-horizontal-padding","",No.spacing4),Oo.extend("--ft-tabs-label-vertical-padding","",No.spacing3),Oo.extend("--ft-tabs-label-gap","",No.spacing1),Oo.extend("--ft-switch-group-horizontal-padding","",No.spacing1),Oo.extend("--ft-switch-group-vertical-padding","",No.spacing1),Oo.extend("--ft-switch-group-gap","",No.spacing1),Oo.extend("--ft-switch-group-background-color","",wo.backgroundGlobalSurface),Oo.extend("--ft-switch-group-border-color","",wo.borderGlobalSubtle),Oo.create("--ft-switch-group-border-radius","","SIZE","6px"),Oo.extend("--ft-switch-label-horizontal-padding","",No.spacing2),Oo.extend("--ft-switch-label-vertical-padding","",No.spacing1),Oo.extend("--ft-switch-icon-horizontal-padding","",No.spacing1),Oo.extend("--ft-switch-icon-vertical-padding","",No.spacing1),Oo.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-switch-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.extend("--ft-switch-option-border-radius","",No.borderRadiusS),Oo.extend("--ft-switch-off-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-switch-off-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-switch-off-color","",wo.contentGlobalSubtle),Oo.extend("--ft-switch-off-state-layer-color","",wo.contentGlobalSubtle),Oo.extend("--ft-chart-1-light","for area color charts",No.colorBrand40),Oo.extend("--ft-chart-1-base","for line charts",No.colorBrand0),Oo.extend("--ft-chart-2-light","for area color charts",No.colorYellow60),Oo.extend("--ft-chart-2-base","for line charts",No.colorYellow100),Oo.extend("--ft-chart-3-light","",No.colorUltramarine40),Oo.extend("--ft-chart-3-base","",No.colorUltramarine70),Oo.extend("--ft-chart-4-light","",No.colorCyan50),Oo.extend("--ft-chart-4-base","",No.colorCyan100),Oo.extend("--ft-chart-5-light","",No.colorRed40),Oo.extend("--ft-chart-5-base","",No.colorRed60),Oo.extend("--ft-chart-6-light","",No.colorGreen40),Oo.extend("--ft-chart-6-base","",No.colorGreen70),Oo.extend("--ft-chart-7-light","",No.colorOrange70),Oo.extend("--ft-chart-7-base","",No.colorOrange100),Oo.extend("--ft-chart-8-light","",No.colorAvocado70),Oo.extend("--ft-chart-8-base","",No.colorAvocado200),Oo.extend("--ft-chart-9-light","",No.colorBrown50),Oo.extend("--ft-chart-9-base","",No.colorBrown200),Oo.extend("--ft-chart-10-light","",No.colorGray50),Oo.extend("--ft-chart-10-base","",No.colorGray80),Oo.extend("--ft-chart-monochrome-10","",No.colorBrand10),Oo.extend("--ft-chart-monochrome-20","",No.colorBrand20),Oo.extend("--ft-chart-monochrome-30","",No.colorBrand40),Oo.extend("--ft-chart-monochrome-40","",No.colorBrand60),Oo.extend("--ft-chart-monochrome-50","",No.colorBrand0),Oo.extend("--ft-chart-monochrome-60","",No.colorBrand200),Oo.extend("--ft-chip-large-horizontal-padding","",No.spacing4),Oo.extend("--ft-chip-large-vertical-padding","",No.spacing2),Oo.extend("--ft-chip-large-gap","",No.spacing1),Oo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-large-border-radius","",No.borderRadiusPill),Oo.create("--ft-chip-large-border-width","","SIZE","1px"),Oo.extend("--ft-chip-large-icon-size","",No.iconSize3),Oo.extend("--ft-chip-medium-horizontal-padding","",No.spacing3),Oo.extend("--ft-chip-medium-vertical-padding","",No.spacing1),Oo.extend("--ft-chip-medium-gap","",No.spacing1),Oo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-medium-border-radius","",No.borderRadiusPill),Oo.create("--ft-chip-medium-border-width","","SIZE","1px"),Oo.extend("--ft-chip-medium-icon-size","",No.iconSize2),Oo.extend("--ft-chip-small-horizontal-padding","",No.spacing2),Oo.extend("--ft-chip-small-vertical-padding","",No.spacing05),Oo.extend("--ft-chip-small-gap","",No.spacing1),Oo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-small-border-radius","",No.borderRadiusPill),Oo.create("--ft-chip-small-border-width","","SIZE","1px"),Oo.extend("--ft-chip-small-icon-size","",No.iconSize1),Oo.extend("--ft-chip-neutral-background-color","",wo.backgroundGlobalOnSurface),Oo.extend("--ft-chip-neutral-color","",wo.contentGlobalPrimary),Oo.extend("--ft-chip-neutral-border-color","",wo.borderGlobalSubtle),Oo.extend("--ft-chip-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-chip-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-chip-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-chip-success-background-color","",wo.backgroundSuccessSubtle),Oo.extend("--ft-chip-success-color","",wo.contentSuccessPrimary),Oo.extend("--ft-chip-success-border-color","",wo.borderSuccessPrimary),Oo.extend("--ft-chip-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-chip-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-chip-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-chip-error-background-color","",wo.backgroundErrorSubtle),Oo.extend("--ft-chip-error-color","",wo.contentErrorPrimary),Oo.extend("--ft-chip-error-border-color","",wo.borderErrorPrimary),Oo.create("--ft-notice-border-width","","SIZE","1px"),Oo.extend("--ft-notice-horizontal-padding","",No.spacing2),Oo.extend("--ft-notice-vertical-padding","",No.spacing1),Oo.extend("--ft-notice-border-radius","",No.borderRadiusS),Oo.extend("--ft-notice-gap","",No.spacing2),Oo.extend("--ft-notice-icon-size","",No.iconSize3),Oo.extend("--ft-notice-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-notice-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-notice-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-notice-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-notice-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-notice-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-checkbox-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-checkbox-checked-background-color","",wo.contentActionPrimary),Oo.extend("--ft-checkbox-checked-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-checkbox-checked-color","",wo.contentGlobalOnColor),Oo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-checkbox-checked-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-checkbox-unchecked-border-color","",No.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-color","",No.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-checkbox-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-checkbox-gap","",No.spacing3),Oo.extend("--ft-toggle-off-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-toggle-off-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-toggle-off-background-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-off-icon-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-off-state-layer-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-on-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-toggle-on-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-toggle-on-background-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-on-icon-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-on-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-toggle-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.extend("--ft-toggle-gap","",No.spacing3),Oo.extend("--ft-radio-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-radio-selected-color","",wo.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-radio-selected-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-radio-unselected-state-layer-color","",No.colorGray80),Oo.extend("--ft-radio-unselected-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-radio-unselected-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-radio-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-radio-gap","",No.spacing3),Oo.extend("--ft-notification-icon-size","",No.iconSize4),Oo.extend("--ft-notification-horizontal-padding","",No.spacing4),Oo.extend("--ft-notification-vertical-padding","",No.spacing4),Oo.extend("--ft-notification-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-notification-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-notification-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-notification-success-background-color","",wo.backgroundSuccessSubtle),Oo.extend("--ft-notification-success-color","",wo.contentSuccessPrimary),Oo.extend("--ft-notification-success-border-color","",wo.borderSuccessPrimary),Oo.extend("--ft-notification-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-notification-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-notification-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-notification-error-background-color","",wo.backgroundErrorSubtle),Oo.extend("--ft-notification-error-color","",wo.contentErrorPrimary),Oo.extend("--ft-notification-error-border-color","",wo.borderErrorPrimary),Oo.extend("--ft-notification-border-radius","",No.borderRadiusPill),Oo.create("--ft-notification-border-width","","SIZE","1px"),Oo.extend("--ft-notification-gap-leading","",No.spacing2),Oo.extend("--ft-notification-gap-trailing","",No.spacing8);const $o={colorPrimary:Oo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ro=window,Eo=Ro.ShadowRoot&&(void 0===Ro.ShadyCSS||Ro.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 Uo extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Eo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Ro.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var ko,Io=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 Wo=Symbol("constructorPrototype"),Lo=Symbol("constructorName"),Ko=Symbol("exportpartsDebouncer");class zo extends Uo{constructor(){super(),this[ko]=new o(5),this[Lo]=this.constructor.name,this[Wo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Lo]&&Object.setPrototypeOf(this,this[Wo])}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[Ko].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(", "))}}ko=Ko,Io([C()],zo.prototype,"exportpartsPrefix",void 0),Io([I([])],zo.prototype,"exportpartsPrefixes",void 0),Io([C()],zo.prototype,"customStylesheet",void 0);const Zo=mt`
|
|
65
85
|
.ft-no-text-select {
|
|
66
86
|
-webkit-touch-callout: none;
|
|
67
87
|
-webkit-user-select: none;
|
|
@@ -70,7 +90,7 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
70
90
|
-ms-user-select: none;
|
|
71
91
|
user-select: none;
|
|
72
92
|
}
|
|
73
|
-
`;
|
|
93
|
+
`;mt`
|
|
74
94
|
.ft-word-wrap {
|
|
75
95
|
white-space: normal;
|
|
76
96
|
word-wrap: break-word;
|
|
@@ -82,7 +102,7 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
82
102
|
-webkit-hyphens: auto;
|
|
83
103
|
hyphens: auto
|
|
84
104
|
}
|
|
85
|
-
`;const
|
|
105
|
+
`;const Fo=mt`
|
|
86
106
|
.ft-safari-ellipsis-fix {
|
|
87
107
|
margin-right: 0;
|
|
88
108
|
|
|
@@ -93,9 +113,9 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
93
113
|
display: inline-block;
|
|
94
114
|
width: 0;
|
|
95
115
|
}
|
|
96
|
-
`;window.ftReduxStores||(window.ftReduxStores={});const
|
|
116
|
+
`;window.ftReduxStores||(window.ftReduxStores={});const Bo=Symbol("elementInternals");var Mo,Ao,Do;const Po=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Do=null===(Ao=null===(Mo=window.safari)||void 0===Mo?void 0:Mo.pushNotification)||void 0===Ao?void 0:Ao.toString())&&void 0!==Do?Do:""),Ho={zIndex:Oo.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:Oo.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:Oo.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:Oo.extend("--ft-floating-menu-text-color","",$o.colorOnSurfaceHigh),colorSurface:Oo.external($o.colorSurface,"Design system"),menuElevation:Oo.external($o.elevation02,"Design system"),borderRadiusS:Oo.external($o.borderRadiusS,"Design system")},jo=mt`
|
|
97
117
|
.ft-floating-menu {
|
|
98
|
-
color: ${
|
|
118
|
+
color: ${Ho.textColor};
|
|
99
119
|
display: inline-block;
|
|
100
120
|
}
|
|
101
121
|
|
|
@@ -112,19 +132,19 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
112
132
|
display: none;
|
|
113
133
|
position: relative;
|
|
114
134
|
overflow: auto;
|
|
115
|
-
max-width: ${
|
|
116
|
-
max-height: ${
|
|
117
|
-
box-shadow: ${
|
|
118
|
-
background-color: ${
|
|
119
|
-
border-radius: ${
|
|
120
|
-
color: ${
|
|
121
|
-
z-index: ${
|
|
135
|
+
max-width: ${Ho.maxWidth};
|
|
136
|
+
max-height: ${Ho.maxHeight};
|
|
137
|
+
box-shadow: ${Ho.menuElevation};
|
|
138
|
+
background-color: ${Ho.colorSurface};
|
|
139
|
+
border-radius: ${Ho.borderRadiusS};
|
|
140
|
+
color: ${Ho.textColor};
|
|
141
|
+
z-index: ${Ho.zIndex};
|
|
122
142
|
}
|
|
123
143
|
|
|
124
144
|
.ft-floating-menu--open .ft-floating-menu--options {
|
|
125
145
|
display: block;
|
|
126
146
|
}
|
|
127
|
-
`,
|
|
147
|
+
`,To=Oo.extend("--ft-ripple-color","",$o.colorContent),_o={color:To,backgroundColor:Oo.extend("--ft-ripple-background-color","",To),opacityContentOnSurfacePressed:Oo.external($o.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Oo.external($o.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Oo.external($o.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Oo.external($o.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Oo.create("--ft-ripple-border-radius","","SIZE","0px")},Go=Oo.extend("--ft-ripple-color","",$o.colorPrimary),Yo=Go,Vo=Oo.extend("--ft-ripple-background-color","",Go),Jo=Oo.extend("--ft-ripple-color","",$o.colorSecondary),qo=Jo,Xo=Oo.extend("--ft-ripple-background-color","",Jo),Qo=mt`
|
|
128
148
|
:host {
|
|
129
149
|
display: contents;
|
|
130
150
|
}
|
|
@@ -137,7 +157,7 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
137
157
|
|
|
138
158
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
139
159
|
overflow: hidden;
|
|
140
|
-
border-radius: ${
|
|
160
|
+
border-radius: ${_o.borderRadius};
|
|
141
161
|
}
|
|
142
162
|
|
|
143
163
|
.ft-ripple .ft-ripple--background,
|
|
@@ -171,27 +191,27 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
171
191
|
}
|
|
172
192
|
|
|
173
193
|
.ft-ripple .ft-ripple--background {
|
|
174
|
-
background-color: ${
|
|
194
|
+
background-color: ${_o.backgroundColor};
|
|
175
195
|
}
|
|
176
196
|
|
|
177
197
|
.ft-ripple .ft-ripple--effect {
|
|
178
|
-
background-color: ${
|
|
198
|
+
background-color: ${_o.color};
|
|
179
199
|
}
|
|
180
200
|
|
|
181
201
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
182
|
-
background-color: ${
|
|
202
|
+
background-color: ${Xo};
|
|
183
203
|
}
|
|
184
204
|
|
|
185
205
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
186
|
-
background-color: ${
|
|
206
|
+
background-color: ${qo};
|
|
187
207
|
}
|
|
188
208
|
|
|
189
209
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
190
|
-
background-color: ${
|
|
210
|
+
background-color: ${Vo};
|
|
191
211
|
}
|
|
192
212
|
|
|
193
213
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
194
|
-
background-color: ${
|
|
214
|
+
background-color: ${Yo};
|
|
195
215
|
}
|
|
196
216
|
|
|
197
217
|
.ft-ripple .ft-ripple--background {
|
|
@@ -221,118 +241,118 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
221
241
|
}
|
|
222
242
|
|
|
223
243
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
224
|
-
opacity: ${
|
|
244
|
+
opacity: ${_o.opacityContentOnSurfaceHover};
|
|
225
245
|
}
|
|
226
246
|
|
|
227
247
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
228
|
-
opacity: ${
|
|
248
|
+
opacity: ${_o.opacityContentOnSurfaceSelected};
|
|
229
249
|
}
|
|
230
250
|
|
|
231
251
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
232
|
-
opacity: ${
|
|
252
|
+
opacity: ${_o.opacityContentOnSurfaceFocused};
|
|
233
253
|
}
|
|
234
254
|
|
|
235
255
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
236
|
-
opacity: ${
|
|
256
|
+
opacity: ${_o.opacityContentOnSurfacePressed};
|
|
237
257
|
transform: translate(-50%, -50%) scale(1);
|
|
238
258
|
}
|
|
239
|
-
`;const
|
|
259
|
+
`;const te=Oo.extend("--ft-typography-font-family","",$o.titleFont),oe=Oo.extend("--ft-typography-font-family","",$o.contentFont),ee={fontFamily:oe,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ie=Oo.extend("--ft-typography-title-font-family","",te),re=Oo.extend("--ft-typography-title-font-size","",ee.fontSize,"20px"),ne=Oo.extend("--ft-typography-title-font-weight","",ee.fontWeight,"normal"),ae=Oo.extend("--ft-typography-title-letter-spacing","",ee.letterSpacing,"0.15px"),se=Oo.extend("--ft-typography-title-line-height","",ee.lineHeight,"1.2"),le=Oo.extend("--ft-typography-title-text-transform","",ee.textTransform,"inherit"),ce=Oo.extend("--ft-typography-title-dense-font-family","",te),pe=Oo.extend("--ft-typography-title-dense-font-size","",ee.fontSize,"14px"),fe=Oo.extend("--ft-typography-title-dense-font-weight","",ee.fontWeight,"normal"),he=Oo.extend("--ft-typography-title-dense-letter-spacing","",ee.letterSpacing,"0.105px"),de=Oo.extend("--ft-typography-title-dense-line-height","",ee.lineHeight,"1.7"),ue=Oo.extend("--ft-typography-title-dense-text-transform","",ee.textTransform,"inherit"),ye=Oo.extend("--ft-typography-subtitle1-font-family","",oe),ge=Oo.extend("--ft-typography-subtitle1-font-size","",ee.fontSize,"16px"),be=Oo.extend("--ft-typography-subtitle1-font-weight","",ee.fontWeight,"600"),me=Oo.extend("--ft-typography-subtitle1-letter-spacing","",ee.letterSpacing,"0.144px"),xe=Oo.extend("--ft-typography-subtitle1-line-height","",ee.lineHeight,"1.5"),Oe=Oo.extend("--ft-typography-subtitle1-text-transform","",ee.textTransform,"inherit"),ve=Oo.extend("--ft-typography-subtitle2-font-family","",oe),Ne=Oo.extend("--ft-typography-subtitle2-font-size","",ee.fontSize,"14px"),Se=Oo.extend("--ft-typography-subtitle2-font-weight","",ee.fontWeight,"normal"),we=Oo.extend("--ft-typography-subtitle2-letter-spacing","",ee.letterSpacing,"0.098px"),Ce=Oo.extend("--ft-typography-subtitle2-line-height","",ee.lineHeight,"1.7"),$e=Oo.extend("--ft-typography-subtitle2-text-transform","",ee.textTransform,"inherit"),Re=Oo.extend("--ft-typography-body1-font-family","",oe),Ee=Oo.extend("--ft-typography-body1-font-size","",ee.fontSize,"16px"),Ue=Oo.extend("--ft-typography-body1-font-weight","",ee.fontWeight,"normal"),ke=Oo.extend("--ft-typography-body1-letter-spacing","",ee.letterSpacing,"0.496px"),Ie=Oo.extend("--ft-typography-body1-line-height","",ee.lineHeight,"1.5"),We=Oo.extend("--ft-typography-body1-text-transform","",ee.textTransform,"inherit"),Le=Oo.extend("--ft-typography-body2-font-family","",oe),Ke=Oo.extend("--ft-typography-body2-font-size","",ee.fontSize,"14px"),ze=Oo.extend("--ft-typography-body2-font-weight","",ee.fontWeight,"normal"),Ze=Oo.extend("--ft-typography-body2-letter-spacing","",ee.letterSpacing,"0.252px"),Fe=Oo.extend("--ft-typography-body2-line-height","",ee.lineHeight,"1.4"),Be=Oo.extend("--ft-typography-body2-text-transform","",ee.textTransform,"inherit"),Me=Oo.extend("--ft-typography-caption-font-family","",oe),Ae=Oo.extend("--ft-typography-caption-font-size","",ee.fontSize,"12px"),De=Oo.extend("--ft-typography-caption-font-weight","",ee.fontWeight,"normal"),Pe=Oo.extend("--ft-typography-caption-letter-spacing","",ee.letterSpacing,"0.396px"),He=Oo.extend("--ft-typography-caption-line-height","",ee.lineHeight,"1.33"),je=Oo.extend("--ft-typography-caption-text-transform","",ee.textTransform,"inherit"),Te=Oo.extend("--ft-typography-breadcrumb-font-family","",oe),_e=Oo.extend("--ft-typography-breadcrumb-font-size","",ee.fontSize,"10px"),Ge=Oo.extend("--ft-typography-breadcrumb-font-weight","",ee.fontWeight,"normal"),Ye=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",ee.letterSpacing,"0.33px"),Ve=Oo.extend("--ft-typography-breadcrumb-line-height","",ee.lineHeight,"1.6"),Je=Oo.extend("--ft-typography-breadcrumb-text-transform","",ee.textTransform,"inherit"),qe=Oo.extend("--ft-typography-overline-font-family","",oe),Xe=Oo.extend("--ft-typography-overline-font-size","",ee.fontSize,"10px"),Qe=Oo.extend("--ft-typography-overline-font-weight","",ee.fontWeight,"normal"),ti=Oo.extend("--ft-typography-overline-letter-spacing","",ee.letterSpacing,"1.5px"),oi=Oo.extend("--ft-typography-overline-line-height","",ee.lineHeight,"1.6"),ei=Oo.extend("--ft-typography-overline-text-transform","",ee.textTransform,"uppercase"),ii={fontFamily:Oo.extend("--ft-typography-button-font-family","",oe),fontSize:Oo.extend("--ft-typography-button-font-size","",ee.fontSize,"14px"),fontWeight:Oo.extend("--ft-typography-button-font-weight","",ee.fontWeight,"600"),letterSpacing:Oo.extend("--ft-typography-button-letter-spacing","",ee.letterSpacing,"1.246px"),lineHeight:Oo.extend("--ft-typography-button-line-height","",ee.lineHeight,"1.15"),textTransform:Oo.extend("--ft-typography-button-text-transform","",ee.textTransform,"uppercase")},ri=mt`
|
|
240
260
|
.ft-typography--title {
|
|
241
|
-
font-family: ${
|
|
242
|
-
font-size: ${
|
|
243
|
-
font-weight: ${
|
|
244
|
-
letter-spacing: ${
|
|
245
|
-
line-height: ${
|
|
246
|
-
text-transform: ${
|
|
247
|
-
}
|
|
248
|
-
`,
|
|
261
|
+
font-family: ${ie};
|
|
262
|
+
font-size: ${re};
|
|
263
|
+
font-weight: ${ne};
|
|
264
|
+
letter-spacing: ${ae};
|
|
265
|
+
line-height: ${se};
|
|
266
|
+
text-transform: ${le};
|
|
267
|
+
}
|
|
268
|
+
`,ni=mt`
|
|
249
269
|
.ft-typography--title-dense {
|
|
250
|
-
font-family: ${
|
|
251
|
-
font-size: ${
|
|
252
|
-
font-weight: ${
|
|
253
|
-
letter-spacing: ${
|
|
254
|
-
line-height: ${
|
|
255
|
-
text-transform: ${
|
|
256
|
-
}
|
|
257
|
-
`,
|
|
270
|
+
font-family: ${ce};
|
|
271
|
+
font-size: ${pe};
|
|
272
|
+
font-weight: ${fe};
|
|
273
|
+
letter-spacing: ${he};
|
|
274
|
+
line-height: ${de};
|
|
275
|
+
text-transform: ${ue};
|
|
276
|
+
}
|
|
277
|
+
`,ai=mt`
|
|
258
278
|
.ft-typography--subtitle1 {
|
|
259
|
-
font-family: ${
|
|
260
|
-
font-size: ${
|
|
261
|
-
font-weight: ${
|
|
262
|
-
letter-spacing: ${
|
|
263
|
-
line-height: ${
|
|
264
|
-
text-transform: ${
|
|
265
|
-
}
|
|
266
|
-
`,
|
|
279
|
+
font-family: ${ye};
|
|
280
|
+
font-size: ${ge};
|
|
281
|
+
font-weight: ${be};
|
|
282
|
+
letter-spacing: ${me};
|
|
283
|
+
line-height: ${xe};
|
|
284
|
+
text-transform: ${Oe};
|
|
285
|
+
}
|
|
286
|
+
`,si=mt`
|
|
267
287
|
.ft-typography--subtitle2 {
|
|
268
|
-
font-family: ${
|
|
269
|
-
font-size: ${
|
|
270
|
-
font-weight: ${
|
|
271
|
-
letter-spacing: ${
|
|
272
|
-
line-height: ${
|
|
273
|
-
text-transform: ${
|
|
288
|
+
font-family: ${ve};
|
|
289
|
+
font-size: ${Ne};
|
|
290
|
+
font-weight: ${Se};
|
|
291
|
+
letter-spacing: ${we};
|
|
292
|
+
line-height: ${Ce};
|
|
293
|
+
text-transform: ${$e};
|
|
274
294
|
}
|
|
275
295
|
|
|
276
|
-
`,
|
|
296
|
+
`,li=mt`
|
|
277
297
|
.ft-typography--body1 {
|
|
278
|
-
font-family: ${
|
|
279
|
-
font-size: ${
|
|
280
|
-
font-weight: ${
|
|
281
|
-
letter-spacing: ${
|
|
282
|
-
line-height: ${
|
|
283
|
-
text-transform: ${
|
|
284
|
-
}
|
|
285
|
-
`,
|
|
298
|
+
font-family: ${Re};
|
|
299
|
+
font-size: ${Ee};
|
|
300
|
+
font-weight: ${Ue};
|
|
301
|
+
letter-spacing: ${ke};
|
|
302
|
+
line-height: ${Ie};
|
|
303
|
+
text-transform: ${We};
|
|
304
|
+
}
|
|
305
|
+
`,ci=mt`
|
|
286
306
|
.ft-typography--body2 {
|
|
287
|
-
font-family: ${
|
|
288
|
-
font-size: ${
|
|
289
|
-
font-weight: ${
|
|
290
|
-
letter-spacing: ${
|
|
291
|
-
line-height: ${
|
|
292
|
-
text-transform: ${
|
|
293
|
-
}
|
|
294
|
-
`,
|
|
307
|
+
font-family: ${Le};
|
|
308
|
+
font-size: ${Ke};
|
|
309
|
+
font-weight: ${ze};
|
|
310
|
+
letter-spacing: ${Ze};
|
|
311
|
+
line-height: ${Fe};
|
|
312
|
+
text-transform: ${Be};
|
|
313
|
+
}
|
|
314
|
+
`,pi=mt`
|
|
295
315
|
.ft-typography--caption {
|
|
296
|
-
font-family: ${
|
|
297
|
-
font-size: ${
|
|
298
|
-
font-weight: ${
|
|
299
|
-
letter-spacing: ${
|
|
300
|
-
line-height: ${
|
|
301
|
-
text-transform: ${
|
|
302
|
-
}
|
|
303
|
-
`,
|
|
316
|
+
font-family: ${Me};
|
|
317
|
+
font-size: ${Ae};
|
|
318
|
+
font-weight: ${De};
|
|
319
|
+
letter-spacing: ${Pe};
|
|
320
|
+
line-height: ${He};
|
|
321
|
+
text-transform: ${je};
|
|
322
|
+
}
|
|
323
|
+
`,fi=mt`
|
|
304
324
|
.ft-typography--breadcrumb {
|
|
305
|
-
font-family: ${
|
|
306
|
-
font-size: ${
|
|
307
|
-
font-weight: ${
|
|
308
|
-
letter-spacing: ${
|
|
309
|
-
line-height: ${
|
|
310
|
-
text-transform: ${
|
|
311
|
-
}
|
|
312
|
-
`,
|
|
325
|
+
font-family: ${Te};
|
|
326
|
+
font-size: ${_e};
|
|
327
|
+
font-weight: ${Ge};
|
|
328
|
+
letter-spacing: ${Ye};
|
|
329
|
+
line-height: ${Ve};
|
|
330
|
+
text-transform: ${Je};
|
|
331
|
+
}
|
|
332
|
+
`,hi=mt`
|
|
313
333
|
.ft-typography--overline {
|
|
314
|
-
font-family: ${
|
|
315
|
-
font-size: ${
|
|
316
|
-
font-weight: ${
|
|
317
|
-
letter-spacing: ${
|
|
318
|
-
line-height: ${
|
|
319
|
-
text-transform: ${
|
|
320
|
-
}
|
|
321
|
-
`,
|
|
334
|
+
font-family: ${qe};
|
|
335
|
+
font-size: ${Xe};
|
|
336
|
+
font-weight: ${Qe};
|
|
337
|
+
letter-spacing: ${ti};
|
|
338
|
+
line-height: ${oi};
|
|
339
|
+
text-transform: ${ei};
|
|
340
|
+
}
|
|
341
|
+
`,di=mt`
|
|
322
342
|
.ft-typography--button {
|
|
323
|
-
font-family: ${
|
|
324
|
-
font-size: ${
|
|
325
|
-
font-weight: ${
|
|
326
|
-
letter-spacing: ${
|
|
327
|
-
line-height: ${
|
|
328
|
-
text-transform: ${
|
|
329
|
-
}
|
|
330
|
-
`,
|
|
343
|
+
font-family: ${ii.fontFamily};
|
|
344
|
+
font-size: ${ii.fontSize};
|
|
345
|
+
font-weight: ${ii.fontWeight};
|
|
346
|
+
letter-spacing: ${ii.letterSpacing};
|
|
347
|
+
line-height: ${ii.lineHeight};
|
|
348
|
+
text-transform: ${ii.textTransform};
|
|
349
|
+
}
|
|
350
|
+
`,ui=mt`
|
|
331
351
|
.ft-typography {
|
|
332
352
|
vertical-align: inherit;
|
|
333
353
|
}
|
|
334
|
-
`,
|
|
335
|
-
.ft-typography--${
|
|
354
|
+
`,yi=[Object.keys(So).map((t=>function(t){const o=So[t];return mt`
|
|
355
|
+
.ft-typography--${bt(t)} {
|
|
336
356
|
font-family: ${o.fontFamily};
|
|
337
357
|
font-size: ${o.fontSize};
|
|
338
358
|
font-weight: ${o.fontWeight};
|
|
@@ -340,7 +360,7 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
340
360
|
line-height: ${o.lineHeight};
|
|
341
361
|
text-transform: ${o.textCase};
|
|
342
362
|
}
|
|
343
|
-
`}(t)))],
|
|
363
|
+
`}(t)))],gi={color:Oo.extend("--ft-loader-color","",$o.colorPrimary),size:Oo.create("--ft-loader-size","","SIZE","80px")},bi=mt`
|
|
344
364
|
:host {
|
|
345
365
|
line-height: 0;
|
|
346
366
|
}
|
|
@@ -349,8 +369,8 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
349
369
|
display: inline-block;
|
|
350
370
|
position: relative;
|
|
351
371
|
|
|
352
|
-
width: ${
|
|
353
|
-
height: ${
|
|
372
|
+
width: ${gi.size};
|
|
373
|
+
height: ${gi.size};
|
|
354
374
|
}
|
|
355
375
|
|
|
356
376
|
.ft-loader div {
|
|
@@ -359,7 +379,7 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
359
379
|
width: 25%;
|
|
360
380
|
height: 25%;
|
|
361
381
|
border-radius: 50%;
|
|
362
|
-
background: ${
|
|
382
|
+
background: ${gi.color};
|
|
363
383
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
364
384
|
}
|
|
365
385
|
|
|
@@ -406,10 +426,10 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
406
426
|
transform: translate(0, 0);
|
|
407
427
|
}
|
|
408
428
|
100% {
|
|
409
|
-
transform: translate(calc(0.35 * ${
|
|
429
|
+
transform: translate(calc(0.35 * ${gi.size}), 0);
|
|
410
430
|
}
|
|
411
431
|
}
|
|
412
|
-
`,
|
|
432
|
+
`,mi={size:Oo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Oo.extend("--ft-icon-fluid-topics-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Oo.extend("--ft-icon-file-format-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Oo.extend("--ft-icon-material-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Oo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},xi=mt`
|
|
413
433
|
:host, i.ft-icon {
|
|
414
434
|
display: inline-flex;
|
|
415
435
|
align-items: center;
|
|
@@ -418,14 +438,14 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
418
438
|
}
|
|
419
439
|
|
|
420
440
|
:host {
|
|
421
|
-
width: ${
|
|
422
|
-
height: ${
|
|
441
|
+
width: ${mi.size};
|
|
442
|
+
height: ${mi.size};
|
|
423
443
|
}
|
|
424
444
|
|
|
425
445
|
i.ft-icon {
|
|
426
446
|
width: 100%;
|
|
427
447
|
height: 100%;
|
|
428
|
-
font-size: ${
|
|
448
|
+
font-size: ${mi.size};
|
|
429
449
|
line-height: 1;
|
|
430
450
|
font-weight: normal;
|
|
431
451
|
text-transform: none;
|
|
@@ -436,28 +456,28 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
436
456
|
text-rendering: auto;
|
|
437
457
|
-webkit-font-smoothing: antialiased;
|
|
438
458
|
-moz-osx-font-smoothing: grayscale;
|
|
439
|
-
vertical-align: ${
|
|
459
|
+
vertical-align: ${mi.verticalAlign};
|
|
440
460
|
}
|
|
441
461
|
|
|
442
462
|
i.ft-icon.ft-icon--fluid-topics {
|
|
443
|
-
font-family: ${
|
|
463
|
+
font-family: ${mi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
444
464
|
|
|
445
465
|
/* Ugly fix because font is broken */
|
|
446
|
-
font-size: calc(0.75 * ${
|
|
447
|
-
line-height: ${
|
|
466
|
+
font-size: calc(0.75 * ${mi.size});
|
|
467
|
+
line-height: ${mi.size};
|
|
448
468
|
position: relative;
|
|
449
469
|
top: -4%;
|
|
450
470
|
justify-content: center;
|
|
451
471
|
}
|
|
452
472
|
|
|
453
473
|
.ft-icon--file-format {
|
|
454
|
-
font-family: ${
|
|
474
|
+
font-family: ${mi.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
455
475
|
}
|
|
456
476
|
|
|
457
477
|
.ft-icon--material {
|
|
458
|
-
font-family: ${
|
|
478
|
+
font-family: ${mi.materialFontFamily}, "Material Icons", sans-serif;
|
|
459
479
|
}
|
|
460
|
-
`,
|
|
480
|
+
`,Oi=Oo.extend("--ft-button-color","",$o.colorPrimary),vi={backgroundColor:Oo.extend("--ft-button-background-color","",$o.colorSurface),borderRadius:Oo.extend("--ft-button-border-radius","",$o.borderRadiusL),color:Oi,fontSize:Oo.extend("--ft-button-font-size","",ii.fontSize),iconSize:Oo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Oo.extend("--ft-button-ripple-color","",Oi),verticalPadding:Oo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Oo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Oo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Oo.external($o.colorOpacityDisabled,"Design system")},Ni=Oo.extend("--ft-button-primary-color","",Oo.extend("--ft-button-color","",$o.colorOnPrimary)),Si={backgroundColor:Oo.extend("--ft-button-primary-background-color","",Oo.extend("--ft-button-background-color","",$o.colorPrimary)),color:Ni,rippleColor:Oo.extend("--ft-button-primary-ripple-color","",Ni)},wi=Oo.extend("--ft-button-dense-border-radius","",Oo.extend("--ft-button-border-radius","",$o.borderRadiusM)),Ci=Oo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),$i=Oo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ri=Oo.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ei=[mt`
|
|
461
481
|
:host {
|
|
462
482
|
display: inline-block;
|
|
463
483
|
max-width: 100%;
|
|
@@ -468,7 +488,7 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
468
488
|
box-shadow: 0px 0px 0px transparent;
|
|
469
489
|
border: 0px solid transparent;
|
|
470
490
|
text-shadow: 0px 0px 0px transparent;
|
|
471
|
-
font-size: ${
|
|
491
|
+
font-size: ${vi.fontSize};
|
|
472
492
|
}
|
|
473
493
|
|
|
474
494
|
button:hover {
|
|
@@ -497,31 +517,31 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
497
517
|
border: none;
|
|
498
518
|
pointer-events: auto;
|
|
499
519
|
|
|
500
|
-
--ft-button-internal-line-height: max(calc(${
|
|
501
|
-
--ft-button-internal-color: ${
|
|
502
|
-
${
|
|
503
|
-
${
|
|
520
|
+
--ft-button-internal-line-height: max(calc(${vi.fontSize} + 2px), ${vi.iconSize});
|
|
521
|
+
--ft-button-internal-color: ${vi.color};
|
|
522
|
+
${vo(mi.size,vi.iconSize)};
|
|
523
|
+
${vo(_o.color,vi.rippleColor)};
|
|
504
524
|
|
|
505
|
-
border-radius: ${
|
|
506
|
-
padding: ${
|
|
507
|
-
background-color: ${
|
|
525
|
+
border-radius: ${vi.borderRadius};
|
|
526
|
+
padding: ${vi.verticalPadding} ${vi.horizontalPadding};
|
|
527
|
+
background-color: ${vi.backgroundColor};
|
|
508
528
|
color: var(--ft-button-internal-color);
|
|
509
529
|
-webkit-mask-image: radial-gradient(white, black);
|
|
510
530
|
}
|
|
511
531
|
|
|
512
532
|
.ft-button.ft-button--outlined {
|
|
513
533
|
border: 1px solid var(--ft-button-internal-color);
|
|
514
|
-
padding: calc(${
|
|
534
|
+
padding: calc(${vi.verticalPadding} - 1px) calc(${vi.horizontalPadding} - 1px);
|
|
515
535
|
}
|
|
516
536
|
|
|
517
537
|
.ft-button.ft-button--dense {
|
|
518
|
-
padding: ${
|
|
519
|
-
border-radius: ${
|
|
520
|
-
gap: ${
|
|
538
|
+
padding: ${Ci} ${$i};
|
|
539
|
+
border-radius: ${wi};
|
|
540
|
+
gap: ${Ri};
|
|
521
541
|
}
|
|
522
542
|
|
|
523
543
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
524
|
-
padding: calc(${
|
|
544
|
+
padding: calc(${Ci} - 1px) calc(${$i} - 1px);
|
|
525
545
|
}
|
|
526
546
|
|
|
527
547
|
.ft-button:not([disabled]):hover {
|
|
@@ -529,22 +549,22 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
529
549
|
}
|
|
530
550
|
|
|
531
551
|
.ft-button--round {
|
|
532
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
552
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${vi.verticalPadding});
|
|
533
553
|
}
|
|
534
554
|
|
|
535
555
|
.ft-button--round.ft-button--dense {
|
|
536
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
556
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ci});
|
|
537
557
|
}
|
|
538
558
|
|
|
539
559
|
.ft-button[disabled] {
|
|
540
560
|
filter: grayscale(1);
|
|
541
|
-
opacity: ${
|
|
561
|
+
opacity: ${vi.opacityDisabled};
|
|
542
562
|
}
|
|
543
563
|
|
|
544
564
|
.ft-button.ft-button--primary {
|
|
545
|
-
background-color: ${
|
|
546
|
-
--ft-button-internal-color: ${
|
|
547
|
-
${
|
|
565
|
+
background-color: ${Si.backgroundColor};
|
|
566
|
+
--ft-button-internal-color: ${Si.color};
|
|
567
|
+
${vo(_o.color,Si.rippleColor)};
|
|
548
568
|
}
|
|
549
569
|
|
|
550
570
|
.ft-button:focus {
|
|
@@ -557,13 +577,13 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
557
577
|
white-space: nowrap;
|
|
558
578
|
text-overflow: ellipsis;
|
|
559
579
|
display: block;
|
|
560
|
-
margin: 0 ${
|
|
561
|
-
${
|
|
562
|
-
${
|
|
580
|
+
margin: 0 ${vi.iconPadding};
|
|
581
|
+
${vo(ii.fontSize,"1em")};
|
|
582
|
+
${vo(ii.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
563
583
|
}
|
|
564
584
|
|
|
565
585
|
.ft-button--dense .ft-button--label {
|
|
566
|
-
margin: 0 ${
|
|
586
|
+
margin: 0 ${Ri};
|
|
567
587
|
}
|
|
568
588
|
|
|
569
589
|
.ft-button--label[hidden] {
|
|
@@ -576,13 +596,13 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
576
596
|
}
|
|
577
597
|
|
|
578
598
|
.ft-button--label[hidden] + ft-icon {
|
|
579
|
-
margin: 0 calc(${
|
|
580
|
-
padding: 0 ${
|
|
599
|
+
margin: 0 calc(${vi.horizontalPadding} * -1);
|
|
600
|
+
padding: 0 ${vi.verticalPadding};
|
|
581
601
|
}
|
|
582
602
|
|
|
583
603
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
584
|
-
margin: 0 calc(${
|
|
585
|
-
padding: 0 ${
|
|
604
|
+
margin: 0 calc(${$i} * -1);
|
|
605
|
+
padding: 0 ${Ci};
|
|
586
606
|
}
|
|
587
607
|
|
|
588
608
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -591,39 +611,39 @@ var ht,ut;let yt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
591
611
|
}
|
|
592
612
|
|
|
593
613
|
ft-loader {
|
|
594
|
-
${
|
|
595
|
-
${
|
|
614
|
+
${vo(gi.size,vi.iconSize)};
|
|
615
|
+
${vo(gi.color,"var(--ft-button-internal-color)")};
|
|
596
616
|
}
|
|
597
|
-
`,
|
|
617
|
+
`,Zo],Ui=1,ki=2,Ii=t=>(...o)=>({_$litDirective$:t,values:o});let Wi=class{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)}};
|
|
598
618
|
/**
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
619
|
+
* @license
|
|
620
|
+
* Copyright 2018 Google LLC
|
|
621
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
622
|
+
*/const Li=Ii(class extends Wi{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 X}});var Ki=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 zi extends zo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return to`
|
|
603
623
|
<style>
|
|
604
624
|
.ft-ripple .ft-ripple--effect {
|
|
605
625
|
left: ${this.originX}px;
|
|
606
626
|
top: ${this.originY}px;
|
|
607
627
|
}
|
|
608
628
|
</style>
|
|
609
|
-
<div class="${
|
|
629
|
+
<div class="${Li(t)}">
|
|
610
630
|
<div class="ft-ripple--background"></div>
|
|
611
631
|
<div class="ft-ripple--effect"></div>
|
|
612
632
|
</div>
|
|
613
|
-
`}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"),
|
|
633
|
+
`}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()}}zi.elementDefinitions={},zi.styles=Qo,Ki([C({type:Boolean})],zi.prototype,"primary",void 0),Ki([C({type:Boolean})],zi.prototype,"secondary",void 0),Ki([C({type:Boolean})],zi.prototype,"unbounded",void 0),Ki([C({type:Boolean})],zi.prototype,"activated",void 0),Ki([C({type:Boolean})],zi.prototype,"selected",void 0),Ki([C({type:Boolean})],zi.prototype,"disabled",void 0),Ki([$()],zi.prototype,"hovered",void 0),Ki([$()],zi.prototype,"focused",void 0),Ki([$()],zi.prototype,"pressed",void 0),Ki([$()],zi.prototype,"rippling",void 0),Ki([$()],zi.prototype,"originX",void 0),Ki([$()],zi.prototype,"originY",void 0),Ki([E(".ft-ripple")],zi.prototype,"ripple",void 0),Ki([E(".ft-ripple--effect")],zi.prototype,"rippleEffect",void 0),k("ft-ripple")(zi);
|
|
614
634
|
/**
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
const
|
|
620
|
-
<${
|
|
635
|
+
* @license
|
|
636
|
+
* Copyright 2020 Google LLC
|
|
637
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
638
|
+
*/
|
|
639
|
+
const Zi=Symbol.for(""),Fi=t=>{if(t?.r===Zi)return t?._$litStatic$},Bi=t=>({_$litStatic$:t,r:Zi}),Mi=new Map,Ai=(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=Fi(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=Mi.get(t))&&(a.raw=a,Mi.set(t,o=a)),e=s}return t(o,...e)})(q);var Di;!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"}(Di||(Di={}));var Pi=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 Hi extends zo{constructor(){super(...arguments),this.variant=Di.body1}render(){return this.element?Ai`
|
|
640
|
+
<${Bi(this.element)}
|
|
621
641
|
class="ft-typography ft-typography--${this.variant}">
|
|
622
642
|
<slot></slot>
|
|
623
|
-
</${
|
|
624
|
-
`:
|
|
643
|
+
</${Bi(this.element)}>
|
|
644
|
+
`:Ai`
|
|
625
645
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
626
|
-
`}}
|
|
646
|
+
`}}Hi.styles=[ri,ni,ai,si,li,ci,pi,fi,hi,di,ui,...yi],Pi([C()],Hi.prototype,"element",void 0),Pi([C()],Hi.prototype,"variant",void 0),k("ft-typography")(Hi);const ji=Oo.create("--ft-tooltip-distance","","SIZE","4px"),Ti=Oo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),_i=Oo.create("--ft-tooltip-background-color","","COLOR","#666666"),Gi=Oo.create("--ft-tooltip-z-index","","NUMBER","100"),Yi=Oo.external($o.borderRadiusS,"Design system"),Vi=Oo.create("--ft-tooltip-max-width","","SIZE","150px"),Ji=mt`
|
|
627
647
|
.ft-tooltip--container {
|
|
628
648
|
display: block;
|
|
629
649
|
}
|
|
@@ -638,21 +658,21 @@ const Le=Symbol.for(""),Ke=t=>{if((null==t?void 0:t.r)===Le)return null==t?void
|
|
|
638
658
|
box-sizing: border-box;
|
|
639
659
|
overflow: hidden;
|
|
640
660
|
width: max-content;
|
|
641
|
-
max-width: ${
|
|
661
|
+
max-width: ${Vi};
|
|
642
662
|
text-align: center;
|
|
643
|
-
padding: ${
|
|
644
|
-
z-index: ${
|
|
663
|
+
padding: ${ji};
|
|
664
|
+
z-index: ${Gi};
|
|
645
665
|
}
|
|
646
666
|
|
|
647
667
|
.ft-tooltip--content {
|
|
648
668
|
padding: 4px 8px;
|
|
649
|
-
border-radius: ${
|
|
650
|
-
background-color: ${
|
|
651
|
-
color: ${
|
|
669
|
+
border-radius: ${Yi};
|
|
670
|
+
background-color: ${_i};
|
|
671
|
+
color: ${Ti};
|
|
652
672
|
position: relative;
|
|
653
673
|
word-break: break-word;
|
|
654
674
|
}
|
|
655
|
-
`;var
|
|
675
|
+
`;var qi=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 Xi extends zo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
|
|
656
676
|
<div part="container"
|
|
657
677
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
658
678
|
@mouseenter=${this.onHover}
|
|
@@ -670,54 +690,48 @@ const Le=Symbol.for(""),Ke=t=>{if((null==t?void 0:t.r)===Le)return null==t?void
|
|
|
670
690
|
</div>
|
|
671
691
|
</div>
|
|
672
692
|
</div>
|
|
673
|
-
`}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,
|
|
674
|
-
/**
|
|
675
|
-
* @license
|
|
676
|
-
* Copyright 2017 Google LLC
|
|
677
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
678
|
-
*/
|
|
679
|
-
function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},e?function(t){const{slot:o,selector:e}=null!=t?t:{};return n({descriptor:r=>({get(){var r;const i="slot"+(o?`[name=${o}]`:":not([name])"),n=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(i),a=null!=n?s(n,t):[];return e?a.filter((t=>t.matches(e))):a},enumerable:!0,configurable:!0})})}({slot:i,flatten:o,selector:e}):n({descriptor:t=>({get(){var t,o;const e="slot"+(i?`[name=${i}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(o=null==n?void 0:n.assignedNodes(r))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}("",!0)],Ve.prototype,"slotNodes",void 0),Ye([a(".ft-tooltip--container")],Ve.prototype,"container",void 0),Ye([a(".ft-tooltip")],Ve.prototype,"tooltip",void 0),Ye([a(".ft-tooltip--content")],Ve.prototype,"tooltipContent",void 0),Ye([i()],Ve.prototype,"visible",void 0),p("ft-tooltip")(Ve);
|
|
693
|
+
`}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 f=-l.y,h=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(f,h))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Vi})`}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))}}Xi.elementDefinitions={"ft-typography":Hi},Xi.styles=Ji,qi([C()],Xi.prototype,"text",void 0),qi([C({type:Boolean})],Xi.prototype,"manual",void 0),qi([C({type:Boolean})],Xi.prototype,"inline",void 0),qi([C({type:Number})],Xi.prototype,"delay",void 0),qi([C()],Xi.prototype,"position",void 0),qi([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],Xi.prototype,"slotNodes",void 0),qi([E(".ft-tooltip--container")],Xi.prototype,"container",void 0),qi([E(".ft-tooltip")],Xi.prototype,"tooltip",void 0),qi([E(".ft-tooltip--content")],Xi.prototype,"tooltipContent",void 0),qi([$()],Xi.prototype,"visible",void 0),k("ft-tooltip")(Xi);
|
|
680
694
|
/**
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
class
|
|
695
|
+
* @license
|
|
696
|
+
* Copyright 2017 Google LLC
|
|
697
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
698
|
+
*/
|
|
699
|
+
class Qi extends Wi{constructor(t){if(super(t),this.et=Q,t.type!==ki)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.vt=void 0,this.et=t;if(t===X)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:[]}}}Qi.directiveName="unsafeHTML",Qi.resultType=1;const tr=Ii(Qi);var or,er,ir;!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=""}(or||(or={})),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=""}(er||(er={})),new Map([...["abw"].map((t=>[t,er.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,er.AUDIO])),...["avi"].map((t=>[t,er.AVI])),...["chm","xhs"].map((t=>[t,er.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,er.CODE])),...["csv"].map((t=>[t,er.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,er.DITA])),...["epub"].map((t=>[t,er.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,er.EXCEL])),...["flac"].map((t=>[t,er.FLAC])),...["gif"].map((t=>[t,er.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,er.GZIP])),...["html","htm","xhtml"].map((t=>[t,er.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,er.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,er.JPEG])),...["json"].map((t=>[t,er.JSON])),...["m4a","m4p"].map((t=>[t,er.M4A])),...["mov","qt"].map((t=>[t,er.MOV])),...["mp3"].map((t=>[t,er.MP3])),...["mp4","m4v"].map((t=>[t,er.MP4])),...["ogg","oga"].map((t=>[t,er.OGG])),...["pdf","ps"].map((t=>[t,er.PDF])),...["png"].map((t=>[t,er.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,er.POWERPOINT])),...["rar"].map((t=>[t,er.RAR])),...["stp"].map((t=>[t,er.STP])),...["txt","rtf","md","mdown"].map((t=>[t,er.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,er.VIDEO])),...["wav"].map((t=>[t,er.WAV])),...["wma"].map((t=>[t,er.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,er.WORD])),...["xml","xsl","rdf"].map((t=>[t,er.XML])),...["yaml","yml","x-yaml"].map((t=>[t,er.YAML])),...["zip"].map((t=>[t,er.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ir||(ir={}));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 zo{constructor(){super(...arguments),this.resolvedIcon=eo}render(){const t=this.variant&&Object.values(ir).includes(this.variant)?this.variant:ir.fluid_topics,o=t!==ir.material||!!this.value;return to`
|
|
686
700
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
687
|
-
${
|
|
701
|
+
${tr(this.resolvedIcon)}
|
|
688
702
|
<slot ?hidden=${o}></slot>
|
|
689
703
|
</i>
|
|
690
|
-
`}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
|
|
704
|
+
`}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 ir.file_format:this.resolvedIcon=null!==(t=er[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case ir.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=or[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}nr.elementDefinitions={},nr.styles=xi,rr([C()],nr.prototype,"variant",void 0),rr([C()],nr.prototype,"value",void 0),rr([$()],nr.prototype,"resolvedIcon",void 0),rr([E("slot")],nr.prototype,"slottedContent",void 0),k("ft-icon")(nr);class ar extends zo{render(){return to`
|
|
691
705
|
<div class="ft-loader">
|
|
692
706
|
<div></div>
|
|
693
707
|
<div></div>
|
|
694
708
|
<div></div>
|
|
695
709
|
<div></div>
|
|
696
710
|
</div>
|
|
697
|
-
`}}
|
|
711
|
+
`}}ar.styles=bi,k("ft-loader")(ar);var sr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class lr extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Bo].form}constructor(...t){super(t),this[Bo]=this.attachInternals(),this[Bo].role=o}setFormValue(t){this[Bo].setFormValue(t)}}}(zo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(to`
|
|
698
712
|
<button part="button"
|
|
699
|
-
class="${
|
|
713
|
+
class="${Li(this.buttonClasses)}"
|
|
700
714
|
aria-label="${this.getLabel()}"
|
|
701
715
|
?disabled=${this.isDisabled()}>
|
|
702
716
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
703
717
|
<ft-typography part="label"
|
|
704
718
|
variant=${this.typographyVariant}
|
|
705
719
|
element="span"
|
|
706
|
-
class="ft-button--label ${
|
|
720
|
+
class="ft-button--label ${Po?"ft-safari-ellipsis-fix":""}"
|
|
707
721
|
?hidden=${!this.hasTextContent()}>
|
|
708
722
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
709
723
|
</ft-typography>
|
|
710
724
|
${this.resolveIcon()}
|
|
711
725
|
</button>
|
|
712
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
726
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?to`
|
|
713
727
|
<ft-tooltip part="tooltip"
|
|
714
728
|
text="${this.getLabel()}"
|
|
715
729
|
position="${this.tooltipPosition}">
|
|
716
730
|
${t}
|
|
717
731
|
</ft-tooltip>
|
|
718
|
-
`:t}resolveIcon(){return this.loading?
|
|
719
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
720
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
732
|
+
`:t}resolveIcon(){return this.loading?to`
|
|
733
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?to`
|
|
734
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}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}}lr.elementDefinitions={"ft-ripple":zi,"ft-tooltip":Xi,"ft-typography":Hi,"ft-icon":nr,"ft-loader":ar},sr([C({type:String,reflect:!0})],lr.prototype,"role",void 0),sr([C()],lr.prototype,"type",void 0),sr([C({type:Boolean})],lr.prototype,"disabled",void 0),sr([C()],lr.prototype,"label",void 0),sr([C()],lr.prototype,"icon",void 0),sr([C()],lr.prototype,"iconVariant",void 0),sr([C({type:Boolean})],lr.prototype,"trailingIcon",void 0),sr([C({type:Boolean})],lr.prototype,"loading",void 0),sr([C()],lr.prototype,"tooltipPosition",void 0),sr([C({type:Boolean})],lr.prototype,"hideTooltip",void 0),sr([C({type:Boolean})],lr.prototype,"forceTooltip",void 0),sr([E(".ft-button")],lr.prototype,"button",void 0),sr([E(".ft-button--label slot")],lr.prototype,"slottedContent",void 0);var cr=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 pr extends lr{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"}}pr.styles=[Fo,Ei],cr([C({type:Boolean})],pr.prototype,"primary",void 0),cr([C({type:Boolean})],pr.prototype,"outlined",void 0),cr([C({type:Boolean})],pr.prototype,"dense",void 0),cr([C({type:Boolean})],pr.prototype,"round",void 0);const fr=[mt`
|
|
721
735
|
:host {
|
|
722
736
|
display: inline-block;
|
|
723
737
|
max-width: 100%;
|
|
@@ -767,7 +781,7 @@ class Je extends ke{constructor(t){if(super(t),this.et=X,t.type!==Re)throw Error
|
|
|
767
781
|
}
|
|
768
782
|
|
|
769
783
|
.ft-button:focus-visible {
|
|
770
|
-
outline-color: ${
|
|
784
|
+
outline-color: ${Co.focusFocusRingColor};
|
|
771
785
|
outline-style: solid;
|
|
772
786
|
}
|
|
773
787
|
|
|
@@ -796,146 +810,146 @@ class Je extends ke{constructor(t){if(super(t),this.et=X,t.type!==Re)throw Error
|
|
|
796
810
|
/** Primary styles **/
|
|
797
811
|
|
|
798
812
|
.ft-button--primary {
|
|
799
|
-
${
|
|
813
|
+
${vo(gi.color,Co.primaryIconColor)};
|
|
800
814
|
|
|
801
|
-
${
|
|
802
|
-
${
|
|
803
|
-
${
|
|
804
|
-
${
|
|
805
|
-
${
|
|
815
|
+
${vo(_o.color,Co.primaryStateLayerColor)};
|
|
816
|
+
${vo(_o.opacityContentOnSurfaceHover,Co.primaryStateLayerOpacityHover)};
|
|
817
|
+
${vo(_o.opacityContentOnSurfaceFocused,Co.primaryStateLayerOpacityFocus)};
|
|
818
|
+
${vo(_o.opacityContentOnSurfaceSelected,Co.primaryStateLayerOpacityActive)};
|
|
819
|
+
${vo(_o.opacityContentOnSurfacePressed,Co.primaryStateLayerOpacityActive)};
|
|
806
820
|
|
|
807
|
-
background-color: ${
|
|
808
|
-
color: ${
|
|
821
|
+
background-color: ${Co.primaryBackgroundColor};
|
|
822
|
+
color: ${Co.primaryColor};
|
|
809
823
|
border-style: none;
|
|
810
824
|
}
|
|
811
825
|
|
|
812
826
|
.ft-button--primary[disabled] {
|
|
813
|
-
opacity: ${
|
|
827
|
+
opacity: ${Co.primaryComponentOpacityDisabled};
|
|
814
828
|
}
|
|
815
829
|
|
|
816
830
|
.ft-button--primary ft-icon {
|
|
817
|
-
color: ${
|
|
831
|
+
color: ${Co.primaryIconColor};
|
|
818
832
|
}
|
|
819
833
|
|
|
820
834
|
/** Secondary styles **/
|
|
821
835
|
|
|
822
836
|
.ft-button--secondary {
|
|
823
|
-
${
|
|
837
|
+
${vo(gi.color,Co.secondaryIconColor)};
|
|
824
838
|
|
|
825
|
-
${
|
|
826
|
-
${
|
|
827
|
-
${
|
|
828
|
-
${
|
|
829
|
-
${
|
|
839
|
+
${vo(_o.color,Co.secondaryStateLayerColor)};
|
|
840
|
+
${vo(_o.opacityContentOnSurfaceHover,Co.secondaryStateLayerOpacityHover)};
|
|
841
|
+
${vo(_o.opacityContentOnSurfaceFocused,Co.secondaryStateLayerOpacityFocus)};
|
|
842
|
+
${vo(_o.opacityContentOnSurfaceSelected,Co.secondaryStateLayerOpacityActive)};
|
|
843
|
+
${vo(_o.opacityContentOnSurfacePressed,Co.secondaryStateLayerOpacityActive)};
|
|
830
844
|
|
|
831
|
-
background-color: ${
|
|
832
|
-
color: ${
|
|
833
|
-
border-color: ${
|
|
845
|
+
background-color: ${Co.secondaryBackgroundColor};
|
|
846
|
+
color: ${Co.secondaryColor};
|
|
847
|
+
border-color: ${Co.secondaryBorderColor};
|
|
834
848
|
border-style: solid;
|
|
835
849
|
}
|
|
836
850
|
|
|
837
851
|
.ft-button--secondary[disabled] {
|
|
838
|
-
opacity: ${
|
|
852
|
+
opacity: ${Co.secondaryComponentOpacityDisabled};
|
|
839
853
|
}
|
|
840
854
|
|
|
841
855
|
.ft-button--secondary ft-icon {
|
|
842
|
-
color: ${
|
|
856
|
+
color: ${Co.secondaryIconColor};
|
|
843
857
|
}
|
|
844
858
|
|
|
845
859
|
/** Tertiary styles **/
|
|
846
860
|
|
|
847
861
|
.ft-button--tertiary {
|
|
848
|
-
${
|
|
862
|
+
${vo(gi.color,Co.tertiaryIconColor)};
|
|
849
863
|
|
|
850
|
-
${
|
|
851
|
-
${
|
|
852
|
-
${
|
|
853
|
-
${
|
|
854
|
-
${
|
|
864
|
+
${vo(_o.color,Co.tertiaryStateLayerColor)};
|
|
865
|
+
${vo(_o.opacityContentOnSurfaceHover,Co.tertiaryStateLayerOpacityHover)};
|
|
866
|
+
${vo(_o.opacityContentOnSurfaceFocused,Co.tertiaryStateLayerOpacityFocus)};
|
|
867
|
+
${vo(_o.opacityContentOnSurfaceSelected,Co.tertiaryStateLayerOpacityActive)};
|
|
868
|
+
${vo(_o.opacityContentOnSurfacePressed,Co.tertiaryStateLayerOpacityActive)};
|
|
855
869
|
|
|
856
|
-
background-color: ${
|
|
857
|
-
color: ${
|
|
870
|
+
background-color: ${Co.tertiaryBackgroundColor};
|
|
871
|
+
color: ${Co.tertiaryColor};
|
|
858
872
|
border-style: none;
|
|
859
873
|
}
|
|
860
874
|
|
|
861
875
|
.ft-button--tertiary[disabled] {
|
|
862
|
-
opacity: ${
|
|
876
|
+
opacity: ${Co.tertiaryComponentOpacityDisabled};
|
|
863
877
|
}
|
|
864
878
|
|
|
865
879
|
.ft-button--tertiary ft-icon {
|
|
866
|
-
color: ${
|
|
880
|
+
color: ${Co.tertiaryIconColor};
|
|
867
881
|
}
|
|
868
882
|
|
|
869
883
|
/** Neutral styles **/
|
|
870
884
|
|
|
871
885
|
.ft-button--neutral {
|
|
872
|
-
${
|
|
886
|
+
${vo(gi.color,Co.neutralIconColor)};
|
|
873
887
|
|
|
874
|
-
${
|
|
875
|
-
${
|
|
876
|
-
${
|
|
877
|
-
${
|
|
878
|
-
${
|
|
888
|
+
${vo(_o.backgroundColor,Co.neutralStateLayerColor)};
|
|
889
|
+
${vo(_o.opacityContentOnSurfaceHover,Co.neutralStateLayerOpacityHover)};
|
|
890
|
+
${vo(_o.opacityContentOnSurfaceFocused,Co.neutralStateLayerOpacityFocus)};
|
|
891
|
+
${vo(_o.opacityContentOnSurfaceSelected,Co.neutralStateLayerOpacityActive)};
|
|
892
|
+
${vo(_o.opacityContentOnSurfacePressed,Co.neutralStateLayerOpacityActive)};
|
|
879
893
|
|
|
880
|
-
background-color: ${
|
|
881
|
-
color: ${
|
|
894
|
+
background-color: ${Co.neutralBackgroundColor};
|
|
895
|
+
color: ${Co.neutralColor};
|
|
882
896
|
border-style: none;
|
|
883
897
|
}
|
|
884
898
|
|
|
885
899
|
.ft-button--neutral[disabled] {
|
|
886
|
-
opacity: ${
|
|
900
|
+
opacity: ${Co.neutralComponentOpacityDisabled};
|
|
887
901
|
}
|
|
888
902
|
|
|
889
903
|
.ft-button--neutral ft-icon {
|
|
890
|
-
color: ${
|
|
904
|
+
color: ${Co.neutralIconColor};
|
|
891
905
|
}
|
|
892
906
|
|
|
893
907
|
/** Large styles **/
|
|
894
908
|
|
|
895
909
|
.ft-button--large {
|
|
896
|
-
${
|
|
897
|
-
${
|
|
898
|
-
|
|
899
|
-
height: ${
|
|
900
|
-
padding: 0 ${
|
|
901
|
-
gap: ${
|
|
902
|
-
border-radius: ${
|
|
903
|
-
border-width: ${
|
|
910
|
+
${vo(mi.size,Co.largeIconSize)};
|
|
911
|
+
${vo(gi.size,Co.largeIconSize)};
|
|
912
|
+
|
|
913
|
+
height: ${Co.largeHeight};
|
|
914
|
+
padding: 0 ${Co.largeHorizontalPadding};
|
|
915
|
+
gap: ${Co.largeGap};
|
|
916
|
+
border-radius: ${Co.largeBorderRadius};
|
|
917
|
+
border-width: ${Co.largeBorderWidth};
|
|
904
918
|
}
|
|
905
919
|
|
|
906
920
|
.ft-button--large:focus-visible {
|
|
907
|
-
outline-width: ${
|
|
908
|
-
outline-offset: ${
|
|
921
|
+
outline-width: ${Co.largeFocusOutlineWidth};
|
|
922
|
+
outline-offset: ${Co.largeFocusOutlineOffset};
|
|
909
923
|
}
|
|
910
924
|
|
|
911
925
|
.ft-button--large.ft-button--icon-only {
|
|
912
|
-
width: ${
|
|
926
|
+
width: ${Co.largeIconOnlyWidth};
|
|
913
927
|
padding: unset;
|
|
914
928
|
}
|
|
915
929
|
|
|
916
930
|
/** Small styles **/
|
|
917
931
|
|
|
918
932
|
.ft-button--small {
|
|
919
|
-
${
|
|
920
|
-
${
|
|
921
|
-
|
|
922
|
-
height: ${
|
|
923
|
-
padding: 0 ${
|
|
924
|
-
gap: ${
|
|
925
|
-
border-radius: ${
|
|
926
|
-
border-width: ${
|
|
933
|
+
${vo(mi.size,Co.smallIconSize)};
|
|
934
|
+
${vo(gi.size,Co.smallIconSize)};
|
|
935
|
+
|
|
936
|
+
height: ${Co.smallHeight};
|
|
937
|
+
padding: 0 ${Co.smallHorizontalPadding};
|
|
938
|
+
gap: ${Co.smallGap};
|
|
939
|
+
border-radius: ${Co.smallBorderRadius};
|
|
940
|
+
border-width: ${Co.smallBorderWidth};
|
|
927
941
|
}
|
|
928
942
|
|
|
929
943
|
.ft-button--small:focus-visible {
|
|
930
|
-
outline-width: ${
|
|
931
|
-
outline-offset: ${
|
|
944
|
+
outline-width: ${Co.smallFocusOutlineWidth};
|
|
945
|
+
outline-offset: ${Co.smallFocusOutlineOffset};
|
|
932
946
|
}
|
|
933
947
|
|
|
934
948
|
.ft-button--small.ft-button--icon-only {
|
|
935
|
-
width: ${
|
|
949
|
+
width: ${Co.smallIconOnlyWidth};
|
|
936
950
|
padding: unset;
|
|
937
951
|
}
|
|
938
|
-
`,
|
|
952
|
+
`,Zo];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 dr extends lr{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?Di.caption1medium:Di.body2medium}}dr.styles=[Fo,fr],hr([C({type:Boolean})],dr.prototype,"primary",void 0),hr([C({type:Boolean})],dr.prototype,"secondary",void 0),hr([C({type:Boolean})],dr.prototype,"tertiary",void 0),hr([C({type:Boolean})],dr.prototype,"neutral",void 0),hr([C({type:Boolean})],dr.prototype,"small",void 0),k("ft-button")(pr),k("ftds-button")(dr);const ur={iconColor:Oo.extend("--ft-floating-menu-icon-color","",$o.colorOnSurfaceMedium)},yr=mt`
|
|
939
953
|
.ft-floating-menu-item {
|
|
940
954
|
cursor: pointer;
|
|
941
955
|
display: flex;
|
|
@@ -950,7 +964,7 @@ class Je extends ke{constructor(t){if(super(t),this.et=X,t.type!==Re)throw Error
|
|
|
950
964
|
}
|
|
951
965
|
|
|
952
966
|
.ft-floating-menu-item ft-icon {
|
|
953
|
-
color: ${
|
|
967
|
+
color: ${ur.iconColor};
|
|
954
968
|
margin-left: 0;
|
|
955
969
|
flex-shrink: 0;
|
|
956
970
|
flex-grow: 0;
|
|
@@ -965,19 +979,19 @@ class Je extends ke{constructor(t){if(super(t),this.et=X,t.type!==Re)throw Error
|
|
|
965
979
|
word-break: break-word;
|
|
966
980
|
hyphens: auto;
|
|
967
981
|
}
|
|
968
|
-
`;var
|
|
982
|
+
`;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 CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class mr extends zo{constructor(){super(...arguments),this.value=""}render(){return to`
|
|
969
983
|
<div class="ft-floating-menu-item"
|
|
970
984
|
@click=${this.onClick}>
|
|
971
985
|
<ft-ripple></ft-ripple>
|
|
972
|
-
${this.icon?
|
|
986
|
+
${this.icon?to`
|
|
973
987
|
<ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
974
|
-
`:
|
|
988
|
+
`:eo}
|
|
975
989
|
<ft-typography variant="body2">
|
|
976
990
|
<slot></slot>
|
|
977
991
|
</ft-typography>
|
|
978
992
|
</div>
|
|
979
|
-
`}onClick(t){this.dispatchEvent(new
|
|
980
|
-
<div class="${
|
|
993
|
+
`}onClick(t){this.dispatchEvent(new br(this.value))}}mr.elementDefinitions={"ft-icon":nr,"ft-ripple":zi,"ft-typography":Hi},mr.styles=yr,gr([C()],mr.prototype,"iconVariant",void 0),gr([C()],mr.prototype,"icon",void 0),gr([C()],mr.prototype,"value",void 0);var xr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Or extends zo{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=ir.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptions=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container),this.menuOpen||document.removeEventListener("click",this.hideOptions)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return to`
|
|
994
|
+
<div class="${Li(t)}">
|
|
981
995
|
|
|
982
996
|
<slot name="toggle"
|
|
983
997
|
part="toggle"
|
|
@@ -1012,4 +1026,4 @@ class Je extends ke{constructor(t){if(super(t),this.et=X,t.type!==Re)throw Error
|
|
|
1012
1026
|
</div>
|
|
1013
1027
|
</div>
|
|
1014
1028
|
</div>
|
|
1015
|
-
`}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,o,e){if(o.length>0){const
|
|
1029
|
+
`}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,o,e){if(o.length>0){const i=t.composedPath();for(let t of i){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1})(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((o=>t.has(o)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}positionMenuWrapper(){const t=this.menuContent.offsetWidth,o=this.menuContent.offsetHeight,e=this.actionButton.offsetWidth,i=this.actionButton.offsetHeight;let r=0,n=0;switch(this.menuWrapper.style.left="0",this.menuWrapper.style.top="0",this.horizontalAlignment){case"left":r=this.actionButton.offsetLeft-this.menuWrapper.offsetLeft;break;case"right":r=this.actionButton.offsetLeft+e-t-this.menuWrapper.offsetLeft;break;case"center":r=this.actionButton.offsetLeft+e/2-t/2-this.menuWrapper.offsetLeft}switch(this.verticalAlignment){case"bottom":n=this.actionButton.offsetTop+i+4-this.menuWrapper.offsetTop;break;case"top":n=this.actionButton.offsetTop-o-4-this.menuWrapper.offsetTop}const a=this.menuWrapper.style;a.left=r+"px",a.top=n+"px";const s=this.menuWrapper.getBoundingClientRect();let l=-s.x,c=s.x+s.width-window.innerWidth;a.left=r+Math.round(this.correctOutOfWindowPixels(l,c))+"px";let p=-s.y,f=s.y+s.height-window.innerHeight;a.top=n+Math.round(this.correctOutOfWindowPixels(p,f))+"px",this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Or.elementDefinitions={"ft-floating-menu-item":mr},xr([$()],Or.prototype,"menuOpen",void 0),xr([$()],Or.prototype,"forceMenuOpen",void 0),xr([E(".ft-floating-menu")],Or.prototype,"container",void 0),xr([E(".ft-floating-menu--wrapper")],Or.prototype,"menuWrapper",void 0),xr([E("#ft-floating-menu-options")],Or.prototype,"menuContent",void 0),xr([E("#actions-button")],Or.prototype,"actionButton",void 0),xr([C({type:Boolean})],Or.prototype,"primary",void 0),xr([C({type:Boolean})],Or.prototype,"secondary",void 0),xr([C({type:Boolean})],Or.prototype,"tertiary",void 0),xr([C({type:Boolean})],Or.prototype,"neutral",void 0),xr([C({type:Boolean})],Or.prototype,"small",void 0),xr([C()],Or.prototype,"label",void 0),xr([C()],Or.prototype,"tooltipPosition",void 0),xr([C()],Or.prototype,"iconVariant",void 0),xr([C()],Or.prototype,"icon",void 0),xr([C()],Or.prototype,"text",void 0),xr([C()],Or.prototype,"horizontalAlignment",void 0),xr([C()],Or.prototype,"verticalAlignment",void 0),xr([C({type:Boolean})],Or.prototype,"disabled",void 0),xr([I([])],Or.prototype,"closeMenuMatchers",void 0);class vr extends Or{}vr.elementDefinitions={"ft-or-ftds-button":pr},vr.styles=jo;class Nr extends Or{}Nr.elementDefinitions={"ft-or-ftds-button":dr},Nr.styles=jo,k("ft-floating-menu")(vr),k("ftds-floating-menu")(Nr),k("ft-floating-menu-item")(mr),t.FtFloatingMenu=vr,t.FtFloatingMenuCssVariables=Ho,t.FtFloatingMenuItem=mr,t.FtFloatingMenuItemCssVariables=ur,t.FtFloatingMenuItemSelect=br,t.FtdsFloatingMenu=Nr,t.itemStyles=yr,t.styles=jo}({});
|