@fluid-topics/ft-floating-menu 1.1.26 → 1.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-floating-menu.light.js +126 -126
- package/build/ft-floating-menu.min.js +71 -71
- package/package.json +7 -7
|
@@ -12,7 +12,7 @@
|
|
|
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,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(hn){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
@@ -22,13 +22,13 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.cust
|
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:
|
|
25
|
+
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let N=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...f(t),...h(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};N.elementStyles=[],N.shadowRootOptions={mode:"open"},N[m("elementProperties")]=new Map,N[m("finalized")]=new Map,b?.({ReactiveElement:N}),(u.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:
|
|
31
|
+
const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,o,e)=>{const{kind:i,metadata:r}=e;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(e.name,t),"accessor"===i){const{name:i}=e;return{set(e){const r=o.get.call(this);o.set.call(this,e),this.requestUpdate(i,r,t)},init(o){return void 0!==o&&this.C(i,void 0,t),o}}}if("setter"===i){const{name:i}=e;return function(e){const r=this[i];o.call(this,e),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function C(t){return(o,e)=>"object"==typeof e?w(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
@@ -38,17 +38,17 @@ const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:O},w=(t=S,o,
|
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/function
|
|
41
|
+
*/function E(t){return(o,e)=>{const i="function"==typeof o?o:o[e];Object.assign(i,t)}}
|
|
42
42
|
/**
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
*/const
|
|
46
|
+
*/const R=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
-
*/;function U(t,o){return(e,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof i?e:r??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return
|
|
51
|
+
*/;function U(t,o){return(e,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof i?e:r??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return R(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return R(0,0,{get(){return n(this)}})}}
|
|
52
52
|
/**
|
|
53
53
|
* @license
|
|
54
54
|
* Copyright 2021 Google LLC
|
|
@@ -58,39 +58,39 @@ const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:O},w=(t=S,o,
|
|
|
58
58
|
* @license
|
|
59
59
|
* Copyright 2017 Google LLC
|
|
60
60
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
-
*/const L=globalThis,K=L.trustedTypes,z=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,
|
|
61
|
+
*/const L=globalThis,K=L.trustedTypes,z=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,D="?"+Z,A=`<${D}>`,B=document,M=()=>B.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,j="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,Y=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),ot=new WeakMap,et=B.createTreeWalker(B,129);function it(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==z?z.createHTML(o):o}let rt=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=((t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=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=_:void 0!==l[1]?a=G:void 0!==l[2]?(q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===l[0]?(a=r??T,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Y:'"'===l[3]?J:V):a===J||a===V?a=Y:a===_||a===G?a=T:(a=Y,r=void 0);const f=a===Y&&t[o+1].startsWith("/>")?" ":"";n+=a===T?e+A:c>=0?(i.push(s),e.slice(0,c)+F+e.slice(c)+Z+f):e+Z+(-2===c?o:f)}return[it(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]})(o,e);if(this.el=t.createElement(c,i),et.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=et.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(F)){const o=p[a++],e=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?lt:"?"===i[1]?ct:"@"===i[1]?pt:st}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(q.test(r.tagName)){const t=r.textContent.split(Z),o=t.length-1;if(o>0){r.textContent=K?K.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],M()),et.nextNode(),l.push({type:2,index:++n});r.append(t[o],M())}}}else if(8===r.nodeType)if(r.data===D)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)l.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}};function nt(t,o,e=t,i){if(o===Q)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=P(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=nt(t,r._$AS(t,o.values),r,i)),o}let at=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=nt(this,t,o),P(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>H(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!==tt&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=rt.createElement(it(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??B).importNode(o,!0);et.currentNode=i;let r=et.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new at(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new ft(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=et.nextNode(),n++)}return et.currentNode=B,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=ot.get(t.strings);return void 0===o&&ot.set(t.strings,o=new rt(t)),o}T(o){H(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(M()),this.k(M()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},st=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=tt}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=nt(this,t,o,0),n=!P(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=nt(this,i[e+a],o,a),s===Q&&(s=this._$AH[a]),n||=!P(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},lt=class extends st{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},ct=class extends st{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},pt=class extends st{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=nt(this,t,o,0)??tt)===Q)return;const e=this._$AH,i=t===tt&&e!==tt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==tt&&(e===tt||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ft=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){nt(this,t)}};const ht=L.litHtmlPolyfillSupport;ht?.(rt,at),(L.litHtmlVersions??=[]).push("3.1.0");
|
|
62
62
|
/**
|
|
63
63
|
* @license
|
|
64
64
|
* Copyright 2019 Google LLC
|
|
65
65
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
66
66
|
*/
|
|
67
|
-
const dt=globalThis,ut=dt.ShadowRoot&&(void 0===dt.ShadyCSS||dt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),gt=new WeakMap;let bt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==yt)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(ut&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=gt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&>.set(o,t))}return t}toString(){return this.cssText}};const mt=t=>new bt("string"==typeof t?t:t+"",void 0,yt),xt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,i)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[i+1]),t[0]);return new bt(e,t,yt)},
|
|
67
|
+
const dt=globalThis,ut=dt.ShadowRoot&&(void 0===dt.ShadyCSS||dt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),gt=new WeakMap;let bt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==yt)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(ut&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=gt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&>.set(o,t))}return t}toString(){return this.cssText}};const mt=t=>new bt("string"==typeof t?t:t+"",void 0,yt),xt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,i)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[i+1]),t[0]);return new bt(e,t,yt)},vt=ut?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return mt(o)})(t):t
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
|
70
70
|
* Copyright 2017 Google LLC
|
|
71
71
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
|
-
*/,{is:
|
|
72
|
+
*/,{is:Ot,defineProperty:Nt,getOwnPropertyDescriptor:St,getOwnPropertyNames:wt,getOwnPropertySymbols:Ct,getPrototypeOf:$t}=Object,Et=globalThis,Rt=Et.trustedTypes,Ut=Rt?Rt.emptyScript:"",kt=Et.reactiveElementPolyfillSupport,It=(t,o)=>t,Wt={toAttribute(t,o){switch(o){case Boolean:t=t?Ut: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}},Lt=(t,o)=>!Ot(t,o),Kt={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:Lt};Symbol.metadata??=Symbol("metadata"),Et.litPropertyMetadata??=new WeakMap;class zt 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=Kt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&Nt(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=St(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Kt}static _$Ei(){if(this.hasOwnProperty(It("elementProperties")))return;const t=$t(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(It("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(It("properties"))){const t=this.properties,o=[...wt(t),...Ct(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(vt(t))}else void 0!==t&&o.push(vt(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(ut)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=dt.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:Wt).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Wt;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Lt)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}zt.elementStyles=[],zt.shadowRootOptions={mode:"open"},zt[It("elementProperties")]=new Map,zt[It("finalized")]=new Map,kt?.({ReactiveElement:zt}),(Et.reactiveElementVersions??=[]).push("2.0.2");
|
|
73
73
|
/**
|
|
74
74
|
* @license
|
|
75
75
|
* Copyright 2017 Google LLC
|
|
76
76
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
77
77
|
*/
|
|
78
|
-
const Ft=globalThis,Zt=Ft.trustedTypes,
|
|
78
|
+
const Ft=globalThis,Zt=Ft.trustedTypes,Dt=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,At="$lit$",Bt=`lit$${(Math.random()+"").slice(9)}$`,Mt="?"+Bt,Pt=`<${Mt}>`,Ht=document,jt=()=>Ht.createComment(""),Tt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_t=Array.isArray,Gt="[ \t\n\f\r]",Yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Jt=/>/g,qt=RegExp(`>|${Gt}(?:([^\\s"'>=/]+)(${Gt}*=${Gt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Xt=/'/g,Qt=/"/g,to=/^(?:script|style|textarea|title)$/i,oo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),eo=Symbol.for("lit-noChange"),io=Symbol.for("lit-nothing"),ro=new WeakMap,no=Ht.createTreeWalker(Ht,129);function ao(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Dt?Dt.createHTML(o):o}const so=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Yt;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===Yt?"!--"===l[1]?a=Vt:void 0!==l[1]?a=Jt:void 0!==l[2]?(to.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=qt):void 0!==l[3]&&(a=qt):a===qt?">"===l[0]?(a=r??Yt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?qt:'"'===l[3]?Qt:Xt):a===Qt||a===Xt?a=qt:a===Vt||a===Jt?a=Yt:(a=qt,r=void 0);const f=a===qt&&t[o+1].startsWith("/>")?" ":"";n+=a===Yt?e+Pt:c>=0?(i.push(s),e.slice(0,c)+At+e.slice(c)+Bt+f):e+Bt+(-2===c?o:f)}return[ao(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class lo{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=so(t,o);if(this.el=lo.createElement(l,e),no.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=no.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(At)){const o=c[n++],e=i.getAttribute(t).split(Bt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?ho:"?"===a[1]?uo:"@"===a[1]?yo:fo}),i.removeAttribute(t)}else t.startsWith(Bt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(to.test(i.tagName)){const t=i.textContent.split(Bt),o=t.length-1;if(o>0){i.textContent=Zt?Zt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],jt()),no.nextNode(),s.push({type:2,index:++r});i.append(t[o],jt())}}}else if(8===i.nodeType)if(i.data===Mt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Bt,t+1));)s.push({type:7,index:r}),t+=Bt.length-1}r++}}static createElement(t,o){const e=Ht.createElement("template");return e.innerHTML=t,e}}function co(t,o,e=t,i){if(o===eo)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Tt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=co(t,r._$AS(t,o.values),r,i)),o}class po{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=io,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=co(this,t,o),Tt(t)?t===io||null==t||""===t?(this._$AH!==io&&this._$AR(),this._$AH=io):t!==this._$AH&&t!==eo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_t(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!==io&&Tt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ht.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=lo.createElement(ao(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Ht).importNode(o,!0);no.currentNode=i;let r=no.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new po(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new go(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=no.nextNode(),n++)}return no.currentNode=Ht,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=ro.get(t.strings);return void 0===o&&ro.set(t.strings,o=new lo(t)),o}T(t){_t(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new po(this.k(jt()),this.k(jt()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class fo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=io,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=io}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=co(this,t,o,0),n=!Tt(t)||t!==this._$AH&&t!==eo,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=co(this,i[e+a],o,a),s===eo&&(s=this._$AH[a]),n||=!Tt(s)||s!==this._$AH[a],s===io?t=io:t!==io&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===io?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ho extends fo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===io?void 0:t}}class uo extends fo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==io)}}class yo extends fo{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=co(this,t,o,0)??io)===eo)return;const e=this._$AH,i=t===io&&e!==io||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==io&&(e===io||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class go{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){co(this,t)}}const bo=Ft.litHtmlPolyfillSupport;bo?.(lo,po),(Ft.litHtmlVersions??=[]).push("3.1.0");
|
|
79
79
|
/**
|
|
80
80
|
* @license
|
|
81
81
|
* Copyright 2017 Google LLC
|
|
82
82
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
83
83
|
*/
|
|
84
|
-
class mo extends zt{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 fo(o.insertBefore(jt(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return eo}}mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const xo=globalThis.litElementPolyfillSupport;xo?.({LitElement:mo}),(globalThis.litElementVersions??=[]).push("4.0.2");const Oo=t=>"string"==typeof t?mt(t):t;class vo{static create(t,o,e,i){const r=t=>Oo(null!=t?t:i),n=xt`var(${Oo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>xt`var(${Oo(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=xt`var(${Oo(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=>xt`var(${Oo(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):Oo(null!=o?o:t.lastResortDefaultValue()),i=xt`var(${Oo(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=>xt`var(${Oo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function No(t,o){return Oo(`${t.name}: ${o}`)}const So={colorWhite:vo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:vo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:vo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:vo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:vo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:vo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:vo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:vo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:vo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:vo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:vo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:vo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:vo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:vo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:vo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:vo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:vo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:vo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:vo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:vo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:vo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:vo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:vo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:vo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:vo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:vo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:vo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:vo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:vo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:vo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:vo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:vo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:vo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:vo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:vo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:vo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:vo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:vo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:vo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:vo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:vo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:vo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:vo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:vo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:vo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:vo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:vo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:vo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:vo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:vo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:vo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:vo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:vo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:vo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:vo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:vo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:vo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:vo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:vo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:vo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:vo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:vo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:vo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:vo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:vo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:vo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:vo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:vo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:vo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:vo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:vo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:vo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:vo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:vo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:vo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:vo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:vo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:vo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:vo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:vo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:vo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:vo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:vo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:vo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:vo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:vo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:vo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:vo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:vo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:vo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:vo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:vo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:vo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:vo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:vo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:vo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:vo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:vo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:vo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:vo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:vo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:vo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:vo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:vo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:vo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:vo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:vo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:vo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:vo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:vo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:vo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:vo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:vo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:vo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:vo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:vo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:vo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:vo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:vo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:vo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:vo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:vo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:vo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:vo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:vo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:vo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:vo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:vo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:vo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:vo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:vo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:vo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:vo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:vo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:vo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:vo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:vo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:vo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:vo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:vo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:vo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:vo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:vo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:vo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:vo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:vo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:vo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:vo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:vo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:vo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:vo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:vo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:vo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:vo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:vo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:vo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:vo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:vo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:vo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:vo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:vo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:vo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:vo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:vo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:vo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:vo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:vo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:vo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:vo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:vo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:vo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:vo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:vo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:vo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:vo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:vo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:vo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:vo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:vo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:vo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:vo.create("--ft-opacity-0","","NUMBER","0"),opacity8:vo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:vo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:vo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:vo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:vo.create("--ft-opacity-80","","NUMBER","0.8")},wo={display:{fontFamily:vo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:vo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:vo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:vo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:vo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:vo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:vo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:vo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:vo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:vo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:vo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:vo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:vo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:vo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:vo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:vo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:vo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:vo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:vo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:vo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:vo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:vo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:vo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:vo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:vo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:vo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:vo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:vo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:vo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Co={backgroundActionPrimary:vo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",So.colorBrand0),backgroundErrorPrimary:vo.extend("--ft-background-error-primary","Used as background of error components.",So.colorRed0),backgroundErrorSubtle:vo.extend("--ft-background-error-subtle","Used as background of subtle error components.",So.colorRed10),backgroundInfoPrimary:vo.extend("--ft-background-info-primary","Used as background of information components.",So.colorCyan200),backgroundInfoSubtle:vo.extend("--ft-background-info-subtle","Used as background of subtle information components.",So.colorCyan10),backgroundWarningPrimary:vo.extend("--ft-background-warning-primary","Used as background of warning components.",So.colorOrange300),backgroundWarningSubtle:vo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",So.colorOrange10),backgroundSuccessPrimary:vo.extend("--ft-background-success-primary","Used as background of success components.",So.colorGreen200),backgroundSuccessSubtle:vo.extend("--ft-background-success-subtle","Used as background of subtle success components.",So.colorGreen10),backgroundGlobalSurface:vo.extend("--ft-background-global-surface","Used as app background.",So.colorWhite),backgroundGlobalOnSurface:vo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",So.colorGray10),backgroundGlobalOnSurfaceDark:vo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",So.colorGray30),contentActionPrimary:vo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",So.colorBrand0),contentWarningPrimary:vo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",So.colorOrange300),contentWarningIconOnly:vo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",So.colorOrange0),contentErrorPrimary:vo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",So.colorRed0),contentErrorIconOnly:vo.extend("--ft-content-error-icon-only","Used on error status icons alone",So.colorRed0),contentInfoPrimary:vo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",So.colorCyan200),contentInfoIconOnly:vo.extend("--ft-content-info-icon-only","Used on info status icons alone",So.colorCyan0),contentSuccessIconOnly:vo.extend("--ft-content-success-icon-only","Used on success status icons alone",So.colorGreen0),contentSuccessPrimary:vo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",So.colorGreen200),contentGlobalPrimary:vo.extend("--ft-content-global-primary","Used for main content on the page.",So.colorGray500),contentGlobalSecondary:vo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",So.colorGray200),contentGlobalSubtle:vo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",So.colorGray0),contentGlobalOnColor:vo.extend("--ft-content-global-on-color","Used for content on a dominant color.",So.colorWhite),borderActionPrimary:vo.extend("--ft-border-action-primary","Used as border for primary action components.",So.colorBrand0),borderActionFocusRing:vo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",So.colorCyan0),borderWarningPrimary:vo.extend("--ft-border-warning-primary","Used as border for warning components.",So.colorOrange30),borderSuccessPrimary:vo.extend("--ft-border-success-primary","Used as border for success components.",So.colorGreen30),borderErrorPrimary:vo.extend("--ft-border-error-primary","Used as border for error components.",So.colorRed30),borderInfoPrimary:vo.extend("--ft-border-info-primary","Used as border for information components.",So.colorCyan30),borderGlobalSubtle:vo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",So.colorGray30),borderGlobalPrimary:vo.extend("--ft-border-global-primary","Used as border for element like input.",So.colorGray50),borderInputPrimary:vo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",So.colorGray80)},$o={largeHeight:vo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:vo.extend("--ft-button-large-horizontal-padding","",So.spacing4),largeGap:vo.extend("--ft-button-large-gap","",So.spacing2),largeBorderRadius:vo.extend("--ft-button-large-border-radius","",So.borderRadiusS),largeIconSize:vo.extend("--ft-button-large-icon-size","",So.iconSize3),largeBorderWidth:vo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:vo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:vo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:vo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:vo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:vo.extend("--ft-button-small-horizontal-padding","",So.spacing3),smallGap:vo.extend("--ft-button-small-gap","",So.spacing2),smallBorderRadius:vo.extend("--ft-button-small-border-radius","",So.borderRadiusS),smallIconSize:vo.extend("--ft-button-small-icon-size","",So.iconSize2),smallBorderWidth:vo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:vo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:vo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:vo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:vo.extend("--ft-button-primary-background-color","",Co.backgroundActionPrimary),primaryColor:vo.extend("--ft-button-primary-color","",Co.contentGlobalOnColor),primaryIconColor:vo.extend("--ft-button-primary-icon-color","",Co.contentGlobalOnColor),primaryStateLayerColor:vo.extend("--ft-button-primary-state-layer-color","",Co.contentGlobalOnColor),primaryStateLayerOpacityHover:vo.extend("--ft-button-primary-state-layer-opacity-hover","",So.opacity16),primaryStateLayerOpacityFocus:vo.extend("--ft-button-primary-state-layer-opacity-focus","",So.opacity16),primaryStateLayerOpacityActive:vo.extend("--ft-button-primary-state-layer-opacity-active","",So.opacity24),primaryComponentOpacityDisabled:vo.extend("--ft-button-primary-component-opacity-disabled","",So.opacity40),focusFocusRingColor:vo.extend("--ft-button-focus-focus-ring-color","",Co.borderActionFocusRing),tertiaryBackgroundColor:vo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:vo.extend("--ft-button-tertiary-color","",Co.contentActionPrimary),tertiaryIconColor:vo.extend("--ft-button-tertiary-icon-color","",Co.contentActionPrimary),tertiaryStateLayerColor:vo.extend("--ft-button-tertiary-state-layer-color","",Co.contentActionPrimary),tertiaryStateLayerOpacityHover:vo.extend("--ft-button-tertiary-state-layer-opacity-hover","",So.opacity8),tertiaryStateLayerOpacityFocus:vo.extend("--ft-button-tertiary-state-layer-opacity-focus","",So.opacity8),tertiaryStateLayerOpacityActive:vo.extend("--ft-button-tertiary-state-layer-opacity-active","",So.opacity16),tertiaryComponentOpacityDisabled:vo.extend("--ft-button-tertiary-component-opacity-disabled","",So.opacity40),secondaryBackgroundColor:vo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:vo.extend("--ft-button-secondary-color","",Co.contentActionPrimary),secondaryIconColor:vo.extend("--ft-button-secondary-icon-color","",Co.contentActionPrimary),secondaryStateLayerColor:vo.extend("--ft-button-secondary-state-layer-color","",Co.contentActionPrimary),secondaryStateLayerOpacityHover:vo.extend("--ft-button-secondary-state-layer-opacity-hover","",So.opacity8),secondaryStateLayerOpacityFocus:vo.extend("--ft-button-secondary-state-layer-opacity-focus","",So.opacity8),secondaryStateLayerOpacityActive:vo.extend("--ft-button-secondary-state-layer-opacity-active","",So.opacity16),secondaryComponentOpacityDisabled:vo.extend("--ft-button-secondary-component-opacity-disabled","",So.opacity40),secondaryBorderColor:vo.extend("--ft-button-secondary-border-color","",Co.borderActionPrimary),neutralBackgroundColor:vo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:vo.extend("--ft-button-neutral-icon-color","",Co.contentGlobalSecondary),neutralColor:vo.extend("--ft-button-neutral-color","",Co.contentGlobalSecondary),neutralStateLayerColor:vo.extend("--ft-button-neutral-state-layer-color","",Co.contentGlobalSecondary),neutralStateLayerOpacityHover:vo.extend("--ft-button-neutral-state-layer-opacity-hover","",So.opacity8),neutralStateLayerOpacityFocus:vo.extend("--ft-button-neutral-state-layer-opacity-focus","",So.opacity8),neutralStateLayerOpacityActive:vo.extend("--ft-button-neutral-state-layer-opacity-active","",So.opacity16),neutralComponentOpacityDisabled:vo.extend("--ft-button-neutral-component-opacity-disabled","",So.opacity40)};vo.extend("--ft-tabs-top-left-border-radius","",So.borderRadiusS),vo.extend("--ft-tabs-top-right-border-radius","",So.borderRadiusS),vo.extend("--ft-tabs-label-horizontal-padding","",So.spacing4),vo.extend("--ft-tabs-label-vertical-padding","",So.spacing3),vo.extend("--ft-tabs-label-gap","",So.spacing1),vo.extend("--ft-switch-group-horizontal-padding","",So.spacing1),vo.extend("--ft-switch-group-vertical-padding","",So.spacing1),vo.extend("--ft-switch-group-gap","",So.spacing1),vo.extend("--ft-switch-group-background-color","",Co.backgroundGlobalSurface),vo.extend("--ft-switch-group-border-color","",Co.borderGlobalSubtle),vo.create("--ft-switch-group-border-radius","","SIZE","6px"),vo.extend("--ft-switch-label-horizontal-padding","",So.spacing2),vo.extend("--ft-switch-label-vertical-padding","",So.spacing1),vo.extend("--ft-switch-icon-horizontal-padding","",So.spacing1),vo.extend("--ft-switch-icon-vertical-padding","",So.spacing1),vo.create("--ft-switch-focus-outline-width","","SIZE","2px"),vo.extend("--ft-switch-focus-focus-ring-color","",Co.borderActionFocusRing),vo.extend("--ft-switch-option-border-radius","",So.borderRadiusS),vo.extend("--ft-switch-off-state-layer-opacity-hover","",So.opacity8),vo.extend("--ft-switch-off-state-layer-opacity-focus","",So.opacity8),vo.extend("--ft-switch-off-state-layer-opacity-active","",So.opacity16),vo.extend("--ft-switch-off-component-opacity-disabled","",So.opacity40),vo.extend("--ft-switch-off-color","",Co.contentGlobalSubtle),vo.extend("--ft-switch-off-state-layer-color","",Co.contentGlobalSubtle),vo.extend("--ft-chart-1-light","for area color charts",So.colorBrand40),vo.extend("--ft-chart-1-base","for line charts",So.colorBrand0),vo.extend("--ft-chart-2-light","for area color charts",So.colorYellow60),vo.extend("--ft-chart-2-base","for line charts",So.colorYellow100),vo.extend("--ft-chart-3-light","",So.colorUltramarine40),vo.extend("--ft-chart-3-base","",So.colorUltramarine70),vo.extend("--ft-chart-4-light","",So.colorCyan50),vo.extend("--ft-chart-4-base","",So.colorCyan100),vo.extend("--ft-chart-5-light","",So.colorRed40),vo.extend("--ft-chart-5-base","",So.colorRed60),vo.extend("--ft-chart-6-light","",So.colorGreen40),vo.extend("--ft-chart-6-base","",So.colorGreen70),vo.extend("--ft-chart-7-light","",So.colorOrange70),vo.extend("--ft-chart-7-base","",So.colorOrange100),vo.extend("--ft-chart-8-light","",So.colorAvocado70),vo.extend("--ft-chart-8-base","",So.colorAvocado200),vo.extend("--ft-chart-9-light","",So.colorBrown50),vo.extend("--ft-chart-9-base","",So.colorBrown200),vo.extend("--ft-chart-10-light","",So.colorGray50),vo.extend("--ft-chart-10-base","",So.colorGray80),vo.extend("--ft-chart-monochrome-10","",So.colorBrand10),vo.extend("--ft-chart-monochrome-20","",So.colorBrand20),vo.extend("--ft-chart-monochrome-30","",So.colorBrand40),vo.extend("--ft-chart-monochrome-40","",So.colorBrand60),vo.extend("--ft-chart-monochrome-50","",So.colorBrand0),vo.extend("--ft-chart-monochrome-60","",So.colorBrand200),vo.extend("--ft-chip-large-horizontal-padding","",So.spacing4),vo.extend("--ft-chip-large-vertical-padding","",So.spacing2),vo.extend("--ft-chip-large-gap","",So.spacing1),vo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-large-border-radius","",So.borderRadiusPill),vo.create("--ft-chip-large-border-width","","SIZE","1px"),vo.extend("--ft-chip-large-icon-size","",So.iconSize3),vo.extend("--ft-chip-medium-horizontal-padding","",So.spacing3),vo.extend("--ft-chip-medium-vertical-padding","",So.spacing1),vo.extend("--ft-chip-medium-gap","",So.spacing1),vo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-medium-border-radius","",So.borderRadiusPill),vo.create("--ft-chip-medium-border-width","","SIZE","1px"),vo.extend("--ft-chip-medium-icon-size","",So.iconSize2),vo.extend("--ft-chip-small-horizontal-padding","",So.spacing2),vo.extend("--ft-chip-small-vertical-padding","",So.spacing05),vo.extend("--ft-chip-small-gap","",So.spacing1),vo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-small-border-radius","",So.borderRadiusPill),vo.create("--ft-chip-small-border-width","","SIZE","1px"),vo.extend("--ft-chip-small-icon-size","",So.iconSize1),vo.extend("--ft-chip-neutral-background-color","",Co.backgroundGlobalOnSurface),vo.extend("--ft-chip-neutral-color","",Co.contentGlobalPrimary),vo.extend("--ft-chip-neutral-border-color","",Co.borderGlobalSubtle),vo.extend("--ft-chip-info-background-color","",Co.backgroundInfoSubtle),vo.extend("--ft-chip-info-color","",Co.contentInfoPrimary),vo.extend("--ft-chip-info-border-color","",Co.borderInfoPrimary),vo.extend("--ft-chip-success-background-color","",Co.backgroundSuccessSubtle),vo.extend("--ft-chip-success-color","",Co.contentSuccessPrimary),vo.extend("--ft-chip-success-border-color","",Co.borderSuccessPrimary),vo.extend("--ft-chip-warning-background-color","",Co.backgroundWarningSubtle),vo.extend("--ft-chip-warning-color","",Co.contentWarningPrimary),vo.extend("--ft-chip-warning-border-color","",Co.borderWarningPrimary),vo.extend("--ft-chip-error-background-color","",Co.backgroundErrorSubtle),vo.extend("--ft-chip-error-color","",Co.contentErrorPrimary),vo.extend("--ft-chip-error-border-color","",Co.borderErrorPrimary),vo.create("--ft-notice-border-width","","SIZE","1px"),vo.extend("--ft-notice-horizontal-padding","",So.spacing2),vo.extend("--ft-notice-vertical-padding","",So.spacing1),vo.extend("--ft-notice-border-radius","",So.borderRadiusS),vo.extend("--ft-notice-gap","",So.spacing2),vo.extend("--ft-notice-icon-size","",So.iconSize3),vo.extend("--ft-notice-info-background-color","",Co.backgroundInfoSubtle),vo.extend("--ft-notice-info-border-color","",Co.borderInfoPrimary),vo.extend("--ft-notice-info-color","",Co.contentInfoPrimary),vo.extend("--ft-notice-warning-background-color","",Co.backgroundWarningSubtle),vo.extend("--ft-notice-warning-border-color","",Co.borderWarningPrimary),vo.extend("--ft-notice-warning-color","",Co.contentWarningPrimary),vo.extend("--ft-checkbox-label-color","",Co.contentGlobalPrimary),vo.extend("--ft-checkbox-checked-background-color","",Co.contentActionPrimary),vo.extend("--ft-checkbox-checked-state-layer-color","",Co.contentActionPrimary),vo.extend("--ft-checkbox-checked-color","",Co.contentGlobalOnColor),vo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-checkbox-checked-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-checkbox-checked-component-opacity-disabled","",So.opacity40),vo.extend("--ft-checkbox-unchecked-border-color","",So.colorGray80),vo.extend("--ft-checkbox-unchecked-state-layer-color","",So.colorGray80),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",So.opacity40),vo.extend("--ft-checkbox-focus-focus-ring-color","",Co.borderActionFocusRing),vo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),vo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),vo.extend("--ft-checkbox-gap","",So.spacing3),vo.extend("--ft-toggle-off-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-toggle-off-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-toggle-off-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-toggle-off-component-opacity-disabled","",So.opacity40),vo.extend("--ft-toggle-off-background-color","",Co.contentGlobalSubtle),vo.extend("--ft-toggle-off-icon-color","",Co.contentGlobalSubtle),vo.extend("--ft-toggle-off-state-layer-color","",Co.contentGlobalSubtle),vo.extend("--ft-toggle-on-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-toggle-on-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-toggle-on-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-toggle-on-component-opacity-disabled","",So.opacity40),vo.extend("--ft-toggle-on-background-color","",Co.contentActionPrimary),vo.extend("--ft-toggle-on-icon-color","",Co.contentActionPrimary),vo.extend("--ft-toggle-on-state-layer-color","",Co.contentActionPrimary),vo.extend("--ft-toggle-label-color","",Co.contentGlobalPrimary),vo.extend("--ft-toggle-focus-focus-ring-color","",Co.borderActionFocusRing),vo.extend("--ft-toggle-gap","",So.spacing3),vo.extend("--ft-radio-label-color","",Co.contentGlobalPrimary),vo.extend("--ft-radio-selected-color","",Co.contentActionPrimary),vo.extend("--ft-radio-selected-state-layer-color","",Co.contentActionPrimary),vo.extend("--ft-radio-selected-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-radio-selected-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-radio-selected-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-radio-selected-component-opacity-disabled","",So.opacity40),vo.extend("--ft-radio-unselected-state-layer-color","",So.colorGray80),vo.extend("--ft-radio-unselected-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-radio-unselected-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-radio-unselected-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-radio-unselected-component-opacity-disabled","",So.opacity40),vo.extend("--ft-radio-focus-focus-ring-color","",Co.borderActionFocusRing),vo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),vo.create("--ft-radio-focus-outline-width","","SIZE","2px"),vo.extend("--ft-radio-gap","",So.spacing3),vo.extend("--ft-notification-icon-size","",So.iconSize4),vo.extend("--ft-notification-horizontal-padding","",So.spacing4),vo.extend("--ft-notification-vertical-padding","",So.spacing4),vo.extend("--ft-notification-info-background-color","",Co.backgroundInfoSubtle),vo.extend("--ft-notification-info-color","",Co.contentInfoPrimary),vo.extend("--ft-notification-info-border-color","",Co.borderInfoPrimary),vo.extend("--ft-notification-success-background-color","",Co.backgroundSuccessSubtle),vo.extend("--ft-notification-success-color","",Co.contentSuccessPrimary),vo.extend("--ft-notification-success-border-color","",Co.borderSuccessPrimary),vo.extend("--ft-notification-warning-background-color","",Co.backgroundWarningSubtle),vo.extend("--ft-notification-warning-color","",Co.contentWarningPrimary),vo.extend("--ft-notification-warning-border-color","",Co.borderWarningPrimary),vo.extend("--ft-notification-error-background-color","",Co.backgroundErrorSubtle),vo.extend("--ft-notification-error-color","",Co.contentErrorPrimary),vo.extend("--ft-notification-error-border-color","",Co.borderErrorPrimary),vo.extend("--ft-notification-border-radius","",So.borderRadiusPill),vo.create("--ft-notification-border-width","","SIZE","1px"),vo.extend("--ft-notification-gap-leading","",So.spacing2),vo.extend("--ft-notification-gap-trailing","",So.spacing8);const Ro={colorPrimary:vo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:vo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:vo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:vo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:vo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:vo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:vo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:vo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:vo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:vo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:vo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:vo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:vo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:vo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:vo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:vo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:vo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:vo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:vo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:vo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:vo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:vo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:vo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:vo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:vo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:vo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:vo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:vo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:vo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:vo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:vo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:vo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:vo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:vo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:vo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:vo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:vo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:vo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:vo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:vo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:vo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:vo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:vo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:vo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:vo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:vo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:vo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:vo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:vo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:vo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:vo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Eo=["start","end"],Uo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Eo[0],o+"-"+Eo[1])),[]),ko=Math.min,Io=Math.max,Wo=Math.round,Lo=t=>({x:t,y:t}),Ko={left:"right",right:"left",bottom:"top",top:"bottom"},zo={start:"end",end:"start"};function Fo(t,o,e){return Io(t,ko(o,e))}function Zo(t,o){return"function"==typeof t?t(o):t}function Bo(t){return t.split("-")[0]}function Mo(t){return t.split("-")[1]}function Ao(t){return"x"===t?"y":"x"}function Do(t){return"y"===t?"height":"width"}function Po(t){return["top","bottom"].includes(Bo(t))?"y":"x"}function Ho(t){return Ao(Po(t))}function jo(t){return t.replace(/left|right|bottom|top/g,(t=>Ko[t]))}function To(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function _o(t,o,e){let{reference:i,floating:r}=t;const n=Po(o),a=Ho(o),s=Do(a),l=Bo(o),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(Mo(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Go(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=Zo(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"===p?"reference":"floating":p],g=To(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:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=To(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 Yo(t,o,e){return(t?[...e.filter((o=>Mo(o)===t)),...e.filter((o=>Mo(o)!==t))]:e.filter((t=>Bo(t)===t))).filter((e=>!t||(Mo(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>zo[t]))}(e)!==e)))}const Vo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Uo,autoAlignment:d=!0,...u}=Zo(t,o),y=void 0!==p||h===Uo?Yo(p||null,d,h):h,g=await Go(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Mo(t),r=Ho(t),n=Do(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=jo(a)),[a,jo(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[Bo(m)],g[x[0]],g[x[1]]],v=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=Mo(t.placement);return[t.placement,o&&f?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,Mo(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Jo(t){return Qo(t)?(t.nodeName||"").toLowerCase():"#document"}function qo(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Xo(t){var o;return null==(o=(Qo(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Qo(t){return t instanceof Node||t instanceof qo(t).Node}function te(t){return t instanceof Element||t instanceof qo(t).Element}function oe(t){return t instanceof HTMLElement||t instanceof qo(t).HTMLElement}function ee(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof qo(t).ShadowRoot)}function ie(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=le(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function re(t){return["table","td","th"].includes(Jo(t))}function ne(t){const o=ae(),e=le(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 ae(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function se(t){return["html","body","#document"].includes(Jo(t))}function le(t){return qo(t).getComputedStyle(t)}function ce(t){return te(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function fe(t){if("html"===Jo(t))return t;const o=t.assignedSlot||t.parentNode||ee(t)&&t.host||Xo(t);return ee(o)?o.host:o}function pe(t){const o=fe(t);return se(o)?t.ownerDocument?t.ownerDocument.body:t.body:oe(o)&&ie(o)?o:pe(o)}function he(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=pe(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=qo(r);return n?o.concat(a,a.visualViewport||[],ie(r)?r:[],a.frameElement&&e?he(a.frameElement):[]):o.concat(r,he(r,[],e))}function de(t){const o=le(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=oe(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=Wo(e)!==n||Wo(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function ue(t){return te(t)?t:t.contextElement}function ye(t){const o=ue(t);if(!oe(o))return Lo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=de(o);let a=(n?Wo(e.width):e.width)/i,s=(n?Wo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ge=Lo(0);function be(t){const o=qo(t);return ae()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ge}function me(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=ue(t);let a=Lo(1);o&&(i?te(i)&&(a=ye(i)):a=ye(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==qo(t))&&o}(n,e,i)?be(n):Lo(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=qo(n),o=i&&te(i)?qo(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ye(e),o=e.getBoundingClientRect(),i=le(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,e=qo(e).frameElement}}return To({width:f,height:p,x:l,y:c})}function xe(t){return me(Xo(t)).left+ce(t).scrollLeft}function Oe(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=qo(t),i=Xo(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=ae();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=Xo(t),e=ce(t),i=t.ownerDocument.body,r=Io(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Io(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+xe(t);const s=-e.scrollTop;return"rtl"===le(i).direction&&(a+=Io(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Xo(t));else if(te(o))i=function(t,o){const e=me(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=oe(t)?ye(t):Lo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=be(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return To(i)}function ve(t,o){const e=fe(t);return!(e===o||!te(e)||se(e))&&("fixed"===le(e).position||ve(e,o))}function Ne(t,o,e){const i=oe(o),r=Xo(o),n="fixed"===e,a=me(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Lo(0);if(i||!i&&!n)if(("body"!==Jo(o)||ie(r))&&(s=ce(o)),i){const t=me(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=xe(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Se(t,o){return oe(t)&&"fixed"!==le(t).position?o?o(t):t.offsetParent:null}function we(t,o){const e=qo(t);if(!oe(t))return e;let i=Se(t,o);for(;i&&re(i)&&"static"===le(i).position;)i=Se(i,o);return i&&("html"===Jo(i)||"body"===Jo(i)&&"static"===le(i).position&&!ne(i))?e:i||function(t){let o=fe(t);for(;oe(o)&&!se(o);){if(ne(o))return o;o=fe(o)}return null}(t)||e}const Ce={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=oe(e),n=Xo(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Lo(1);const l=Lo(0);if((r||!r&&"fixed"!==i)&&(("body"!==Jo(e)||ie(n))&&(a=ce(e)),oe(e))){const t=me(e);s=ye(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:Xo,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=he(t,[],!1).filter((t=>te(t)&&"body"!==Jo(t))),r=null;const n="fixed"===le(t).position;let a=n?fe(t):t;for(;te(a)&&!se(a);){const o=le(a),e=ne(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||ie(a)&&!e&&ve(t,a))?i=i.filter((t=>t!==a)):r=o,a=fe(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=Oe(o,e,r);return t.top=Io(i.top,t.top),t.right=ko(i.right,t.right),t.bottom=ko(i.bottom,t.bottom),t.left=Io(i.left,t.left),t}),Oe(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:we,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||we,n=this.getDimensions;return{reference:Ne(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return de(t)},getScale:ye,isElement:te,isRTL:function(t){return"rtl"===le(t).direction}},$e=(t,o,e)=>{const i=new Map,r={platform:Ce,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:f,y:p}=_o(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:f,y:p}=_o(c,h,l))),e=-1)}return{x:f,y:p,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function Re(t){return function(t){for(let o=t;o;o=Ee(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ee(t);o;o=Ee(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ee(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Ue(t,o,e){return $e(t,o,{platform:{...Ce,getOffsetParent:t=>Ce.getOffsetParent(t,Re)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Zo(i,t),c={x:o,y:e},f=await Go(t,l),p=Po(Bo(r)),h=Ao(p);let d=c[h],u=c[p];if(n){const t="y"===h?"bottom":"right";d=Fo(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=Fo(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...t,[h]:d,[p]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Vo({allowedPlacements:[e]})]});var i}
|
|
84
|
+
class mo extends zt{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 po(o.insertBefore(jt(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return eo}}mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const xo=globalThis.litElementPolyfillSupport;xo?.({LitElement:mo}),(globalThis.litElementVersions??=[]).push("4.0.2");const vo=t=>"string"==typeof t?mt(t):t;class Oo{static create(t,o,e,i){const r=t=>vo(null!=t?t:i),n=xt`var(${vo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>xt`var(${vo(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=xt`var(${vo(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=>xt`var(${vo(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):vo(null!=o?o:t.lastResortDefaultValue()),i=xt`var(${vo(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=>xt`var(${vo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function No(t,o){return vo(`${t.name}: ${o}`)}const So={colorWhite:Oo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oo.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Oo.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Oo.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Oo.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Oo.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Oo.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Oo.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Oo.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Oo.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Oo.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},wo={display:{fontFamily:Oo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Oo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Oo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Oo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Oo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Oo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Oo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Oo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Oo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Oo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Oo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Oo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Oo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Oo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Oo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Oo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Oo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Oo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Oo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Oo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Oo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Oo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Oo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Oo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Oo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Oo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Oo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Oo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Oo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Oo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Oo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Oo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Oo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Co={backgroundActionPrimary:Oo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",So.colorBrand0),backgroundErrorPrimary:Oo.extend("--ft-background-error-primary","Used as background of error components.",So.colorRed0),backgroundErrorSubtle:Oo.extend("--ft-background-error-subtle","Used as background of subtle error components.",So.colorRed10),backgroundInfoPrimary:Oo.extend("--ft-background-info-primary","Used as background of information components.",So.colorCyan200),backgroundInfoSubtle:Oo.extend("--ft-background-info-subtle","Used as background of subtle information components.",So.colorCyan10),backgroundWarningPrimary:Oo.extend("--ft-background-warning-primary","Used as background of warning components.",So.colorOrange300),backgroundWarningSubtle:Oo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",So.colorOrange10),backgroundSuccessPrimary:Oo.extend("--ft-background-success-primary","Used as background of success components.",So.colorGreen200),backgroundSuccessSubtle:Oo.extend("--ft-background-success-subtle","Used as background of subtle success components.",So.colorGreen10),backgroundGlobalSurface:Oo.extend("--ft-background-global-surface","Used as app background.",So.colorWhite),backgroundGlobalOnSurface:Oo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",So.colorGray10),backgroundGlobalOnSurfaceDark:Oo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",So.colorGray30),contentActionPrimary:Oo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",So.colorBrand0),contentWarningPrimary:Oo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",So.colorOrange300),contentWarningIconOnly:Oo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",So.colorOrange0),contentErrorPrimary:Oo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",So.colorRed0),contentErrorIconOnly:Oo.extend("--ft-content-error-icon-only","Used on error status icons alone",So.colorRed0),contentInfoPrimary:Oo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",So.colorCyan200),contentInfoIconOnly:Oo.extend("--ft-content-info-icon-only","Used on info status icons alone",So.colorCyan0),contentSuccessPrimary:Oo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",So.colorGreen200),contentSuccessIconOnly:Oo.extend("--ft-content-success-icon-only","Used on success status icons alone",So.colorGreen0),contentGlobalPrimary:Oo.extend("--ft-content-global-primary","Used for main content on the page.",So.colorGray500),contentGlobalSecondary:Oo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",So.colorGray200),contentGlobalSubtle:Oo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",So.colorGray0),contentGlobalOnColor:Oo.extend("--ft-content-global-on-color","Used for content on a dominant color.",So.colorWhite),borderActionPrimary:Oo.extend("--ft-border-action-primary","Used as border for primary action components.",So.colorBrand0),borderActionFocusRing:Oo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",So.colorCyan0),borderWarningPrimary:Oo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",So.colorOrange300),borderWarningSubtle:Oo.extend("--ft-border-warning-subtle","Used as border for warning components.",So.colorOrange30),borderSuccessPrimary:Oo.extend("--ft-border-success-primary","Used as border for success buttons.",So.colorGreen200),borderSuccessSubtle:Oo.extend("--ft-border-success-subtle","Used as border for success components.",So.colorGreen30),borderErrorPrimary:Oo.extend("--ft-border-error-primary","Used as border for text fields in error states.",So.colorRed0),borderErrorSubtle:Oo.extend("--ft-border-error-subtle","Used as border for error components.",So.colorRed30),borderInfoPrimary:Oo.extend("--ft-border-info-primary","Used as border for buttons in info color.",So.colorCyan200),borderInfoSubtle:Oo.extend("--ft-border-info-subtle","Used as border for information components.",So.colorCyan30),borderGlobalPrimary:Oo.extend("--ft-border-global-primary","Used as border for element like input.",So.colorGray50),borderGlobalSubtle:Oo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",So.colorGray30),borderInputPrimary:Oo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",So.colorGray80)},$o={largeHeight:Oo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Oo.extend("--ft-button-large-horizontal-padding","",So.spacing4),largeGap:Oo.extend("--ft-button-large-gap","",So.spacing2),largeBorderRadius:Oo.extend("--ft-button-large-border-radius","",So.borderRadiusS),largeIconSize:Oo.extend("--ft-button-large-icon-size","",So.iconSize3),largeBorderWidth:Oo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Oo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Oo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Oo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Oo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Oo.extend("--ft-button-small-horizontal-padding","",So.spacing3),smallGap:Oo.extend("--ft-button-small-gap","",So.spacing2),smallBorderRadius:Oo.extend("--ft-button-small-border-radius","",So.borderRadiusS),smallIconSize:Oo.extend("--ft-button-small-icon-size","",So.iconSize2),smallBorderWidth:Oo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Oo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Oo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Oo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Oo.extend("--ft-button-primary-background-color","",Co.backgroundActionPrimary),primaryColor:Oo.extend("--ft-button-primary-color","",Co.contentGlobalOnColor),primaryIconColor:Oo.extend("--ft-button-primary-icon-color","",Co.contentGlobalOnColor),primaryStateLayerColor:Oo.extend("--ft-button-primary-state-layer-color","",Co.contentGlobalOnColor),primaryStateLayerOpacityHover:Oo.extend("--ft-button-primary-state-layer-opacity-hover","",So.opacity16),primaryStateLayerOpacityFocus:Oo.extend("--ft-button-primary-state-layer-opacity-focus","",So.opacity16),primaryStateLayerOpacityActive:Oo.extend("--ft-button-primary-state-layer-opacity-active","",So.opacity24),primaryComponentOpacityDisabled:Oo.extend("--ft-button-primary-component-opacity-disabled","",So.opacity40),focusFocusRingColor:Oo.extend("--ft-button-focus-focus-ring-color","",Co.borderActionFocusRing),tertiaryBackgroundColor:Oo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Oo.extend("--ft-button-tertiary-color","",Co.contentActionPrimary),tertiaryIconColor:Oo.extend("--ft-button-tertiary-icon-color","",Co.contentActionPrimary),tertiaryStateLayerColor:Oo.extend("--ft-button-tertiary-state-layer-color","",Co.contentActionPrimary),tertiaryStateLayerOpacityHover:Oo.extend("--ft-button-tertiary-state-layer-opacity-hover","",So.opacity8),tertiaryStateLayerOpacityFocus:Oo.extend("--ft-button-tertiary-state-layer-opacity-focus","",So.opacity8),tertiaryStateLayerOpacityActive:Oo.extend("--ft-button-tertiary-state-layer-opacity-active","",So.opacity16),tertiaryComponentOpacityDisabled:Oo.extend("--ft-button-tertiary-component-opacity-disabled","",So.opacity40),secondaryBackgroundColor:Oo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Oo.extend("--ft-button-secondary-color","",Co.contentActionPrimary),secondaryIconColor:Oo.extend("--ft-button-secondary-icon-color","",Co.contentActionPrimary),secondaryStateLayerColor:Oo.extend("--ft-button-secondary-state-layer-color","",Co.contentActionPrimary),secondaryStateLayerOpacityHover:Oo.extend("--ft-button-secondary-state-layer-opacity-hover","",So.opacity8),secondaryStateLayerOpacityFocus:Oo.extend("--ft-button-secondary-state-layer-opacity-focus","",So.opacity8),secondaryStateLayerOpacityActive:Oo.extend("--ft-button-secondary-state-layer-opacity-active","",So.opacity16),secondaryComponentOpacityDisabled:Oo.extend("--ft-button-secondary-component-opacity-disabled","",So.opacity40),secondaryBorderColor:Oo.extend("--ft-button-secondary-border-color","",Co.borderActionPrimary),neutralBackgroundColor:Oo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Oo.extend("--ft-button-neutral-icon-color","",Co.contentGlobalSecondary),neutralColor:Oo.extend("--ft-button-neutral-color","",Co.contentGlobalSecondary),neutralStateLayerColor:Oo.extend("--ft-button-neutral-state-layer-color","",Co.contentGlobalSecondary),neutralStateLayerOpacityHover:Oo.extend("--ft-button-neutral-state-layer-opacity-hover","",So.opacity8),neutralStateLayerOpacityFocus:Oo.extend("--ft-button-neutral-state-layer-opacity-focus","",So.opacity8),neutralStateLayerOpacityActive:Oo.extend("--ft-button-neutral-state-layer-opacity-active","",So.opacity16),neutralComponentOpacityDisabled:Oo.extend("--ft-button-neutral-component-opacity-disabled","",So.opacity40)};Oo.extend("--ft-floating-menu-horizontal-padding","",So.spacing4),Oo.extend("--ft-floating-menu-vertical-padding","",So.spacing4),Oo.extend("--ft-floating-menu-off-icon-color","",Co.contentGlobalPrimary),Oo.extend("--ft-floating-menu-off-color","",Co.contentGlobalPrimary),Oo.extend("--ft-floating-menu-on-color","",Co.contentActionPrimary),Oo.extend("--ft-floating-menu-on-icon-color","",Co.contentActionPrimary),Oo.extend("--ft-floating-menu-on-state-layer-color","",Co.contentActionPrimary),Oo.extend("--ft-floating-menu-gap","",So.spacing3),Oo.extend("--ft-floating-menu-focus-focus-ring-color","",Co.borderActionFocusRing),Oo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Oo.extend("--ft-floating-menu-state-layer-opacity-hover","",So.opacity8),Oo.extend("--ft-floating-menu-state-layer-opacity-active","",So.opacity16),Oo.extend("--ft-floating-menu-state-layer-opacity-focus","",So.opacity8),Oo.extend("--ft-floating-menu-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-floating-menu-icon-size","",So.iconSize3),Oo.extend("--ft-floating-menu-background-color","",Co.backgroundGlobalOnSurface),Oo.extend("--ft-tabs-top-left-border-radius","",So.borderRadiusS),Oo.extend("--ft-tabs-top-right-border-radius","",So.borderRadiusS),Oo.extend("--ft-tabs-label-horizontal-padding","",So.spacing4),Oo.extend("--ft-tabs-label-vertical-padding","",So.spacing3),Oo.extend("--ft-tabs-label-gap","",So.spacing1),Oo.extend("--ft-tabs-icon-horizontal-padding","",So.spacing1),Oo.extend("--ft-tabs-icon-vertical-padding","",So.spacing4),Oo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-tabs-focus-focus-ring-color","",Co.borderActionFocusRing),Oo.extend("--ft-tabs-off-state-layer-opacity-hover","",So.opacity8),Oo.extend("--ft-tabs-off-state-layer-opacity-focus","",So.opacity8),Oo.extend("--ft-tabs-off-state-layer-opacity-active","",So.opacity16),Oo.extend("--ft-tabs-off-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-tabs-off-color","",Co.contentGlobalSubtle),Oo.extend("--ft-tabs-off-state-layer-color","",Co.contentGlobalSubtle),Oo.extend("--ft-tabs-on-state-layer-opacity-hover","",So.opacity8),Oo.extend("--ft-tabs-on-state-layer-opacity-focus","",So.opacity8),Oo.extend("--ft-tabs-on-state-layer-opacity-active","",So.opacity16),Oo.extend("--ft-tabs-on-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-tabs-on-color","",Co.contentActionPrimary),Oo.extend("--ft-tabs-on-state-layer-color","",Co.contentActionPrimary),Oo.extend("--ft-collapsible-state-layer-opacity-hover","",So.opacity8),Oo.extend("--ft-collapsible-state-layer-opacity-focus","",So.opacity8),Oo.extend("--ft-collapsible-state-layer-opacity-active","",So.opacity16),Oo.extend("--ft-collapsible-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-collapsible-horizontal-padding","",So.spacing4),Oo.extend("--ft-collapsible-vertical-padding","",So.spacing3),Oo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Oo.extend("--ft-collapsible-focus-focus-ring-color","",Co.borderActionFocusRing),Oo.extend("--ft-collapsible-color","",Co.contentGlobalPrimary),Oo.extend("--ft-collapsible-state-layer-color","",Co.contentGlobalPrimary),Oo.extend("--ft-collapsible-background-color","",Co.backgroundGlobalOnSurface),Oo.extend("--ft-collapsible-border-color","",Co.borderGlobalSubtle),Oo.extend("--ft-collapsible-icon-size","",So.iconSize3),Oo.extend("--ft-switch-group-horizontal-padding","",So.spacing1),Oo.extend("--ft-switch-group-vertical-padding","",So.spacing1),Oo.extend("--ft-switch-group-gap","",So.spacing1),Oo.extend("--ft-switch-group-background-color","",Co.backgroundGlobalSurface),Oo.extend("--ft-switch-group-border-color","",Co.borderGlobalSubtle),Oo.create("--ft-switch-group-border-radius","","SIZE","6px"),Oo.extend("--ft-switch-label-horizontal-padding","",So.spacing2),Oo.extend("--ft-switch-label-vertical-padding","",So.spacing1),Oo.extend("--ft-switch-icon-horizontal-padding","",So.spacing1),Oo.extend("--ft-switch-icon-vertical-padding","",So.spacing1),Oo.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-switch-focus-focus-ring-color","",Co.borderActionFocusRing),Oo.extend("--ft-switch-option-border-radius","",So.borderRadiusS),Oo.extend("--ft-switch-off-state-layer-opacity-hover","",So.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-focus","",So.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-active","",So.opacity16),Oo.extend("--ft-switch-off-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-switch-off-color","",Co.contentGlobalSubtle),Oo.extend("--ft-switch-off-state-layer-color","",Co.contentGlobalSubtle),Oo.extend("--ft-switch-on-state-layer-opacity-hover","",So.opacity8),Oo.extend("--ft-switch-on-state-layer-opacity-focus","",So.opacity8),Oo.extend("--ft-switch-on-state-layer-opacity-active","",So.opacity16),Oo.extend("--ft-switch-on-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-switch-on-color","",Co.contentActionPrimary),Oo.extend("--ft-switch-on-state-layer-color","",Co.contentActionPrimary),Oo.extend("--ft-chart-1-light","for area color charts",So.colorBrand40),Oo.extend("--ft-chart-1-base","for line charts",So.colorBrand0),Oo.extend("--ft-chart-2-light","for area color charts",So.colorYellow60),Oo.extend("--ft-chart-2-base","for line charts",So.colorYellow100),Oo.extend("--ft-chart-3-light","",So.colorUltramarine40),Oo.extend("--ft-chart-3-base","",So.colorUltramarine70),Oo.extend("--ft-chart-4-light","",So.colorCyan50),Oo.extend("--ft-chart-4-base","",So.colorCyan100),Oo.extend("--ft-chart-5-light","",So.colorRed40),Oo.extend("--ft-chart-5-base","",So.colorRed60),Oo.extend("--ft-chart-6-light","",So.colorGreen40),Oo.extend("--ft-chart-6-base","",So.colorGreen70),Oo.extend("--ft-chart-7-light","",So.colorOrange70),Oo.extend("--ft-chart-7-base","",So.colorOrange100),Oo.extend("--ft-chart-8-light","",So.colorAvocado70),Oo.extend("--ft-chart-8-base","",So.colorAvocado200),Oo.extend("--ft-chart-9-light","",So.colorBrown50),Oo.extend("--ft-chart-9-base","",So.colorBrown200),Oo.extend("--ft-chart-10-light","",So.colorGray50),Oo.extend("--ft-chart-10-base","",So.colorGray80),Oo.extend("--ft-chart-monochrome-10","",So.colorBrand10),Oo.extend("--ft-chart-monochrome-20","",So.colorBrand20),Oo.extend("--ft-chart-monochrome-30","",So.colorBrand40),Oo.extend("--ft-chart-monochrome-40","",So.colorBrand60),Oo.extend("--ft-chart-monochrome-50","",So.colorBrand0),Oo.extend("--ft-chart-monochrome-60","",So.colorBrand200),Oo.extend("--ft-chip-large-horizontal-padding","",So.spacing4),Oo.extend("--ft-chip-large-vertical-padding","",So.spacing2),Oo.extend("--ft-chip-large-gap","",So.spacing1),Oo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-large-border-radius","",So.borderRadiusPill),Oo.create("--ft-chip-large-border-width","","SIZE","1px"),Oo.extend("--ft-chip-large-icon-size","",So.iconSize3),Oo.extend("--ft-chip-medium-horizontal-padding","",So.spacing3),Oo.extend("--ft-chip-medium-vertical-padding","",So.spacing1),Oo.extend("--ft-chip-medium-gap","",So.spacing1),Oo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-medium-border-radius","",So.borderRadiusPill),Oo.create("--ft-chip-medium-border-width","","SIZE","1px"),Oo.extend("--ft-chip-medium-icon-size","",So.iconSize2),Oo.extend("--ft-chip-small-horizontal-padding","",So.spacing2),Oo.extend("--ft-chip-small-vertical-padding","",So.spacing05),Oo.extend("--ft-chip-small-gap","",So.spacing1),Oo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-small-border-radius","",So.borderRadiusPill),Oo.create("--ft-chip-small-border-width","","SIZE","1px"),Oo.extend("--ft-chip-small-icon-size","",So.iconSize1),Oo.extend("--ft-chip-neutral-background-color","",Co.backgroundGlobalOnSurface),Oo.extend("--ft-chip-neutral-color","",Co.contentGlobalPrimary),Oo.extend("--ft-chip-neutral-border-color","",Co.borderGlobalSubtle),Oo.extend("--ft-chip-info-background-color","",Co.backgroundInfoSubtle),Oo.extend("--ft-chip-info-color","",Co.contentInfoPrimary),Oo.extend("--ft-chip-info-border-color","",Co.borderInfoSubtle),Oo.extend("--ft-chip-success-background-color","",Co.backgroundSuccessSubtle),Oo.extend("--ft-chip-success-color","",Co.contentSuccessPrimary),Oo.extend("--ft-chip-success-border-color","",Co.borderSuccessSubtle),Oo.extend("--ft-chip-warning-background-color","",Co.backgroundWarningSubtle),Oo.extend("--ft-chip-warning-color","",Co.contentWarningPrimary),Oo.extend("--ft-chip-warning-border-color","",Co.borderWarningSubtle),Oo.extend("--ft-chip-error-background-color","",Co.backgroundErrorSubtle),Oo.extend("--ft-chip-error-color","",Co.contentErrorPrimary),Oo.extend("--ft-chip-error-border-color","",Co.borderErrorSubtle),Oo.create("--ft-notice-border-width","","SIZE","1px"),Oo.extend("--ft-notice-horizontal-padding","",So.spacing2),Oo.extend("--ft-notice-vertical-padding","",So.spacing1),Oo.extend("--ft-notice-border-radius","",So.borderRadiusS),Oo.extend("--ft-notice-gap","",So.spacing2),Oo.extend("--ft-notice-icon-size","",So.iconSize3),Oo.extend("--ft-notice-info-background-color","",Co.backgroundInfoSubtle),Oo.extend("--ft-notice-info-border-color","",Co.borderInfoSubtle),Oo.extend("--ft-notice-info-color","",Co.contentInfoPrimary),Oo.extend("--ft-notice-warning-background-color","",Co.backgroundWarningSubtle),Oo.extend("--ft-notice-warning-border-color","",Co.borderWarningSubtle),Oo.extend("--ft-notice-warning-color","",Co.contentWarningPrimary),Oo.extend("--ft-checkbox-label-color","",Co.contentGlobalPrimary),Oo.extend("--ft-checkbox-checked-background-color","",Co.contentActionPrimary),Oo.extend("--ft-checkbox-checked-state-layer-color","",Co.contentActionPrimary),Oo.extend("--ft-checkbox-checked-color","",Co.contentGlobalOnColor),Oo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-checkbox-checked-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-checkbox-unchecked-border-color","",So.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-color","",So.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-checkbox-focus-focus-ring-color","",Co.borderActionFocusRing),Oo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-checkbox-gap","",So.spacing3),Oo.extend("--ft-toggle-off-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-toggle-off-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-toggle-off-background-color","",Co.contentGlobalSubtle),Oo.extend("--ft-toggle-off-icon-color","",Co.contentGlobalSubtle),Oo.extend("--ft-toggle-off-state-layer-color","",Co.contentGlobalSubtle),Oo.extend("--ft-toggle-on-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-toggle-on-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-toggle-on-background-color","",Co.contentActionPrimary),Oo.extend("--ft-toggle-on-icon-color","",Co.contentActionPrimary),Oo.extend("--ft-toggle-on-state-layer-color","",Co.contentActionPrimary),Oo.extend("--ft-toggle-label-color","",Co.contentGlobalPrimary),Oo.extend("--ft-toggle-focus-focus-ring-color","",Co.borderActionFocusRing),Oo.extend("--ft-toggle-gap","",So.spacing3),Oo.extend("--ft-radio-label-color","",Co.contentGlobalPrimary),Oo.extend("--ft-radio-selected-color","",Co.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-color","",Co.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-radio-selected-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-radio-unselected-state-layer-color","",So.colorGray80),Oo.extend("--ft-radio-unselected-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-radio-unselected-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-radio-focus-focus-ring-color","",Co.borderActionFocusRing),Oo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-radio-gap","",So.spacing3),Oo.extend("--ft-notification-icon-size","",So.iconSize4),Oo.extend("--ft-notification-horizontal-padding","",So.spacing4),Oo.extend("--ft-notification-vertical-padding","",So.spacing4),Oo.extend("--ft-notification-info-background-color","",Co.backgroundInfoSubtle),Oo.extend("--ft-notification-info-color","",Co.contentInfoPrimary),Oo.extend("--ft-notification-info-border-color","",Co.borderInfoSubtle),Oo.extend("--ft-notification-success-background-color","",Co.backgroundSuccessSubtle),Oo.extend("--ft-notification-success-color","",Co.contentSuccessPrimary),Oo.extend("--ft-notification-success-border-color","",Co.borderSuccessSubtle),Oo.extend("--ft-notification-warning-background-color","",Co.backgroundWarningSubtle),Oo.extend("--ft-notification-warning-color","",Co.contentWarningPrimary),Oo.extend("--ft-notification-warning-border-color","",Co.borderWarningSubtle),Oo.extend("--ft-notification-error-background-color","",Co.backgroundErrorSubtle),Oo.extend("--ft-notification-error-color","",Co.contentErrorPrimary),Oo.extend("--ft-notification-error-border-color","",Co.borderErrorSubtle),Oo.extend("--ft-notification-border-radius","",So.borderRadiusPill),Oo.create("--ft-notification-border-width","","SIZE","1px"),Oo.extend("--ft-notification-gap-leading","",So.spacing2),Oo.extend("--ft-notification-gap-trailing","",So.spacing8),Oo.extend("--ft-tooltip-horizontal-padding","",So.spacing2),Oo.extend("--ft-tooltip-vertical-padding","",So.spacing2),Oo.extend("--ft-tooltip-border-radius","",So.borderRadiusS),Oo.extend("--ft-tooltip-label","",Co.contentGlobalOnColor),Oo.extend("--ft-tooltip-background","",Co.contentGlobalPrimary),Oo.extend("--ft-tooltip-background-opacity","",So.opacity80),Oo.extend("--ft-tooltip-shadow","",So.shadowElevation03);const Eo={colorPrimary:Oo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oo.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Oo.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Oo.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Oo.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Oo.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Oo.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Oo.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Oo.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Oo.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Oo.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Oo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ro=["start","end"],Uo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Ro[0],o+"-"+Ro[1])),[]),ko=Math.min,Io=Math.max,Wo=Math.round,Lo=t=>({x:t,y:t}),Ko={left:"right",right:"left",bottom:"top",top:"bottom"},zo={start:"end",end:"start"};function Fo(t,o,e){return Io(t,ko(o,e))}function Zo(t,o){return"function"==typeof t?t(o):t}function Do(t){return t.split("-")[0]}function Ao(t){return t.split("-")[1]}function Bo(t){return"x"===t?"y":"x"}function Mo(t){return"y"===t?"height":"width"}function Po(t){return["top","bottom"].includes(Do(t))?"y":"x"}function Ho(t){return Bo(Po(t))}function jo(t){return t.replace(/left|right|bottom|top/g,(t=>Ko[t]))}function To(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function _o(t,o,e){let{reference:i,floating:r}=t;const n=Po(o),a=Ho(o),s=Mo(a),l=Do(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Ao(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Go(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Zo(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=To(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=To(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Yo(t,o,e){return(t?[...e.filter((o=>Ao(o)===t)),...e.filter((o=>Ao(o)!==t))]:e.filter((t=>Do(t)===t))).filter((e=>!t||(Ao(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>zo[t]))}(e)!==e)))}const Vo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Uo,autoAlignment:d=!0,...u}=Zo(t,o),y=void 0!==f||h===Uo?Yo(f||null,d,h):h,g=await Go(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Ao(t),r=Ho(t),n=Mo(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=jo(a)),[a,jo(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Do(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=Ao(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,Ao(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Jo(t){return Qo(t)?(t.nodeName||"").toLowerCase():"#document"}function qo(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Xo(t){var o;return null==(o=(Qo(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Qo(t){return t instanceof Node||t instanceof qo(t).Node}function te(t){return t instanceof Element||t instanceof qo(t).Element}function oe(t){return t instanceof HTMLElement||t instanceof qo(t).HTMLElement}function ee(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof qo(t).ShadowRoot)}function ie(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=le(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function re(t){return["table","td","th"].includes(Jo(t))}function ne(t){const o=ae(),e=le(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 ae(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function se(t){return["html","body","#document"].includes(Jo(t))}function le(t){return qo(t).getComputedStyle(t)}function ce(t){return te(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pe(t){if("html"===Jo(t))return t;const o=t.assignedSlot||t.parentNode||ee(t)&&t.host||Xo(t);return ee(o)?o.host:o}function fe(t){const o=pe(t);return se(o)?t.ownerDocument?t.ownerDocument.body:t.body:oe(o)&&ie(o)?o:fe(o)}function he(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=fe(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=qo(r);return n?o.concat(a,a.visualViewport||[],ie(r)?r:[],a.frameElement&&e?he(a.frameElement):[]):o.concat(r,he(r,[],e))}function de(t){const o=le(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=oe(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=Wo(e)!==n||Wo(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function ue(t){return te(t)?t:t.contextElement}function ye(t){const o=ue(t);if(!oe(o))return Lo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=de(o);let a=(n?Wo(e.width):e.width)/i,s=(n?Wo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ge=Lo(0);function be(t){const o=qo(t);return ae()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ge}function me(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=ue(t);let a=Lo(1);o&&(i?te(i)&&(a=ye(i)):a=ye(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==qo(t))&&o}(n,e,i)?be(n):Lo(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=qo(n),o=i&&te(i)?qo(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ye(e),o=e.getBoundingClientRect(),i=le(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=qo(e).frameElement}}return To({width:p,height:f,x:l,y:c})}function xe(t){return me(Xo(t)).left+ce(t).scrollLeft}function ve(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=qo(t),i=Xo(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=ae();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=Xo(t),e=ce(t),i=t.ownerDocument.body,r=Io(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Io(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+xe(t);const s=-e.scrollTop;return"rtl"===le(i).direction&&(a+=Io(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Xo(t));else if(te(o))i=function(t,o){const e=me(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=oe(t)?ye(t):Lo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=be(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return To(i)}function Oe(t,o){const e=pe(t);return!(e===o||!te(e)||se(e))&&("fixed"===le(e).position||Oe(e,o))}function Ne(t,o,e){const i=oe(o),r=Xo(o),n="fixed"===e,a=me(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Lo(0);if(i||!i&&!n)if(("body"!==Jo(o)||ie(r))&&(s=ce(o)),i){const t=me(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=xe(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Se(t,o){return oe(t)&&"fixed"!==le(t).position?o?o(t):t.offsetParent:null}function we(t,o){const e=qo(t);if(!oe(t))return e;let i=Se(t,o);for(;i&&re(i)&&"static"===le(i).position;)i=Se(i,o);return i&&("html"===Jo(i)||"body"===Jo(i)&&"static"===le(i).position&&!ne(i))?e:i||function(t){let o=pe(t);for(;oe(o)&&!se(o);){if(ne(o))return o;o=pe(o)}return null}(t)||e}const Ce={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=oe(e),n=Xo(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Lo(1);const l=Lo(0);if((r||!r&&"fixed"!==i)&&(("body"!==Jo(e)||ie(n))&&(a=ce(e)),oe(e))){const t=me(e);s=ye(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:Xo,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=he(t,[],!1).filter((t=>te(t)&&"body"!==Jo(t))),r=null;const n="fixed"===le(t).position;let a=n?pe(t):t;for(;te(a)&&!se(a);){const o=le(a),e=ne(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||ie(a)&&!e&&Oe(t,a))?i=i.filter((t=>t!==a)):r=o,a=pe(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=ve(o,e,r);return t.top=Io(i.top,t.top),t.right=ko(i.right,t.right),t.bottom=ko(i.bottom,t.bottom),t.left=Io(i.left,t.left),t}),ve(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:we,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||we,n=this.getDimensions;return{reference:Ne(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return de(t)},getScale:ye,isElement:te,isRTL:function(t){return"rtl"===le(t).direction}},$e=(t,o,e)=>{const i=new Map,r={platform:Ce,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=_o(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=_o(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function Ee(t){return function(t){for(let o=t;o;o=Re(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Re(t);o;o=Re(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Re(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Ue(t,o,e){return $e(t,o,{platform:{...Ce,getOffsetParent:t=>Ce.getOffsetParent(t,Ee)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Zo(i,t),c={x:o,y:e},p=await Go(t,l),f=Po(Do(r)),h=Bo(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Fo(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Fo(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...t,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Vo({allowedPlacements:[e]})]});var i}
|
|
85
85
|
/**
|
|
86
86
|
* @license
|
|
87
87
|
* Copyright 2019 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
-
*/const ke=window,Ie=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class We extends mo{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)=>{Ie?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=ke.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Le,Ke=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const ze=Symbol("constructorPrototype"),Fe=Symbol("constructorName"),Ze=Symbol("exportpartsDebouncer");class
|
|
89
|
+
*/const ke=window,Ie=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class We extends mo{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)=>{Ie?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=ke.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Le,Ke=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const ze=Symbol("constructorPrototype"),Fe=Symbol("constructorName"),Ze=Symbol("exportpartsDebouncer");class De extends We{constructor(){super(),this[Le]=new o(5),this[Fe]=this.constructor.name,this[ze]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fe]&&Object.setPrototypeOf(this,this[ze])}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[Ze].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Le=Ze,Ke([C()],De.prototype,"exportpartsPrefix",void 0),Ke([W([])],De.prototype,"exportpartsPrefixes",void 0),Ke([C()],De.prototype,"customStylesheet",void 0);const Ae=Oo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");xt`
|
|
90
90
|
.highlight-html-match {
|
|
91
|
-
background: ${
|
|
91
|
+
background: ${Ae};
|
|
92
92
|
}
|
|
93
|
-
`;const
|
|
93
|
+
`;const Be=xt`
|
|
94
94
|
.ft-no-text-select {
|
|
95
95
|
-webkit-touch-callout: none;
|
|
96
96
|
-webkit-user-select: none;
|
|
@@ -111,7 +111,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
111
111
|
-webkit-hyphens: auto;
|
|
112
112
|
hyphens: auto
|
|
113
113
|
}
|
|
114
|
-
`;const
|
|
114
|
+
`;const Me=xt`
|
|
115
115
|
.ft-safari-ellipsis-fix {
|
|
116
116
|
margin-right: 0;
|
|
117
117
|
|
|
@@ -122,7 +122,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
122
122
|
display: inline-block;
|
|
123
123
|
width: 0;
|
|
124
124
|
}
|
|
125
|
-
`;function Pe(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var He,je,Te;const _e=Symbol("internalReduxEventsUnsubscribers"),Ge=Symbol("internalStoresUnsubscribers"),Ye=Symbol("internalStores");class Ve extends
|
|
125
|
+
`;function Pe(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var He,je,Te;const _e=Symbol("internalReduxEventsUnsubscribers"),Ge=Symbol("internalStoresUnsubscribers"),Ye=Symbol("internalStores");class Ve extends De{constructor(){super(...arguments),this[He]=new Map,this[je]=new Map,this[Te]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Ye].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ye].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ye].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Pe(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Ye].delete(o)}setupStore(t,o){this[Ye].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ye].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Ge].has(t.store):this[Ge].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Ge].set(t,o.subscribe((()=>this.updateFromStores()))),Pe(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[_e].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ge].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[_e].forEach((t=>t())),this[_e]=[]}unsubscribeFromStore(t){this[Ge].has(t)&&this[Ge].get(t)(),this[Ge].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}He=Ge,je=Ye,Te=_e,Ve.reduxProperties=new Map,Ve.reduxReactiveProperties=new Set,Ve.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const Je=Symbol("elementInternals");var qe,Xe,Qe;const ti=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Qe=null===(Xe=null===(qe=window.safari)||void 0===qe?void 0:qe.pushNotification)||void 0===Xe?void 0:Xe.toString())&&void 0!==Qe?Qe:""),oi={zIndex:Oo.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:Oo.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:Oo.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:Oo.extend("--ft-floating-menu-text-color","",Eo.colorOnSurfaceHigh),colorSurface:Oo.external(Eo.colorSurface,"Design system"),menuElevation:Oo.external(Eo.elevation02,"Design system"),borderRadiusS:Oo.external(Eo.borderRadiusS,"Design system")},ei=xt`
|
|
126
126
|
.ft-floating-menu {
|
|
127
127
|
color: ${oi.textColor};
|
|
128
128
|
display: inline-block;
|
|
@@ -153,7 +153,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
153
153
|
.ft-floating-menu--open .ft-floating-menu--options {
|
|
154
154
|
display: block;
|
|
155
155
|
}
|
|
156
|
-
`,ii=
|
|
156
|
+
`,ii=Oo.extend("--ft-ripple-color","",Eo.colorContent),ri={color:ii,backgroundColor:Oo.extend("--ft-ripple-background-color","",ii),opacityContentOnSurfacePressed:Oo.external(Eo.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Oo.external(Eo.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Oo.external(Eo.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Oo.external(Eo.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Oo.create("--ft-ripple-border-radius","","SIZE","0px")},ni=Oo.extend("--ft-ripple-color","",Eo.colorPrimary),ai=ni,si=Oo.extend("--ft-ripple-background-color","",ni),li=Oo.extend("--ft-ripple-color","",Eo.colorSecondary),ci=li,pi=Oo.extend("--ft-ripple-background-color","",li),fi=xt`
|
|
157
157
|
:host {
|
|
158
158
|
display: contents;
|
|
159
159
|
}
|
|
@@ -208,7 +208,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
211
|
-
background-color: ${
|
|
211
|
+
background-color: ${pi};
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
@@ -265,18 +265,18 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
265
265
|
opacity: ${ri.opacityContentOnSurfacePressed};
|
|
266
266
|
transform: translate(-50%, -50%) scale(1);
|
|
267
267
|
}
|
|
268
|
-
`;const hi=
|
|
268
|
+
`;const hi=Oo.extend("--ft-typography-font-family","",Eo.titleFont),di=Oo.extend("--ft-typography-font-family","",Eo.contentFont),ui={fontFamily:di,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},yi=Oo.extend("--ft-typography-title-font-family","",hi),gi=Oo.extend("--ft-typography-title-font-size","",ui.fontSize,"20px"),bi=Oo.extend("--ft-typography-title-font-weight","",ui.fontWeight,"normal"),mi=Oo.extend("--ft-typography-title-letter-spacing","",ui.letterSpacing,"0.15px"),xi=Oo.extend("--ft-typography-title-line-height","",ui.lineHeight,"1.2"),vi=Oo.extend("--ft-typography-title-text-transform","",ui.textTransform,"inherit"),Oi=Oo.extend("--ft-typography-title-dense-font-family","",hi),Ni=Oo.extend("--ft-typography-title-dense-font-size","",ui.fontSize,"14px"),Si=Oo.extend("--ft-typography-title-dense-font-weight","",ui.fontWeight,"normal"),wi=Oo.extend("--ft-typography-title-dense-letter-spacing","",ui.letterSpacing,"0.105px"),Ci=Oo.extend("--ft-typography-title-dense-line-height","",ui.lineHeight,"1.7"),$i=Oo.extend("--ft-typography-title-dense-text-transform","",ui.textTransform,"inherit"),Ei=Oo.extend("--ft-typography-subtitle1-font-family","",di),Ri=Oo.extend("--ft-typography-subtitle1-font-size","",ui.fontSize,"16px"),Ui=Oo.extend("--ft-typography-subtitle1-font-weight","",ui.fontWeight,"600"),ki=Oo.extend("--ft-typography-subtitle1-letter-spacing","",ui.letterSpacing,"0.144px"),Ii=Oo.extend("--ft-typography-subtitle1-line-height","",ui.lineHeight,"1.5"),Wi=Oo.extend("--ft-typography-subtitle1-text-transform","",ui.textTransform,"inherit"),Li=Oo.extend("--ft-typography-subtitle2-font-family","",di),Ki=Oo.extend("--ft-typography-subtitle2-font-size","",ui.fontSize,"14px"),zi=Oo.extend("--ft-typography-subtitle2-font-weight","",ui.fontWeight,"normal"),Fi=Oo.extend("--ft-typography-subtitle2-letter-spacing","",ui.letterSpacing,"0.098px"),Zi=Oo.extend("--ft-typography-subtitle2-line-height","",ui.lineHeight,"1.7"),Di=Oo.extend("--ft-typography-subtitle2-text-transform","",ui.textTransform,"inherit"),Ai=Oo.extend("--ft-typography-body1-font-family","",di),Bi=Oo.extend("--ft-typography-body1-font-size","",ui.fontSize,"16px"),Mi=Oo.extend("--ft-typography-body1-font-weight","",ui.fontWeight,"normal"),Pi=Oo.extend("--ft-typography-body1-letter-spacing","",ui.letterSpacing,"0.496px"),Hi=Oo.extend("--ft-typography-body1-line-height","",ui.lineHeight,"1.5"),ji=Oo.extend("--ft-typography-body1-text-transform","",ui.textTransform,"inherit"),Ti=Oo.extend("--ft-typography-body2-font-family","",di),_i=Oo.extend("--ft-typography-body2-font-size","",ui.fontSize,"14px"),Gi=Oo.extend("--ft-typography-body2-font-weight","",ui.fontWeight,"normal"),Yi=Oo.extend("--ft-typography-body2-letter-spacing","",ui.letterSpacing,"0.252px"),Vi=Oo.extend("--ft-typography-body2-line-height","",ui.lineHeight,"1.4"),Ji=Oo.extend("--ft-typography-body2-text-transform","",ui.textTransform,"inherit"),qi=Oo.extend("--ft-typography-caption-font-family","",di),Xi=Oo.extend("--ft-typography-caption-font-size","",ui.fontSize,"12px"),Qi=Oo.extend("--ft-typography-caption-font-weight","",ui.fontWeight,"normal"),tr=Oo.extend("--ft-typography-caption-letter-spacing","",ui.letterSpacing,"0.396px"),or=Oo.extend("--ft-typography-caption-line-height","",ui.lineHeight,"1.33"),er=Oo.extend("--ft-typography-caption-text-transform","",ui.textTransform,"inherit"),ir=Oo.extend("--ft-typography-breadcrumb-font-family","",di),rr=Oo.extend("--ft-typography-breadcrumb-font-size","",ui.fontSize,"10px"),nr=Oo.extend("--ft-typography-breadcrumb-font-weight","",ui.fontWeight,"normal"),ar=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",ui.letterSpacing,"0.33px"),sr=Oo.extend("--ft-typography-breadcrumb-line-height","",ui.lineHeight,"1.6"),lr=Oo.extend("--ft-typography-breadcrumb-text-transform","",ui.textTransform,"inherit"),cr=Oo.extend("--ft-typography-overline-font-family","",di),pr=Oo.extend("--ft-typography-overline-font-size","",ui.fontSize,"10px"),fr=Oo.extend("--ft-typography-overline-font-weight","",ui.fontWeight,"normal"),hr=Oo.extend("--ft-typography-overline-letter-spacing","",ui.letterSpacing,"1.5px"),dr=Oo.extend("--ft-typography-overline-line-height","",ui.lineHeight,"1.6"),ur=Oo.extend("--ft-typography-overline-text-transform","",ui.textTransform,"uppercase"),yr={fontFamily:Oo.extend("--ft-typography-button-font-family","",di),fontSize:Oo.extend("--ft-typography-button-font-size","",ui.fontSize,"14px"),fontWeight:Oo.extend("--ft-typography-button-font-weight","",ui.fontWeight,"600"),letterSpacing:Oo.extend("--ft-typography-button-letter-spacing","",ui.letterSpacing,"1.246px"),lineHeight:Oo.extend("--ft-typography-button-line-height","",ui.lineHeight,"1.15"),textTransform:Oo.extend("--ft-typography-button-text-transform","",ui.textTransform,"uppercase")},gr=xt`
|
|
269
269
|
.ft-typography--title {
|
|
270
270
|
font-family: ${yi};
|
|
271
271
|
font-size: ${gi};
|
|
272
272
|
font-weight: ${bi};
|
|
273
273
|
letter-spacing: ${mi};
|
|
274
274
|
line-height: ${xi};
|
|
275
|
-
text-transform: ${
|
|
275
|
+
text-transform: ${vi};
|
|
276
276
|
}
|
|
277
277
|
`,br=xt`
|
|
278
278
|
.ft-typography--title-dense {
|
|
279
|
-
font-family: ${
|
|
279
|
+
font-family: ${Oi};
|
|
280
280
|
font-size: ${Ni};
|
|
281
281
|
font-weight: ${Si};
|
|
282
282
|
letter-spacing: ${wi};
|
|
@@ -285,8 +285,8 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
285
285
|
}
|
|
286
286
|
`,mr=xt`
|
|
287
287
|
.ft-typography--subtitle1 {
|
|
288
|
-
font-family: ${
|
|
289
|
-
font-size: ${
|
|
288
|
+
font-family: ${Ei};
|
|
289
|
+
font-size: ${Ri};
|
|
290
290
|
font-weight: ${Ui};
|
|
291
291
|
letter-spacing: ${ki};
|
|
292
292
|
line-height: ${Ii};
|
|
@@ -299,19 +299,19 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
299
299
|
font-weight: ${zi};
|
|
300
300
|
letter-spacing: ${Fi};
|
|
301
301
|
line-height: ${Zi};
|
|
302
|
-
text-transform: ${
|
|
302
|
+
text-transform: ${Di};
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
-
`,
|
|
305
|
+
`,vr=xt`
|
|
306
306
|
.ft-typography--body1 {
|
|
307
|
-
font-family: ${
|
|
308
|
-
font-size: ${
|
|
309
|
-
font-weight: ${
|
|
307
|
+
font-family: ${Ai};
|
|
308
|
+
font-size: ${Bi};
|
|
309
|
+
font-weight: ${Mi};
|
|
310
310
|
letter-spacing: ${Pi};
|
|
311
311
|
line-height: ${Hi};
|
|
312
312
|
text-transform: ${ji};
|
|
313
313
|
}
|
|
314
|
-
`,
|
|
314
|
+
`,Or=xt`
|
|
315
315
|
.ft-typography--body2 {
|
|
316
316
|
font-family: ${Ti};
|
|
317
317
|
font-size: ${_i};
|
|
@@ -341,8 +341,8 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
341
341
|
`,wr=xt`
|
|
342
342
|
.ft-typography--overline {
|
|
343
343
|
font-family: ${cr};
|
|
344
|
-
font-size: ${
|
|
345
|
-
font-weight: ${
|
|
344
|
+
font-size: ${pr};
|
|
345
|
+
font-weight: ${fr};
|
|
346
346
|
letter-spacing: ${hr};
|
|
347
347
|
line-height: ${dr};
|
|
348
348
|
text-transform: ${ur};
|
|
@@ -360,7 +360,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
360
360
|
.ft-typography {
|
|
361
361
|
vertical-align: inherit;
|
|
362
362
|
}
|
|
363
|
-
`,
|
|
363
|
+
`,Er=[Object.keys(wo).map((t=>function(t){const o=wo[t];return xt`
|
|
364
364
|
.ft-typography--${mt(t)} {
|
|
365
365
|
font-family: ${o.fontFamily};
|
|
366
366
|
font-size: ${o.fontSize};
|
|
@@ -369,7 +369,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
369
369
|
line-height: ${o.lineHeight};
|
|
370
370
|
text-transform: ${o.textCase};
|
|
371
371
|
}
|
|
372
|
-
`}(t)))],
|
|
372
|
+
`}(t)))],Rr={color:Oo.extend("--ft-loader-color","",Eo.colorPrimary),size:Oo.create("--ft-loader-size","","SIZE","80px")},Ur=xt`
|
|
373
373
|
:host {
|
|
374
374
|
line-height: 0;
|
|
375
375
|
}
|
|
@@ -378,8 +378,8 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
378
378
|
display: inline-block;
|
|
379
379
|
position: relative;
|
|
380
380
|
|
|
381
|
-
width: ${
|
|
382
|
-
height: ${
|
|
381
|
+
width: ${Rr.size};
|
|
382
|
+
height: ${Rr.size};
|
|
383
383
|
}
|
|
384
384
|
|
|
385
385
|
.ft-loader div {
|
|
@@ -388,7 +388,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
388
388
|
width: 25%;
|
|
389
389
|
height: 25%;
|
|
390
390
|
border-radius: 50%;
|
|
391
|
-
background: ${
|
|
391
|
+
background: ${Rr.color};
|
|
392
392
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
393
393
|
}
|
|
394
394
|
|
|
@@ -435,10 +435,10 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
435
435
|
transform: translate(0, 0);
|
|
436
436
|
}
|
|
437
437
|
100% {
|
|
438
|
-
transform: translate(calc(0.35 * ${
|
|
438
|
+
transform: translate(calc(0.35 * ${Rr.size}), 0);
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
|
-
`,kr={size:
|
|
441
|
+
`,kr={size:Oo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Oo.extend("--ft-icon-fluid-topics-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Oo.extend("--ft-icon-file-format-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Oo.extend("--ft-icon-material-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Oo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ir=xt`
|
|
442
442
|
:host, i.ft-icon {
|
|
443
443
|
display: inline-flex;
|
|
444
444
|
align-items: center;
|
|
@@ -486,7 +486,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
486
486
|
.ft-icon--material {
|
|
487
487
|
font-family: ${kr.materialFontFamily}, "Material Icons", sans-serif;
|
|
488
488
|
}
|
|
489
|
-
`,Wr=
|
|
489
|
+
`,Wr=Oo.extend("--ft-button-color","",Eo.colorPrimary),Lr={backgroundColor:Oo.extend("--ft-button-background-color","",Eo.colorSurface),borderRadius:Oo.extend("--ft-button-border-radius","",Eo.borderRadiusL),color:Wr,fontSize:Oo.extend("--ft-button-font-size","",yr.fontSize),iconSize:Oo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Oo.extend("--ft-button-ripple-color","",Wr),verticalPadding:Oo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Oo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Oo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Oo.external(Eo.colorOpacityDisabled,"Design system")},Kr=Oo.extend("--ft-button-primary-color","",Oo.extend("--ft-button-color","",Eo.colorOnPrimary)),zr={backgroundColor:Oo.extend("--ft-button-primary-background-color","",Oo.extend("--ft-button-background-color","",Eo.colorPrimary)),color:Kr,rippleColor:Oo.extend("--ft-button-primary-ripple-color","",Kr)},Fr=Oo.extend("--ft-button-dense-border-radius","",Oo.extend("--ft-button-border-radius","",Eo.borderRadiusM)),Zr=Oo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Dr=Oo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ar=Oo.create("--ft-button-dense-icon-padding","","SIZE","4px"),Br=[xt`
|
|
490
490
|
:host {
|
|
491
491
|
display: inline-block;
|
|
492
492
|
max-width: 100%;
|
|
@@ -544,13 +544,13 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
544
544
|
}
|
|
545
545
|
|
|
546
546
|
.ft-button.ft-button--dense {
|
|
547
|
-
padding: ${Zr} ${
|
|
547
|
+
padding: ${Zr} ${Dr};
|
|
548
548
|
border-radius: ${Fr};
|
|
549
|
-
gap: ${
|
|
549
|
+
gap: ${Ar};
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
553
|
-
padding: calc(${Zr} - 1px) calc(${
|
|
553
|
+
padding: calc(${Zr} - 1px) calc(${Dr} - 1px);
|
|
554
554
|
}
|
|
555
555
|
|
|
556
556
|
.ft-button:not([disabled]):hover {
|
|
@@ -592,7 +592,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
592
592
|
}
|
|
593
593
|
|
|
594
594
|
.ft-button--dense .ft-button--label {
|
|
595
|
-
margin: 0 ${
|
|
595
|
+
margin: 0 ${Ar};
|
|
596
596
|
}
|
|
597
597
|
|
|
598
598
|
.ft-button--label[hidden] {
|
|
@@ -610,7 +610,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
610
610
|
}
|
|
611
611
|
|
|
612
612
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
613
|
-
margin: 0 calc(${
|
|
613
|
+
margin: 0 calc(${Dr} * -1);
|
|
614
614
|
padding: 0 ${Zr};
|
|
615
615
|
}
|
|
616
616
|
|
|
@@ -620,15 +620,15 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
620
620
|
}
|
|
621
621
|
|
|
622
622
|
ft-loader {
|
|
623
|
-
${No(
|
|
624
|
-
${No(
|
|
623
|
+
${No(Rr.size,Lr.iconSize)};
|
|
624
|
+
${No(Rr.color,"var(--ft-button-internal-color)")};
|
|
625
625
|
}
|
|
626
|
-
`,
|
|
626
|
+
`,Be],Mr=1,Pr=2,Hr=t=>(...o)=>({_$litDirective$:t,values:o});let jr=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)}};
|
|
627
627
|
/**
|
|
628
628
|
* @license
|
|
629
629
|
* Copyright 2018 Google LLC
|
|
630
630
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
631
|
-
*/const Tr=Hr(class extends jr{constructor(t){if(super(t),t.type!==
|
|
631
|
+
*/const Tr=Hr(class extends jr{constructor(t){if(super(t),t.type!==Mr||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return Q}});var _r=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Gr extends De{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return oo`
|
|
632
632
|
<style>
|
|
633
633
|
.ft-ripple .ft-ripple--effect {
|
|
634
634
|
left: ${this.originX}px;
|
|
@@ -639,20 +639,20 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
639
639
|
<div class="ft-ripple--background"></div>
|
|
640
640
|
<div class="ft-ripple--effect"></div>
|
|
641
641
|
</div>
|
|
642
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Gr.elementDefinitions={},Gr.styles=
|
|
642
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Gr.elementDefinitions={},Gr.styles=fi,_r([C({type:Boolean})],Gr.prototype,"primary",void 0),_r([C({type:Boolean})],Gr.prototype,"secondary",void 0),_r([C({type:Boolean})],Gr.prototype,"unbounded",void 0),_r([C({type:Boolean})],Gr.prototype,"activated",void 0),_r([C({type:Boolean})],Gr.prototype,"selected",void 0),_r([C({type:Boolean})],Gr.prototype,"disabled",void 0),_r([$()],Gr.prototype,"hovered",void 0),_r([$()],Gr.prototype,"focused",void 0),_r([$()],Gr.prototype,"pressed",void 0),_r([$()],Gr.prototype,"rippling",void 0),_r([$()],Gr.prototype,"originX",void 0),_r([$()],Gr.prototype,"originY",void 0),_r([U(".ft-ripple")],Gr.prototype,"ripple",void 0),_r([U(".ft-ripple--effect")],Gr.prototype,"rippleEffect",void 0),I("ft-ripple")(Gr);
|
|
643
643
|
/**
|
|
644
644
|
* @license
|
|
645
645
|
* Copyright 2020 Google LLC
|
|
646
646
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
647
647
|
*/
|
|
648
|
-
const Yr=Symbol.for(""),Vr=t=>{if(t?.r===Yr)return t?._$litStatic$},Jr=t=>({_$litStatic$:t,r:Yr}),qr=new Map,Xr=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,
|
|
648
|
+
const Yr=Symbol.for(""),Vr=t=>{if(t?.r===Yr)return t?._$litStatic$},Jr=t=>({_$litStatic$:t,r:Yr}),qr=new Map,Xr=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=Vr(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=qr.get(t))&&(a.raw=a,qr.set(t,o=a)),e=s}return t(o,...e)})(X);var Qr;!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"}(Qr||(Qr={}));var tn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class on extends De{constructor(){super(...arguments),this.variant=Qr.body1}render(){return this.element?Xr`
|
|
649
649
|
<${Jr(this.element)}
|
|
650
650
|
class="ft-typography ft-typography--${this.variant}">
|
|
651
651
|
<slot></slot>
|
|
652
652
|
</${Jr(this.element)}>
|
|
653
653
|
`:Xr`
|
|
654
654
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
655
|
-
`}}on.styles=[gr,br,mr,xr,Or,
|
|
655
|
+
`}}on.styles=[gr,br,mr,xr,vr,Or,Nr,Sr,wr,Cr,$r,...Er],tn([C()],on.prototype,"element",void 0),tn([C()],on.prototype,"variant",void 0),I("ft-typography")(on);const en=Oo.create("--ft-tooltip-distance","","SIZE","4px"),rn=Oo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),nn=Oo.create("--ft-tooltip-background-color","","COLOR","#666666"),an=Oo.create("--ft-tooltip-z-index","","NUMBER","100"),sn=Oo.external(Eo.borderRadiusS,"Design system"),ln=Oo.create("--ft-tooltip-max-width","","SIZE","150px"),cn=xt`
|
|
656
656
|
.ft-tooltip--container {
|
|
657
657
|
display: block;
|
|
658
658
|
}
|
|
@@ -681,7 +681,7 @@ const Yr=Symbol.for(""),Vr=t=>{if(t?.r===Yr)return t?._$litStatic$},Jr=t=>({_$li
|
|
|
681
681
|
position: relative;
|
|
682
682
|
word-break: break-word;
|
|
683
683
|
}
|
|
684
|
-
`;var
|
|
684
|
+
`;var pn=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 fn extends De{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 oo`
|
|
685
685
|
<div part="container"
|
|
686
686
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
687
687
|
@mouseenter=${this.onHover}
|
|
@@ -699,31 +699,31 @@ const Yr=Symbol.for(""),Vr=t=>{if(t?.r===Yr)return t?._$litStatic$},Jr=t=>({_$li
|
|
|
699
699
|
</div>
|
|
700
700
|
</div>
|
|
701
701
|
</div>
|
|
702
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ue(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}
|
|
702
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ue(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}fn.elementDefinitions={"ft-typography":on},fn.styles=cn,pn([C()],fn.prototype,"text",void 0),pn([C({type:Boolean})],fn.prototype,"manual",void 0),pn([C({type:Boolean})],fn.prototype,"inline",void 0),pn([C({type:Number})],fn.prototype,"delay",void 0),pn([C()],fn.prototype,"position",void 0),pn([
|
|
703
703
|
/**
|
|
704
704
|
* @license
|
|
705
705
|
* Copyright 2017 Google LLC
|
|
706
706
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
707
707
|
*/
|
|
708
|
-
function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return
|
|
708
|
+
function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],fn.prototype,"slotNodes",void 0),pn([U(".ft-tooltip--container")],fn.prototype,"container",void 0),pn([U(".ft-tooltip")],fn.prototype,"tooltip",void 0),pn([U(".ft-tooltip--content")],fn.prototype,"tooltipContent",void 0),pn([$()],fn.prototype,"visible",void 0),pn([E({passive:!0})],fn.prototype,"onTouch",null),pn([E({passive:!0})],fn.prototype,"onHover",null),pn([E({passive:!0})],fn.prototype,"onOut",null),pn([E({passive:!0})],fn.prototype,"onClick",null),I("ft-tooltip")(fn);
|
|
709
709
|
/**
|
|
710
710
|
* @license
|
|
711
711
|
* Copyright 2017 Google LLC
|
|
712
712
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
713
713
|
*/
|
|
714
|
-
class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}hn.directiveName="unsafeHTML",hn.resultType=1;const dn=Hr(hn);var un,yn,gn;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(un||(un={})),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=""}(yn||(yn={})),new Map([...["abw"].map((t=>[t,yn.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,yn.AUDIO])),...["avi"].map((t=>[t,yn.AVI])),...["chm","xhs"].map((t=>[t,yn.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,yn.CODE])),...["csv"].map((t=>[t,yn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,yn.DITA])),...["epub"].map((t=>[t,yn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,yn.EXCEL])),...["flac"].map((t=>[t,yn.FLAC])),...["gif"].map((t=>[t,yn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,yn.GZIP])),...["html","htm","xhtml"].map((t=>[t,yn.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,yn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,yn.JPEG])),...["json"].map((t=>[t,yn.JSON])),...["m4a","m4p"].map((t=>[t,yn.M4A])),...["mov","qt"].map((t=>[t,yn.MOV])),...["mp3"].map((t=>[t,yn.MP3])),...["mp4","m4v"].map((t=>[t,yn.MP4])),...["ogg","oga"].map((t=>[t,yn.OGG])),...["pdf","ps"].map((t=>[t,yn.PDF])),...["png"].map((t=>[t,yn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,yn.POWERPOINT])),...["rar"].map((t=>[t,yn.RAR])),...["stp"].map((t=>[t,yn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,yn.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,yn.VIDEO])),...["wav"].map((t=>[t,yn.WAV])),...["wma"].map((t=>[t,yn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,yn.WORD])),...["xml","xsl","rdf"].map((t=>[t,yn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,yn.YAML])),...["zip"].map((t=>[t,yn.ZIP]))]),yn.ABW,yn.AUDIO,yn.AVI,yn.CHM,yn.CODE,yn.CSV,yn.DITA,yn.EPUB,yn.EXCEL,yn.FLAC,yn.GIF,yn.GZIP,yn.HTML,yn.IMAGE,yn.JPEG,yn.JSON,yn.M4A,yn.MOV,yn.MP3,yn.MP4,yn.OGG,yn.PDF,yn.PNG,yn.POWERPOINT,yn.RAR,yn.STP,yn.TEXT,yn.UNKNOWN,yn.VIDEO,yn.WAV,yn.WMA,yn.WORD,yn.XML,yn.YAML,yn.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(gn||(gn={}));var bn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class mn extends
|
|
714
|
+
class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}hn.directiveName="unsafeHTML",hn.resultType=1;const dn=Hr(hn);var un,yn,gn;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(un||(un={})),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=""}(yn||(yn={})),new Map([...["abw"].map((t=>[t,yn.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,yn.AUDIO])),...["avi"].map((t=>[t,yn.AVI])),...["chm","xhs"].map((t=>[t,yn.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,yn.CODE])),...["csv"].map((t=>[t,yn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,yn.DITA])),...["epub"].map((t=>[t,yn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,yn.EXCEL])),...["flac"].map((t=>[t,yn.FLAC])),...["gif"].map((t=>[t,yn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,yn.GZIP])),...["html","htm","xhtml"].map((t=>[t,yn.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,yn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,yn.JPEG])),...["json"].map((t=>[t,yn.JSON])),...["m4a","m4p"].map((t=>[t,yn.M4A])),...["mov","qt"].map((t=>[t,yn.MOV])),...["mp3"].map((t=>[t,yn.MP3])),...["mp4","m4v"].map((t=>[t,yn.MP4])),...["ogg","oga"].map((t=>[t,yn.OGG])),...["pdf","ps"].map((t=>[t,yn.PDF])),...["png"].map((t=>[t,yn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,yn.POWERPOINT])),...["rar"].map((t=>[t,yn.RAR])),...["stp"].map((t=>[t,yn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,yn.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,yn.VIDEO])),...["wav"].map((t=>[t,yn.WAV])),...["wma"].map((t=>[t,yn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,yn.WORD])),...["xml","xsl","rdf"].map((t=>[t,yn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,yn.YAML])),...["zip"].map((t=>[t,yn.ZIP]))]),yn.ABW,yn.AUDIO,yn.AVI,yn.CHM,yn.CODE,yn.CSV,yn.DITA,yn.EPUB,yn.EXCEL,yn.FLAC,yn.GIF,yn.GZIP,yn.HTML,yn.IMAGE,yn.JPEG,yn.JSON,yn.M4A,yn.MOV,yn.MP3,yn.MP4,yn.OGG,yn.PDF,yn.PNG,yn.POWERPOINT,yn.RAR,yn.STP,yn.TEXT,yn.UNKNOWN,yn.VIDEO,yn.WAV,yn.WMA,yn.WORD,yn.XML,yn.YAML,yn.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(gn||(gn={}));var bn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class mn extends De{constructor(){super(...arguments),this.resolvedIcon=io}render(){const t=this.variant&&Object.values(gn).includes(this.variant)?this.variant:gn.fluid_topics,o=t!==gn.material||!!this.value;return oo`
|
|
715
715
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
716
716
|
${dn(this.resolvedIcon)}
|
|
717
717
|
<slot ?hidden=${o}></slot>
|
|
718
718
|
</i>
|
|
719
|
-
`}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 gn.file_format:this.resolvedIcon=null!==(t=yn[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case gn.material:this.resolvedIcon=this.value||io;break;default:this.resolvedIcon=null!==(o=un[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}mn.elementDefinitions={},mn.styles=Ir,bn([C()],mn.prototype,"variant",void 0),bn([C()],mn.prototype,"value",void 0),bn([$()],mn.prototype,"resolvedIcon",void 0),bn([U("slot")],mn.prototype,"slottedContent",void 0),I("ft-icon")(mn);class xn extends
|
|
719
|
+
`}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 gn.file_format:this.resolvedIcon=null!==(t=yn[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case gn.material:this.resolvedIcon=this.value||io;break;default:this.resolvedIcon=null!==(o=un[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}mn.elementDefinitions={},mn.styles=Ir,bn([C()],mn.prototype,"variant",void 0),bn([C()],mn.prototype,"value",void 0),bn([$()],mn.prototype,"resolvedIcon",void 0),bn([U("slot")],mn.prototype,"slottedContent",void 0),I("ft-icon")(mn);class xn extends De{render(){return oo`
|
|
720
720
|
<div class="ft-loader">
|
|
721
721
|
<div></div>
|
|
722
722
|
<div></div>
|
|
723
723
|
<div></div>
|
|
724
724
|
<div></div>
|
|
725
725
|
</div>
|
|
726
|
-
`}}xn.styles=Ur,I("ft-loader")(xn);var
|
|
726
|
+
`}}xn.styles=Ur,I("ft-loader")(xn);var vn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class On extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Je].form}constructor(...t){super(t),this[Je]=this.attachInternals(),this[Je].role=o}setFormValue(t){this[Je].setFormValue(t)}}}(De,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(oo`
|
|
727
727
|
<button part="button"
|
|
728
728
|
class="${Tr(this.buttonClasses)}"
|
|
729
729
|
aria-label="${this.getLabel()}"
|
|
@@ -746,7 +746,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
|
|
|
746
746
|
</ft-tooltip>
|
|
747
747
|
`:t}resolveIcon(){return this.loading?oo`
|
|
748
748
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?oo`
|
|
749
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:io}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}}
|
|
749
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:io}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}}On.elementDefinitions={"ft-ripple":Gr,"ft-tooltip":fn,"ft-typography":on,"ft-icon":mn,"ft-loader":xn},vn([C({type:String,reflect:!0})],On.prototype,"role",void 0),vn([C()],On.prototype,"type",void 0),vn([C({type:Boolean})],On.prototype,"disabled",void 0),vn([C()],On.prototype,"label",void 0),vn([C()],On.prototype,"icon",void 0),vn([C()],On.prototype,"iconVariant",void 0),vn([C({type:Boolean})],On.prototype,"trailingIcon",void 0),vn([C({type:Boolean})],On.prototype,"loading",void 0),vn([C()],On.prototype,"tooltipPosition",void 0),vn([C({type:Boolean})],On.prototype,"hideTooltip",void 0),vn([C({type:Boolean})],On.prototype,"forceTooltip",void 0),vn([U(".ft-button")],On.prototype,"button",void 0),vn([U(".ft-button--label slot")],On.prototype,"slottedContent",void 0);var Nn=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 Sn extends On{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"}}Sn.styles=[Me,Br],Nn([C({type:Boolean})],Sn.prototype,"primary",void 0),Nn([C({type:Boolean})],Sn.prototype,"outlined",void 0),Nn([C({type:Boolean})],Sn.prototype,"dense",void 0),Nn([C({type:Boolean})],Sn.prototype,"round",void 0);const wn=[xt`
|
|
750
750
|
:host {
|
|
751
751
|
display: inline-block;
|
|
752
752
|
max-width: 100%;
|
|
@@ -825,7 +825,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
|
|
|
825
825
|
/** Primary styles **/
|
|
826
826
|
|
|
827
827
|
.ft-button--primary {
|
|
828
|
-
${No(
|
|
828
|
+
${No(Rr.color,$o.primaryIconColor)};
|
|
829
829
|
|
|
830
830
|
${No(ri.color,$o.primaryStateLayerColor)};
|
|
831
831
|
${No(ri.opacityContentOnSurfaceHover,$o.primaryStateLayerOpacityHover)};
|
|
@@ -849,7 +849,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
|
|
|
849
849
|
/** Secondary styles **/
|
|
850
850
|
|
|
851
851
|
.ft-button--secondary {
|
|
852
|
-
${No(
|
|
852
|
+
${No(Rr.color,$o.secondaryIconColor)};
|
|
853
853
|
|
|
854
854
|
${No(ri.color,$o.secondaryStateLayerColor)};
|
|
855
855
|
${No(ri.opacityContentOnSurfaceHover,$o.secondaryStateLayerOpacityHover)};
|
|
@@ -874,7 +874,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
|
|
|
874
874
|
/** Tertiary styles **/
|
|
875
875
|
|
|
876
876
|
.ft-button--tertiary {
|
|
877
|
-
${No(
|
|
877
|
+
${No(Rr.color,$o.tertiaryIconColor)};
|
|
878
878
|
|
|
879
879
|
${No(ri.color,$o.tertiaryStateLayerColor)};
|
|
880
880
|
${No(ri.opacityContentOnSurfaceHover,$o.tertiaryStateLayerOpacityHover)};
|
|
@@ -898,7 +898,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
|
|
|
898
898
|
/** Neutral styles **/
|
|
899
899
|
|
|
900
900
|
.ft-button--neutral {
|
|
901
|
-
${No(
|
|
901
|
+
${No(Rr.color,$o.neutralIconColor)};
|
|
902
902
|
|
|
903
903
|
${No(ri.backgroundColor,$o.neutralStateLayerColor)};
|
|
904
904
|
${No(ri.opacityContentOnSurfaceHover,$o.neutralStateLayerOpacityHover)};
|
|
@@ -923,7 +923,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
|
|
|
923
923
|
|
|
924
924
|
.ft-button--large {
|
|
925
925
|
${No(kr.size,$o.largeIconSize)};
|
|
926
|
-
${No(
|
|
926
|
+
${No(Rr.size,$o.largeIconSize)};
|
|
927
927
|
|
|
928
928
|
height: ${$o.largeHeight};
|
|
929
929
|
padding: 0 ${$o.largeHorizontalPadding};
|
|
@@ -946,7 +946,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
|
|
|
946
946
|
|
|
947
947
|
.ft-button--small {
|
|
948
948
|
${No(kr.size,$o.smallIconSize)};
|
|
949
|
-
${No(
|
|
949
|
+
${No(Rr.size,$o.smallIconSize)};
|
|
950
950
|
|
|
951
951
|
height: ${$o.smallHeight};
|
|
952
952
|
padding: 0 ${$o.smallHorizontalPadding};
|
|
@@ -964,7 +964,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
|
|
|
964
964
|
width: ${$o.smallIconOnlyWidth};
|
|
965
965
|
padding: unset;
|
|
966
966
|
}
|
|
967
|
-
`,
|
|
967
|
+
`,Be];var Cn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class $n extends On{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?Qr.caption1medium:Qr.body2medium}}$n.styles=[Me,wn],Cn([C({type:Boolean})],$n.prototype,"primary",void 0),Cn([C({type:Boolean})],$n.prototype,"secondary",void 0),Cn([C({type:Boolean})],$n.prototype,"tertiary",void 0),Cn([C({type:Boolean})],$n.prototype,"neutral",void 0),Cn([C({type:Boolean})],$n.prototype,"small",void 0),I("ft-button")(Sn),I("ftds-button")($n);const En={iconColor:Oo.extend("--ft-floating-menu-icon-color","",Eo.colorOnSurfaceMedium)},Rn=xt`
|
|
968
968
|
.ft-floating-menu-item {
|
|
969
969
|
cursor: pointer;
|
|
970
970
|
display: flex;
|
|
@@ -979,7 +979,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
|
|
|
979
979
|
}
|
|
980
980
|
|
|
981
981
|
.ft-floating-menu-item ft-icon {
|
|
982
|
-
color: ${
|
|
982
|
+
color: ${En.iconColor};
|
|
983
983
|
margin-left: 0;
|
|
984
984
|
flex-shrink: 0;
|
|
985
985
|
flex-grow: 0;
|
|
@@ -994,7 +994,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
|
|
|
994
994
|
word-break: break-word;
|
|
995
995
|
hyphens: auto;
|
|
996
996
|
}
|
|
997
|
-
`;var Un=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class kn extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class In extends
|
|
997
|
+
`;var Un=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class kn extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class In extends De{constructor(){super(...arguments),this.value=""}render(){return oo`
|
|
998
998
|
<div class="ft-floating-menu-item"
|
|
999
999
|
tabindex="0"
|
|
1000
1000
|
@keydown=${t=>this.onKeyDown(t)}
|
|
@@ -1007,7 +1007,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
|
|
|
1007
1007
|
<slot></slot>
|
|
1008
1008
|
</ft-typography>
|
|
1009
1009
|
</div>
|
|
1010
|
-
`}onClick(t){this.dispatchEvent(new kn(this.value))}onKeyDown(t){"Enter"!=t.key&&" "!=t.key||(t.preventDefault(),this.dispatchEvent(new kn(this.value)))}}In.elementDefinitions={"ft-icon":mn,"ft-ripple":Gr,"ft-typography":on},In.styles=
|
|
1010
|
+
`}onClick(t){this.dispatchEvent(new kn(this.value))}onKeyDown(t){"Enter"!=t.key&&" "!=t.key||(t.preventDefault(),this.dispatchEvent(new kn(this.value)))}}In.elementDefinitions={"ft-icon":mn,"ft-ripple":Gr,"ft-typography":on},In.styles=Rn,Un([C()],In.prototype,"iconVariant",void 0),Un([C()],In.prototype,"icon",void 0),Un([C()],In.prototype,"value",void 0);var Wn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ln extends De{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=gn.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return oo`
|
|
1011
1011
|
<div class="${Tr(t)}">
|
|
1012
1012
|
|
|
1013
1013
|
<slot name="toggle"
|
|
@@ -1043,7 +1043,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
|
|
|
1043
1043
|
</div>
|
|
1044
1044
|
</div>
|
|
1045
1045
|
</div>
|
|
1046
|
-
`}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,o,e=window.document.body){if(o.length>0){const i=t.composedPath();for(let t of i){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1})(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:e}=await Ue(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${e}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}Ln.elementDefinitions={"ft-floating-menu-item":In},Wn([$()],Ln.prototype,"menuOpen",void 0),Wn([$()],Ln.prototype,"forceMenuOpen",void 0),Wn([U(".ft-floating-menu")],Ln.prototype,"container",void 0),Wn([U(".ft-floating-menu--wrapper")],Ln.prototype,"menuWrapper",void 0),Wn([U("#actions-button")],Ln.prototype,"actionButton",void 0),Wn([function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return
|
|
1046
|
+
`}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,o,e=window.document.body){if(o.length>0){const i=t.composedPath();for(let t of i){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1})(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:e}=await Ue(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${e}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}Ln.elementDefinitions={"ft-floating-menu-item":In},Wn([$()],Ln.prototype,"menuOpen",void 0),Wn([$()],Ln.prototype,"forceMenuOpen",void 0),Wn([U(".ft-floating-menu")],Ln.prototype,"container",void 0),Wn([U(".ft-floating-menu--wrapper")],Ln.prototype,"menuWrapper",void 0),Wn([U("#actions-button")],Ln.prototype,"actionButton",void 0),Wn([function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(n),e=o?.assignedElements(t)??[];return void 0===r?e:e.filter((t=>t.matches(r)))}})}}({slot:"toggle"})],Ln.prototype,"customToggle",void 0),Wn([C({type:Boolean})],Ln.prototype,"primary",void 0),Wn([C({type:Boolean})],Ln.prototype,"secondary",void 0),Wn([C({type:Boolean})],Ln.prototype,"tertiary",void 0),Wn([C({type:Boolean})],Ln.prototype,"neutral",void 0),Wn([C({type:Boolean})],Ln.prototype,"small",void 0),Wn([C()],Ln.prototype,"label",void 0),Wn([C()],Ln.prototype,"tooltipPosition",void 0),Wn([C()],Ln.prototype,"iconVariant",void 0),Wn([C()],Ln.prototype,"icon",void 0),Wn([C()],Ln.prototype,"text",void 0),Wn([C()],Ln.prototype,"horizontalAlignment",void 0),Wn([C()],Ln.prototype,"verticalAlignment",void 0),Wn([C({type:Boolean})],Ln.prototype,"disabled",void 0),Wn([W([])],Ln.prototype,"closeMenuMatchers",void 0);class Kn extends Ln{}Kn.elementDefinitions={"ft-or-ftds-button":Sn},Kn.styles=ei;class zn extends Ln{}zn.elementDefinitions={"ft-or-ftds-button":$n},zn.styles=ei;const Fn={color:Oo.extend("--ft-floating-menu-label-color","",Eo.colorOnSurfaceMedium)},Zn=xt`
|
|
1047
1047
|
.ft-floating-menu-label {
|
|
1048
1048
|
padding: 4px 8px;
|
|
1049
1049
|
}
|
|
@@ -1056,10 +1056,10 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
|
|
|
1056
1056
|
overflow: hidden;
|
|
1057
1057
|
color: ${Fn.color}
|
|
1058
1058
|
}
|
|
1059
|
-
`;class
|
|
1059
|
+
`;class Dn extends De{render(){return oo`
|
|
1060
1060
|
<div class="ft-floating-menu-label">
|
|
1061
1061
|
<ft-typography variant="caption">
|
|
1062
1062
|
<slot></slot>
|
|
1063
1063
|
</ft-typography>
|
|
1064
1064
|
</div>
|
|
1065
|
-
`}}
|
|
1065
|
+
`}}Dn.elementDefinitions={"ft-typography":on},Dn.styles=Zn,I("ft-floating-menu")(Kn),I("ftds-floating-menu")(zn),I("ft-floating-menu-item")(In),I("ft-floating-menu-label")(Dn),t.FtFloatingMenu=Kn,t.FtFloatingMenuCssVariables=oi,t.FtFloatingMenuItem=In,t.FtFloatingMenuItemCssVariables=En,t.FtFloatingMenuItemSelect=kn,t.FtFloatingMenuLabel=Dn,t.FtFloatingMenuLabelCssVariables=Fn,t.FtdsFloatingMenu=zn,t.itemStyles=Rn,t.labelStyles=Zn,t.styles=ei}({});
|