@fluid-topics/ft-snap-scroll 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-snap-scroll.light.js +61 -61
- package/build/ft-snap-scroll.min.js +131 -131
- package/package.json +4 -4
|
@@ -12,77 +12,77 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,
|
|
15
|
+
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,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,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 s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};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 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(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=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),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=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 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)}},h=(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)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},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),i.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 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&&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 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)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));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(Ji){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)}}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
19
19
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/const
|
|
20
|
+
*/const o=globalThis,e=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;const n=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(e&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=i.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&i.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return n(o)})(t):t
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:
|
|
25
|
+
*/,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:p,getOwnPropertySymbols:f,getPrototypeOf:h}=Object,d=globalThis,u=d.trustedTypes,y=u?u.emptyScript:"",g=d.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?y: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}},x=(t,o)=>!s(t,o),O={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;let v=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&l(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=c(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,o=[...p(t),...f(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(a(t))}else void 0!==t&&o.push(a(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,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),i=o.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=e.cssText,t.appendChild(r)}})(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),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:m).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??x)(r?i: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){}};v.elementStyles=[],v.shadowRootOptions={mode:"open"},v[b("elementProperties")]=new Map,v[b("finalized")]=new Map,g?.({ReactiveElement:v}),(d.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const
|
|
31
|
+
const N={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},S=(t=N,o,e)=>{const{kind:r,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const i=this[r];o.call(this,e),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function w(t){return(o,e)=>"object"==typeof e?S(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
35
35
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
*/}function
|
|
36
|
+
*/}function C(t){return w({...t,state:!0,attribute:!1})}
|
|
37
37
|
/**
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/const
|
|
41
|
+
*/const $=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
42
42
|
/**
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
*/;function
|
|
46
|
+
*/;function R(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return $(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 $(0,0,{get(){return n(this)}})}}
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
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
|
|
51
|
+
*/class E{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}}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,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!U(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!U(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[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=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];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)};
|
|
52
52
|
/**
|
|
53
53
|
* @license
|
|
54
54
|
* Copyright 2017 Google LLC
|
|
55
55
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
56
|
*/
|
|
57
|
-
const
|
|
57
|
+
const I=globalThis,L=I.trustedTypes,W=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,F="?"+K,Z=`<${F}>`,B=document,A=()=>B.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,P="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,j=/>/g,_=RegExp(`>|${P}(?:([^\\s"'>=/]+)(${P}*=${P}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,Y=/"/g,V=/^(?:script|style|textarea|title)$/i,J=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),q=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Q=new WeakMap,tt=B.createTreeWalker(B,129);function ot(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==W?W.createHTML(o):o}let et=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=((t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=H;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===H?"!--"===l[1]?a=T:void 0!==l[1]?a=j:void 0!==l[2]?(V.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=_):void 0!==l[3]&&(a=_):a===_?">"===l[0]?(a=i??H,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?_:'"'===l[3]?Y:G):a===Y||a===G?a=_:a===T||a===j?a=H:(a=_,i=void 0);const f=a===_&&t[o+1].startsWith("/>")?" ":"";n+=a===H?e+Z:c>=0?(r.push(s),e.slice(0,c)+z+e.slice(c)+K+f):e+K+(-2===c?o:f)}return[ot(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(o,e);if(this.el=t.createElement(c,r),tt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=tt.nextNode())&&l.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(z)){const o=p[a++],e=i.getAttribute(t).split(K),r=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?at:"?"===r[1]?st:"@"===r[1]?lt:nt}),i.removeAttribute(t)}else t.startsWith(K)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(V.test(i.tagName)){const t=i.textContent.split(K),o=t.length-1;if(o>0){i.textContent=L?L.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],A()),tt.nextNode(),l.push({type:2,index:++n});i.append(t[o],A())}}}else if(8===i.nodeType)if(i.data===F)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(K,t+1));)l.push({type:7,index:n}),t+=K.length-1}n++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}};function rt(t,o,e=t,r){if(o===q)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=D(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=rt(t,i._$AS(t,o.values),i,r)),o}let it=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.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===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=>M(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==X&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=et.createElement(ot(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)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,r=(t?.creationScope??B).importNode(o,!0);tt.currentNode=r;let i=tt.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new it(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new ct(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=tt.nextNode(),n++)}return tt.currentNode=B,r}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++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new et(t)),o}T(o){M(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(A()),this.k(A()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.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))}},nt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}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}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=rt(this,t,o,0),n=!D(t)||t!==this._$AH&&t!==q,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=rt(this,r[e+a],o,a),s===q&&(s=this._$AH[a]),n||=!D(s)||s!==this._$AH[a],s===X?t=X:t!==X&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},at=class extends nt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===X?void 0:t}},st=class extends nt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},lt=class extends nt{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=rt(this,t,o,0)??X)===q)return;const e=this._$AH,r=t===X&&e!==X||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==X&&(e===X||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ct=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){rt(this,t)}};const pt=I.litHtmlPolyfillSupport;pt?.(et,it),(I.litHtmlVersions??=[]).push("3.1.0");
|
|
58
58
|
/**
|
|
59
59
|
* @license
|
|
60
60
|
* Copyright 2019 Google LLC
|
|
61
61
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
62
62
|
*/
|
|
63
|
-
const ft=globalThis,ht=ft.ShadowRoot&&(void 0===ft.ShadyCSS||ft.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,dt=Symbol(),ut=new WeakMap;let yt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==dt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(ht&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=ut.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&ut.set(o,t))}return t}toString(){return this.cssText}};const gt=t=>new yt("string"==typeof t?t:t+"",void 0,dt),bt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,
|
|
63
|
+
const ft=globalThis,ht=ft.ShadowRoot&&(void 0===ft.ShadyCSS||ft.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,dt=Symbol(),ut=new WeakMap;let yt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==dt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(ht&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=ut.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&ut.set(o,t))}return t}toString(){return this.cssText}};const gt=t=>new yt("string"==typeof t?t:t+"",void 0,dt),bt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>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[r+1]),t[0]);return new yt(e,t,dt)},mt=ht?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return gt(o)})(t):t
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
66
66
|
* Copyright 2017 Google LLC
|
|
67
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
*/,{is:xt,defineProperty:Ot,getOwnPropertyDescriptor:vt,getOwnPropertyNames:Nt,getOwnPropertySymbols:St,getPrototypeOf:wt}=Object,Ct=globalThis,$t=Ct.trustedTypes,Rt=$t?$t.emptyScript:"",Et=Ct.reactiveElementPolyfillSupport,Ut=(t,o)=>t,
|
|
68
|
+
*/,{is:xt,defineProperty:Ot,getOwnPropertyDescriptor:vt,getOwnPropertyNames:Nt,getOwnPropertySymbols:St,getPrototypeOf:wt}=Object,Ct=globalThis,$t=Ct.trustedTypes,Rt=$t?$t.emptyScript:"",Et=Ct.reactiveElementPolyfillSupport,Ut=(t,o)=>t,kt={toAttribute(t,o){switch(o){case Boolean:t=t?Rt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},It=(t,o)=>!xt(t,o),Lt={attribute:!0,type:String,converter:kt,reflect:!1,hasChanged:It};Symbol.metadata??=Symbol("metadata"),Ct.litPropertyMetadata??=new WeakMap;class Wt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Lt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Ot(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=vt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Lt}static _$Ei(){if(this.hasOwnProperty(Ut("elementProperties")))return;const t=wt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ut("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ut("properties"))){const t=this.properties,o=[...Nt(t),...St(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(mt(t))}else void 0!==t&&o.push(mt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(ht)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=ft.litNonce;void 0!==r&&o.setAttribute("nonce",r),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),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:kt).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:kt;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??It)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Wt.elementStyles=[],Wt.shadowRootOptions={mode:"open"},Wt[Ut("elementProperties")]=new Map,Wt[Ut("finalized")]=new Map,Et?.({ReactiveElement:Wt}),(Ct.reactiveElementVersions??=[]).push("2.0.2");
|
|
69
69
|
/**
|
|
70
70
|
* @license
|
|
71
71
|
* Copyright 2017 Google LLC
|
|
72
72
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
73
|
*/
|
|
74
|
-
const zt=globalThis,Kt=zt.trustedTypes,Ft=Kt?Kt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Zt="$lit$",Bt=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Bt,
|
|
74
|
+
const zt=globalThis,Kt=zt.trustedTypes,Ft=Kt?Kt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Zt="$lit$",Bt=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Bt,Dt=`<${At}>`,Mt=document,Pt=()=>Mt.createComment(""),Ht=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Tt=Array.isArray,jt="[ \t\n\f\r]",_t=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Gt=/-->/g,Yt=/>/g,Vt=RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Jt=/'/g,qt=/"/g,Xt=/^(?:script|style|textarea|title)$/i,Qt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),to=Symbol.for("lit-noChange"),oo=Symbol.for("lit-nothing"),eo=new WeakMap,ro=Mt.createTreeWalker(Mt,129);function io(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ft?Ft.createHTML(o):o}const no=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=_t;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===_t?"!--"===l[1]?a=Gt:void 0!==l[1]?a=Yt:void 0!==l[2]?(Xt.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Vt):void 0!==l[3]&&(a=Vt):a===Vt?">"===l[0]?(a=i??_t,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Vt:'"'===l[3]?qt:Jt):a===qt||a===Jt?a=Vt:a===Gt||a===Yt?a=_t:(a=Vt,i=void 0);const f=a===Vt&&t[o+1].startsWith("/>")?" ":"";n+=a===_t?e+Dt:c>=0?(r.push(s),e.slice(0,c)+Zt+e.slice(c)+Bt+f):e+Bt+(-2===c?o:f)}return[io(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class ao{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[l,c]=no(t,o);if(this.el=ao.createElement(l,e),ro.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ro.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Zt)){const o=c[n++],e=r.getAttribute(t).split(Bt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?po:"?"===a[1]?fo:"@"===a[1]?ho:co}),r.removeAttribute(t)}else t.startsWith(Bt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(Xt.test(r.tagName)){const t=r.textContent.split(Bt),o=t.length-1;if(o>0){r.textContent=Kt?Kt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],Pt()),ro.nextNode(),s.push({type:2,index:++i});r.append(t[o],Pt())}}}else if(8===r.nodeType)if(r.data===At)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Bt,t+1));)s.push({type:7,index:i}),t+=Bt.length-1}i++}}static createElement(t,o){const e=Mt.createElement("template");return e.innerHTML=t,e}}function so(t,o,e=t,r){if(o===to)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=Ht(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=so(t,i._$AS(t,o.values),i,r)),o}class lo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=oo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=so(this,t,o),Ht(t)?t===oo||null==t||""===t?(this._$AH!==oo&&this._$AR(),this._$AH=oo):t!==this._$AH&&t!==to&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>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!==oo&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.$(Mt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=ao.createElement(io(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)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,r=(t?.creationScope??Mt).importNode(o,!0);ro.currentNode=r;let i=ro.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new lo(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new uo(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=ro.nextNode(),n++)}return ro.currentNode=Mt,r}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++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=eo.get(t.strings);return void 0===o&&eo.set(t.strings,o=new ao(t)),o}T(t){Tt(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 lo(this.k(Pt()),this.k(Pt()),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){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class co{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=oo,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=oo}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=so(this,t,o,0),n=!Ht(t)||t!==this._$AH&&t!==to,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=so(this,r[e+a],o,a),s===to&&(s=this._$AH[a]),n||=!Ht(s)||s!==this._$AH[a],s===oo?t=oo:t!==oo&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===oo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class po extends co{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===oo?void 0:t}}class fo extends co{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==oo)}}class ho extends co{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=so(this,t,o,0)??oo)===to)return;const e=this._$AH,r=t===oo&&e!==oo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==oo&&(e===oo||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class uo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){so(this,t)}}const yo=zt.litHtmlPolyfillSupport;yo?.(ao,lo),(zt.litHtmlVersions??=[]).push("3.1.0");
|
|
75
75
|
/**
|
|
76
76
|
* @license
|
|
77
77
|
* Copyright 2017 Google LLC
|
|
78
78
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
79
|
*/
|
|
80
|
-
class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new lo(o.insertBefore(Pt(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return to}}go._$litElement$=!0,go.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:go});const bo=globalThis.litElementPolyfillSupport;bo?.({LitElement:go}),(globalThis.litElementVersions??=[]).push("4.0.2");const mo=t=>"string"==typeof t?gt(t):t;class xo{static create(t,o,e,i){const r=t=>mo(null!=t?t:i),n=bt`var(${mo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>bt`var(${mo(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=bt`var(${mo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>bt`var(${mo(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):mo(null!=o?o:t.lastResortDefaultValue()),i=bt`var(${mo(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>bt`var(${mo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Oo(t,o){return mo(`${t.name}: ${o}`)}const vo={colorWhite:xo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xo.create("--ft-opacity-0","","NUMBER","0"),opacity8:xo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xo.create("--ft-opacity-80","","NUMBER","0.8")},No={display:{fontFamily:xo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:xo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:xo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:xo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:xo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:xo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:xo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:xo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:xo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:xo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:xo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:xo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:xo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:xo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:xo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:xo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:xo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:xo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:xo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:xo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:xo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:xo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:xo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:xo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:xo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},So={backgroundActionPrimary:xo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",vo.colorBrand0),backgroundErrorPrimary:xo.extend("--ft-background-error-primary","Used as background of error components.",vo.colorRed0),backgroundErrorSubtle:xo.extend("--ft-background-error-subtle","Used as background of subtle error components.",vo.colorRed10),backgroundInfoPrimary:xo.extend("--ft-background-info-primary","Used as background of information components.",vo.colorCyan200),backgroundInfoSubtle:xo.extend("--ft-background-info-subtle","Used as background of subtle information components.",vo.colorCyan10),backgroundWarningPrimary:xo.extend("--ft-background-warning-primary","Used as background of warning components.",vo.colorOrange300),backgroundWarningSubtle:xo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",vo.colorOrange10),backgroundSuccessPrimary:xo.extend("--ft-background-success-primary","Used as background of success components.",vo.colorGreen200),backgroundSuccessSubtle:xo.extend("--ft-background-success-subtle","Used as background of subtle success components.",vo.colorGreen10),backgroundGlobalSurface:xo.extend("--ft-background-global-surface","Used as app background.",vo.colorWhite),backgroundGlobalOnSurface:xo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",vo.colorGray10),backgroundGlobalOnSurfaceDark:xo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",vo.colorGray30),contentActionPrimary:xo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",vo.colorBrand0),contentWarningPrimary:xo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",vo.colorOrange300),contentWarningIconOnly:xo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",vo.colorOrange0),contentErrorPrimary:xo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",vo.colorRed0),contentErrorIconOnly:xo.extend("--ft-content-error-icon-only","Used on error status icons alone",vo.colorRed0),contentInfoPrimary:xo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",vo.colorCyan200),contentInfoIconOnly:xo.extend("--ft-content-info-icon-only","Used on info status icons alone",vo.colorCyan0),contentSuccessIconOnly:xo.extend("--ft-content-success-icon-only","Used on success status icons alone",vo.colorGreen0),contentSuccessPrimary:xo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",vo.colorGreen200),contentGlobalPrimary:xo.extend("--ft-content-global-primary","Used for main content on the page.",vo.colorGray500),contentGlobalSecondary:xo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",vo.colorGray200),contentGlobalSubtle:xo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",vo.colorGray0),contentGlobalOnColor:xo.extend("--ft-content-global-on-color","Used for content on a dominant color.",vo.colorWhite),borderActionPrimary:xo.extend("--ft-border-action-primary","Used as border for primary action components.",vo.colorBrand0),borderActionFocusRing:xo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",vo.colorCyan0),borderWarningPrimary:xo.extend("--ft-border-warning-primary","Used as border for warning components.",vo.colorOrange30),borderSuccessPrimary:xo.extend("--ft-border-success-primary","Used as border for success components.",vo.colorGreen30),borderErrorPrimary:xo.extend("--ft-border-error-primary","Used as border for error components.",vo.colorRed30),borderInfoPrimary:xo.extend("--ft-border-info-primary","Used as border for information components.",vo.colorCyan30),borderGlobalSubtle:xo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",vo.colorGray30),borderGlobalPrimary:xo.extend("--ft-border-global-primary","Used as border for element like input.",vo.colorGray50),borderInputPrimary:xo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",vo.colorGray80)},wo={largeHeight:xo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:xo.extend("--ft-button-large-horizontal-padding","",vo.spacing4),largeGap:xo.extend("--ft-button-large-gap","",vo.spacing2),largeBorderRadius:xo.extend("--ft-button-large-border-radius","",vo.borderRadiusS),largeIconSize:xo.extend("--ft-button-large-icon-size","",vo.iconSize3),largeBorderWidth:xo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:xo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:xo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:xo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:xo.extend("--ft-button-small-horizontal-padding","",vo.spacing3),smallGap:xo.extend("--ft-button-small-gap","",vo.spacing2),smallBorderRadius:xo.extend("--ft-button-small-border-radius","",vo.borderRadiusS),smallIconSize:xo.extend("--ft-button-small-icon-size","",vo.iconSize2),smallBorderWidth:xo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:xo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:xo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:xo.extend("--ft-button-primary-background-color","",So.backgroundActionPrimary),primaryColor:xo.extend("--ft-button-primary-color","",So.contentGlobalOnColor),primaryIconColor:xo.extend("--ft-button-primary-icon-color","",So.contentGlobalOnColor),primaryStateLayerColor:xo.extend("--ft-button-primary-state-layer-color","",So.contentGlobalOnColor),primaryStateLayerOpacityHover:xo.extend("--ft-button-primary-state-layer-opacity-hover","",vo.opacity16),primaryStateLayerOpacityFocus:xo.extend("--ft-button-primary-state-layer-opacity-focus","",vo.opacity16),primaryStateLayerOpacityActive:xo.extend("--ft-button-primary-state-layer-opacity-active","",vo.opacity24),primaryComponentOpacityDisabled:xo.extend("--ft-button-primary-component-opacity-disabled","",vo.opacity40),focusFocusRingColor:xo.extend("--ft-button-focus-focus-ring-color","",So.borderActionFocusRing),tertiaryBackgroundColor:xo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:xo.extend("--ft-button-tertiary-color","",So.contentActionPrimary),tertiaryIconColor:xo.extend("--ft-button-tertiary-icon-color","",So.contentActionPrimary),tertiaryStateLayerColor:xo.extend("--ft-button-tertiary-state-layer-color","",So.contentActionPrimary),tertiaryStateLayerOpacityHover:xo.extend("--ft-button-tertiary-state-layer-opacity-hover","",vo.opacity8),tertiaryStateLayerOpacityFocus:xo.extend("--ft-button-tertiary-state-layer-opacity-focus","",vo.opacity8),tertiaryStateLayerOpacityActive:xo.extend("--ft-button-tertiary-state-layer-opacity-active","",vo.opacity16),tertiaryComponentOpacityDisabled:xo.extend("--ft-button-tertiary-component-opacity-disabled","",vo.opacity40),secondaryBackgroundColor:xo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:xo.extend("--ft-button-secondary-color","",So.contentActionPrimary),secondaryIconColor:xo.extend("--ft-button-secondary-icon-color","",So.contentActionPrimary),secondaryStateLayerColor:xo.extend("--ft-button-secondary-state-layer-color","",So.contentActionPrimary),secondaryStateLayerOpacityHover:xo.extend("--ft-button-secondary-state-layer-opacity-hover","",vo.opacity8),secondaryStateLayerOpacityFocus:xo.extend("--ft-button-secondary-state-layer-opacity-focus","",vo.opacity8),secondaryStateLayerOpacityActive:xo.extend("--ft-button-secondary-state-layer-opacity-active","",vo.opacity16),secondaryComponentOpacityDisabled:xo.extend("--ft-button-secondary-component-opacity-disabled","",vo.opacity40),secondaryBorderColor:xo.extend("--ft-button-secondary-border-color","",So.borderActionPrimary),neutralBackgroundColor:xo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:xo.extend("--ft-button-neutral-icon-color","",So.contentGlobalSecondary),neutralColor:xo.extend("--ft-button-neutral-color","",So.contentGlobalSecondary),neutralStateLayerColor:xo.extend("--ft-button-neutral-state-layer-color","",So.contentGlobalSecondary),neutralStateLayerOpacityHover:xo.extend("--ft-button-neutral-state-layer-opacity-hover","",vo.opacity8),neutralStateLayerOpacityFocus:xo.extend("--ft-button-neutral-state-layer-opacity-focus","",vo.opacity8),neutralStateLayerOpacityActive:xo.extend("--ft-button-neutral-state-layer-opacity-active","",vo.opacity16),neutralComponentOpacityDisabled:xo.extend("--ft-button-neutral-component-opacity-disabled","",vo.opacity40)};xo.extend("--ft-tabs-top-left-border-radius","",vo.borderRadiusS),xo.extend("--ft-tabs-top-right-border-radius","",vo.borderRadiusS),xo.extend("--ft-tabs-label-horizontal-padding","",vo.spacing4),xo.extend("--ft-tabs-label-vertical-padding","",vo.spacing3),xo.extend("--ft-tabs-label-gap","",vo.spacing1),xo.extend("--ft-switch-group-horizontal-padding","",vo.spacing1),xo.extend("--ft-switch-group-vertical-padding","",vo.spacing1),xo.extend("--ft-switch-group-gap","",vo.spacing1),xo.extend("--ft-switch-group-background-color","",So.backgroundGlobalSurface),xo.extend("--ft-switch-group-border-color","",So.borderGlobalSubtle),xo.create("--ft-switch-group-border-radius","","SIZE","6px"),xo.extend("--ft-switch-label-horizontal-padding","",vo.spacing2),xo.extend("--ft-switch-label-vertical-padding","",vo.spacing1),xo.extend("--ft-switch-icon-horizontal-padding","",vo.spacing1),xo.extend("--ft-switch-icon-vertical-padding","",vo.spacing1),xo.create("--ft-switch-focus-outline-width","","SIZE","2px"),xo.extend("--ft-switch-focus-focus-ring-color","",So.borderActionFocusRing),xo.extend("--ft-switch-option-border-radius","",vo.borderRadiusS),xo.extend("--ft-switch-off-state-layer-opacity-hover","",vo.opacity8),xo.extend("--ft-switch-off-state-layer-opacity-focus","",vo.opacity8),xo.extend("--ft-switch-off-state-layer-opacity-active","",vo.opacity16),xo.extend("--ft-switch-off-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-switch-off-color","",So.contentGlobalSubtle),xo.extend("--ft-switch-off-state-layer-color","",So.contentGlobalSubtle),xo.extend("--ft-chart-1-light","for area color charts",vo.colorBrand40),xo.extend("--ft-chart-1-base","for line charts",vo.colorBrand0),xo.extend("--ft-chart-2-light","for area color charts",vo.colorYellow60),xo.extend("--ft-chart-2-base","for line charts",vo.colorYellow100),xo.extend("--ft-chart-3-light","",vo.colorUltramarine40),xo.extend("--ft-chart-3-base","",vo.colorUltramarine70),xo.extend("--ft-chart-4-light","",vo.colorCyan50),xo.extend("--ft-chart-4-base","",vo.colorCyan100),xo.extend("--ft-chart-5-light","",vo.colorRed40),xo.extend("--ft-chart-5-base","",vo.colorRed60),xo.extend("--ft-chart-6-light","",vo.colorGreen40),xo.extend("--ft-chart-6-base","",vo.colorGreen70),xo.extend("--ft-chart-7-light","",vo.colorOrange70),xo.extend("--ft-chart-7-base","",vo.colorOrange100),xo.extend("--ft-chart-8-light","",vo.colorAvocado70),xo.extend("--ft-chart-8-base","",vo.colorAvocado200),xo.extend("--ft-chart-9-light","",vo.colorBrown50),xo.extend("--ft-chart-9-base","",vo.colorBrown200),xo.extend("--ft-chart-10-light","",vo.colorGray50),xo.extend("--ft-chart-10-base","",vo.colorGray80),xo.extend("--ft-chart-monochrome-10","",vo.colorBrand10),xo.extend("--ft-chart-monochrome-20","",vo.colorBrand20),xo.extend("--ft-chart-monochrome-30","",vo.colorBrand40),xo.extend("--ft-chart-monochrome-40","",vo.colorBrand60),xo.extend("--ft-chart-monochrome-50","",vo.colorBrand0),xo.extend("--ft-chart-monochrome-60","",vo.colorBrand200),xo.extend("--ft-chip-large-horizontal-padding","",vo.spacing4),xo.extend("--ft-chip-large-vertical-padding","",vo.spacing2),xo.extend("--ft-chip-large-gap","",vo.spacing1),xo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-large-border-radius","",vo.borderRadiusPill),xo.create("--ft-chip-large-border-width","","SIZE","1px"),xo.extend("--ft-chip-large-icon-size","",vo.iconSize3),xo.extend("--ft-chip-medium-horizontal-padding","",vo.spacing3),xo.extend("--ft-chip-medium-vertical-padding","",vo.spacing1),xo.extend("--ft-chip-medium-gap","",vo.spacing1),xo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-medium-border-radius","",vo.borderRadiusPill),xo.create("--ft-chip-medium-border-width","","SIZE","1px"),xo.extend("--ft-chip-medium-icon-size","",vo.iconSize2),xo.extend("--ft-chip-small-horizontal-padding","",vo.spacing2),xo.extend("--ft-chip-small-vertical-padding","",vo.spacing05),xo.extend("--ft-chip-small-gap","",vo.spacing1),xo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-small-border-radius","",vo.borderRadiusPill),xo.create("--ft-chip-small-border-width","","SIZE","1px"),xo.extend("--ft-chip-small-icon-size","",vo.iconSize1),xo.extend("--ft-chip-neutral-background-color","",So.backgroundGlobalOnSurface),xo.extend("--ft-chip-neutral-color","",So.contentGlobalPrimary),xo.extend("--ft-chip-neutral-border-color","",So.borderGlobalSubtle),xo.extend("--ft-chip-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-chip-info-color","",So.contentInfoPrimary),xo.extend("--ft-chip-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-chip-success-background-color","",So.backgroundSuccessSubtle),xo.extend("--ft-chip-success-color","",So.contentSuccessPrimary),xo.extend("--ft-chip-success-border-color","",So.borderSuccessPrimary),xo.extend("--ft-chip-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-chip-warning-color","",So.contentWarningPrimary),xo.extend("--ft-chip-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-chip-error-background-color","",So.backgroundErrorSubtle),xo.extend("--ft-chip-error-color","",So.contentErrorPrimary),xo.extend("--ft-chip-error-border-color","",So.borderErrorPrimary),xo.create("--ft-notice-border-width","","SIZE","1px"),xo.extend("--ft-notice-horizontal-padding","",vo.spacing2),xo.extend("--ft-notice-vertical-padding","",vo.spacing1),xo.extend("--ft-notice-border-radius","",vo.borderRadiusS),xo.extend("--ft-notice-gap","",vo.spacing2),xo.extend("--ft-notice-icon-size","",vo.iconSize3),xo.extend("--ft-notice-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-notice-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-notice-info-color","",So.contentInfoPrimary),xo.extend("--ft-notice-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-notice-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-notice-warning-color","",So.contentWarningPrimary),xo.extend("--ft-checkbox-label-color","",So.contentGlobalPrimary),xo.extend("--ft-checkbox-checked-background-color","",So.contentActionPrimary),xo.extend("--ft-checkbox-checked-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-checkbox-checked-color","",So.contentGlobalOnColor),xo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-checkbox-checked-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-checkbox-checked-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-checkbox-unchecked-border-color","",vo.colorGray80),xo.extend("--ft-checkbox-unchecked-state-layer-color","",vo.colorGray80),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-checkbox-focus-focus-ring-color","",So.borderActionFocusRing),xo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xo.extend("--ft-checkbox-gap","",vo.spacing3),xo.extend("--ft-toggle-off-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-toggle-off-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-toggle-off-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-toggle-off-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-toggle-off-background-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-off-icon-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-off-state-layer-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-on-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-toggle-on-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-toggle-on-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-toggle-on-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-toggle-on-background-color","",So.contentActionPrimary),xo.extend("--ft-toggle-on-icon-color","",So.contentActionPrimary),xo.extend("--ft-toggle-on-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-toggle-label-color","",So.contentGlobalPrimary),xo.extend("--ft-toggle-focus-focus-ring-color","",So.borderActionFocusRing),xo.extend("--ft-toggle-gap","",vo.spacing3),xo.extend("--ft-radio-label-color","",So.contentGlobalPrimary),xo.extend("--ft-radio-selected-color","",So.contentActionPrimary),xo.extend("--ft-radio-selected-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-radio-selected-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-radio-selected-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-radio-selected-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-radio-selected-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-radio-unselected-state-layer-color","",vo.colorGray80),xo.extend("--ft-radio-unselected-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-radio-unselected-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-radio-unselected-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-radio-unselected-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-radio-focus-focus-ring-color","",So.borderActionFocusRing),xo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xo.create("--ft-radio-focus-outline-width","","SIZE","2px"),xo.extend("--ft-radio-gap","",vo.spacing3),xo.extend("--ft-notification-icon-size","",vo.iconSize4),xo.extend("--ft-notification-horizontal-padding","",vo.spacing4),xo.extend("--ft-notification-vertical-padding","",vo.spacing4),xo.extend("--ft-notification-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-notification-info-color","",So.contentInfoPrimary),xo.extend("--ft-notification-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-notification-success-background-color","",So.backgroundSuccessSubtle),xo.extend("--ft-notification-success-color","",So.contentSuccessPrimary),xo.extend("--ft-notification-success-border-color","",So.borderSuccessPrimary),xo.extend("--ft-notification-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-notification-warning-color","",So.contentWarningPrimary),xo.extend("--ft-notification-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-notification-error-background-color","",So.backgroundErrorSubtle),xo.extend("--ft-notification-error-color","",So.contentErrorPrimary),xo.extend("--ft-notification-error-border-color","",So.borderErrorPrimary),xo.extend("--ft-notification-border-radius","",vo.borderRadiusPill),xo.create("--ft-notification-border-width","","SIZE","1px"),xo.extend("--ft-notification-gap-leading","",vo.spacing2),xo.extend("--ft-notification-gap-trailing","",vo.spacing8);const Co={colorPrimary:xo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xo.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:xo.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:xo.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:xo.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:xo.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:xo.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:xo.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:xo.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:xo.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:xo.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:xo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},$o=window,Ro=$o.ShadowRoot&&(void 0===$o.ShadyCSS||$o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
80
|
+
class go extends Wt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new lo(o.insertBefore(Pt(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return to}}go._$litElement$=!0,go.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:go});const bo=globalThis.litElementPolyfillSupport;bo?.({LitElement:go}),(globalThis.litElementVersions??=[]).push("4.0.2");const mo=t=>"string"==typeof t?gt(t):t;class xo{static create(t,o,e,r){const i=t=>mo(null!=t?t:r),n=bt`var(${mo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>bt`var(${mo(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=bt`var(${mo(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=>bt`var(${mo(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):mo(null!=o?o:t.lastResortDefaultValue()),r=bt`var(${mo(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=>bt`var(${mo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Oo(t,o){return mo(`${t.name}: ${o}`)}const vo={colorWhite:xo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xo.create("--ft-opacity-0","","NUMBER","0"),opacity8:xo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xo.create("--ft-opacity-80","","NUMBER","0.8")},No={display:{fontFamily:xo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:xo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:xo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:xo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:xo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:xo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:xo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:xo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:xo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:xo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:xo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:xo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:xo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:xo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:xo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:xo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:xo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:xo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:xo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:xo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:xo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:xo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:xo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:xo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:xo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},So={backgroundActionPrimary:xo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",vo.colorBrand0),backgroundErrorPrimary:xo.extend("--ft-background-error-primary","Used as background of error components.",vo.colorRed0),backgroundErrorSubtle:xo.extend("--ft-background-error-subtle","Used as background of subtle error components.",vo.colorRed10),backgroundInfoPrimary:xo.extend("--ft-background-info-primary","Used as background of information components.",vo.colorCyan200),backgroundInfoSubtle:xo.extend("--ft-background-info-subtle","Used as background of subtle information components.",vo.colorCyan10),backgroundWarningPrimary:xo.extend("--ft-background-warning-primary","Used as background of warning components.",vo.colorOrange300),backgroundWarningSubtle:xo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",vo.colorOrange10),backgroundSuccessPrimary:xo.extend("--ft-background-success-primary","Used as background of success components.",vo.colorGreen200),backgroundSuccessSubtle:xo.extend("--ft-background-success-subtle","Used as background of subtle success components.",vo.colorGreen10),backgroundGlobalSurface:xo.extend("--ft-background-global-surface","Used as app background.",vo.colorWhite),backgroundGlobalOnSurface:xo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",vo.colorGray10),backgroundGlobalOnSurfaceDark:xo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",vo.colorGray30),contentActionPrimary:xo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",vo.colorBrand0),contentWarningPrimary:xo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",vo.colorOrange300),contentWarningIconOnly:xo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",vo.colorOrange0),contentErrorPrimary:xo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",vo.colorRed0),contentErrorIconOnly:xo.extend("--ft-content-error-icon-only","Used on error status icons alone",vo.colorRed0),contentInfoPrimary:xo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",vo.colorCyan200),contentInfoIconOnly:xo.extend("--ft-content-info-icon-only","Used on info status icons alone",vo.colorCyan0),contentSuccessIconOnly:xo.extend("--ft-content-success-icon-only","Used on success status icons alone",vo.colorGreen0),contentSuccessPrimary:xo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",vo.colorGreen200),contentGlobalPrimary:xo.extend("--ft-content-global-primary","Used for main content on the page.",vo.colorGray500),contentGlobalSecondary:xo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",vo.colorGray200),contentGlobalSubtle:xo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",vo.colorGray0),contentGlobalOnColor:xo.extend("--ft-content-global-on-color","Used for content on a dominant color.",vo.colorWhite),borderActionPrimary:xo.extend("--ft-border-action-primary","Used as border for primary action components.",vo.colorBrand0),borderActionFocusRing:xo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",vo.colorCyan0),borderWarningPrimary:xo.extend("--ft-border-warning-primary","Used as border for warning components.",vo.colorOrange30),borderSuccessPrimary:xo.extend("--ft-border-success-primary","Used as border for success components.",vo.colorGreen30),borderErrorPrimary:xo.extend("--ft-border-error-primary","Used as border for error components.",vo.colorRed30),borderInfoPrimary:xo.extend("--ft-border-info-primary","Used as border for information components.",vo.colorCyan30),borderGlobalSubtle:xo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",vo.colorGray30),borderGlobalPrimary:xo.extend("--ft-border-global-primary","Used as border for element like input.",vo.colorGray50),borderInputPrimary:xo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",vo.colorGray80)},wo={largeHeight:xo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:xo.extend("--ft-button-large-horizontal-padding","",vo.spacing4),largeGap:xo.extend("--ft-button-large-gap","",vo.spacing2),largeBorderRadius:xo.extend("--ft-button-large-border-radius","",vo.borderRadiusS),largeIconSize:xo.extend("--ft-button-large-icon-size","",vo.iconSize3),largeBorderWidth:xo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:xo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:xo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:xo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:xo.extend("--ft-button-small-horizontal-padding","",vo.spacing3),smallGap:xo.extend("--ft-button-small-gap","",vo.spacing2),smallBorderRadius:xo.extend("--ft-button-small-border-radius","",vo.borderRadiusS),smallIconSize:xo.extend("--ft-button-small-icon-size","",vo.iconSize2),smallBorderWidth:xo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:xo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:xo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:xo.extend("--ft-button-primary-background-color","",So.backgroundActionPrimary),primaryColor:xo.extend("--ft-button-primary-color","",So.contentGlobalOnColor),primaryIconColor:xo.extend("--ft-button-primary-icon-color","",So.contentGlobalOnColor),primaryStateLayerColor:xo.extend("--ft-button-primary-state-layer-color","",So.contentGlobalOnColor),primaryStateLayerOpacityHover:xo.extend("--ft-button-primary-state-layer-opacity-hover","",vo.opacity16),primaryStateLayerOpacityFocus:xo.extend("--ft-button-primary-state-layer-opacity-focus","",vo.opacity16),primaryStateLayerOpacityActive:xo.extend("--ft-button-primary-state-layer-opacity-active","",vo.opacity24),primaryComponentOpacityDisabled:xo.extend("--ft-button-primary-component-opacity-disabled","",vo.opacity40),focusFocusRingColor:xo.extend("--ft-button-focus-focus-ring-color","",So.borderActionFocusRing),tertiaryBackgroundColor:xo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:xo.extend("--ft-button-tertiary-color","",So.contentActionPrimary),tertiaryIconColor:xo.extend("--ft-button-tertiary-icon-color","",So.contentActionPrimary),tertiaryStateLayerColor:xo.extend("--ft-button-tertiary-state-layer-color","",So.contentActionPrimary),tertiaryStateLayerOpacityHover:xo.extend("--ft-button-tertiary-state-layer-opacity-hover","",vo.opacity8),tertiaryStateLayerOpacityFocus:xo.extend("--ft-button-tertiary-state-layer-opacity-focus","",vo.opacity8),tertiaryStateLayerOpacityActive:xo.extend("--ft-button-tertiary-state-layer-opacity-active","",vo.opacity16),tertiaryComponentOpacityDisabled:xo.extend("--ft-button-tertiary-component-opacity-disabled","",vo.opacity40),secondaryBackgroundColor:xo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:xo.extend("--ft-button-secondary-color","",So.contentActionPrimary),secondaryIconColor:xo.extend("--ft-button-secondary-icon-color","",So.contentActionPrimary),secondaryStateLayerColor:xo.extend("--ft-button-secondary-state-layer-color","",So.contentActionPrimary),secondaryStateLayerOpacityHover:xo.extend("--ft-button-secondary-state-layer-opacity-hover","",vo.opacity8),secondaryStateLayerOpacityFocus:xo.extend("--ft-button-secondary-state-layer-opacity-focus","",vo.opacity8),secondaryStateLayerOpacityActive:xo.extend("--ft-button-secondary-state-layer-opacity-active","",vo.opacity16),secondaryComponentOpacityDisabled:xo.extend("--ft-button-secondary-component-opacity-disabled","",vo.opacity40),secondaryBorderColor:xo.extend("--ft-button-secondary-border-color","",So.borderActionPrimary),neutralBackgroundColor:xo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:xo.extend("--ft-button-neutral-icon-color","",So.contentGlobalSecondary),neutralColor:xo.extend("--ft-button-neutral-color","",So.contentGlobalSecondary),neutralStateLayerColor:xo.extend("--ft-button-neutral-state-layer-color","",So.contentGlobalSecondary),neutralStateLayerOpacityHover:xo.extend("--ft-button-neutral-state-layer-opacity-hover","",vo.opacity8),neutralStateLayerOpacityFocus:xo.extend("--ft-button-neutral-state-layer-opacity-focus","",vo.opacity8),neutralStateLayerOpacityActive:xo.extend("--ft-button-neutral-state-layer-opacity-active","",vo.opacity16),neutralComponentOpacityDisabled:xo.extend("--ft-button-neutral-component-opacity-disabled","",vo.opacity40)};xo.extend("--ft-tabs-top-left-border-radius","",vo.borderRadiusS),xo.extend("--ft-tabs-top-right-border-radius","",vo.borderRadiusS),xo.extend("--ft-tabs-label-horizontal-padding","",vo.spacing4),xo.extend("--ft-tabs-label-vertical-padding","",vo.spacing3),xo.extend("--ft-tabs-label-gap","",vo.spacing1),xo.extend("--ft-switch-group-horizontal-padding","",vo.spacing1),xo.extend("--ft-switch-group-vertical-padding","",vo.spacing1),xo.extend("--ft-switch-group-gap","",vo.spacing1),xo.extend("--ft-switch-group-background-color","",So.backgroundGlobalSurface),xo.extend("--ft-switch-group-border-color","",So.borderGlobalSubtle),xo.create("--ft-switch-group-border-radius","","SIZE","6px"),xo.extend("--ft-switch-label-horizontal-padding","",vo.spacing2),xo.extend("--ft-switch-label-vertical-padding","",vo.spacing1),xo.extend("--ft-switch-icon-horizontal-padding","",vo.spacing1),xo.extend("--ft-switch-icon-vertical-padding","",vo.spacing1),xo.create("--ft-switch-focus-outline-width","","SIZE","2px"),xo.extend("--ft-switch-focus-focus-ring-color","",So.borderActionFocusRing),xo.extend("--ft-switch-option-border-radius","",vo.borderRadiusS),xo.extend("--ft-switch-off-state-layer-opacity-hover","",vo.opacity8),xo.extend("--ft-switch-off-state-layer-opacity-focus","",vo.opacity8),xo.extend("--ft-switch-off-state-layer-opacity-active","",vo.opacity16),xo.extend("--ft-switch-off-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-switch-off-color","",So.contentGlobalSubtle),xo.extend("--ft-switch-off-state-layer-color","",So.contentGlobalSubtle),xo.extend("--ft-chart-1-light","for area color charts",vo.colorBrand40),xo.extend("--ft-chart-1-base","for line charts",vo.colorBrand0),xo.extend("--ft-chart-2-light","for area color charts",vo.colorYellow60),xo.extend("--ft-chart-2-base","for line charts",vo.colorYellow100),xo.extend("--ft-chart-3-light","",vo.colorUltramarine40),xo.extend("--ft-chart-3-base","",vo.colorUltramarine70),xo.extend("--ft-chart-4-light","",vo.colorCyan50),xo.extend("--ft-chart-4-base","",vo.colorCyan100),xo.extend("--ft-chart-5-light","",vo.colorRed40),xo.extend("--ft-chart-5-base","",vo.colorRed60),xo.extend("--ft-chart-6-light","",vo.colorGreen40),xo.extend("--ft-chart-6-base","",vo.colorGreen70),xo.extend("--ft-chart-7-light","",vo.colorOrange70),xo.extend("--ft-chart-7-base","",vo.colorOrange100),xo.extend("--ft-chart-8-light","",vo.colorAvocado70),xo.extend("--ft-chart-8-base","",vo.colorAvocado200),xo.extend("--ft-chart-9-light","",vo.colorBrown50),xo.extend("--ft-chart-9-base","",vo.colorBrown200),xo.extend("--ft-chart-10-light","",vo.colorGray50),xo.extend("--ft-chart-10-base","",vo.colorGray80),xo.extend("--ft-chart-monochrome-10","",vo.colorBrand10),xo.extend("--ft-chart-monochrome-20","",vo.colorBrand20),xo.extend("--ft-chart-monochrome-30","",vo.colorBrand40),xo.extend("--ft-chart-monochrome-40","",vo.colorBrand60),xo.extend("--ft-chart-monochrome-50","",vo.colorBrand0),xo.extend("--ft-chart-monochrome-60","",vo.colorBrand200),xo.extend("--ft-chip-large-horizontal-padding","",vo.spacing4),xo.extend("--ft-chip-large-vertical-padding","",vo.spacing2),xo.extend("--ft-chip-large-gap","",vo.spacing1),xo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-large-border-radius","",vo.borderRadiusPill),xo.create("--ft-chip-large-border-width","","SIZE","1px"),xo.extend("--ft-chip-large-icon-size","",vo.iconSize3),xo.extend("--ft-chip-medium-horizontal-padding","",vo.spacing3),xo.extend("--ft-chip-medium-vertical-padding","",vo.spacing1),xo.extend("--ft-chip-medium-gap","",vo.spacing1),xo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-medium-border-radius","",vo.borderRadiusPill),xo.create("--ft-chip-medium-border-width","","SIZE","1px"),xo.extend("--ft-chip-medium-icon-size","",vo.iconSize2),xo.extend("--ft-chip-small-horizontal-padding","",vo.spacing2),xo.extend("--ft-chip-small-vertical-padding","",vo.spacing05),xo.extend("--ft-chip-small-gap","",vo.spacing1),xo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-small-border-radius","",vo.borderRadiusPill),xo.create("--ft-chip-small-border-width","","SIZE","1px"),xo.extend("--ft-chip-small-icon-size","",vo.iconSize1),xo.extend("--ft-chip-neutral-background-color","",So.backgroundGlobalOnSurface),xo.extend("--ft-chip-neutral-color","",So.contentGlobalPrimary),xo.extend("--ft-chip-neutral-border-color","",So.borderGlobalSubtle),xo.extend("--ft-chip-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-chip-info-color","",So.contentInfoPrimary),xo.extend("--ft-chip-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-chip-success-background-color","",So.backgroundSuccessSubtle),xo.extend("--ft-chip-success-color","",So.contentSuccessPrimary),xo.extend("--ft-chip-success-border-color","",So.borderSuccessPrimary),xo.extend("--ft-chip-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-chip-warning-color","",So.contentWarningPrimary),xo.extend("--ft-chip-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-chip-error-background-color","",So.backgroundErrorSubtle),xo.extend("--ft-chip-error-color","",So.contentErrorPrimary),xo.extend("--ft-chip-error-border-color","",So.borderErrorPrimary),xo.create("--ft-notice-border-width","","SIZE","1px"),xo.extend("--ft-notice-horizontal-padding","",vo.spacing2),xo.extend("--ft-notice-vertical-padding","",vo.spacing1),xo.extend("--ft-notice-border-radius","",vo.borderRadiusS),xo.extend("--ft-notice-gap","",vo.spacing2),xo.extend("--ft-notice-icon-size","",vo.iconSize3),xo.extend("--ft-notice-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-notice-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-notice-info-color","",So.contentInfoPrimary),xo.extend("--ft-notice-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-notice-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-notice-warning-color","",So.contentWarningPrimary),xo.extend("--ft-checkbox-label-color","",So.contentGlobalPrimary),xo.extend("--ft-checkbox-checked-background-color","",So.contentActionPrimary),xo.extend("--ft-checkbox-checked-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-checkbox-checked-color","",So.contentGlobalOnColor),xo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-checkbox-checked-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-checkbox-checked-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-checkbox-unchecked-border-color","",vo.colorGray80),xo.extend("--ft-checkbox-unchecked-state-layer-color","",vo.colorGray80),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-checkbox-focus-focus-ring-color","",So.borderActionFocusRing),xo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xo.extend("--ft-checkbox-gap","",vo.spacing3),xo.extend("--ft-toggle-off-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-toggle-off-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-toggle-off-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-toggle-off-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-toggle-off-background-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-off-icon-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-off-state-layer-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-on-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-toggle-on-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-toggle-on-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-toggle-on-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-toggle-on-background-color","",So.contentActionPrimary),xo.extend("--ft-toggle-on-icon-color","",So.contentActionPrimary),xo.extend("--ft-toggle-on-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-toggle-label-color","",So.contentGlobalPrimary),xo.extend("--ft-toggle-focus-focus-ring-color","",So.borderActionFocusRing),xo.extend("--ft-toggle-gap","",vo.spacing3),xo.extend("--ft-radio-label-color","",So.contentGlobalPrimary),xo.extend("--ft-radio-selected-color","",So.contentActionPrimary),xo.extend("--ft-radio-selected-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-radio-selected-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-radio-selected-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-radio-selected-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-radio-selected-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-radio-unselected-state-layer-color","",vo.colorGray80),xo.extend("--ft-radio-unselected-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-radio-unselected-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-radio-unselected-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-radio-unselected-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-radio-focus-focus-ring-color","",So.borderActionFocusRing),xo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xo.create("--ft-radio-focus-outline-width","","SIZE","2px"),xo.extend("--ft-radio-gap","",vo.spacing3),xo.extend("--ft-notification-icon-size","",vo.iconSize4),xo.extend("--ft-notification-horizontal-padding","",vo.spacing4),xo.extend("--ft-notification-vertical-padding","",vo.spacing4),xo.extend("--ft-notification-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-notification-info-color","",So.contentInfoPrimary),xo.extend("--ft-notification-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-notification-success-background-color","",So.backgroundSuccessSubtle),xo.extend("--ft-notification-success-color","",So.contentSuccessPrimary),xo.extend("--ft-notification-success-border-color","",So.borderSuccessPrimary),xo.extend("--ft-notification-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-notification-warning-color","",So.contentWarningPrimary),xo.extend("--ft-notification-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-notification-error-background-color","",So.backgroundErrorSubtle),xo.extend("--ft-notification-error-color","",So.contentErrorPrimary),xo.extend("--ft-notification-error-border-color","",So.borderErrorPrimary),xo.extend("--ft-notification-border-radius","",vo.borderRadiusPill),xo.create("--ft-notification-border-width","","SIZE","1px"),xo.extend("--ft-notification-gap-leading","",vo.spacing2),xo.extend("--ft-notification-gap-trailing","",vo.spacing8);const Co={colorPrimary:xo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xo.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:xo.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:xo.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:xo.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:xo.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:xo.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:xo.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:xo.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:xo.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:xo.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:xo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},$o=window,Ro=$o.ShadowRoot&&(void 0===$o.ShadyCSS||$o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
81
81
|
/**
|
|
82
82
|
* @license
|
|
83
83
|
* Copyright 2019 Google LLC
|
|
84
84
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
85
|
-
*/class Eo extends go{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Ro?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),
|
|
85
|
+
*/class Eo extends go{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Ro?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=$o.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Uo,ko=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Io=Symbol("constructorPrototype"),Lo=Symbol("constructorName"),Wo=Symbol("exportpartsDebouncer");class zo extends Eo{constructor(){super(),this[Uo]=new E(5),this[Lo]=this.constructor.name,this[Io]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Lo]&&Object.setPrototypeOf(this,this[Io])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Wo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,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!==(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(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Uo=Wo,ko([w()],zo.prototype,"exportpartsPrefix",void 0),ko([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!U(t,o),...null!=o?o:{}})}([])],zo.prototype,"exportpartsPrefixes",void 0),ko([w()],zo.prototype,"customStylesheet",void 0);const Ko=xo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");bt`
|
|
86
86
|
.highlight-html-match {
|
|
87
87
|
background: ${Ko};
|
|
88
88
|
}
|
|
@@ -118,7 +118,7 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
118
118
|
display: inline-block;
|
|
119
119
|
width: 0;
|
|
120
120
|
}
|
|
121
|
-
`;window.ftReduxStores||(window.ftReduxStores={});const Bo=Symbol("elementInternals");var Ao,Mo
|
|
121
|
+
`;window.ftReduxStores||(window.ftReduxStores={});const Bo=Symbol("elementInternals");var Ao,Do,Mo;const Po=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Mo=null===(Do=null===(Ao=window.safari)||void 0===Ao?void 0:Ao.pushNotification)||void 0===Do?void 0:Do.toString())&&void 0!==Mo?Mo:""),Ho=xo.extend("--ft-ripple-color","",Co.colorContent),To={color:Ho,backgroundColor:xo.extend("--ft-ripple-background-color","",Ho),opacityContentOnSurfacePressed:xo.external(Co.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xo.external(Co.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xo.external(Co.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xo.external(Co.opacityContentOnSurfaceSelected,"Design system"),borderRadius:xo.create("--ft-ripple-border-radius","","SIZE","0px")},jo=xo.extend("--ft-ripple-color","",Co.colorPrimary),_o=jo,Go=xo.extend("--ft-ripple-background-color","",jo),Yo=xo.extend("--ft-ripple-color","",Co.colorSecondary),Vo=Yo,Jo=xo.extend("--ft-ripple-background-color","",Yo),qo=bt`
|
|
122
122
|
:host {
|
|
123
123
|
display: contents;
|
|
124
124
|
}
|
|
@@ -230,16 +230,16 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
230
230
|
opacity: ${To.opacityContentOnSurfacePressed};
|
|
231
231
|
transform: translate(-50%, -50%) scale(1);
|
|
232
232
|
}
|
|
233
|
-
`;const Xo=xo.extend("--ft-typography-font-family","",Co.titleFont),Qo=xo.extend("--ft-typography-font-family","",Co.contentFont),te={fontFamily:Qo,fontSize:xo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},oe=xo.extend("--ft-typography-title-font-family","",Xo),ee=xo.extend("--ft-typography-title-font-size","",te.fontSize,"20px"),
|
|
233
|
+
`;const Xo=xo.extend("--ft-typography-font-family","",Co.titleFont),Qo=xo.extend("--ft-typography-font-family","",Co.contentFont),te={fontFamily:Qo,fontSize:xo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},oe=xo.extend("--ft-typography-title-font-family","",Xo),ee=xo.extend("--ft-typography-title-font-size","",te.fontSize,"20px"),re=xo.extend("--ft-typography-title-font-weight","",te.fontWeight,"normal"),ie=xo.extend("--ft-typography-title-letter-spacing","",te.letterSpacing,"0.15px"),ne=xo.extend("--ft-typography-title-line-height","",te.lineHeight,"1.2"),ae=xo.extend("--ft-typography-title-text-transform","",te.textTransform,"inherit"),se=xo.extend("--ft-typography-title-dense-font-family","",Xo),le=xo.extend("--ft-typography-title-dense-font-size","",te.fontSize,"14px"),ce=xo.extend("--ft-typography-title-dense-font-weight","",te.fontWeight,"normal"),pe=xo.extend("--ft-typography-title-dense-letter-spacing","",te.letterSpacing,"0.105px"),fe=xo.extend("--ft-typography-title-dense-line-height","",te.lineHeight,"1.7"),he=xo.extend("--ft-typography-title-dense-text-transform","",te.textTransform,"inherit"),de=xo.extend("--ft-typography-subtitle1-font-family","",Qo),ue=xo.extend("--ft-typography-subtitle1-font-size","",te.fontSize,"16px"),ye=xo.extend("--ft-typography-subtitle1-font-weight","",te.fontWeight,"600"),ge=xo.extend("--ft-typography-subtitle1-letter-spacing","",te.letterSpacing,"0.144px"),be=xo.extend("--ft-typography-subtitle1-line-height","",te.lineHeight,"1.5"),me=xo.extend("--ft-typography-subtitle1-text-transform","",te.textTransform,"inherit"),xe=xo.extend("--ft-typography-subtitle2-font-family","",Qo),Oe=xo.extend("--ft-typography-subtitle2-font-size","",te.fontSize,"14px"),ve=xo.extend("--ft-typography-subtitle2-font-weight","",te.fontWeight,"normal"),Ne=xo.extend("--ft-typography-subtitle2-letter-spacing","",te.letterSpacing,"0.098px"),Se=xo.extend("--ft-typography-subtitle2-line-height","",te.lineHeight,"1.7"),we=xo.extend("--ft-typography-subtitle2-text-transform","",te.textTransform,"inherit"),Ce=xo.extend("--ft-typography-body1-font-family","",Qo),$e=xo.extend("--ft-typography-body1-font-size","",te.fontSize,"16px"),Re=xo.extend("--ft-typography-body1-font-weight","",te.fontWeight,"normal"),Ee=xo.extend("--ft-typography-body1-letter-spacing","",te.letterSpacing,"0.496px"),Ue=xo.extend("--ft-typography-body1-line-height","",te.lineHeight,"1.5"),ke=xo.extend("--ft-typography-body1-text-transform","",te.textTransform,"inherit"),Ie=xo.extend("--ft-typography-body2-font-family","",Qo),Le=xo.extend("--ft-typography-body2-font-size","",te.fontSize,"14px"),We=xo.extend("--ft-typography-body2-font-weight","",te.fontWeight,"normal"),ze=xo.extend("--ft-typography-body2-letter-spacing","",te.letterSpacing,"0.252px"),Ke=xo.extend("--ft-typography-body2-line-height","",te.lineHeight,"1.4"),Fe=xo.extend("--ft-typography-body2-text-transform","",te.textTransform,"inherit"),Ze=xo.extend("--ft-typography-caption-font-family","",Qo),Be=xo.extend("--ft-typography-caption-font-size","",te.fontSize,"12px"),Ae=xo.extend("--ft-typography-caption-font-weight","",te.fontWeight,"normal"),De=xo.extend("--ft-typography-caption-letter-spacing","",te.letterSpacing,"0.396px"),Me=xo.extend("--ft-typography-caption-line-height","",te.lineHeight,"1.33"),Pe=xo.extend("--ft-typography-caption-text-transform","",te.textTransform,"inherit"),He=xo.extend("--ft-typography-breadcrumb-font-family","",Qo),Te=xo.extend("--ft-typography-breadcrumb-font-size","",te.fontSize,"10px"),je=xo.extend("--ft-typography-breadcrumb-font-weight","",te.fontWeight,"normal"),_e=xo.extend("--ft-typography-breadcrumb-letter-spacing","",te.letterSpacing,"0.33px"),Ge=xo.extend("--ft-typography-breadcrumb-line-height","",te.lineHeight,"1.6"),Ye=xo.extend("--ft-typography-breadcrumb-text-transform","",te.textTransform,"inherit"),Ve=xo.extend("--ft-typography-overline-font-family","",Qo),Je=xo.extend("--ft-typography-overline-font-size","",te.fontSize,"10px"),qe=xo.extend("--ft-typography-overline-font-weight","",te.fontWeight,"normal"),Xe=xo.extend("--ft-typography-overline-letter-spacing","",te.letterSpacing,"1.5px"),Qe=xo.extend("--ft-typography-overline-line-height","",te.lineHeight,"1.6"),tr=xo.extend("--ft-typography-overline-text-transform","",te.textTransform,"uppercase"),or={fontFamily:xo.extend("--ft-typography-button-font-family","",Qo),fontSize:xo.extend("--ft-typography-button-font-size","",te.fontSize,"14px"),fontWeight:xo.extend("--ft-typography-button-font-weight","",te.fontWeight,"600"),letterSpacing:xo.extend("--ft-typography-button-letter-spacing","",te.letterSpacing,"1.246px"),lineHeight:xo.extend("--ft-typography-button-line-height","",te.lineHeight,"1.15"),textTransform:xo.extend("--ft-typography-button-text-transform","",te.textTransform,"uppercase")},er=bt`
|
|
234
234
|
.ft-typography--title {
|
|
235
235
|
font-family: ${oe};
|
|
236
236
|
font-size: ${ee};
|
|
237
|
-
font-weight: ${
|
|
238
|
-
letter-spacing: ${
|
|
237
|
+
font-weight: ${re};
|
|
238
|
+
letter-spacing: ${ie};
|
|
239
239
|
line-height: ${ne};
|
|
240
240
|
text-transform: ${ae};
|
|
241
241
|
}
|
|
242
|
-
`,
|
|
242
|
+
`,rr=bt`
|
|
243
243
|
.ft-typography--title-dense {
|
|
244
244
|
font-family: ${se};
|
|
245
245
|
font-size: ${le};
|
|
@@ -248,7 +248,7 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
248
248
|
line-height: ${fe};
|
|
249
249
|
text-transform: ${he};
|
|
250
250
|
}
|
|
251
|
-
`,
|
|
251
|
+
`,ir=bt`
|
|
252
252
|
.ft-typography--subtitle1 {
|
|
253
253
|
font-family: ${de};
|
|
254
254
|
font-size: ${ue};
|
|
@@ -257,7 +257,7 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
257
257
|
line-height: ${be};
|
|
258
258
|
text-transform: ${me};
|
|
259
259
|
}
|
|
260
|
-
`,
|
|
260
|
+
`,nr=bt`
|
|
261
261
|
.ft-typography--subtitle2 {
|
|
262
262
|
font-family: ${xe};
|
|
263
263
|
font-size: ${Oe};
|
|
@@ -267,34 +267,34 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
267
267
|
text-transform: ${we};
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
`,
|
|
270
|
+
`,ar=bt`
|
|
271
271
|
.ft-typography--body1 {
|
|
272
272
|
font-family: ${Ce};
|
|
273
273
|
font-size: ${$e};
|
|
274
274
|
font-weight: ${Re};
|
|
275
275
|
letter-spacing: ${Ee};
|
|
276
276
|
line-height: ${Ue};
|
|
277
|
-
text-transform: ${
|
|
277
|
+
text-transform: ${ke};
|
|
278
278
|
}
|
|
279
|
-
`,
|
|
279
|
+
`,sr=bt`
|
|
280
280
|
.ft-typography--body2 {
|
|
281
|
-
font-family: ${
|
|
282
|
-
font-size: ${
|
|
283
|
-
font-weight: ${
|
|
281
|
+
font-family: ${Ie};
|
|
282
|
+
font-size: ${Le};
|
|
283
|
+
font-weight: ${We};
|
|
284
284
|
letter-spacing: ${ze};
|
|
285
285
|
line-height: ${Ke};
|
|
286
286
|
text-transform: ${Fe};
|
|
287
287
|
}
|
|
288
|
-
`,
|
|
288
|
+
`,lr=bt`
|
|
289
289
|
.ft-typography--caption {
|
|
290
290
|
font-family: ${Ze};
|
|
291
291
|
font-size: ${Be};
|
|
292
292
|
font-weight: ${Ae};
|
|
293
|
-
letter-spacing: ${
|
|
294
|
-
line-height: ${
|
|
293
|
+
letter-spacing: ${De};
|
|
294
|
+
line-height: ${Me};
|
|
295
295
|
text-transform: ${Pe};
|
|
296
296
|
}
|
|
297
|
-
`,
|
|
297
|
+
`,cr=bt`
|
|
298
298
|
.ft-typography--breadcrumb {
|
|
299
299
|
font-family: ${He};
|
|
300
300
|
font-size: ${Te};
|
|
@@ -303,29 +303,29 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
303
303
|
line-height: ${Ge};
|
|
304
304
|
text-transform: ${Ye};
|
|
305
305
|
}
|
|
306
|
-
`,
|
|
306
|
+
`,pr=bt`
|
|
307
307
|
.ft-typography--overline {
|
|
308
308
|
font-family: ${Ve};
|
|
309
309
|
font-size: ${Je};
|
|
310
310
|
font-weight: ${qe};
|
|
311
311
|
letter-spacing: ${Xe};
|
|
312
312
|
line-height: ${Qe};
|
|
313
|
-
text-transform: ${
|
|
313
|
+
text-transform: ${tr};
|
|
314
314
|
}
|
|
315
|
-
`,
|
|
315
|
+
`,fr=bt`
|
|
316
316
|
.ft-typography--button {
|
|
317
|
-
font-family: ${
|
|
318
|
-
font-size: ${
|
|
319
|
-
font-weight: ${
|
|
320
|
-
letter-spacing: ${
|
|
321
|
-
line-height: ${
|
|
322
|
-
text-transform: ${
|
|
323
|
-
}
|
|
324
|
-
`,
|
|
317
|
+
font-family: ${or.fontFamily};
|
|
318
|
+
font-size: ${or.fontSize};
|
|
319
|
+
font-weight: ${or.fontWeight};
|
|
320
|
+
letter-spacing: ${or.letterSpacing};
|
|
321
|
+
line-height: ${or.lineHeight};
|
|
322
|
+
text-transform: ${or.textTransform};
|
|
323
|
+
}
|
|
324
|
+
`,hr=bt`
|
|
325
325
|
.ft-typography {
|
|
326
326
|
vertical-align: inherit;
|
|
327
327
|
}
|
|
328
|
-
`,
|
|
328
|
+
`,dr=[Object.keys(No).map((t=>function(t){const o=No[t];return bt`
|
|
329
329
|
.ft-typography--${gt(t)} {
|
|
330
330
|
font-family: ${o.fontFamily};
|
|
331
331
|
font-size: ${o.fontSize};
|
|
@@ -334,7 +334,7 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
334
334
|
line-height: ${o.lineHeight};
|
|
335
335
|
text-transform: ${o.textCase};
|
|
336
336
|
}
|
|
337
|
-
`}(t)))],
|
|
337
|
+
`}(t)))],ur={color:xo.extend("--ft-loader-color","",Co.colorPrimary),size:xo.create("--ft-loader-size","","SIZE","80px")},yr=bt`
|
|
338
338
|
:host {
|
|
339
339
|
line-height: 0;
|
|
340
340
|
}
|
|
@@ -343,8 +343,8 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
343
343
|
display: inline-block;
|
|
344
344
|
position: relative;
|
|
345
345
|
|
|
346
|
-
width: ${
|
|
347
|
-
height: ${
|
|
346
|
+
width: ${ur.size};
|
|
347
|
+
height: ${ur.size};
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
.ft-loader div {
|
|
@@ -353,7 +353,7 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
353
353
|
width: 25%;
|
|
354
354
|
height: 25%;
|
|
355
355
|
border-radius: 50%;
|
|
356
|
-
background: ${
|
|
356
|
+
background: ${ur.color};
|
|
357
357
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
358
358
|
}
|
|
359
359
|
|
|
@@ -400,10 +400,10 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
400
400
|
transform: translate(0, 0);
|
|
401
401
|
}
|
|
402
402
|
100% {
|
|
403
|
-
transform: translate(calc(0.35 * ${
|
|
403
|
+
transform: translate(calc(0.35 * ${ur.size}), 0);
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
|
-
`,
|
|
406
|
+
`,gr={size:xo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:xo.extend("--ft-icon-fluid-topics-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:xo.extend("--ft-icon-file-format-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:xo.extend("--ft-icon-material-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:xo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},br=bt`
|
|
407
407
|
:host, i.ft-icon {
|
|
408
408
|
display: inline-flex;
|
|
409
409
|
align-items: center;
|
|
@@ -412,14 +412,14 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
:host {
|
|
415
|
-
width: ${
|
|
416
|
-
height: ${
|
|
415
|
+
width: ${gr.size};
|
|
416
|
+
height: ${gr.size};
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
i.ft-icon {
|
|
420
420
|
width: 100%;
|
|
421
421
|
height: 100%;
|
|
422
|
-
font-size: ${
|
|
422
|
+
font-size: ${gr.size};
|
|
423
423
|
line-height: 1;
|
|
424
424
|
font-weight: normal;
|
|
425
425
|
text-transform: none;
|
|
@@ -430,28 +430,28 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
430
430
|
text-rendering: auto;
|
|
431
431
|
-webkit-font-smoothing: antialiased;
|
|
432
432
|
-moz-osx-font-smoothing: grayscale;
|
|
433
|
-
vertical-align: ${
|
|
433
|
+
vertical-align: ${gr.verticalAlign};
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
i.ft-icon.ft-icon--fluid-topics {
|
|
437
|
-
font-family: ${
|
|
437
|
+
font-family: ${gr.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
438
438
|
|
|
439
439
|
/* Ugly fix because font is broken */
|
|
440
|
-
font-size: calc(0.75 * ${
|
|
441
|
-
line-height: ${
|
|
440
|
+
font-size: calc(0.75 * ${gr.size});
|
|
441
|
+
line-height: ${gr.size};
|
|
442
442
|
position: relative;
|
|
443
443
|
top: -4%;
|
|
444
444
|
justify-content: center;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
.ft-icon--file-format {
|
|
448
|
-
font-family: ${
|
|
448
|
+
font-family: ${gr.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
449
449
|
}
|
|
450
450
|
|
|
451
451
|
.ft-icon--material {
|
|
452
|
-
font-family: ${
|
|
452
|
+
font-family: ${gr.materialFontFamily}, "Material Icons", sans-serif;
|
|
453
453
|
}
|
|
454
|
-
`,
|
|
454
|
+
`,mr=xo.extend("--ft-button-color","",Co.colorPrimary),xr={backgroundColor:xo.extend("--ft-button-background-color","",Co.colorSurface),borderRadius:xo.extend("--ft-button-border-radius","",Co.borderRadiusL),color:mr,fontSize:xo.extend("--ft-button-font-size","",or.fontSize),iconSize:xo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:xo.extend("--ft-button-ripple-color","",mr),verticalPadding:xo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:xo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:xo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:xo.external(Co.colorOpacityDisabled,"Design system")},Or=xo.extend("--ft-button-primary-color","",xo.extend("--ft-button-color","",Co.colorOnPrimary)),vr={backgroundColor:xo.extend("--ft-button-primary-background-color","",xo.extend("--ft-button-background-color","",Co.colorPrimary)),color:Or,rippleColor:xo.extend("--ft-button-primary-ripple-color","",Or)},Nr=xo.extend("--ft-button-dense-border-radius","",xo.extend("--ft-button-border-radius","",Co.borderRadiusM)),Sr=xo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),wr=xo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Cr=xo.create("--ft-button-dense-icon-padding","","SIZE","4px"),$r=[bt`
|
|
455
455
|
:host {
|
|
456
456
|
display: inline-block;
|
|
457
457
|
max-width: 100%;
|
|
@@ -462,7 +462,7 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
462
462
|
box-shadow: 0px 0px 0px transparent;
|
|
463
463
|
border: 0px solid transparent;
|
|
464
464
|
text-shadow: 0px 0px 0px transparent;
|
|
465
|
-
font-size: ${
|
|
465
|
+
font-size: ${xr.fontSize};
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
button:hover {
|
|
@@ -491,31 +491,31 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
491
491
|
border: none;
|
|
492
492
|
pointer-events: auto;
|
|
493
493
|
|
|
494
|
-
--ft-button-internal-line-height: max(calc(${
|
|
495
|
-
--ft-button-internal-color: ${
|
|
496
|
-
${Oo(
|
|
497
|
-
${Oo(To.color,
|
|
494
|
+
--ft-button-internal-line-height: max(calc(${xr.fontSize} + 2px), ${xr.iconSize});
|
|
495
|
+
--ft-button-internal-color: ${xr.color};
|
|
496
|
+
${Oo(gr.size,xr.iconSize)};
|
|
497
|
+
${Oo(To.color,xr.rippleColor)};
|
|
498
498
|
|
|
499
|
-
border-radius: ${
|
|
500
|
-
padding: ${
|
|
501
|
-
background-color: ${
|
|
499
|
+
border-radius: ${xr.borderRadius};
|
|
500
|
+
padding: ${xr.verticalPadding} ${xr.horizontalPadding};
|
|
501
|
+
background-color: ${xr.backgroundColor};
|
|
502
502
|
color: var(--ft-button-internal-color);
|
|
503
503
|
-webkit-mask-image: radial-gradient(white, black);
|
|
504
504
|
}
|
|
505
505
|
|
|
506
506
|
.ft-button.ft-button--outlined {
|
|
507
507
|
border: 1px solid var(--ft-button-internal-color);
|
|
508
|
-
padding: calc(${
|
|
508
|
+
padding: calc(${xr.verticalPadding} - 1px) calc(${xr.horizontalPadding} - 1px);
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
.ft-button.ft-button--dense {
|
|
512
|
-
padding: ${
|
|
513
|
-
border-radius: ${
|
|
514
|
-
gap: ${
|
|
512
|
+
padding: ${Sr} ${wr};
|
|
513
|
+
border-radius: ${Nr};
|
|
514
|
+
gap: ${Cr};
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
518
|
-
padding: calc(${
|
|
518
|
+
padding: calc(${Sr} - 1px) calc(${wr} - 1px);
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
.ft-button:not([disabled]):hover {
|
|
@@ -523,22 +523,22 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
523
523
|
}
|
|
524
524
|
|
|
525
525
|
.ft-button--round {
|
|
526
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
526
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${xr.verticalPadding});
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
.ft-button--round.ft-button--dense {
|
|
530
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
530
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Sr});
|
|
531
531
|
}
|
|
532
532
|
|
|
533
533
|
.ft-button[disabled] {
|
|
534
534
|
filter: grayscale(1);
|
|
535
|
-
opacity: ${
|
|
535
|
+
opacity: ${xr.opacityDisabled};
|
|
536
536
|
}
|
|
537
537
|
|
|
538
538
|
.ft-button.ft-button--primary {
|
|
539
|
-
background-color: ${
|
|
540
|
-
--ft-button-internal-color: ${
|
|
541
|
-
${Oo(To.color,
|
|
539
|
+
background-color: ${vr.backgroundColor};
|
|
540
|
+
--ft-button-internal-color: ${vr.color};
|
|
541
|
+
${Oo(To.color,vr.rippleColor)};
|
|
542
542
|
}
|
|
543
543
|
|
|
544
544
|
.ft-button:focus {
|
|
@@ -551,13 +551,13 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
551
551
|
white-space: nowrap;
|
|
552
552
|
text-overflow: ellipsis;
|
|
553
553
|
display: block;
|
|
554
|
-
margin: 0 ${
|
|
555
|
-
${Oo(
|
|
556
|
-
${Oo(
|
|
554
|
+
margin: 0 ${xr.iconPadding};
|
|
555
|
+
${Oo(or.fontSize,"1em")};
|
|
556
|
+
${Oo(or.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
557
557
|
}
|
|
558
558
|
|
|
559
559
|
.ft-button--dense .ft-button--label {
|
|
560
|
-
margin: 0 ${
|
|
560
|
+
margin: 0 ${Cr};
|
|
561
561
|
}
|
|
562
562
|
|
|
563
563
|
.ft-button--label[hidden] {
|
|
@@ -570,13 +570,13 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
570
570
|
}
|
|
571
571
|
|
|
572
572
|
.ft-button--label[hidden] + ft-icon {
|
|
573
|
-
margin: 0 calc(${
|
|
574
|
-
padding: 0 ${
|
|
573
|
+
margin: 0 calc(${xr.horizontalPadding} * -1);
|
|
574
|
+
padding: 0 ${xr.verticalPadding};
|
|
575
575
|
}
|
|
576
576
|
|
|
577
577
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
578
|
-
margin: 0 calc(${
|
|
579
|
-
padding: 0 ${
|
|
578
|
+
margin: 0 calc(${wr} * -1);
|
|
579
|
+
padding: 0 ${Sr};
|
|
580
580
|
}
|
|
581
581
|
|
|
582
582
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -585,39 +585,39 @@ class go extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
585
585
|
}
|
|
586
586
|
|
|
587
587
|
ft-loader {
|
|
588
|
-
${Oo(
|
|
589
|
-
${Oo(
|
|
588
|
+
${Oo(ur.size,xr.iconSize)};
|
|
589
|
+
${Oo(ur.color,"var(--ft-button-internal-color)")};
|
|
590
590
|
}
|
|
591
|
-
`,Fo],
|
|
591
|
+
`,Fo],Rr=1,Er=2,Ur=t=>(...o)=>({_$litDirective$:t,values:o});let kr=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)}};
|
|
592
592
|
/**
|
|
593
593
|
* @license
|
|
594
594
|
* Copyright 2018 Google LLC
|
|
595
595
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
596
|
-
*/const
|
|
596
|
+
*/const Ir=Ur(class extends kr{constructor(t){if(super(t),t.type!==Rr||"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 r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return q}});var Lr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Wr 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 E(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 E(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=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!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Qt`
|
|
597
597
|
<style>
|
|
598
598
|
.ft-ripple .ft-ripple--effect {
|
|
599
599
|
left: ${this.originX}px;
|
|
600
600
|
top: ${this.originY}px;
|
|
601
601
|
}
|
|
602
602
|
</style>
|
|
603
|
-
<div class="${
|
|
603
|
+
<div class="${Ir(t)}">
|
|
604
604
|
<div class="ft-ripple--background"></div>
|
|
605
605
|
<div class="ft-ripple--effect"></div>
|
|
606
606
|
</div>
|
|
607
|
-
`}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"),
|
|
607
|
+
`}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"),r=o("touchend","touchcancel"),i=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",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),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",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),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 r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}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()}}Wr.elementDefinitions={},Wr.styles=qo,Lr([w({type:Boolean})],Wr.prototype,"primary",void 0),Lr([w({type:Boolean})],Wr.prototype,"secondary",void 0),Lr([w({type:Boolean})],Wr.prototype,"unbounded",void 0),Lr([w({type:Boolean})],Wr.prototype,"activated",void 0),Lr([w({type:Boolean})],Wr.prototype,"selected",void 0),Lr([w({type:Boolean})],Wr.prototype,"disabled",void 0),Lr([C()],Wr.prototype,"hovered",void 0),Lr([C()],Wr.prototype,"focused",void 0),Lr([C()],Wr.prototype,"pressed",void 0),Lr([C()],Wr.prototype,"rippling",void 0),Lr([C()],Wr.prototype,"originX",void 0),Lr([C()],Wr.prototype,"originY",void 0),Lr([R(".ft-ripple")],Wr.prototype,"ripple",void 0),Lr([R(".ft-ripple--effect")],Wr.prototype,"rippleEffect",void 0),k("ft-ripple")(Wr);
|
|
608
608
|
/**
|
|
609
609
|
* @license
|
|
610
610
|
* Copyright 2020 Google LLC
|
|
611
611
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
612
612
|
*/
|
|
613
|
-
const
|
|
614
|
-
<${
|
|
613
|
+
const zr=Symbol.for(""),Kr=t=>{if(t?.r===zr)return t?._$litStatic$},Fr=t=>({_$litStatic$:t,r:zr}),Zr=new Map,Br=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],s=[];let l,c=0,p=!1;for(;c<r;){for(l=o[c];c<r&&void 0!==(n=e[c],i=Kr(n));)l+=i+o[++c],p=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(o[r]),p){const t=a.join("$$lit$$");void 0===(o=Zr.get(t))&&(a.raw=a,Zr.set(t,o=a)),e=s}return t(o,...e)})(J);var Ar;!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"}(Ar||(Ar={}));var Dr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Mr extends zo{constructor(){super(...arguments),this.variant=Ar.body1}render(){return this.element?Br`
|
|
614
|
+
<${Fr(this.element)}
|
|
615
615
|
class="ft-typography ft-typography--${this.variant}">
|
|
616
616
|
<slot></slot>
|
|
617
|
-
</${
|
|
618
|
-
`:
|
|
617
|
+
</${Fr(this.element)}>
|
|
618
|
+
`:Br`
|
|
619
619
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
620
|
-
`}}
|
|
620
|
+
`}}Mr.styles=[er,rr,ir,nr,ar,sr,lr,cr,pr,fr,hr,...dr],Dr([w()],Mr.prototype,"element",void 0),Dr([w()],Mr.prototype,"variant",void 0),k("ft-typography")(Mr);const Pr=xo.create("--ft-tooltip-distance","","SIZE","4px"),Hr=xo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Tr=xo.create("--ft-tooltip-background-color","","COLOR","#666666"),jr=xo.create("--ft-tooltip-z-index","","NUMBER","100"),_r=xo.external(Co.borderRadiusS,"Design system"),Gr=xo.create("--ft-tooltip-max-width","","SIZE","150px"),Yr=bt`
|
|
621
621
|
.ft-tooltip--container {
|
|
622
622
|
display: block;
|
|
623
623
|
}
|
|
@@ -632,21 +632,21 @@ const zi=Symbol.for(""),Ki=t=>{if(t?.r===zi)return t?._$litStatic$},Fi=t=>({_$li
|
|
|
632
632
|
box-sizing: border-box;
|
|
633
633
|
overflow: hidden;
|
|
634
634
|
width: max-content;
|
|
635
|
-
max-width: ${
|
|
635
|
+
max-width: ${Gr};
|
|
636
636
|
text-align: center;
|
|
637
|
-
padding: ${
|
|
638
|
-
z-index: ${
|
|
637
|
+
padding: ${Pr};
|
|
638
|
+
z-index: ${jr};
|
|
639
639
|
}
|
|
640
640
|
|
|
641
641
|
.ft-tooltip--content {
|
|
642
642
|
padding: 4px 8px;
|
|
643
|
-
border-radius: ${
|
|
644
|
-
background-color: ${
|
|
645
|
-
color: ${
|
|
643
|
+
border-radius: ${_r};
|
|
644
|
+
background-color: ${Tr};
|
|
645
|
+
color: ${Hr};
|
|
646
646
|
position: relative;
|
|
647
647
|
word-break: break-word;
|
|
648
648
|
}
|
|
649
|
-
`;var Vi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ji extends zo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Qt`
|
|
649
|
+
`,Vr=["start","end"],Jr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Vr[0],o+"-"+Vr[1])),[]),qr=Math.min,Xr=Math.max,Qr=Math.round,ti=t=>({x:t,y:t}),oi={left:"right",right:"left",bottom:"top",top:"bottom"},ei={start:"end",end:"start"};function ri(t,o,e){return Xr(t,qr(o,e))}function ii(t,o){return"function"==typeof t?t(o):t}function ni(t){return t.split("-")[0]}function ai(t){return t.split("-")[1]}function si(t){return"x"===t?"y":"x"}function li(t){return"y"===t?"height":"width"}function ci(t){return["top","bottom"].includes(ni(t))?"y":"x"}function pi(t){return si(ci(t))}function fi(t){return t.replace(/left|right|bottom|top/g,(t=>oi[t]))}function hi(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function di(t,o,e){let{reference:r,floating:i}=t;const n=ci(o),a=pi(o),s=li(a),l=ni(o),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(ai(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function ui(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=ii(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=hi(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=hi(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function yi(t,o,e){return(t?[...e.filter((o=>ai(o)===t)),...e.filter((o=>ai(o)!==t))]:e.filter((t=>ni(t)===t))).filter((e=>!t||(ai(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ei[t]))}(e)!==e)))}const gi=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Jr,autoAlignment:d=!0,...u}=ii(t,o),y=void 0!==f||h===Jr?yi(f||null,d,h):h,g=await ui(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=ai(t),i=pi(t),n=li(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=fi(a)),[a,fi(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[ni(m)],g[x[0]],g[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=ai(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,ai(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function bi(t){return Oi(t)?(t.nodeName||"").toLowerCase():"#document"}function mi(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function xi(t){var o;return null==(o=(Oi(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Oi(t){return t instanceof Node||t instanceof mi(t).Node}function vi(t){return t instanceof Element||t instanceof mi(t).Element}function Ni(t){return t instanceof HTMLElement||t instanceof mi(t).HTMLElement}function Si(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof mi(t).ShadowRoot)}function wi(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Ui(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Ci(t){return["table","td","th"].includes(bi(t))}function $i(t){const o=Ri(),e=Ui(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Ri(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ei(t){return["html","body","#document"].includes(bi(t))}function Ui(t){return mi(t).getComputedStyle(t)}function ki(t){return vi(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ii(t){if("html"===bi(t))return t;const o=t.assignedSlot||t.parentNode||Si(t)&&t.host||xi(t);return Si(o)?o.host:o}function Li(t){const o=Ii(t);return Ei(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ni(o)&&wi(o)?o:Li(o)}function Wi(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Li(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=mi(i);return n?o.concat(a,a.visualViewport||[],wi(i)?i:[],a.frameElement&&e?Wi(a.frameElement):[]):o.concat(i,Wi(i,[],e))}function zi(t){const o=Ui(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Ni(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=Qr(e)!==n||Qr(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function Ki(t){return vi(t)?t:t.contextElement}function Fi(t){const o=Ki(t);if(!Ni(o))return ti(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=zi(o);let a=(n?Qr(e.width):e.width)/r,s=(n?Qr(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Zi=ti(0);function Bi(t){const o=mi(t);return Ri()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Zi}function Ai(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Ki(t);let a=ti(1);o&&(r?vi(r)&&(a=Fi(r)):a=Fi(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==mi(t))&&o}(n,e,r)?Bi(n):ti(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=mi(n),o=r&&vi(r)?mi(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Fi(e),o=e.getBoundingClientRect(),r=Ui(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,e=mi(e).frameElement}}return hi({width:p,height:f,x:l,y:c})}function Di(t){return Ai(xi(t)).left+ki(t).scrollLeft}function Mi(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=mi(t),r=xi(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=Ri();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=xi(t),e=ki(t),r=t.ownerDocument.body,i=Xr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Xr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Di(t);const s=-e.scrollTop;return"rtl"===Ui(r).direction&&(a+=Xr(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(xi(t));else if(vi(o))r=function(t,o){const e=Ai(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Ni(t)?Fi(t):ti(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=Bi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return hi(r)}function Pi(t,o){const e=Ii(t);return!(e===o||!vi(e)||Ei(e))&&("fixed"===Ui(e).position||Pi(e,o))}function Hi(t,o,e){const r=Ni(o),i=xi(o),n="fixed"===e,a=Ai(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=ti(0);if(r||!r&&!n)if(("body"!==bi(o)||wi(i))&&(s=ki(o)),r){const t=Ai(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=Di(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ti(t,o){return Ni(t)&&"fixed"!==Ui(t).position?o?o(t):t.offsetParent:null}function ji(t,o){const e=mi(t);if(!Ni(t))return e;let r=Ti(t,o);for(;r&&Ci(r)&&"static"===Ui(r).position;)r=Ti(r,o);return r&&("html"===bi(r)||"body"===bi(r)&&"static"===Ui(r).position&&!$i(r))?e:r||function(t){let o=Ii(t);for(;Ni(o)&&!Ei(o);){if($i(o))return o;o=Ii(o)}return null}(t)||e}const _i={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Ni(e),n=xi(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=ti(1);const l=ti(0);if((i||!i&&"fixed"!==r)&&(("body"!==bi(e)||wi(n))&&(a=ki(e)),Ni(e))){const t=Ai(e);s=Fi(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:xi,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Wi(t,[],!1).filter((t=>vi(t)&&"body"!==bi(t))),i=null;const n="fixed"===Ui(t).position;let a=n?Ii(t):t;for(;vi(a)&&!Ei(a);){const o=Ui(a),e=$i(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||wi(a)&&!e&&Pi(t,a))?r=r.filter((t=>t!==a)):i=o,a=Ii(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=Mi(o,e,i);return t.top=Xr(r.top,t.top),t.right=qr(r.right,t.right),t.bottom=qr(r.bottom,t.bottom),t.left=Xr(r.left,t.left),t}),Mi(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ji,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||ji,n=this.getDimensions;return{reference:Hi(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return zi(t)},getScale:Fi,isElement:vi,isRTL:function(t){return"rtl"===Ui(t).direction}},Gi=(t,o,e)=>{const r=new Map,i={platform:_i,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=di(c,r,l),h=r,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=di(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,o,{...i,platform:n})};var Yi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Vi 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 E,this.revealDebouncer=new E}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Qt`
|
|
650
650
|
<div part="container"
|
|
651
651
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
652
652
|
@mouseenter=${this.onHover}
|
|
@@ -664,27 +664,27 @@ const zi=Symbol.for(""),Ki=t=>{if(t?.r===zi)return t?._$litStatic$},Fi=t=>({_$li
|
|
|
664
664
|
</div>
|
|
665
665
|
</div>
|
|
666
666
|
</div>
|
|
667
|
-
`}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()
|
|
667
|
+
`}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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Gi(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=ii(t,o),c={x:e,y:r},p=await ui(o,l),f=ci(ni(i)),h=si(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=ri(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=ri(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-r}}}}),gi({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Vi.elementDefinitions={"ft-typography":Mr},Vi.styles=Yr,Yi([w()],Vi.prototype,"text",void 0),Yi([w({type:Boolean})],Vi.prototype,"manual",void 0),Yi([w({type:Boolean})],Vi.prototype,"inline",void 0),Yi([w({type:Number})],Vi.prototype,"delay",void 0),Yi([w()],Vi.prototype,"position",void 0),Yi([function(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return $(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}()],Vi.prototype,"slotNodes",void 0),Yi([R(".ft-tooltip--container")],Vi.prototype,"container",void 0),Yi([R(".ft-tooltip")],Vi.prototype,"tooltip",void 0),Yi([R(".ft-tooltip--content")],Vi.prototype,"tooltipContent",void 0),Yi([C()],Vi.prototype,"visible",void 0),k("ft-tooltip")(Vi);
|
|
668
668
|
/**
|
|
669
669
|
* @license
|
|
670
670
|
* Copyright 2017 Google LLC
|
|
671
671
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
672
672
|
*/
|
|
673
|
-
class
|
|
673
|
+
class Ji extends kr{constructor(t){if(super(t),this.et=X,t.type!==Er)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||null==t)return this.vt=void 0,this.et=t;if(t===q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}Ji.directiveName="unsafeHTML",Ji.resultType=1;const qi=Ur(Ji);var Xi,Qi,tn;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Xi||(Xi={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Qi||(Qi={})),new Map([...["abw"].map((t=>[t,Qi.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Qi.AUDIO])),...["avi"].map((t=>[t,Qi.AVI])),...["chm","xhs"].map((t=>[t,Qi.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Qi.CODE])),...["csv"].map((t=>[t,Qi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Qi.DITA])),...["epub"].map((t=>[t,Qi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Qi.EXCEL])),...["flac"].map((t=>[t,Qi.FLAC])),...["gif"].map((t=>[t,Qi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Qi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Qi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Qi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Qi.JPEG])),...["json"].map((t=>[t,Qi.JSON])),...["m4a","m4p"].map((t=>[t,Qi.M4A])),...["mov","qt"].map((t=>[t,Qi.MOV])),...["mp3"].map((t=>[t,Qi.MP3])),...["mp4","m4v"].map((t=>[t,Qi.MP4])),...["ogg","oga"].map((t=>[t,Qi.OGG])),...["pdf","ps"].map((t=>[t,Qi.PDF])),...["png"].map((t=>[t,Qi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Qi.POWERPOINT])),...["rar"].map((t=>[t,Qi.RAR])),...["stp"].map((t=>[t,Qi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Qi.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Qi.VIDEO])),...["wav"].map((t=>[t,Qi.WAV])),...["wma"].map((t=>[t,Qi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Qi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Qi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Qi.YAML])),...["zip"].map((t=>[t,Qi.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(tn||(tn={}));var on=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class en extends zo{constructor(){super(...arguments),this.resolvedIcon=oo}render(){const t=this.variant&&Object.values(tn).includes(this.variant)?this.variant:tn.fluid_topics,o=t!==tn.material||!!this.value;return Qt`
|
|
674
674
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
675
|
-
${
|
|
675
|
+
${qi(this.resolvedIcon)}
|
|
676
676
|
<slot ?hidden=${o}></slot>
|
|
677
677
|
</i>
|
|
678
|
-
`}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
|
|
678
|
+
`}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 tn.file_format:this.resolvedIcon=null!==(t=Qi[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case tn.material:this.resolvedIcon=this.value||oo;break;default:this.resolvedIcon=null!==(o=Xi[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}en.elementDefinitions={},en.styles=br,on([w()],en.prototype,"variant",void 0),on([w()],en.prototype,"value",void 0),on([C()],en.prototype,"resolvedIcon",void 0),on([R("slot")],en.prototype,"slottedContent",void 0),k("ft-icon")(en);class rn extends zo{render(){return Qt`
|
|
679
679
|
<div class="ft-loader">
|
|
680
680
|
<div></div>
|
|
681
681
|
<div></div>
|
|
682
682
|
<div></div>
|
|
683
683
|
<div></div>
|
|
684
684
|
</div>
|
|
685
|
-
`}}
|
|
685
|
+
`}}rn.styles=yr,k("ft-loader")(rn);var nn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class an 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(Qt`
|
|
686
686
|
<button part="button"
|
|
687
|
-
class="${
|
|
687
|
+
class="${Ir(this.buttonClasses)}"
|
|
688
688
|
aria-label="${this.getLabel()}"
|
|
689
689
|
?disabled=${this.isDisabled()}>
|
|
690
690
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
@@ -705,7 +705,7 @@ class qi extends Ii{constructor(t){if(super(t),this.et=X,t.type!==Ei)throw Error
|
|
|
705
705
|
</ft-tooltip>
|
|
706
706
|
`:t}resolveIcon(){return this.loading?Qt`
|
|
707
707
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?Qt`
|
|
708
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:oo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
708
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:oo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}an.elementDefinitions={"ft-ripple":Wr,"ft-tooltip":Vi,"ft-typography":Mr,"ft-icon":en,"ft-loader":rn},nn([w({type:String,reflect:!0})],an.prototype,"role",void 0),nn([w()],an.prototype,"type",void 0),nn([w({type:Boolean})],an.prototype,"disabled",void 0),nn([w()],an.prototype,"label",void 0),nn([w()],an.prototype,"icon",void 0),nn([w()],an.prototype,"iconVariant",void 0),nn([w({type:Boolean})],an.prototype,"trailingIcon",void 0),nn([w({type:Boolean})],an.prototype,"loading",void 0),nn([w()],an.prototype,"tooltipPosition",void 0),nn([w({type:Boolean})],an.prototype,"hideTooltip",void 0),nn([w({type:Boolean})],an.prototype,"forceTooltip",void 0),nn([R(".ft-button")],an.prototype,"button",void 0),nn([R(".ft-button--label slot")],an.prototype,"slottedContent",void 0);var sn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ln extends an{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"}}ln.styles=[Zo,$r],sn([w({type:Boolean})],ln.prototype,"primary",void 0),sn([w({type:Boolean})],ln.prototype,"outlined",void 0),sn([w({type:Boolean})],ln.prototype,"dense",void 0),sn([w({type:Boolean})],ln.prototype,"round",void 0);const cn=[bt`
|
|
709
709
|
:host {
|
|
710
710
|
display: inline-block;
|
|
711
711
|
max-width: 100%;
|
|
@@ -784,7 +784,7 @@ class qi extends Ii{constructor(t){if(super(t),this.et=X,t.type!==Ei)throw Error
|
|
|
784
784
|
/** Primary styles **/
|
|
785
785
|
|
|
786
786
|
.ft-button--primary {
|
|
787
|
-
${Oo(
|
|
787
|
+
${Oo(ur.color,wo.primaryIconColor)};
|
|
788
788
|
|
|
789
789
|
${Oo(To.color,wo.primaryStateLayerColor)};
|
|
790
790
|
${Oo(To.opacityContentOnSurfaceHover,wo.primaryStateLayerOpacityHover)};
|
|
@@ -808,7 +808,7 @@ class qi extends Ii{constructor(t){if(super(t),this.et=X,t.type!==Ei)throw Error
|
|
|
808
808
|
/** Secondary styles **/
|
|
809
809
|
|
|
810
810
|
.ft-button--secondary {
|
|
811
|
-
${Oo(
|
|
811
|
+
${Oo(ur.color,wo.secondaryIconColor)};
|
|
812
812
|
|
|
813
813
|
${Oo(To.color,wo.secondaryStateLayerColor)};
|
|
814
814
|
${Oo(To.opacityContentOnSurfaceHover,wo.secondaryStateLayerOpacityHover)};
|
|
@@ -833,7 +833,7 @@ class qi extends Ii{constructor(t){if(super(t),this.et=X,t.type!==Ei)throw Error
|
|
|
833
833
|
/** Tertiary styles **/
|
|
834
834
|
|
|
835
835
|
.ft-button--tertiary {
|
|
836
|
-
${Oo(
|
|
836
|
+
${Oo(ur.color,wo.tertiaryIconColor)};
|
|
837
837
|
|
|
838
838
|
${Oo(To.color,wo.tertiaryStateLayerColor)};
|
|
839
839
|
${Oo(To.opacityContentOnSurfaceHover,wo.tertiaryStateLayerOpacityHover)};
|
|
@@ -857,7 +857,7 @@ class qi extends Ii{constructor(t){if(super(t),this.et=X,t.type!==Ei)throw Error
|
|
|
857
857
|
/** Neutral styles **/
|
|
858
858
|
|
|
859
859
|
.ft-button--neutral {
|
|
860
|
-
${Oo(
|
|
860
|
+
${Oo(ur.color,wo.neutralIconColor)};
|
|
861
861
|
|
|
862
862
|
${Oo(To.backgroundColor,wo.neutralStateLayerColor)};
|
|
863
863
|
${Oo(To.opacityContentOnSurfaceHover,wo.neutralStateLayerOpacityHover)};
|
|
@@ -881,8 +881,8 @@ class qi extends Ii{constructor(t){if(super(t),this.et=X,t.type!==Ei)throw Error
|
|
|
881
881
|
/** Large styles **/
|
|
882
882
|
|
|
883
883
|
.ft-button--large {
|
|
884
|
-
${Oo(
|
|
885
|
-
${Oo(
|
|
884
|
+
${Oo(gr.size,wo.largeIconSize)};
|
|
885
|
+
${Oo(ur.size,wo.largeIconSize)};
|
|
886
886
|
|
|
887
887
|
height: ${wo.largeHeight};
|
|
888
888
|
padding: 0 ${wo.largeHorizontalPadding};
|
|
@@ -904,8 +904,8 @@ class qi extends Ii{constructor(t){if(super(t),this.et=X,t.type!==Ei)throw Error
|
|
|
904
904
|
/** Small styles **/
|
|
905
905
|
|
|
906
906
|
.ft-button--small {
|
|
907
|
-
${Oo(
|
|
908
|
-
${Oo(
|
|
907
|
+
${Oo(gr.size,wo.smallIconSize)};
|
|
908
|
+
${Oo(ur.size,wo.smallIconSize)};
|
|
909
909
|
|
|
910
910
|
height: ${wo.smallHeight};
|
|
911
911
|
padding: 0 ${wo.smallHorizontalPadding};
|
|
@@ -923,7 +923,7 @@ class qi extends Ii{constructor(t){if(super(t),this.et=X,t.type!==Ei)throw Error
|
|
|
923
923
|
width: ${wo.smallIconOnlyWidth};
|
|
924
924
|
padding: unset;
|
|
925
925
|
}
|
|
926
|
-
`,Fo];var
|
|
926
|
+
`,Fo];var pn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fn extends an{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?Ar.caption1medium:Ar.body2medium}}fn.styles=[Zo,cn],pn([w({type:Boolean})],fn.prototype,"primary",void 0),pn([w({type:Boolean})],fn.prototype,"secondary",void 0),pn([w({type:Boolean})],fn.prototype,"tertiary",void 0),pn([w({type:Boolean})],fn.prototype,"neutral",void 0),pn([w({type:Boolean})],fn.prototype,"small",void 0),k("ft-button")(ln),k("ftds-button")(fn);const hn={buttonsColor:xo.extend("--ft-snap-scroll-buttons-color","",Co.colorPrimary),buttonsZIndex:xo.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:xo.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:xo.external(Co.colorSurface,"Design system")},dn=bt`
|
|
927
927
|
.ft-snap-scroll {
|
|
928
928
|
box-sizing: border-box;
|
|
929
929
|
position: relative;
|
|
@@ -958,7 +958,7 @@ class qi extends Ii{constructor(t){if(super(t),this.et=X,t.type!==Ei)throw Error
|
|
|
958
958
|
flex-wrap: nowrap;
|
|
959
959
|
align-items: flex-start;
|
|
960
960
|
justify-content: flex-start;
|
|
961
|
-
gap: ${
|
|
961
|
+
gap: ${hn.gap};
|
|
962
962
|
}
|
|
963
963
|
|
|
964
964
|
.ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
|
|
@@ -1001,11 +1001,11 @@ class qi extends Ii{constructor(t){if(super(t),this.et=X,t.type!==Ei)throw Error
|
|
|
1001
1001
|
.ft-snap-scroll--next {
|
|
1002
1002
|
position: absolute;
|
|
1003
1003
|
display: flex;
|
|
1004
|
-
z-index: ${
|
|
1004
|
+
z-index: ${hn.buttonsZIndex};
|
|
1005
1005
|
opacity: 1;
|
|
1006
1006
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1007
|
-
${Oo(
|
|
1008
|
-
${Oo(
|
|
1007
|
+
${Oo(xr.backgroundColor,"transparent")};
|
|
1008
|
+
${Oo(xr.color,hn.buttonsColor)};
|
|
1009
1009
|
}
|
|
1010
1010
|
|
|
1011
1011
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1018,37 +1018,37 @@ class qi extends Ii{constructor(t){if(super(t),this.et=X,t.type!==Ei)throw Error
|
|
|
1018
1018
|
top: 0;
|
|
1019
1019
|
left: -1px;
|
|
1020
1020
|
bottom: 0;
|
|
1021
|
-
background: linear-gradient(to right, ${
|
|
1021
|
+
background: linear-gradient(to right, ${hn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
1024
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous {
|
|
1025
1025
|
top: -1px;
|
|
1026
1026
|
left: 0;
|
|
1027
1027
|
right: 0;
|
|
1028
|
-
background: linear-gradient(to bottom, ${
|
|
1028
|
+
background: linear-gradient(to bottom, ${hn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1029
1029
|
}
|
|
1030
1030
|
|
|
1031
1031
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next {
|
|
1032
1032
|
top: 0;
|
|
1033
1033
|
right: -1px;
|
|
1034
1034
|
bottom: 0;
|
|
1035
|
-
background: linear-gradient(to left, ${
|
|
1035
|
+
background: linear-gradient(to left, ${hn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1036
1036
|
}
|
|
1037
1037
|
|
|
1038
1038
|
.ft-snap-scroll--vertical .ft-snap-scroll--next {
|
|
1039
1039
|
left: 0;
|
|
1040
1040
|
right: 0;
|
|
1041
1041
|
bottom: -1px;
|
|
1042
|
-
background: linear-gradient(to top, ${
|
|
1042
|
+
background: linear-gradient(to top, ${hn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1043
1043
|
}
|
|
1044
1044
|
|
|
1045
1045
|
.ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
|
|
1046
1046
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
|
|
1047
1047
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
|
|
1048
1048
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1049
|
-
background-color: ${
|
|
1049
|
+
background-color: ${hn.colorSurface};
|
|
1050
1050
|
}
|
|
1051
|
-
`;var
|
|
1051
|
+
`;var un=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yn extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class gn extends zo{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new E(200),this.updateScrollDebouncer=new E(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=Ir({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Po}),o=this.controls&&this.withScroll;return Qt`
|
|
1052
1052
|
<div part="container" class="${t}">
|
|
1053
1053
|
<ft-button
|
|
1054
1054
|
class="ft-snap-scroll--previous"
|
|
@@ -1072,4 +1072,4 @@ class qi extends Ii{constructor(t){if(super(t),this.et=X,t.type!==Ei)throw Error
|
|
|
1072
1072
|
@click=${this.next}
|
|
1073
1073
|
></ft-button>
|
|
1074
1074
|
</div>
|
|
1075
|
-
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new
|
|
1075
|
+
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new yn(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(o=this.listenedContainer)||void 0===o||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,e;t&&(this.horizontal?null===(o=this.contentSlot)||void 0===o||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=null!==(o=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==o?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}}gn.elementDefinitions={"ft-button":ln},gn.styles=dn,un([w({type:Boolean})],gn.prototype,"horizontal",void 0),un([w({type:Boolean})],gn.prototype,"hideScrollbar",void 0),un([w({type:Boolean})],gn.prototype,"controls",void 0),un([w({type:Boolean})],gn.prototype,"limitSize",void 0),un([C()],gn.prototype,"elements",void 0),un([C()],gn.prototype,"currentElement",void 0),un([C()],gn.prototype,"withScroll",void 0),un([C()],gn.prototype,"startReached",void 0),un([C()],gn.prototype,"endReached",void 0),un([R(".ft-snap-scroll--content")],gn.prototype,"contentSlot",void 0),k("ft-snap-scroll")(gn),t.CurrentElementChange=yn,t.FtSnapScroll=gn,t.FtSnapScrollCssVariables=hn,t.styles=dn}({});
|