@fluid-topics/ft-filterable-table 1.1.38 → 1.1.40
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.
|
@@ -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,e=window.customElements.define,o=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||[]);d(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=o.call(i,t);p||(p=f(t),e.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){y.push(this),i.upgrade.apply(i,arguments),y.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=p(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!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)}},d=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.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(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.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(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):h(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=g.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),y.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){y.push(this),o.set.call(this,t),y.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,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);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 e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=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,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=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||[]);d(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=o.call(i,t);p||(p=f(t),e.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){y.push(this),i.upgrade.apply(i,arguments),y.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=p(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!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)}},d=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.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(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.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(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):h(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=g.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),y.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){y.push(this),o.set.call(this,t),y.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,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);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 e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=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,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Oi){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)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
|
|
@@ -59,46 +59,45 @@ const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},N=(t=S,e,
|
|
|
59
59
|
* Copyright 2017 Google LLC
|
|
60
60
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
61
|
*/
|
|
62
|
-
function U(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}function I(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!I(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!I(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!I(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const W=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
|
|
62
|
+
function U(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}function I(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!I(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!I(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!I(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const W=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function L(t,e){const o=()=>JSON.parse(JSON.stringify(t));return $({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!I(t,e),...null!=e?e:{}})}
|
|
63
63
|
/**
|
|
64
64
|
* @license
|
|
65
65
|
* Copyright 2017 Google LLC
|
|
66
66
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
|
-
*/
|
|
68
|
-
const L=globalThis,z=L.trustedTypes,K=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,D="?"+F,B=`<${D}>`,A=document,M=()=>A.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,j=t=>H(t)||"function"==typeof t?.[Symbol.iterator],T="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,V=/>/g,Y=RegExp(`>|${T}(?:([^\\s"'>=/]+)(${T}*=${T}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),J=/'/g,q=/"/g,X=/^(?:script|style|textarea|title)$/i,Q=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ot=new WeakMap,it=A.createTreeWalker(A,129);function rt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}const nt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=_;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===_?"!--"===l[1]?a=G:void 0!==l[1]?a=V:void 0!==l[2]?(X.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===l[0]?(a=r??_,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]?q:J):a===q||a===J?a=Y:a===G||a===V?a=_:(a=Y,r=void 0);const f=a===Y&&t[e+1].startsWith("/>")?" ":"";n+=a===_?o+B:c>=0?(i.push(s),o.slice(0,c)+Z+o.slice(c)+F+f):o+F+(-2===c?e:f)}return[rt(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let at=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,p]=nt(e,o);if(this.el=t.createElement(c,i),it.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=it.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Z)){const e=p[a++],o=r.getAttribute(t).split(F),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?ft:"?"===i[1]?dt:"@"===i[1]?ht:pt}),r.removeAttribute(t)}else t.startsWith(F)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(X.test(r.tagName)){const t=r.textContent.split(F),e=t.length-1;if(e>0){r.textContent=z?z.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],M()),it.nextNode(),l.push({type:2,index:++n});r.append(t[e],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(F,t+1));)l.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,e){const o=A.createElement("template");return o.innerHTML=t,o}};function st(t,e,o=t,i){if(e===tt)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=P(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=st(t,r._$AS(t,e.values),r,i)),e}let lt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??A).importNode(e,!0);it.currentNode=i;let r=it.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ct(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ut(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=it.nextNode(),n++)}return it.currentNode=A,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},ct=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=st(this,t,e),P(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):j(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==et&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=at.createElement(rt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new lt(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ot.get(t.strings);return void 0===e&&ot.set(t.strings,e=new at(t)),e}T(e){H(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(M()),this.k(M()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},pt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=et}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=st(this,t,e,0),n=!P(t)||t!==this._$AH&&t!==tt,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=st(this,i[o+a],e,a),s===tt&&(s=this._$AH[a]),n||=!P(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends pt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},dt=class extends pt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},ht=class extends pt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=st(this,t,e,0)??et)===tt)return;const o=this._$AH,i=t===et&&o!==et||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==et&&(o===et||i);i&&this.element.removeEventListener(this.name,this,o),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)}},ut=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}};const gt={j:Z,P:F,A:D,C:1,M:nt,L:lt,R:j,V:st,D:ct,I:pt,H:dt,N:ht,U:ft,B:ut},yt=L.litHtmlPolyfillSupport;yt?.(at,ct),(L.litHtmlVersions??=[]).push("3.1.0");
|
|
67
|
+
*/const z=globalThis,K=z.trustedTypes,Z=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",D=`lit$${(Math.random()+"").slice(9)}$`,B="?"+D,A=`<${B}>`,M=document,P=()=>M.createComment(""),H=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,T=t=>j(t)||"function"==typeof t?.[Symbol.iterator],_="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,V=/-->/g,Y=/>/g,J=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),q=/'/g,X=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),et=Symbol.for("lit-noChange"),ot=Symbol.for("lit-nothing"),it=new WeakMap,rt=M.createTreeWalker(M,129);function nt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Z?Z.createHTML(e):e}const at=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=G;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===G?"!--"===l[1]?a=V:void 0!==l[1]?a=Y:void 0!==l[2]?(Q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=J):void 0!==l[3]&&(a=J):a===J?">"===l[0]?(a=r??G,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?J:'"'===l[3]?X:q):a===X||a===q?a=J:a===V||a===Y?a=G:(a=J,r=void 0);const f=a===J&&t[e+1].startsWith("/>")?" ":"";n+=a===G?o+A:c>=0?(i.push(s),o.slice(0,c)+F+o.slice(c)+D+f):o+D+(-2===c?e:f)}return[nt(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let st=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,p]=at(e,o);if(this.el=t.createElement(c,i),rt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=rt.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(F)){const e=p[a++],o=r.getAttribute(t).split(D),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?dt:"?"===i[1]?ht:"@"===i[1]?ut:ft}),r.removeAttribute(t)}else t.startsWith(D)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(Q.test(r.tagName)){const t=r.textContent.split(D),e=t.length-1;if(e>0){r.textContent=K?K.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],P()),rt.nextNode(),l.push({type:2,index:++n});r.append(t[e],P())}}}else if(8===r.nodeType)if(r.data===B)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(D,t+1));)l.push({type:7,index:n}),t+=D.length-1}n++}}static createElement(t,e){const o=M.createElement("template");return o.innerHTML=t,o}};function lt(t,e,o=t,i){if(e===et)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=H(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=lt(t,r._$AS(t,e.values),r,i)),e}let ct=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??M).importNode(e,!0);rt.currentNode=i;let r=rt.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new pt(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new gt(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=rt.nextNode(),n++)}return rt.currentNode=M,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},pt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ot,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=lt(this,t,e),H(t)?t===ot||null==t||""===t?(this._$AH!==ot&&this._$AR(),this._$AH=ot):t!==this._$AH&&t!==et&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):T(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ot&&H(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=st.createElement(nt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new ct(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=it.get(t.strings);return void 0===e&&it.set(t.strings,e=new st(t)),e}T(e){j(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(P()),this.k(P()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ft=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ot,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ot}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=lt(this,t,e,0),n=!H(t)||t!==this._$AH&&t!==et,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=lt(this,i[o+a],e,a),s===et&&(s=this._$AH[a]),n||=!H(s)||s!==this._$AH[a],s===ot?t=ot:t!==ot&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ot?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},dt=class extends ft{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ot?void 0:t}},ht=class extends ft{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ot)}},ut=class extends ft{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=lt(this,t,e,0)??ot)===et)return;const o=this._$AH,i=t===ot&&o!==ot||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ot&&(o===ot||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},gt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){lt(this,t)}};const yt={j:F,P:D,A:B,C:1,M:at,L:ct,R:T,V:lt,D:pt,I:ft,H:ht,N:ut,U:dt,B:gt},bt=z.litHtmlPolyfillSupport;bt?.(st,pt),(z.litHtmlVersions??=[]).push("3.1.0");
|
|
69
68
|
/**
|
|
70
69
|
* @license
|
|
71
70
|
* Copyright 2019 Google LLC
|
|
72
71
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
72
|
*/
|
|
74
|
-
const
|
|
73
|
+
const mt=globalThis,xt=mt.ShadowRoot&&(void 0===mt.ShadyCSS||mt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vt=Symbol(),Ot=new WeakMap;let wt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==vt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(xt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=Ot.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&Ot.set(e,t))}return t}toString(){return this.cssText}};const St=t=>new wt("string"==typeof t?t:t+"",void 0,vt),Nt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(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.")})(o)+t[i+1]),t[0]);return new wt(o,t,vt)},$t=xt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return St(e)})(t):t
|
|
75
74
|
/**
|
|
76
75
|
* @license
|
|
77
76
|
* Copyright 2017 Google LLC
|
|
78
77
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
|
-
*/,{is
|
|
78
|
+
*/,{is:Ct,defineProperty:Et,getOwnPropertyDescriptor:kt,getOwnPropertyNames:Rt,getOwnPropertySymbols:Ut,getPrototypeOf:It}=Object,Wt=globalThis,Lt=Wt.trustedTypes,zt=Lt?Lt.emptyScript:"",Kt=Wt.reactiveElementPolyfillSupport,Zt=(t,e)=>t,Ft={toAttribute(t,e){switch(e){case Boolean:t=t?zt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Dt=(t,e)=>!Ct(t,e),Bt={attribute:!0,type:String,converter:Ft,reflect:!1,hasChanged:Dt};Symbol.metadata??=Symbol("metadata"),Wt.litPropertyMetadata??=new WeakMap;class At 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,e=Bt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Et(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=kt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Bt}static _$Ei(){if(this.hasOwnProperty(Zt("elementProperties")))return;const t=It(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Zt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Zt("properties"))){const t=this.properties,e=[...Rt(t),...Ut(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift($t(t))}else void 0!==t&&e.push($t(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"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,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(xt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=mt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(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,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Ft).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Ft;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Dt)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.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,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}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){}}At.elementStyles=[],At.shadowRootOptions={mode:"open"},At[Zt("elementProperties")]=new Map,At[Zt("finalized")]=new Map,Kt?.({ReactiveElement:At}),(Wt.reactiveElementVersions??=[]).push("2.0.2");
|
|
80
79
|
/**
|
|
81
80
|
* @license
|
|
82
81
|
* Copyright 2017 Google LLC
|
|
83
82
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
83
|
*/
|
|
85
|
-
const
|
|
84
|
+
const Mt=globalThis,Pt=Mt.trustedTypes,Ht=Pt?Pt.createPolicy("lit-html",{createHTML:t=>t}):void 0,jt="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,_t="?"+Tt,Gt=`<${_t}>`,Vt=document,Yt=()=>Vt.createComment(""),Jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,qt=Array.isArray,Xt="[ \t\n\f\r]",Qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,te=/-->/g,ee=/>/g,oe=RegExp(`>|${Xt}(?:([^\\s"'>=/]+)(${Xt}*=${Xt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ie=/'/g,re=/"/g,ne=/^(?:script|style|textarea|title)$/i,ae=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),se=Symbol.for("lit-noChange"),le=Symbol.for("lit-nothing"),ce=new WeakMap,pe=Vt.createTreeWalker(Vt,129);function fe(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ht?Ht.createHTML(e):e}const de=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=Qt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===Qt?"!--"===l[1]?a=te:void 0!==l[1]?a=ee:void 0!==l[2]?(ne.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=oe):void 0!==l[3]&&(a=oe):a===oe?">"===l[0]?(a=r??Qt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?oe:'"'===l[3]?re:ie):a===re||a===ie?a=oe:a===te||a===ee?a=Qt:(a=oe,r=void 0);const f=a===oe&&t[e+1].startsWith("/>")?" ":"";n+=a===Qt?o+Gt:c>=0?(i.push(s),o.slice(0,c)+jt+o.slice(c)+Tt+f):o+Tt+(-2===c?e:f)}return[fe(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class he{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=de(t,e);if(this.el=he.createElement(l,o),pe.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=pe.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(jt)){const e=c[n++],o=i.getAttribute(t).split(Tt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?be:"?"===a[1]?me:"@"===a[1]?xe:ye}),i.removeAttribute(t)}else t.startsWith(Tt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(ne.test(i.tagName)){const t=i.textContent.split(Tt),e=t.length-1;if(e>0){i.textContent=Pt?Pt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],Yt()),pe.nextNode(),s.push({type:2,index:++r});i.append(t[e],Yt())}}}else if(8===i.nodeType)if(i.data===_t)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Tt,t+1));)s.push({type:7,index:r}),t+=Tt.length-1}r++}}static createElement(t,e){const o=Vt.createElement("template");return o.innerHTML=t,o}}function ue(t,e,o=t,i){if(e===se)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Jt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=ue(t,r._$AS(t,e.values),r,i)),e}class ge{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=le,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ue(this,t,e),Jt(t)?t===le||null==t||""===t?(this._$AH!==le&&this._$AR(),this._$AH=le):t!==this._$AH&&t!==se&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>qt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==le&&Jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Vt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=he.createElement(fe(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??Vt).importNode(e,!0);pe.currentNode=i;let r=pe.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ge(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ve(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=pe.nextNode(),n++)}return pe.currentNode=Vt,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ce.get(t.strings);return void 0===e&&ce.set(t.strings,e=new he(t)),e}T(t){qt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new ge(this.k(Yt()),this.k(Yt()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class ye{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=le,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=le}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ue(this,t,e,0),n=!Jt(t)||t!==this._$AH&&t!==se,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ue(this,i[o+a],e,a),s===se&&(s=this._$AH[a]),n||=!Jt(s)||s!==this._$AH[a],s===le?t=le:t!==le&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===le?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class be extends ye{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===le?void 0:t}}class me extends ye{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==le)}}class xe extends ye{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=ue(this,t,e,0)??le)===se)return;const o=this._$AH,i=t===le&&o!==le||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==le&&(o===le||i);i&&this.element.removeEventListener(this.name,this,o),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 ve{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ue(this,t)}}const Oe=Mt.litHtmlPolyfillSupport;Oe?.(he,ge),(Mt.litHtmlVersions??=[]).push("3.1.0");
|
|
86
85
|
/**
|
|
87
86
|
* @license
|
|
88
87
|
* Copyright 2017 Google LLC
|
|
89
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
89
|
*/
|
|
91
|
-
let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new ue(e.insertBefore(Vt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ae}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const we=globalThis.litElementPolyfillSupport;we?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const Se=t=>"string"==typeof t?wt(t):t;class Ne{static create(t,e,o,i){const r=t=>Se(null!=t?t:i),n=St`var(${Se(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>St`var(${Se(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=St`var(${Se(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>St`var(${Se(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Se(null!=e?e:t.lastResortDefaultValue()),i=St`var(${Se(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>St`var(${Se(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function $e(t,e){return Se(`${t.name}: ${e}`)}const Ce={colorWhite:Ne.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ne.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ne.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ne.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ne.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ne.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ne.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ne.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ne.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ne.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ne.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ne.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ne.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ne.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ne.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ne.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ne.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ne.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ne.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ne.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ne.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ne.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ne.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ne.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ne.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ne.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ne.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ne.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ne.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ne.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ne.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ne.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ne.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ne.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ne.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ne.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ne.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ne.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ne.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ne.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ne.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ne.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ne.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ne.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ne.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ne.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ne.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ne.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ne.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ne.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ne.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ne.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ne.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ne.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ne.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ne.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ne.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ne.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ne.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ne.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ne.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ne.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ne.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ne.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ne.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ne.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ne.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ne.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ne.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ne.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ne.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ne.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ne.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ne.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ne.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ne.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ne.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ne.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ne.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ne.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ne.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ne.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ne.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ne.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ne.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ne.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ne.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ne.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ne.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ne.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ne.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ne.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ne.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ne.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ne.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ne.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ne.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ne.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ne.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ne.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ne.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ne.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ne.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ne.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ne.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ne.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ne.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ne.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ne.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ne.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ne.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ne.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ne.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ne.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ne.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ne.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ne.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ne.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ne.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ne.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ne.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ne.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ne.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ne.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ne.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ne.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ne.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ne.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ne.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ne.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ne.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ne.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ne.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ne.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ne.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ne.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ne.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ne.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ne.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ne.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ne.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ne.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ne.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ne.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ne.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ne.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ne.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ne.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ne.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ne.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ne.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ne.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ne.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ne.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ne.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ne.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ne.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ne.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ne.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ne.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ne.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ne.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ne.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ne.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ne.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ne.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ne.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ne.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ne.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ne.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ne.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ne.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ne.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ne.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ne.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ne.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ne.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ne.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ne.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ne.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ne.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ne.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ne.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ne.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ne.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ne.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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)")},Ee={display:{fontFamily:Ne.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ne.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ne.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Ne.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ne.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Ne.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ne.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Ne.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ne.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ne.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ne.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ne.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ne.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ne.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ne.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ne.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ne.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ne.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ne.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ne.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ne.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ne.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ne.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ne.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ne.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ne.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ne.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ne.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ne.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Ne.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Ne.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Ne.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Ne.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Ne.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Ne.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},ke={backgroundActionPrimary:Ne.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ce.colorBrand0),backgroundErrorPrimary:Ne.extend("--ft-background-error-primary","Used as background of error components.",Ce.colorRed0),backgroundErrorSubtle:Ne.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ce.colorRed10),backgroundInfoPrimary:Ne.extend("--ft-background-info-primary","Used as background of information components.",Ce.colorCyan200),backgroundInfoSubtle:Ne.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ce.colorCyan10),backgroundWarningPrimary:Ne.extend("--ft-background-warning-primary","Used as background of warning components.",Ce.colorOrange300),backgroundWarningSubtle:Ne.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ce.colorOrange10),backgroundSuccessPrimary:Ne.extend("--ft-background-success-primary","Used as background of success components.",Ce.colorGreen200),backgroundSuccessSubtle:Ne.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ce.colorGreen10),backgroundGlobalSurface:Ne.extend("--ft-background-global-surface","Used as app background.",Ce.colorWhite),backgroundGlobalOnSurface:Ne.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ce.colorGray10),backgroundGlobalOnSurfaceDark:Ne.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ce.colorGray30),contentActionPrimary:Ne.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ce.colorBrand0),contentWarningPrimary:Ne.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ce.colorOrange300),contentWarningIconOnly:Ne.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ce.colorOrange0),contentErrorPrimary:Ne.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ce.colorRed0),contentErrorIconOnly:Ne.extend("--ft-content-error-icon-only","Used on error status icons alone",Ce.colorRed0),contentInfoPrimary:Ne.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ce.colorCyan200),contentInfoIconOnly:Ne.extend("--ft-content-info-icon-only","Used on info status icons alone",Ce.colorCyan0),contentSuccessPrimary:Ne.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ce.colorGreen200),contentSuccessIconOnly:Ne.extend("--ft-content-success-icon-only","Used on success status icons alone",Ce.colorGreen0),contentGlobalPrimary:Ne.extend("--ft-content-global-primary","Used for main content on the page.",Ce.colorGray500),contentGlobalSecondary:Ne.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ce.colorGray200),contentGlobalSubtle:Ne.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ce.colorGray0),contentGlobalOnColor:Ne.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ce.colorWhite),borderActionPrimary:Ne.extend("--ft-border-action-primary","Used as border for primary action components.",Ce.colorBrand0),borderActionFocusRing:Ne.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ce.colorCyan0),borderWarningPrimary:Ne.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Ce.colorOrange300),borderWarningSubtle:Ne.extend("--ft-border-warning-subtle","Used as border for warning components.",Ce.colorOrange30),borderSuccessPrimary:Ne.extend("--ft-border-success-primary","Used as border for success buttons.",Ce.colorGreen200),borderSuccessSubtle:Ne.extend("--ft-border-success-subtle","Used as border for success components.",Ce.colorGreen30),borderErrorPrimary:Ne.extend("--ft-border-error-primary","Used as border for text fields in error states.",Ce.colorRed0),borderErrorSubtle:Ne.extend("--ft-border-error-subtle","Used as border for error components.",Ce.colorRed30),borderInfoPrimary:Ne.extend("--ft-border-info-primary","Used as border for buttons in info color.",Ce.colorCyan200),borderInfoSubtle:Ne.extend("--ft-border-info-subtle","Used as border for information components.",Ce.colorCyan30),borderGlobalPrimary:Ne.extend("--ft-border-global-primary","Used as border for element like input.",Ce.colorGray50),borderGlobalSubtle:Ne.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ce.colorGray30),borderInputPrimary:Ne.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ce.colorGray80)},Re={largeHeight:Ne.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ne.extend("--ft-button-large-horizontal-padding","",Ce.spacing4),largeGap:Ne.extend("--ft-button-large-gap","",Ce.spacing2),largeBorderRadius:Ne.extend("--ft-button-large-border-radius","",Ce.borderRadiusS),largeIconSize:Ne.extend("--ft-button-large-icon-size","",Ce.iconSize3),largeBorderWidth:Ne.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ne.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ne.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ne.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ne.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ne.extend("--ft-button-small-horizontal-padding","",Ce.spacing3),smallGap:Ne.extend("--ft-button-small-gap","",Ce.spacing2),smallBorderRadius:Ne.extend("--ft-button-small-border-radius","",Ce.borderRadiusS),smallIconSize:Ne.extend("--ft-button-small-icon-size","",Ce.iconSize2),smallBorderWidth:Ne.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ne.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ne.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ne.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ne.extend("--ft-button-primary-background-color","",ke.backgroundActionPrimary),primaryColor:Ne.extend("--ft-button-primary-color","",ke.contentGlobalOnColor),primaryIconColor:Ne.extend("--ft-button-primary-icon-color","",ke.contentGlobalOnColor),primaryStateLayerColor:Ne.extend("--ft-button-primary-state-layer-color","",ke.contentGlobalOnColor),primaryStateLayerOpacityHover:Ne.extend("--ft-button-primary-state-layer-opacity-hover","",Ce.opacity16),primaryStateLayerOpacityFocus:Ne.extend("--ft-button-primary-state-layer-opacity-focus","",Ce.opacity16),primaryStateLayerOpacityActive:Ne.extend("--ft-button-primary-state-layer-opacity-active","",Ce.opacity24),primaryComponentOpacityDisabled:Ne.extend("--ft-button-primary-component-opacity-disabled","",Ce.opacity40),focusFocusRingColor:Ne.extend("--ft-button-focus-focus-ring-color","",ke.borderActionFocusRing),tertiaryBackgroundColor:Ne.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ne.extend("--ft-button-tertiary-color","",ke.contentActionPrimary),tertiaryIconColor:Ne.extend("--ft-button-tertiary-icon-color","",ke.contentActionPrimary),tertiaryStateLayerColor:Ne.extend("--ft-button-tertiary-state-layer-color","",ke.contentActionPrimary),tertiaryStateLayerOpacityHover:Ne.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ce.opacity8),tertiaryStateLayerOpacityFocus:Ne.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ce.opacity8),tertiaryStateLayerOpacityActive:Ne.extend("--ft-button-tertiary-state-layer-opacity-active","",Ce.opacity16),tertiaryComponentOpacityDisabled:Ne.extend("--ft-button-tertiary-component-opacity-disabled","",Ce.opacity40),secondaryBackgroundColor:Ne.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ne.extend("--ft-button-secondary-color","",ke.contentActionPrimary),secondaryIconColor:Ne.extend("--ft-button-secondary-icon-color","",ke.contentActionPrimary),secondaryStateLayerColor:Ne.extend("--ft-button-secondary-state-layer-color","",ke.contentActionPrimary),secondaryStateLayerOpacityHover:Ne.extend("--ft-button-secondary-state-layer-opacity-hover","",Ce.opacity8),secondaryStateLayerOpacityFocus:Ne.extend("--ft-button-secondary-state-layer-opacity-focus","",Ce.opacity8),secondaryStateLayerOpacityActive:Ne.extend("--ft-button-secondary-state-layer-opacity-active","",Ce.opacity16),secondaryComponentOpacityDisabled:Ne.extend("--ft-button-secondary-component-opacity-disabled","",Ce.opacity40),secondaryBorderColor:Ne.extend("--ft-button-secondary-border-color","",ke.borderActionPrimary),neutralBackgroundColor:Ne.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ne.extend("--ft-button-neutral-icon-color","",ke.contentGlobalSecondary),neutralColor:Ne.extend("--ft-button-neutral-color","",ke.contentGlobalSecondary),neutralStateLayerColor:Ne.extend("--ft-button-neutral-state-layer-color","",ke.contentGlobalSecondary),neutralStateLayerOpacityHover:Ne.extend("--ft-button-neutral-state-layer-opacity-hover","",Ce.opacity8),neutralStateLayerOpacityFocus:Ne.extend("--ft-button-neutral-state-layer-opacity-focus","",Ce.opacity8),neutralStateLayerOpacityActive:Ne.extend("--ft-button-neutral-state-layer-opacity-active","",Ce.opacity16),neutralComponentOpacityDisabled:Ne.extend("--ft-button-neutral-component-opacity-disabled","",Ce.opacity40)};Ne.extend("--ft-floating-menu-horizontal-padding","",Ce.spacing4),Ne.extend("--ft-floating-menu-vertical-padding","",Ce.spacing4),Ne.extend("--ft-floating-menu-off-icon-color","",ke.contentGlobalPrimary),Ne.extend("--ft-floating-menu-off-color","",ke.contentGlobalPrimary),Ne.extend("--ft-floating-menu-on-color","",ke.contentActionPrimary),Ne.extend("--ft-floating-menu-on-icon-color","",ke.contentActionPrimary),Ne.extend("--ft-floating-menu-on-state-layer-color","",ke.contentActionPrimary),Ne.extend("--ft-floating-menu-gap","",Ce.spacing3),Ne.extend("--ft-floating-menu-focus-focus-ring-color","",ke.borderActionFocusRing),Ne.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Ne.extend("--ft-floating-menu-state-layer-opacity-hover","",Ce.opacity8),Ne.extend("--ft-floating-menu-state-layer-opacity-active","",Ce.opacity16),Ne.extend("--ft-floating-menu-state-layer-opacity-focus","",Ce.opacity8),Ne.extend("--ft-floating-menu-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-floating-menu-icon-size","",Ce.iconSize3),Ne.extend("--ft-floating-menu-background-color","",ke.backgroundGlobalOnSurface),Ne.extend("--ft-tabs-top-left-border-radius","",Ce.borderRadiusS),Ne.extend("--ft-tabs-top-right-border-radius","",Ce.borderRadiusS),Ne.extend("--ft-tabs-label-horizontal-padding","",Ce.spacing4),Ne.extend("--ft-tabs-label-vertical-padding","",Ce.spacing3),Ne.extend("--ft-tabs-label-gap","",Ce.spacing1),Ne.extend("--ft-tabs-icon-horizontal-padding","",Ce.spacing1),Ne.extend("--ft-tabs-icon-vertical-padding","",Ce.spacing4),Ne.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-tabs-focus-focus-ring-color","",ke.borderActionFocusRing),Ne.extend("--ft-tabs-off-state-layer-opacity-hover","",Ce.opacity8),Ne.extend("--ft-tabs-off-state-layer-opacity-focus","",Ce.opacity8),Ne.extend("--ft-tabs-off-state-layer-opacity-active","",Ce.opacity16),Ne.extend("--ft-tabs-off-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-tabs-off-color","",ke.contentGlobalSubtle),Ne.extend("--ft-tabs-off-state-layer-color","",ke.contentGlobalSubtle),Ne.extend("--ft-tabs-on-state-layer-opacity-hover","",Ce.opacity8),Ne.extend("--ft-tabs-on-state-layer-opacity-focus","",Ce.opacity8),Ne.extend("--ft-tabs-on-state-layer-opacity-active","",Ce.opacity16),Ne.extend("--ft-tabs-on-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-tabs-on-color","",ke.contentActionPrimary),Ne.extend("--ft-tabs-on-state-layer-color","",ke.contentActionPrimary),Ne.extend("--ft-collapsible-state-layer-opacity-hover","",Ce.opacity8),Ne.extend("--ft-collapsible-state-layer-opacity-focus","",Ce.opacity8),Ne.extend("--ft-collapsible-state-layer-opacity-active","",Ce.opacity16),Ne.extend("--ft-collapsible-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-collapsible-horizontal-padding","",Ce.spacing4),Ne.extend("--ft-collapsible-vertical-padding","",Ce.spacing3),Ne.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Ne.extend("--ft-collapsible-focus-focus-ring-color","",ke.borderActionFocusRing),Ne.extend("--ft-collapsible-color","",ke.contentGlobalPrimary),Ne.extend("--ft-collapsible-state-layer-color","",ke.contentGlobalPrimary),Ne.extend("--ft-collapsible-background-color","",ke.backgroundGlobalOnSurface),Ne.extend("--ft-collapsible-border-color","",ke.borderGlobalSubtle),Ne.extend("--ft-collapsible-icon-size","",Ce.iconSize3),Ne.extend("--ft-switch-group-horizontal-padding","",Ce.spacing1),Ne.extend("--ft-switch-group-vertical-padding","",Ce.spacing1),Ne.extend("--ft-switch-group-gap","",Ce.spacing1),Ne.extend("--ft-switch-group-background-color","",ke.backgroundGlobalSurface),Ne.extend("--ft-switch-group-border-color","",ke.borderGlobalSubtle),Ne.create("--ft-switch-group-border-radius","","SIZE","6px"),Ne.extend("--ft-switch-label-horizontal-padding","",Ce.spacing2),Ne.extend("--ft-switch-label-vertical-padding","",Ce.spacing1),Ne.extend("--ft-switch-icon-horizontal-padding","",Ce.spacing1),Ne.extend("--ft-switch-icon-vertical-padding","",Ce.spacing1),Ne.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-switch-focus-focus-ring-color","",ke.borderActionFocusRing),Ne.extend("--ft-switch-option-border-radius","",Ce.borderRadiusS),Ne.extend("--ft-switch-off-state-layer-opacity-hover","",Ce.opacity8),Ne.extend("--ft-switch-off-state-layer-opacity-focus","",Ce.opacity8),Ne.extend("--ft-switch-off-state-layer-opacity-active","",Ce.opacity16),Ne.extend("--ft-switch-off-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-switch-off-color","",ke.contentGlobalSubtle),Ne.extend("--ft-switch-off-state-layer-color","",ke.contentGlobalSubtle),Ne.extend("--ft-switch-on-state-layer-opacity-hover","",Ce.opacity8),Ne.extend("--ft-switch-on-state-layer-opacity-focus","",Ce.opacity8),Ne.extend("--ft-switch-on-state-layer-opacity-active","",Ce.opacity16),Ne.extend("--ft-switch-on-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-switch-on-color","",ke.contentActionPrimary),Ne.extend("--ft-switch-on-state-layer-color","",ke.contentActionPrimary),Ne.extend("--ft-chart-1-light","for area color charts",Ce.colorBrand40),Ne.extend("--ft-chart-1-base","for line charts",Ce.colorBrand0),Ne.extend("--ft-chart-2-light","for area color charts",Ce.colorYellow60),Ne.extend("--ft-chart-2-base","for line charts",Ce.colorYellow100),Ne.extend("--ft-chart-3-light","",Ce.colorUltramarine40),Ne.extend("--ft-chart-3-base","",Ce.colorUltramarine70),Ne.extend("--ft-chart-4-light","",Ce.colorCyan50),Ne.extend("--ft-chart-4-base","",Ce.colorCyan100),Ne.extend("--ft-chart-5-light","",Ce.colorRed40),Ne.extend("--ft-chart-5-base","",Ce.colorRed60),Ne.extend("--ft-chart-6-light","",Ce.colorGreen40),Ne.extend("--ft-chart-6-base","",Ce.colorGreen70),Ne.extend("--ft-chart-7-light","",Ce.colorOrange70),Ne.extend("--ft-chart-7-base","",Ce.colorOrange100),Ne.extend("--ft-chart-8-light","",Ce.colorAvocado70),Ne.extend("--ft-chart-8-base","",Ce.colorAvocado200),Ne.extend("--ft-chart-9-light","",Ce.colorBrown50),Ne.extend("--ft-chart-9-base","",Ce.colorBrown200),Ne.extend("--ft-chart-10-light","",Ce.colorGray50),Ne.extend("--ft-chart-10-base","",Ce.colorGray80),Ne.extend("--ft-chart-monochrome-10","",Ce.colorBrand10),Ne.extend("--ft-chart-monochrome-20","",Ce.colorBrand20),Ne.extend("--ft-chart-monochrome-30","",Ce.colorBrand40),Ne.extend("--ft-chart-monochrome-40","",Ce.colorBrand60),Ne.extend("--ft-chart-monochrome-50","",Ce.colorBrand0),Ne.extend("--ft-chart-monochrome-60","",Ce.colorBrand200),Ne.extend("--ft-chip-large-horizontal-padding","",Ce.spacing4),Ne.extend("--ft-chip-large-vertical-padding","",Ce.spacing2),Ne.extend("--ft-chip-large-gap","",Ce.spacing1),Ne.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-large-border-radius","",Ce.borderRadiusPill),Ne.create("--ft-chip-large-border-width","","SIZE","1px"),Ne.extend("--ft-chip-large-icon-size","",Ce.iconSize3),Ne.extend("--ft-chip-medium-horizontal-padding","",Ce.spacing3),Ne.extend("--ft-chip-medium-vertical-padding","",Ce.spacing1),Ne.extend("--ft-chip-medium-gap","",Ce.spacing1),Ne.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-medium-border-radius","",Ce.borderRadiusPill),Ne.create("--ft-chip-medium-border-width","","SIZE","1px"),Ne.extend("--ft-chip-medium-icon-size","",Ce.iconSize2),Ne.extend("--ft-chip-small-horizontal-padding","",Ce.spacing2),Ne.extend("--ft-chip-small-vertical-padding","",Ce.spacing05),Ne.extend("--ft-chip-small-gap","",Ce.spacing1),Ne.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-small-border-radius","",Ce.borderRadiusPill),Ne.create("--ft-chip-small-border-width","","SIZE","1px"),Ne.extend("--ft-chip-small-icon-size","",Ce.iconSize1),Ne.extend("--ft-chip-neutral-background-color","",ke.backgroundGlobalOnSurface),Ne.extend("--ft-chip-neutral-color","",ke.contentGlobalPrimary),Ne.extend("--ft-chip-neutral-border-color","",ke.borderGlobalSubtle),Ne.extend("--ft-chip-info-background-color","",ke.backgroundInfoSubtle),Ne.extend("--ft-chip-info-color","",ke.contentInfoPrimary),Ne.extend("--ft-chip-info-border-color","",ke.borderInfoSubtle),Ne.extend("--ft-chip-success-background-color","",ke.backgroundSuccessSubtle),Ne.extend("--ft-chip-success-color","",ke.contentSuccessPrimary),Ne.extend("--ft-chip-success-border-color","",ke.borderSuccessSubtle),Ne.extend("--ft-chip-warning-background-color","",ke.backgroundWarningSubtle),Ne.extend("--ft-chip-warning-color","",ke.contentWarningPrimary),Ne.extend("--ft-chip-warning-border-color","",ke.borderWarningSubtle),Ne.extend("--ft-chip-error-background-color","",ke.backgroundErrorSubtle),Ne.extend("--ft-chip-error-color","",ke.contentErrorPrimary),Ne.extend("--ft-chip-error-border-color","",ke.borderErrorSubtle),Ne.create("--ft-notice-border-width","","SIZE","1px"),Ne.extend("--ft-notice-horizontal-padding","",Ce.spacing2),Ne.extend("--ft-notice-vertical-padding","",Ce.spacing1),Ne.extend("--ft-notice-border-radius","",Ce.borderRadiusS),Ne.extend("--ft-notice-gap","",Ce.spacing2),Ne.extend("--ft-notice-icon-size","",Ce.iconSize3),Ne.extend("--ft-notice-info-background-color","",ke.backgroundInfoSubtle),Ne.extend("--ft-notice-info-border-color","",ke.borderInfoSubtle),Ne.extend("--ft-notice-info-color","",ke.contentInfoPrimary),Ne.extend("--ft-notice-warning-background-color","",ke.backgroundWarningSubtle),Ne.extend("--ft-notice-warning-border-color","",ke.borderWarningSubtle),Ne.extend("--ft-notice-warning-color","",ke.contentWarningPrimary),Ne.extend("--ft-checkbox-label-color","",ke.contentGlobalPrimary),Ne.extend("--ft-checkbox-checked-background-color","",ke.contentActionPrimary),Ne.extend("--ft-checkbox-checked-state-layer-color","",ke.contentActionPrimary),Ne.extend("--ft-checkbox-checked-color","",ke.contentGlobalOnColor),Ne.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-checkbox-checked-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-checkbox-unchecked-border-color","",Ce.colorGray80),Ne.extend("--ft-checkbox-unchecked-state-layer-color","",Ce.colorGray80),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-checkbox-focus-focus-ring-color","",ke.borderActionFocusRing),Ne.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ne.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-checkbox-gap","",Ce.spacing3),Ne.extend("--ft-toggle-off-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-toggle-off-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-toggle-off-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-toggle-off-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-toggle-off-background-color","",ke.contentGlobalSubtle),Ne.extend("--ft-toggle-off-icon-color","",ke.contentGlobalSubtle),Ne.extend("--ft-toggle-off-state-layer-color","",ke.contentGlobalSubtle),Ne.extend("--ft-toggle-on-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-toggle-on-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-toggle-on-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-toggle-on-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-toggle-on-background-color","",ke.contentActionPrimary),Ne.extend("--ft-toggle-on-icon-color","",ke.contentActionPrimary),Ne.extend("--ft-toggle-on-state-layer-color","",ke.contentActionPrimary),Ne.extend("--ft-toggle-label-color","",ke.contentGlobalPrimary),Ne.extend("--ft-toggle-focus-focus-ring-color","",ke.borderActionFocusRing),Ne.extend("--ft-toggle-gap","",Ce.spacing3),Ne.extend("--ft-radio-label-color","",ke.contentGlobalPrimary),Ne.extend("--ft-radio-selected-color","",ke.contentActionPrimary),Ne.extend("--ft-radio-selected-state-layer-color","",ke.contentActionPrimary),Ne.extend("--ft-radio-selected-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-radio-selected-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-radio-selected-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-radio-selected-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-radio-unselected-state-layer-color","",Ce.colorGray80),Ne.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-radio-unselected-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-radio-unselected-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-radio-focus-focus-ring-color","",ke.borderActionFocusRing),Ne.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ne.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-radio-gap","",Ce.spacing3),Ne.extend("--ft-notification-icon-size","",Ce.iconSize4),Ne.extend("--ft-notification-horizontal-padding","",Ce.spacing4),Ne.extend("--ft-notification-vertical-padding","",Ce.spacing4),Ne.extend("--ft-notification-info-background-color","",ke.backgroundInfoSubtle),Ne.extend("--ft-notification-info-color","",ke.contentInfoPrimary),Ne.extend("--ft-notification-info-border-color","",ke.borderInfoSubtle),Ne.extend("--ft-notification-success-background-color","",ke.backgroundSuccessSubtle),Ne.extend("--ft-notification-success-color","",ke.contentSuccessPrimary),Ne.extend("--ft-notification-success-border-color","",ke.borderSuccessSubtle),Ne.extend("--ft-notification-warning-background-color","",ke.backgroundWarningSubtle),Ne.extend("--ft-notification-warning-color","",ke.contentWarningPrimary),Ne.extend("--ft-notification-warning-border-color","",ke.borderWarningSubtle),Ne.extend("--ft-notification-error-background-color","",ke.backgroundErrorSubtle),Ne.extend("--ft-notification-error-color","",ke.contentErrorPrimary),Ne.extend("--ft-notification-error-border-color","",ke.borderErrorSubtle),Ne.extend("--ft-notification-border-radius","",Ce.borderRadiusPill),Ne.create("--ft-notification-border-width","","SIZE","1px"),Ne.extend("--ft-notification-gap-leading","",Ce.spacing2),Ne.extend("--ft-notification-gap-trailing","",Ce.spacing8),Ne.extend("--ft-tooltip-horizontal-padding","",Ce.spacing2),Ne.extend("--ft-tooltip-vertical-padding","",Ce.spacing2),Ne.extend("--ft-tooltip-border-radius","",Ce.borderRadiusS),Ne.extend("--ft-tooltip-label","",ke.contentGlobalOnColor),Ne.extend("--ft-tooltip-background","",ke.contentGlobalPrimary),Ne.extend("--ft-tooltip-background-opacity","",Ce.opacity80),Ne.extend("--ft-tooltip-shadow","",Ce.shadowElevation03);const Ue={colorPrimary:Ne.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ne.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ne.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ne.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ne.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ne.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ne.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ne.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ne.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ne.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ne.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ne.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ne.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ne.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ne.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ne.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ne.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ne.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ne.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ne.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ne.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ne.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ne.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ne.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ne.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ne.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ne.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ne.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ne.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ne.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ne.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ne.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ne.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ne.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ne.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ne.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ne.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ne.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ne.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ne.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ne.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ne.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ne.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ne.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ne.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ne.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ne.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ne.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ne.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ne.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ne.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ie=["start","end"],We=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ie[0],e+"-"+Ie[1])),[]),Le=Math.min,ze=Math.max,Ke=Math.round,Ze=t=>({x:t,y:t}),Fe={left:"right",right:"left",bottom:"top",top:"bottom"},De={start:"end",end:"start"};function Be(t,e,o){return ze(t,Le(e,o))}function Ae(t,e){return"function"==typeof t?t(e):t}function Me(t){return t.split("-")[0]}function Pe(t){return t.split("-")[1]}function He(t){return"x"===t?"y":"x"}function je(t){return"y"===t?"height":"width"}function Te(t){return["top","bottom"].includes(Me(t))?"y":"x"}function _e(t){return He(Te(t))}function Ge(t){return t.replace(/left|right|bottom|top/g,(t=>Fe[t]))}function Ve(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ye(t,e,o){let{reference:i,floating:r}=t;const n=Te(e),a=_e(e),s=je(a),l=Me(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,d=i[s]/2-r[s]/2;let h;switch(l){case"top":h={x:p,y:i.y-r.height};break;case"bottom":h={x:p,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:f};break;case"left":h={x:i.x-r.width,y:f};break;default:h={x:i.x,y:i.y}}switch(Pe(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function Je(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Ae(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=s[d?"floating"===f?"reference":"floating":f],y=Ve(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.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=Ve(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function qe(t,e,o){return(t?[...o.filter((e=>Pe(e)===t)),...o.filter((e=>Pe(e)!==t))]:o.filter((t=>Me(t)===t))).filter((o=>!t||(Pe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>De[t]))}(o)!==o)))}const Xe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:d=We,autoAlignment:h=!0,...u}=Ae(t,e),g=void 0!==f||d===We?qe(f||null,h,d):d,y=await Je(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Pe(t),r=_e(t),n=je(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ge(a)),[a,Ge(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:g[0]}};const v=[y[Me(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Pe(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,Pe(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function Qe(t){return oo(t)?(t.nodeName||"").toLowerCase():"#document"}function to(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function eo(t){var e;return null==(e=(oo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function oo(t){return t instanceof Node||t instanceof to(t).Node}function io(t){return t instanceof Element||t instanceof to(t).Element}function ro(t){return t instanceof HTMLElement||t instanceof to(t).HTMLElement}function no(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof to(t).ShadowRoot)}function ao(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=fo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function so(t){return["table","td","th"].includes(Qe(t))}function lo(t){const e=co(),o=fo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function co(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function po(t){return["html","body","#document"].includes(Qe(t))}function fo(t){return to(t).getComputedStyle(t)}function ho(t){return io(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function uo(t){if("html"===Qe(t))return t;const e=t.assignedSlot||t.parentNode||no(t)&&t.host||eo(t);return no(e)?e.host:e}function go(t){const e=uo(t);return po(e)?t.ownerDocument?t.ownerDocument.body:t.body:ro(e)&&ao(e)?e:go(e)}function yo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=go(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=to(r);return n?e.concat(a,a.visualViewport||[],ao(r)?r:[],a.frameElement&&o?yo(a.frameElement):[]):e.concat(r,yo(r,[],o))}function bo(t){const e=fo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ro(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Ke(o)!==n||Ke(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function mo(t){return io(t)?t:t.contextElement}function xo(t){const e=mo(t);if(!ro(e))return Ze(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=bo(e);let a=(n?Ke(o.width):o.width)/i,s=(n?Ke(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const vo=Ze(0);function Oo(t){const e=to(t);return co()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:vo}function wo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=mo(t);let a=Ze(1);e&&(i?io(i)&&(a=xo(i)):a=xo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==to(t))&&e}(n,o,i)?Oo(n):Ze(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=to(n),e=i&&io(i)?to(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=xo(o),e=o.getBoundingClientRect(),i=fo(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=to(o).frameElement}}return Ve({width:p,height:f,x:l,y:c})}function So(t){return wo(eo(t)).left+ho(t).scrollLeft}function No(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=to(t),i=eo(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=co();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=eo(t),o=ho(t),i=t.ownerDocument.body,r=ze(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=ze(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+So(t);const s=-o.scrollTop;return"rtl"===fo(i).direction&&(a+=ze(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(eo(t));else if(io(e))i=function(t,e){const o=wo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ro(t)?xo(t):Ze(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Oo(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Ve(i)}function $o(t,e){const o=uo(t);return!(o===e||!io(o)||po(o))&&("fixed"===fo(o).position||$o(o,e))}function Co(t,e,o){const i=ro(e),r=eo(e),n="fixed"===o,a=wo(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Ze(0);if(i||!i&&!n)if(("body"!==Qe(e)||ao(r))&&(s=ho(e)),i){const t=wo(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=So(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Eo(t,e){return ro(t)&&"fixed"!==fo(t).position?e?e(t):t.offsetParent:null}function ko(t,e){const o=to(t);if(!ro(t))return o;let i=Eo(t,e);for(;i&&so(i)&&"static"===fo(i).position;)i=Eo(i,e);return i&&("html"===Qe(i)||"body"===Qe(i)&&"static"===fo(i).position&&!lo(i))?o:i||function(t){let e=uo(t);for(;ro(e)&&!po(e);){if(lo(e))return e;e=uo(e)}return null}(t)||o}const Ro={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=ro(o),n=eo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Ze(1);const l=Ze(0);if((r||!r&&"fixed"!==i)&&(("body"!==Qe(o)||ao(n))&&(a=ho(o)),ro(o))){const t=wo(o);s=xo(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:eo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=yo(t,[],!1).filter((t=>io(t)&&"body"!==Qe(t))),r=null;const n="fixed"===fo(t).position;let a=n?uo(t):t;for(;io(a)&&!po(a);){const e=fo(a),o=lo(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||ao(a)&&!o&&$o(t,a))?i=i.filter((t=>t!==a)):r=e,a=uo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=No(e,o,r);return t.top=ze(i.top,t.top),t.right=Le(i.right,t.right),t.bottom=Le(i.bottom,t.bottom),t.left=ze(i.left,t.left),t}),No(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ko,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||ko,n=this.getDimensions;return{reference:Co(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return bo(t)},getScale:xo,isElement:io,isRTL:function(t){return"rtl"===fo(t).direction}},Uo=(t,e,o)=>{const i=new Map,r={platform:Ro,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=Ye(c,i,l),d=i,h={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:g}=s[o],{x:y,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=y?y:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:p,y:f}=Ye(c,d,l))),o=-1)}return{x:p,y:f,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};function Io(t){return function(t){for(let e=t;e;e=Wo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Wo(t);e;e=Wo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Wo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
90
|
+
let we=class extends At{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new ge(e.insertBefore(Yt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return se}};we._$litElement$=!0,we.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:we});const Se=globalThis.litElementPolyfillSupport;Se?.({LitElement:we}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ne=t=>"string"==typeof t?St(t):t;class $e{static create(t,e,o,i){const r=t=>Ne(null!=t?t:i),n=Nt`var(${Ne(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Nt`var(${Ne(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=Nt`var(${Ne(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Nt`var(${Ne(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Ne(null!=e?e:t.lastResortDefaultValue()),i=Nt`var(${Ne(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>Nt`var(${Ne(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Ce(t,e){return Ne(`${t.name}: ${e}`)}const Ee={colorWhite:$e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:$e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:$e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:$e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:$e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:$e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:$e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:$e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:$e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:$e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:$e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:$e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:$e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:$e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:$e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:$e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:$e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:$e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:$e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:$e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:$e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:$e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:$e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:$e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:$e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:$e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:$e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:$e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:$e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:$e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:$e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:$e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:$e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:$e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:$e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:$e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:$e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:$e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:$e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:$e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:$e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:$e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:$e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:$e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:$e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:$e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:$e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:$e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:$e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:$e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:$e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:$e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:$e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:$e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:$e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:$e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:$e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:$e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:$e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:$e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:$e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:$e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:$e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:$e.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:$e.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:$e.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:$e.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:$e.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:$e.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:$e.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:$e.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:$e.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:$e.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:$e.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:$e.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:$e.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:$e.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:$e.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:$e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:$e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:$e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:$e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:$e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:$e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:$e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:$e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:$e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:$e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:$e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:$e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:$e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:$e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:$e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:$e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:$e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:$e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:$e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:$e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:$e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:$e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:$e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:$e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:$e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:$e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:$e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:$e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:$e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:$e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:$e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:$e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:$e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:$e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:$e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:$e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:$e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:$e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:$e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:$e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:$e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:$e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:$e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:$e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:$e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:$e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:$e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:$e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:$e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:$e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:$e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:$e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:$e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:$e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:$e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:$e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:$e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:$e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:$e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:$e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:$e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:$e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:$e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:$e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:$e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:$e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:$e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:$e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:$e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:$e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:$e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:$e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:$e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:$e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:$e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:$e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:$e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:$e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:$e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:$e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:$e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:$e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:$e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:$e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:$e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:$e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:$e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:$e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:$e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:$e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:$e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:$e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:$e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:$e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:$e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:$e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:$e.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:$e.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:$e.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:$e.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:$e.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:$e.create("--ft-icon-size-6","","SIZE","48px"),opacity0:$e.create("--ft-opacity-0","","NUMBER","0"),opacity8:$e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:$e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:$e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:$e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:$e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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)")},ke={display:{fontFamily:$e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:$e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:$e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:$e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:$e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:$e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:$e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:$e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:$e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:$e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:$e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:$e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:$e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:$e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:$e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:$e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:$e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:$e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:$e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:$e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:$e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:$e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:$e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:$e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:$e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:$e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:$e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:$e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:$e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:$e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:$e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:$e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:$e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:$e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:$e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Re={backgroundActionPrimary:$e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ee.colorBrand0),backgroundErrorPrimary:$e.extend("--ft-background-error-primary","Used as background of error components.",Ee.colorRed0),backgroundErrorSubtle:$e.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ee.colorRed10),backgroundInfoPrimary:$e.extend("--ft-background-info-primary","Used as background of information components.",Ee.colorCyan200),backgroundInfoSubtle:$e.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ee.colorCyan10),backgroundWarningPrimary:$e.extend("--ft-background-warning-primary","Used as background of warning components.",Ee.colorOrange300),backgroundWarningSubtle:$e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ee.colorOrange10),backgroundSuccessPrimary:$e.extend("--ft-background-success-primary","Used as background of success components.",Ee.colorGreen200),backgroundSuccessSubtle:$e.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ee.colorGreen10),backgroundGlobalSurface:$e.extend("--ft-background-global-surface","Used as app background.",Ee.colorWhite),backgroundGlobalOnSurface:$e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ee.colorGray10),backgroundGlobalOnSurfaceDark:$e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ee.colorGray30),contentActionPrimary:$e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ee.colorBrand0),contentWarningPrimary:$e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ee.colorOrange300),contentWarningIconOnly:$e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ee.colorOrange0),contentErrorPrimary:$e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ee.colorRed0),contentErrorIconOnly:$e.extend("--ft-content-error-icon-only","Used on error status icons alone",Ee.colorRed0),contentInfoPrimary:$e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ee.colorCyan200),contentInfoIconOnly:$e.extend("--ft-content-info-icon-only","Used on info status icons alone",Ee.colorCyan0),contentSuccessPrimary:$e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ee.colorGreen200),contentSuccessIconOnly:$e.extend("--ft-content-success-icon-only","Used on success status icons alone",Ee.colorGreen0),contentGlobalPrimary:$e.extend("--ft-content-global-primary","Used for main content on the page.",Ee.colorGray500),contentGlobalSecondary:$e.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ee.colorGray200),contentGlobalSubtle:$e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ee.colorGray0),contentGlobalOnColor:$e.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ee.colorWhite),borderActionPrimary:$e.extend("--ft-border-action-primary","Used as border for primary action components.",Ee.colorBrand0),borderActionFocusRing:$e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ee.colorCyan0),borderWarningPrimary:$e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Ee.colorOrange300),borderWarningSubtle:$e.extend("--ft-border-warning-subtle","Used as border for warning components.",Ee.colorOrange30),borderSuccessPrimary:$e.extend("--ft-border-success-primary","Used as border for success buttons.",Ee.colorGreen200),borderSuccessSubtle:$e.extend("--ft-border-success-subtle","Used as border for success components.",Ee.colorGreen30),borderErrorPrimary:$e.extend("--ft-border-error-primary","Used as border for text fields in error states.",Ee.colorRed0),borderErrorSubtle:$e.extend("--ft-border-error-subtle","Used as border for error components.",Ee.colorRed30),borderInfoPrimary:$e.extend("--ft-border-info-primary","Used as border for buttons in info color.",Ee.colorCyan200),borderInfoSubtle:$e.extend("--ft-border-info-subtle","Used as border for information components.",Ee.colorCyan30),borderGlobalPrimary:$e.extend("--ft-border-global-primary","Used as border for element like input.",Ee.colorGray50),borderGlobalSubtle:$e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ee.colorGray30),borderInputPrimary:$e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ee.colorGray80)},Ue={largeHeight:$e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:$e.extend("--ft-button-large-horizontal-padding","",Ee.spacing4),largeGap:$e.extend("--ft-button-large-gap","",Ee.spacing2),largeBorderRadius:$e.extend("--ft-button-large-border-radius","",Ee.borderRadiusS),largeIconSize:$e.extend("--ft-button-large-icon-size","",Ee.iconSize3),largeBorderWidth:$e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:$e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:$e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:$e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:$e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:$e.extend("--ft-button-small-horizontal-padding","",Ee.spacing3),smallGap:$e.extend("--ft-button-small-gap","",Ee.spacing2),smallBorderRadius:$e.extend("--ft-button-small-border-radius","",Ee.borderRadiusS),smallIconSize:$e.extend("--ft-button-small-icon-size","",Ee.iconSize2),smallBorderWidth:$e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:$e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:$e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:$e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:$e.extend("--ft-button-primary-background-color","",Re.backgroundActionPrimary),primaryColor:$e.extend("--ft-button-primary-color","",Re.contentGlobalOnColor),primaryIconColor:$e.extend("--ft-button-primary-icon-color","",Re.contentGlobalOnColor),primaryStateLayerColor:$e.extend("--ft-button-primary-state-layer-color","",Re.contentGlobalOnColor),primaryStateLayerOpacityHover:$e.extend("--ft-button-primary-state-layer-opacity-hover","",Ee.opacity16),primaryStateLayerOpacityFocus:$e.extend("--ft-button-primary-state-layer-opacity-focus","",Ee.opacity16),primaryStateLayerOpacityActive:$e.extend("--ft-button-primary-state-layer-opacity-active","",Ee.opacity24),primaryComponentOpacityDisabled:$e.extend("--ft-button-primary-component-opacity-disabled","",Ee.opacity40),focusFocusRingColor:$e.extend("--ft-button-focus-focus-ring-color","",Re.borderActionFocusRing),tertiaryBackgroundColor:$e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:$e.extend("--ft-button-tertiary-color","",Re.contentActionPrimary),tertiaryIconColor:$e.extend("--ft-button-tertiary-icon-color","",Re.contentActionPrimary),tertiaryStateLayerColor:$e.extend("--ft-button-tertiary-state-layer-color","",Re.contentActionPrimary),tertiaryStateLayerOpacityHover:$e.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ee.opacity8),tertiaryStateLayerOpacityFocus:$e.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ee.opacity8),tertiaryStateLayerOpacityActive:$e.extend("--ft-button-tertiary-state-layer-opacity-active","",Ee.opacity16),tertiaryComponentOpacityDisabled:$e.extend("--ft-button-tertiary-component-opacity-disabled","",Ee.opacity40),secondaryBackgroundColor:$e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:$e.extend("--ft-button-secondary-color","",Re.contentActionPrimary),secondaryIconColor:$e.extend("--ft-button-secondary-icon-color","",Re.contentActionPrimary),secondaryStateLayerColor:$e.extend("--ft-button-secondary-state-layer-color","",Re.contentActionPrimary),secondaryStateLayerOpacityHover:$e.extend("--ft-button-secondary-state-layer-opacity-hover","",Ee.opacity8),secondaryStateLayerOpacityFocus:$e.extend("--ft-button-secondary-state-layer-opacity-focus","",Ee.opacity8),secondaryStateLayerOpacityActive:$e.extend("--ft-button-secondary-state-layer-opacity-active","",Ee.opacity16),secondaryComponentOpacityDisabled:$e.extend("--ft-button-secondary-component-opacity-disabled","",Ee.opacity40),secondaryBorderColor:$e.extend("--ft-button-secondary-border-color","",Re.borderActionPrimary),neutralBackgroundColor:$e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:$e.extend("--ft-button-neutral-icon-color","",Re.contentGlobalSecondary),neutralColor:$e.extend("--ft-button-neutral-color","",Re.contentGlobalSecondary),neutralStateLayerColor:$e.extend("--ft-button-neutral-state-layer-color","",Re.contentGlobalSecondary),neutralStateLayerOpacityHover:$e.extend("--ft-button-neutral-state-layer-opacity-hover","",Ee.opacity8),neutralStateLayerOpacityFocus:$e.extend("--ft-button-neutral-state-layer-opacity-focus","",Ee.opacity8),neutralStateLayerOpacityActive:$e.extend("--ft-button-neutral-state-layer-opacity-active","",Ee.opacity16),neutralComponentOpacityDisabled:$e.extend("--ft-button-neutral-component-opacity-disabled","",Ee.opacity40)};$e.extend("--ft-floating-menu-horizontal-padding","",Ee.spacing4),$e.extend("--ft-floating-menu-vertical-padding","",Ee.spacing4),$e.extend("--ft-floating-menu-off-icon-color","",Re.contentGlobalPrimary),$e.extend("--ft-floating-menu-off-color","",Re.contentGlobalPrimary),$e.extend("--ft-floating-menu-on-color","",Re.contentActionPrimary),$e.extend("--ft-floating-menu-on-icon-color","",Re.contentActionPrimary),$e.extend("--ft-floating-menu-on-state-layer-color","",Re.contentActionPrimary),$e.extend("--ft-floating-menu-gap","",Ee.spacing3),$e.extend("--ft-floating-menu-focus-focus-ring-color","",Re.borderActionFocusRing),$e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),$e.extend("--ft-floating-menu-state-layer-opacity-hover","",Ee.opacity8),$e.extend("--ft-floating-menu-state-layer-opacity-active","",Ee.opacity16),$e.extend("--ft-floating-menu-state-layer-opacity-focus","",Ee.opacity8),$e.extend("--ft-floating-menu-component-opacity-disabled","",Ee.opacity40),$e.extend("--ft-floating-menu-icon-size","",Ee.iconSize3),$e.extend("--ft-floating-menu-background-color","",Re.backgroundGlobalOnSurface),$e.extend("--ft-tabs-top-left-border-radius","",Ee.borderRadiusS),$e.extend("--ft-tabs-top-right-border-radius","",Ee.borderRadiusS),$e.extend("--ft-tabs-label-horizontal-padding","",Ee.spacing4),$e.extend("--ft-tabs-label-vertical-padding","",Ee.spacing3),$e.extend("--ft-tabs-label-gap","",Ee.spacing1),$e.extend("--ft-tabs-icon-horizontal-padding","",Ee.spacing1),$e.extend("--ft-tabs-icon-vertical-padding","",Ee.spacing4),$e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),$e.extend("--ft-tabs-focus-focus-ring-color","",Re.borderActionFocusRing),$e.extend("--ft-tabs-off-state-layer-opacity-hover","",Ee.opacity8),$e.extend("--ft-tabs-off-state-layer-opacity-focus","",Ee.opacity8),$e.extend("--ft-tabs-off-state-layer-opacity-active","",Ee.opacity16),$e.extend("--ft-tabs-off-component-opacity-disabled","",Ee.opacity40),$e.extend("--ft-tabs-off-color","",Re.contentGlobalSubtle),$e.extend("--ft-tabs-off-state-layer-color","",Re.contentGlobalSubtle),$e.extend("--ft-tabs-on-state-layer-opacity-hover","",Ee.opacity8),$e.extend("--ft-tabs-on-state-layer-opacity-focus","",Ee.opacity8),$e.extend("--ft-tabs-on-state-layer-opacity-active","",Ee.opacity16),$e.extend("--ft-tabs-on-component-opacity-disabled","",Ee.opacity40),$e.extend("--ft-tabs-on-color","",Re.contentActionPrimary),$e.extend("--ft-tabs-on-state-layer-color","",Re.contentActionPrimary),$e.extend("--ft-collapsible-state-layer-opacity-hover","",Ee.opacity8),$e.extend("--ft-collapsible-state-layer-opacity-focus","",Ee.opacity8),$e.extend("--ft-collapsible-state-layer-opacity-active","",Ee.opacity16),$e.extend("--ft-collapsible-component-opacity-disabled","",Ee.opacity40),$e.extend("--ft-collapsible-horizontal-padding","",Ee.spacing4),$e.extend("--ft-collapsible-vertical-padding","",Ee.spacing3),$e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),$e.extend("--ft-collapsible-focus-focus-ring-color","",Re.borderActionFocusRing),$e.extend("--ft-collapsible-color","",Re.contentGlobalPrimary),$e.extend("--ft-collapsible-state-layer-color","",Re.contentGlobalPrimary),$e.extend("--ft-collapsible-background-color","",Re.backgroundGlobalOnSurface),$e.extend("--ft-collapsible-border-color","",Re.borderGlobalSubtle),$e.extend("--ft-collapsible-icon-size","",Ee.iconSize3),$e.extend("--ft-switch-group-horizontal-padding","",Ee.spacing1),$e.extend("--ft-switch-group-vertical-padding","",Ee.spacing1),$e.extend("--ft-switch-group-gap","",Ee.spacing1),$e.extend("--ft-switch-group-background-color","",Re.backgroundGlobalSurface),$e.extend("--ft-switch-group-border-color","",Re.borderGlobalSubtle),$e.create("--ft-switch-group-border-radius","","SIZE","6px"),$e.extend("--ft-switch-label-horizontal-padding","",Ee.spacing2),$e.extend("--ft-switch-label-vertical-padding","",Ee.spacing1),$e.extend("--ft-switch-icon-horizontal-padding","",Ee.spacing1),$e.extend("--ft-switch-icon-vertical-padding","",Ee.spacing1),$e.create("--ft-switch-focus-outline-width","","SIZE","2px"),$e.extend("--ft-switch-focus-focus-ring-color","",Re.borderActionFocusRing),$e.extend("--ft-switch-option-border-radius","",Ee.borderRadiusS),$e.extend("--ft-switch-off-state-layer-opacity-hover","",Ee.opacity8),$e.extend("--ft-switch-off-state-layer-opacity-focus","",Ee.opacity8),$e.extend("--ft-switch-off-state-layer-opacity-active","",Ee.opacity16),$e.extend("--ft-switch-off-component-opacity-disabled","",Ee.opacity40),$e.extend("--ft-switch-off-color","",Re.contentGlobalSubtle),$e.extend("--ft-switch-off-state-layer-color","",Re.contentGlobalSubtle),$e.extend("--ft-switch-on-state-layer-opacity-hover","",Ee.opacity8),$e.extend("--ft-switch-on-state-layer-opacity-focus","",Ee.opacity8),$e.extend("--ft-switch-on-state-layer-opacity-active","",Ee.opacity16),$e.extend("--ft-switch-on-component-opacity-disabled","",Ee.opacity40),$e.extend("--ft-switch-on-color","",Re.contentActionPrimary),$e.extend("--ft-switch-on-state-layer-color","",Re.contentActionPrimary),$e.extend("--ft-chart-1-light","for area color charts",Ee.colorBrand40),$e.extend("--ft-chart-1-base","for line charts",Ee.colorBrand0),$e.extend("--ft-chart-2-light","for area color charts",Ee.colorYellow60),$e.extend("--ft-chart-2-base","for line charts",Ee.colorYellow100),$e.extend("--ft-chart-3-light","",Ee.colorUltramarine40),$e.extend("--ft-chart-3-base","",Ee.colorUltramarine70),$e.extend("--ft-chart-4-light","",Ee.colorCyan50),$e.extend("--ft-chart-4-base","",Ee.colorCyan100),$e.extend("--ft-chart-5-light","",Ee.colorRed40),$e.extend("--ft-chart-5-base","",Ee.colorRed60),$e.extend("--ft-chart-6-light","",Ee.colorGreen40),$e.extend("--ft-chart-6-base","",Ee.colorGreen70),$e.extend("--ft-chart-7-light","",Ee.colorOrange70),$e.extend("--ft-chart-7-base","",Ee.colorOrange100),$e.extend("--ft-chart-8-light","",Ee.colorAvocado70),$e.extend("--ft-chart-8-base","",Ee.colorAvocado200),$e.extend("--ft-chart-9-light","",Ee.colorBrown50),$e.extend("--ft-chart-9-base","",Ee.colorBrown200),$e.extend("--ft-chart-10-light","",Ee.colorGray50),$e.extend("--ft-chart-10-base","",Ee.colorGray80),$e.extend("--ft-chart-monochrome-10","",Ee.colorBrand10),$e.extend("--ft-chart-monochrome-20","",Ee.colorBrand20),$e.extend("--ft-chart-monochrome-30","",Ee.colorBrand40),$e.extend("--ft-chart-monochrome-40","",Ee.colorBrand60),$e.extend("--ft-chart-monochrome-50","",Ee.colorBrand0),$e.extend("--ft-chart-monochrome-60","",Ee.colorBrand200),$e.extend("--ft-chip-large-horizontal-padding","",Ee.spacing4),$e.extend("--ft-chip-large-vertical-padding","",Ee.spacing2),$e.extend("--ft-chip-large-gap","",Ee.spacing1),$e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-large-border-radius","",Ee.borderRadiusPill),$e.create("--ft-chip-large-border-width","","SIZE","1px"),$e.extend("--ft-chip-large-icon-size","",Ee.iconSize3),$e.extend("--ft-chip-medium-horizontal-padding","",Ee.spacing3),$e.extend("--ft-chip-medium-vertical-padding","",Ee.spacing1),$e.extend("--ft-chip-medium-gap","",Ee.spacing1),$e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-medium-border-radius","",Ee.borderRadiusPill),$e.create("--ft-chip-medium-border-width","","SIZE","1px"),$e.extend("--ft-chip-medium-icon-size","",Ee.iconSize2),$e.extend("--ft-chip-small-horizontal-padding","",Ee.spacing2),$e.extend("--ft-chip-small-vertical-padding","",Ee.spacing05),$e.extend("--ft-chip-small-gap","",Ee.spacing1),$e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-small-border-radius","",Ee.borderRadiusPill),$e.create("--ft-chip-small-border-width","","SIZE","1px"),$e.extend("--ft-chip-small-icon-size","",Ee.iconSize1),$e.extend("--ft-chip-neutral-background-color","",Re.backgroundGlobalOnSurface),$e.extend("--ft-chip-neutral-color","",Re.contentGlobalPrimary),$e.extend("--ft-chip-neutral-border-color","",Re.borderGlobalSubtle),$e.extend("--ft-chip-info-background-color","",Re.backgroundInfoSubtle),$e.extend("--ft-chip-info-color","",Re.contentInfoPrimary),$e.extend("--ft-chip-info-border-color","",Re.borderInfoSubtle),$e.extend("--ft-chip-success-background-color","",Re.backgroundSuccessSubtle),$e.extend("--ft-chip-success-color","",Re.contentSuccessPrimary),$e.extend("--ft-chip-success-border-color","",Re.borderSuccessSubtle),$e.extend("--ft-chip-warning-background-color","",Re.backgroundWarningSubtle),$e.extend("--ft-chip-warning-color","",Re.contentWarningPrimary),$e.extend("--ft-chip-warning-border-color","",Re.borderWarningSubtle),$e.extend("--ft-chip-error-background-color","",Re.backgroundErrorSubtle),$e.extend("--ft-chip-error-color","",Re.contentErrorPrimary),$e.extend("--ft-chip-error-border-color","",Re.borderErrorSubtle),$e.create("--ft-notice-border-width","","SIZE","1px"),$e.extend("--ft-notice-horizontal-padding","",Ee.spacing2),$e.extend("--ft-notice-vertical-padding","",Ee.spacing1),$e.extend("--ft-notice-border-radius","",Ee.borderRadiusS),$e.extend("--ft-notice-gap","",Ee.spacing2),$e.extend("--ft-notice-icon-size","",Ee.iconSize3),$e.extend("--ft-notice-info-background-color","",Re.backgroundInfoSubtle),$e.extend("--ft-notice-info-border-color","",Re.borderInfoSubtle),$e.extend("--ft-notice-info-color","",Re.contentInfoPrimary),$e.extend("--ft-notice-warning-background-color","",Re.backgroundWarningSubtle),$e.extend("--ft-notice-warning-border-color","",Re.borderWarningSubtle),$e.extend("--ft-notice-warning-color","",Re.contentWarningPrimary),$e.extend("--ft-checkbox-label-color","",Re.contentGlobalPrimary),$e.extend("--ft-checkbox-checked-background-color","",Re.contentActionPrimary),$e.extend("--ft-checkbox-checked-state-layer-color","",Re.contentActionPrimary),$e.extend("--ft-checkbox-checked-color","",Re.contentGlobalOnColor),$e.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ee.opacity16),$e.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ee.opacity16),$e.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ee.opacity24),$e.extend("--ft-checkbox-checked-component-opacity-disabled","",Ee.opacity40),$e.extend("--ft-checkbox-unchecked-border-color","",Ee.colorGray80),$e.extend("--ft-checkbox-unchecked-state-layer-color","",Ee.colorGray80),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ee.opacity16),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ee.opacity16),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ee.opacity24),$e.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ee.opacity40),$e.extend("--ft-checkbox-focus-focus-ring-color","",Re.borderActionFocusRing),$e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),$e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),$e.extend("--ft-checkbox-gap","",Ee.spacing3),$e.extend("--ft-toggle-off-state-layer-opacity-hover","",Ee.opacity16),$e.extend("--ft-toggle-off-state-layer-opacity-focus","",Ee.opacity16),$e.extend("--ft-toggle-off-state-layer-opacity-active","",Ee.opacity24),$e.extend("--ft-toggle-off-component-opacity-disabled","",Ee.opacity40),$e.extend("--ft-toggle-off-background-color","",Re.contentGlobalSubtle),$e.extend("--ft-toggle-off-icon-color","",Re.contentGlobalSubtle),$e.extend("--ft-toggle-off-state-layer-color","",Re.contentGlobalSubtle),$e.extend("--ft-toggle-on-state-layer-opacity-hover","",Ee.opacity16),$e.extend("--ft-toggle-on-state-layer-opacity-focus","",Ee.opacity16),$e.extend("--ft-toggle-on-state-layer-opacity-active","",Ee.opacity24),$e.extend("--ft-toggle-on-component-opacity-disabled","",Ee.opacity40),$e.extend("--ft-toggle-on-background-color","",Re.contentActionPrimary),$e.extend("--ft-toggle-on-icon-color","",Re.contentActionPrimary),$e.extend("--ft-toggle-on-state-layer-color","",Re.contentActionPrimary),$e.extend("--ft-toggle-label-color","",Re.contentGlobalPrimary),$e.extend("--ft-toggle-focus-focus-ring-color","",Re.borderActionFocusRing),$e.extend("--ft-toggle-gap","",Ee.spacing3),$e.extend("--ft-radio-label-color","",Re.contentGlobalPrimary),$e.extend("--ft-radio-selected-color","",Re.contentActionPrimary),$e.extend("--ft-radio-selected-state-layer-color","",Re.contentActionPrimary),$e.extend("--ft-radio-selected-state-layer-opacity-hover","",Ee.opacity16),$e.extend("--ft-radio-selected-state-layer-opacity-focus","",Ee.opacity16),$e.extend("--ft-radio-selected-state-layer-opacity-active","",Ee.opacity24),$e.extend("--ft-radio-selected-component-opacity-disabled","",Ee.opacity40),$e.extend("--ft-radio-unselected-state-layer-color","",Ee.colorGray80),$e.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ee.opacity16),$e.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ee.opacity16),$e.extend("--ft-radio-unselected-state-layer-opacity-active","",Ee.opacity24),$e.extend("--ft-radio-unselected-component-opacity-disabled","",Ee.opacity40),$e.extend("--ft-radio-focus-focus-ring-color","",Re.borderActionFocusRing),$e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),$e.create("--ft-radio-focus-outline-width","","SIZE","2px"),$e.extend("--ft-radio-gap","",Ee.spacing3),$e.extend("--ft-notification-icon-size","",Ee.iconSize4),$e.extend("--ft-notification-horizontal-padding","",Ee.spacing4),$e.extend("--ft-notification-vertical-padding","",Ee.spacing4),$e.extend("--ft-notification-info-background-color","",Re.backgroundInfoSubtle),$e.extend("--ft-notification-info-color","",Re.contentInfoPrimary),$e.extend("--ft-notification-info-border-color","",Re.borderInfoSubtle),$e.extend("--ft-notification-success-background-color","",Re.backgroundSuccessSubtle),$e.extend("--ft-notification-success-color","",Re.contentSuccessPrimary),$e.extend("--ft-notification-success-border-color","",Re.borderSuccessSubtle),$e.extend("--ft-notification-warning-background-color","",Re.backgroundWarningSubtle),$e.extend("--ft-notification-warning-color","",Re.contentWarningPrimary),$e.extend("--ft-notification-warning-border-color","",Re.borderWarningSubtle),$e.extend("--ft-notification-error-background-color","",Re.backgroundErrorSubtle),$e.extend("--ft-notification-error-color","",Re.contentErrorPrimary),$e.extend("--ft-notification-error-border-color","",Re.borderErrorSubtle),$e.extend("--ft-notification-border-radius","",Ee.borderRadiusPill),$e.create("--ft-notification-border-width","","SIZE","1px"),$e.extend("--ft-notification-gap-leading","",Ee.spacing2),$e.extend("--ft-notification-gap-trailing","",Ee.spacing8),$e.extend("--ft-tooltip-horizontal-padding","",Ee.spacing2),$e.extend("--ft-tooltip-vertical-padding","",Ee.spacing2),$e.extend("--ft-tooltip-border-radius","",Ee.borderRadiusS),$e.extend("--ft-tooltip-label","",Re.contentGlobalOnColor),$e.extend("--ft-tooltip-background","",Re.contentGlobalPrimary),$e.extend("--ft-tooltip-background-opacity","",Ee.opacity80),$e.extend("--ft-tooltip-shadow","",Ee.shadowElevation03);const Ie={colorPrimary:$e.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:$e.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:$e.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:$e.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:$e.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:$e.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:$e.create("--ft-color-error","","COLOR","#B00020"),colorOutline:$e.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:$e.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:$e.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:$e.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:$e.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:$e.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:$e.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:$e.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:$e.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:$e.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:$e.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:$e.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:$e.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:$e.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:$e.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:$e.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:$e.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:$e.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:$e.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:$e.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:$e.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:$e.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:$e.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:$e.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:$e.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:$e.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:$e.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:$e.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:$e.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:$e.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:$e.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:$e.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:$e.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:$e.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:$e.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:$e.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:$e.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:$e.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:$e.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:$e.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:$e.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:$e.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:$e.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:$e.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},We=["start","end"],Le=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+We[0],e+"-"+We[1])),[]),ze=Math.min,Ke=Math.max,Ze=Math.round,Fe=t=>({x:t,y:t}),De={left:"right",right:"left",bottom:"top",top:"bottom"},Be={start:"end",end:"start"};function Ae(t,e,o){return Ke(t,ze(e,o))}function Me(t,e){return"function"==typeof t?t(e):t}function Pe(t){return t.split("-")[0]}function He(t){return t.split("-")[1]}function je(t){return"x"===t?"y":"x"}function Te(t){return"y"===t?"height":"width"}function _e(t){return["top","bottom"].includes(Pe(t))?"y":"x"}function Ge(t){return je(_e(t))}function Ve(t){return t.replace(/left|right|bottom|top/g,(t=>De[t]))}function Ye(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Je(t,e,o){let{reference:i,floating:r}=t;const n=_e(e),a=Ge(e),s=Te(a),l=Pe(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,d=i[s]/2-r[s]/2;let h;switch(l){case"top":h={x:p,y:i.y-r.height};break;case"bottom":h={x:p,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:f};break;case"left":h={x:i.x-r.width,y:f};break;default:h={x:i.x,y:i.y}}switch(He(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function qe(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Me(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=s[d?"floating"===f?"reference":"floating":f],y=Ye(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.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=Ye(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function Xe(t,e,o){return(t?[...o.filter((e=>He(e)===t)),...o.filter((e=>He(e)!==t))]:o.filter((t=>Pe(t)===t))).filter((o=>!t||(He(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Be[t]))}(o)!==o)))}const Qe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:d=Le,autoAlignment:h=!0,...u}=Me(t,e),g=void 0!==f||d===Le?Xe(f||null,h,d):d,y=await qe(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=He(t),r=Ge(t),n=Te(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ve(a)),[a,Ve(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:g[0]}};const v=[y[Pe(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=He(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,He(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function to(t){return io(t)?(t.nodeName||"").toLowerCase():"#document"}function eo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function oo(t){var e;return null==(e=(io(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function io(t){return t instanceof Node||t instanceof eo(t).Node}function ro(t){return t instanceof Element||t instanceof eo(t).Element}function no(t){return t instanceof HTMLElement||t instanceof eo(t).HTMLElement}function ao(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof eo(t).ShadowRoot)}function so(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=ho(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function lo(t){return["table","td","th"].includes(to(t))}function co(t){const e=po(),o=ho(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function po(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function fo(t){return["html","body","#document"].includes(to(t))}function ho(t){return eo(t).getComputedStyle(t)}function uo(t){return ro(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function go(t){if("html"===to(t))return t;const e=t.assignedSlot||t.parentNode||ao(t)&&t.host||oo(t);return ao(e)?e.host:e}function yo(t){const e=go(t);return fo(e)?t.ownerDocument?t.ownerDocument.body:t.body:no(e)&&so(e)?e:yo(e)}function bo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=yo(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=eo(r);return n?e.concat(a,a.visualViewport||[],so(r)?r:[],a.frameElement&&o?bo(a.frameElement):[]):e.concat(r,bo(r,[],o))}function mo(t){const e=ho(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=no(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Ze(o)!==n||Ze(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function xo(t){return ro(t)?t:t.contextElement}function vo(t){const e=xo(t);if(!no(e))return Fe(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=mo(e);let a=(n?Ze(o.width):o.width)/i,s=(n?Ze(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Oo=Fe(0);function wo(t){const e=eo(t);return po()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Oo}function So(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=xo(t);let a=Fe(1);e&&(i?ro(i)&&(a=vo(i)):a=vo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==eo(t))&&e}(n,o,i)?wo(n):Fe(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=eo(n),e=i&&ro(i)?eo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=vo(o),e=o.getBoundingClientRect(),i=ho(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=eo(o).frameElement}}return Ye({width:p,height:f,x:l,y:c})}function No(t){return So(oo(t)).left+uo(t).scrollLeft}function $o(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=eo(t),i=oo(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=po();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=oo(t),o=uo(t),i=t.ownerDocument.body,r=Ke(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Ke(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+No(t);const s=-o.scrollTop;return"rtl"===ho(i).direction&&(a+=Ke(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(oo(t));else if(ro(e))i=function(t,e){const o=So(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=no(t)?vo(t):Fe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=wo(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Ye(i)}function Co(t,e){const o=go(t);return!(o===e||!ro(o)||fo(o))&&("fixed"===ho(o).position||Co(o,e))}function Eo(t,e,o){const i=no(e),r=oo(e),n="fixed"===o,a=So(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Fe(0);if(i||!i&&!n)if(("body"!==to(e)||so(r))&&(s=uo(e)),i){const t=So(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=No(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function ko(t,e){return no(t)&&"fixed"!==ho(t).position?e?e(t):t.offsetParent:null}function Ro(t,e){const o=eo(t);if(!no(t))return o;let i=ko(t,e);for(;i&&lo(i)&&"static"===ho(i).position;)i=ko(i,e);return i&&("html"===to(i)||"body"===to(i)&&"static"===ho(i).position&&!co(i))?o:i||function(t){let e=go(t);for(;no(e)&&!fo(e);){if(co(e))return e;e=go(e)}return null}(t)||o}const Uo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=no(o),n=oo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Fe(1);const l=Fe(0);if((r||!r&&"fixed"!==i)&&(("body"!==to(o)||so(n))&&(a=uo(o)),no(o))){const t=So(o);s=vo(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:oo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=bo(t,[],!1).filter((t=>ro(t)&&"body"!==to(t))),r=null;const n="fixed"===ho(t).position;let a=n?go(t):t;for(;ro(a)&&!fo(a);){const e=ho(a),o=co(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||so(a)&&!o&&Co(t,a))?i=i.filter((t=>t!==a)):r=e,a=go(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=$o(e,o,r);return t.top=Ke(i.top,t.top),t.right=ze(i.right,t.right),t.bottom=ze(i.bottom,t.bottom),t.left=Ke(i.left,t.left),t}),$o(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ro,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Ro,n=this.getDimensions;return{reference:Eo(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return mo(t)},getScale:vo,isElement:ro,isRTL:function(t){return"rtl"===ho(t).direction}},Io=(t,e,o)=>{const i=new Map,r={platform:Uo,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=Je(c,i,l),d=i,h={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:g}=s[o],{x:y,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=y?y:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:p,y:f}=Je(c,d,l))),o=-1)}return{x:p,y:f,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};function Wo(t){return function(t){for(let e=t;e;e=Lo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Lo(t);e;e=Lo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Lo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
92
91
|
/**
|
|
93
92
|
* @license
|
|
94
93
|
* Copyright 2019 Google LLC
|
|
95
94
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
96
95
|
*/
|
|
97
|
-
const
|
|
96
|
+
const zo=window,Ko=zo.ShadowRoot&&(void 0===zo.ShadyCSS||zo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Zo extends we{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ko?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=zo.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Fo,Do=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Bo=Symbol("constructorPrototype"),Ao=Symbol("constructorName"),Mo=Symbol("exportpartsDebouncer");class Po extends Zo{constructor(){super(),this[Fo]=new e(5),this[Ao]=this.constructor.name,this[Bo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ao]&&Object.setPrototypeOf(this,this[Bo])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,e;if((null!==(e=null===(t=this.shadowRoot)||void 0===t?void 0:t.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(){var t,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[Mo].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,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!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=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(...e,...o).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((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Fo=Mo,Do([$()],Po.prototype,"exportpartsPrefix",void 0),Do([L([])],Po.prototype,"exportpartsPrefixes",void 0),Do([$()],Po.prototype,"customStylesheet",void 0);const Ho=$e.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Nt`
|
|
98
97
|
.highlight-html-match {
|
|
99
|
-
background: ${
|
|
98
|
+
background: ${Ho};
|
|
100
99
|
}
|
|
101
|
-
`;const
|
|
100
|
+
`;const jo=Nt`
|
|
102
101
|
.ft-no-text-select {
|
|
103
102
|
-webkit-touch-callout: none;
|
|
104
103
|
-webkit-user-select: none;
|
|
@@ -107,7 +106,7 @@ const Lo=window,zo=Lo.ShadowRoot&&(void 0===Lo.ShadyCSS||Lo.ShadyCSS.nativeShado
|
|
|
107
106
|
-ms-user-select: none;
|
|
108
107
|
user-select: none;
|
|
109
108
|
}
|
|
110
|
-
`;
|
|
109
|
+
`;Nt`
|
|
111
110
|
.ft-word-wrap {
|
|
112
111
|
white-space: normal;
|
|
113
112
|
word-wrap: break-word;
|
|
@@ -119,7 +118,7 @@ const Lo=window,zo=Lo.ShadowRoot&&(void 0===Lo.ShadyCSS||Lo.ShadyCSS.nativeShado
|
|
|
119
118
|
-webkit-hyphens: auto;
|
|
120
119
|
hyphens: auto
|
|
121
120
|
}
|
|
122
|
-
`;const
|
|
121
|
+
`;const To=Nt`
|
|
123
122
|
.ft-safari-ellipsis-fix {
|
|
124
123
|
margin-right: 0;
|
|
125
124
|
|
|
@@ -130,17 +129,17 @@ const Lo=window,zo=Lo.ShadowRoot&&(void 0===Lo.ShadyCSS||Lo.ShadyCSS.nativeShado
|
|
|
130
129
|
display: inline-block;
|
|
131
130
|
width: 0;
|
|
132
131
|
}
|
|
133
|
-
`;function
|
|
132
|
+
`;function _o(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Go,Vo,Yo;const Jo=Symbol("internalReduxEventsUnsubscribers"),qo=Symbol("internalStoresUnsubscribers"),Xo=Symbol("internalStores");class Qo extends Po{constructor(){super(...arguments),this[Go]=new Map,this[Vo]=new Map,this[Yo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Xo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Xo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Xo].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:_o(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Xo].delete(e)}setupStore(t,e){this[Xo].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Xo].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[qo].has(t.store):this[qo].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[qo].set(t,e.subscribe((()=>this.updateFromStores()))),_o(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[Jo].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qo].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Jo].forEach((t=>t())),this[Jo]=[]}unsubscribeFromStore(t){this[qo].has(t)&&this[qo].get(t)(),this[qo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Go=qo,Vo=Xo,Yo=Jo,Qo.reduxProperties=new Map,Qo.reduxReactiveProperties=new Set,Qo.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const ti=Symbol("elementInternals");function ei(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[ti].form}constructor(...t){super(t),this[ti]=this.attachInternals(),this[ti].role=e}setFormValue(t){this[ti].setFormValue(t)}}}var oi,ii,ri;const ni=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ri=null===(ii=null===(oi=window.safari)||void 0===oi?void 0:oi.pushNotification)||void 0===ii?void 0:ii.toString())&&void 0!==ri?ri:""),ai=1,si=2,li=t=>(...e)=>({_$litDirective$:t,values:e});
|
|
134
133
|
/**
|
|
135
134
|
* @license
|
|
136
135
|
* Copyright 2017 Google LLC
|
|
137
136
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
138
|
-
*/let
|
|
137
|
+
*/let ci=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
139
138
|
/**
|
|
140
139
|
* @license
|
|
141
140
|
* Copyright 2020 Google LLC
|
|
142
141
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
143
|
-
*/const{D:
|
|
142
|
+
*/const{D:pi}=yt,fi=()=>document.createComment(""),di=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(fi(),r),n=i.insertBefore(fi(),r);o=new pi(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},hi=(t,e,o=t)=>(t._$AI(e,o),t),ui={},gi=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},yi=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},bi=li(class extends ci{constructor(t){if(super(t),t.type!==si)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,p,f=0,d=r.length-1,h=0,u=n.length-1;for(;f<=d&&h<=u;)if(null===r[f])f++;else if(null===r[d])d--;else if(s[f]===a[h])l[h]=hi(r[f],n[h]),f++,h++;else if(s[d]===a[u])l[u]=hi(r[d],n[u]),d--,u--;else if(s[f]===a[u])l[u]=hi(r[f],n[u]),di(t,l[u+1],r[f]),f++,u--;else if(s[d]===a[h])l[h]=hi(r[d],n[h]),di(t,r[f],r[d]),d--,h++;else if(void 0===c&&(c=yi(a,h,u),p=yi(s,f,d)),c.has(s[f]))if(c.has(s[d])){const e=p.get(a[h]),o=void 0!==e?r[e]:null;if(null===o){const e=di(t,r[f]);hi(e,n[h]),l[h]=e}else l[h]=hi(o,n[h]),di(t,r[f],o),r[e]=null;h++}else gi(r[d]),d--;else gi(r[f]),f++;for(;h<=u;){const e=di(t,l[u+1]);hi(e,n[h]),l[h++]=e}for(;f<=d;){const t=r[f++];null!==t&&gi(t)}return this.dt=a,((t,e=ui)=>{t._$AH=e})(t,l),et}});
|
|
144
143
|
/**
|
|
145
144
|
* @license
|
|
146
145
|
* Copyright 2017 Google LLC
|
|
@@ -151,108 +150,108 @@ const Lo=window,zo=Lo.ShadowRoot&&(void 0===Lo.ShadyCSS||Lo.ShadyCSS.nativeShado
|
|
|
151
150
|
* Copyright 2017 Google LLC
|
|
152
151
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
153
152
|
*/
|
|
154
|
-
let
|
|
153
|
+
let mi=class extends ci{constructor(t){if(super(t),this.et=ot,t.type!==si)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.vt=void 0,this.et=t;if(t===et)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}};mi.directiveName="unsafeHTML",mi.resultType=1;const xi=li(mi),vi=li(class extends ci{constructor(t){if(super(t),t.type!==ai||"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((e=>t[e])).join(" ")+" "}update(t,[e]){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 e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return et}}),Oi=Symbol.for(""),wi=t=>{if(t?.r===Oi)return t?._$litStatic$},Si=t=>({_$litStatic$:t,r:Oi}),Ni=new Map,$i=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=wi(n));)l+=r+e[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=Ni.get(t))&&(a.raw=a,Ni.set(t,e=a)),o=s}return t(e,...o)})(tt);
|
|
155
154
|
/**
|
|
156
155
|
* @license
|
|
157
156
|
* Copyright 2018 Google LLC
|
|
158
157
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
159
|
-
*/var
|
|
158
|
+
*/var Ci;!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"}(Ci||(Ci={}));const Ei=$e.extend("--ft-typography-font-family","",Ie.titleFont),ki=$e.extend("--ft-typography-font-family","",Ie.contentFont),Ri={fontFamily:ki,fontSize:$e.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:$e.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:$e.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:$e.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:$e.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ui=$e.extend("--ft-typography-title-font-family","",Ei),Ii=$e.extend("--ft-typography-title-font-size","",Ri.fontSize,"20px"),Wi=$e.extend("--ft-typography-title-font-weight","",Ri.fontWeight,"normal"),Li=$e.extend("--ft-typography-title-letter-spacing","",Ri.letterSpacing,"0.15px"),zi=$e.extend("--ft-typography-title-line-height","",Ri.lineHeight,"1.2"),Ki=$e.extend("--ft-typography-title-text-transform","",Ri.textTransform,"inherit"),Zi=$e.extend("--ft-typography-title-dense-font-family","",Ei),Fi=$e.extend("--ft-typography-title-dense-font-size","",Ri.fontSize,"14px"),Di=$e.extend("--ft-typography-title-dense-font-weight","",Ri.fontWeight,"normal"),Bi=$e.extend("--ft-typography-title-dense-letter-spacing","",Ri.letterSpacing,"0.105px"),Ai=$e.extend("--ft-typography-title-dense-line-height","",Ri.lineHeight,"1.7"),Mi=$e.extend("--ft-typography-title-dense-text-transform","",Ri.textTransform,"inherit"),Pi=$e.extend("--ft-typography-subtitle1-font-family","",ki),Hi=$e.extend("--ft-typography-subtitle1-font-size","",Ri.fontSize,"16px"),ji=$e.extend("--ft-typography-subtitle1-font-weight","",Ri.fontWeight,"600"),Ti=$e.extend("--ft-typography-subtitle1-letter-spacing","",Ri.letterSpacing,"0.144px"),_i=$e.extend("--ft-typography-subtitle1-line-height","",Ri.lineHeight,"1.5"),Gi=$e.extend("--ft-typography-subtitle1-text-transform","",Ri.textTransform,"inherit"),Vi=$e.extend("--ft-typography-subtitle2-font-family","",ki),Yi=$e.extend("--ft-typography-subtitle2-font-size","",Ri.fontSize,"14px"),Ji=$e.extend("--ft-typography-subtitle2-font-weight","",Ri.fontWeight,"normal"),qi=$e.extend("--ft-typography-subtitle2-letter-spacing","",Ri.letterSpacing,"0.098px"),Xi=$e.extend("--ft-typography-subtitle2-line-height","",Ri.lineHeight,"1.7"),Qi=$e.extend("--ft-typography-subtitle2-text-transform","",Ri.textTransform,"inherit"),tr={fontFamily:$e.extend("--ft-typography-body1-font-family","",ki),fontSize:$e.extend("--ft-typography-body1-font-size","",Ri.fontSize,"16px"),fontWeight:$e.extend("--ft-typography-body1-font-weight","",Ri.fontWeight,"normal"),letterSpacing:$e.extend("--ft-typography-body1-letter-spacing","",Ri.letterSpacing,"0.496px"),lineHeight:$e.extend("--ft-typography-body1-line-height","",Ri.lineHeight,"1.5"),textTransform:$e.extend("--ft-typography-body1-text-transform","",Ri.textTransform,"inherit")},er=$e.extend("--ft-typography-body2-font-family","",ki),or=$e.extend("--ft-typography-body2-font-size","",Ri.fontSize,"14px"),ir=$e.extend("--ft-typography-body2-font-weight","",Ri.fontWeight,"normal"),rr=$e.extend("--ft-typography-body2-letter-spacing","",Ri.letterSpacing,"0.252px"),nr=$e.extend("--ft-typography-body2-line-height","",Ri.lineHeight,"1.4"),ar=$e.extend("--ft-typography-body2-text-transform","",Ri.textTransform,"inherit"),sr={fontFamily:$e.extend("--ft-typography-caption-font-family","",ki),fontSize:$e.extend("--ft-typography-caption-font-size","",Ri.fontSize,"12px"),fontWeight:$e.extend("--ft-typography-caption-font-weight","",Ri.fontWeight,"normal"),letterSpacing:$e.extend("--ft-typography-caption-letter-spacing","",Ri.letterSpacing,"0.396px"),lineHeight:$e.extend("--ft-typography-caption-line-height","",Ri.lineHeight,"1.33"),textTransform:$e.extend("--ft-typography-caption-text-transform","",Ri.textTransform,"inherit")},lr=$e.extend("--ft-typography-breadcrumb-font-family","",ki),cr=$e.extend("--ft-typography-breadcrumb-font-size","",Ri.fontSize,"10px"),pr=$e.extend("--ft-typography-breadcrumb-font-weight","",Ri.fontWeight,"normal"),fr=$e.extend("--ft-typography-breadcrumb-letter-spacing","",Ri.letterSpacing,"0.33px"),dr=$e.extend("--ft-typography-breadcrumb-line-height","",Ri.lineHeight,"1.6"),hr=$e.extend("--ft-typography-breadcrumb-text-transform","",Ri.textTransform,"inherit"),ur=$e.extend("--ft-typography-overline-font-family","",ki),gr=$e.extend("--ft-typography-overline-font-size","",Ri.fontSize,"10px"),yr=$e.extend("--ft-typography-overline-font-weight","",Ri.fontWeight,"normal"),br=$e.extend("--ft-typography-overline-letter-spacing","",Ri.letterSpacing,"1.5px"),mr=$e.extend("--ft-typography-overline-line-height","",Ri.lineHeight,"1.6"),xr=$e.extend("--ft-typography-overline-text-transform","",Ri.textTransform,"uppercase"),vr={fontFamily:$e.extend("--ft-typography-button-font-family","",ki),fontSize:$e.extend("--ft-typography-button-font-size","",Ri.fontSize,"14px"),fontWeight:$e.extend("--ft-typography-button-font-weight","",Ri.fontWeight,"600"),letterSpacing:$e.extend("--ft-typography-button-letter-spacing","",Ri.letterSpacing,"1.246px"),lineHeight:$e.extend("--ft-typography-button-line-height","",Ri.lineHeight,"1.15"),textTransform:$e.extend("--ft-typography-button-text-transform","",Ri.textTransform,"uppercase")},Or=Nt`
|
|
160
159
|
.ft-typography--title {
|
|
161
|
-
font-family: ${
|
|
162
|
-
font-size: ${
|
|
163
|
-
font-weight: ${
|
|
164
|
-
letter-spacing: ${
|
|
165
|
-
line-height: ${
|
|
166
|
-
text-transform: ${
|
|
167
|
-
}
|
|
168
|
-
`,
|
|
160
|
+
font-family: ${Ui};
|
|
161
|
+
font-size: ${Ii};
|
|
162
|
+
font-weight: ${Wi};
|
|
163
|
+
letter-spacing: ${Li};
|
|
164
|
+
line-height: ${zi};
|
|
165
|
+
text-transform: ${Ki};
|
|
166
|
+
}
|
|
167
|
+
`,wr=Nt`
|
|
169
168
|
.ft-typography--title-dense {
|
|
170
|
-
font-family: ${
|
|
171
|
-
font-size: ${
|
|
172
|
-
font-weight: ${
|
|
173
|
-
letter-spacing: ${
|
|
174
|
-
line-height: ${
|
|
175
|
-
text-transform: ${
|
|
176
|
-
}
|
|
177
|
-
`,
|
|
169
|
+
font-family: ${Zi};
|
|
170
|
+
font-size: ${Fi};
|
|
171
|
+
font-weight: ${Di};
|
|
172
|
+
letter-spacing: ${Bi};
|
|
173
|
+
line-height: ${Ai};
|
|
174
|
+
text-transform: ${Mi};
|
|
175
|
+
}
|
|
176
|
+
`,Sr=Nt`
|
|
178
177
|
.ft-typography--subtitle1 {
|
|
179
|
-
font-family: ${
|
|
180
|
-
font-size: ${
|
|
181
|
-
font-weight: ${
|
|
182
|
-
letter-spacing: ${
|
|
183
|
-
line-height: ${
|
|
184
|
-
text-transform: ${
|
|
185
|
-
}
|
|
186
|
-
`,
|
|
178
|
+
font-family: ${Pi};
|
|
179
|
+
font-size: ${Hi};
|
|
180
|
+
font-weight: ${ji};
|
|
181
|
+
letter-spacing: ${Ti};
|
|
182
|
+
line-height: ${_i};
|
|
183
|
+
text-transform: ${Gi};
|
|
184
|
+
}
|
|
185
|
+
`,Nr=Nt`
|
|
187
186
|
.ft-typography--subtitle2 {
|
|
188
|
-
font-family: ${
|
|
189
|
-
font-size: ${
|
|
190
|
-
font-weight: ${
|
|
191
|
-
letter-spacing: ${
|
|
192
|
-
line-height: ${
|
|
193
|
-
text-transform: ${
|
|
187
|
+
font-family: ${Vi};
|
|
188
|
+
font-size: ${Yi};
|
|
189
|
+
font-weight: ${Ji};
|
|
190
|
+
letter-spacing: ${qi};
|
|
191
|
+
line-height: ${Xi};
|
|
192
|
+
text-transform: ${Qi};
|
|
194
193
|
}
|
|
195
194
|
|
|
196
|
-
|
|
195
|
+
`,$r=Nt`
|
|
197
196
|
.ft-typography--body1 {
|
|
198
|
-
font-family: ${
|
|
199
|
-
font-size: ${
|
|
200
|
-
font-weight: ${
|
|
201
|
-
letter-spacing: ${
|
|
202
|
-
line-height: ${
|
|
203
|
-
text-transform: ${
|
|
204
|
-
}
|
|
205
|
-
|
|
197
|
+
font-family: ${tr.fontFamily};
|
|
198
|
+
font-size: ${tr.fontSize};
|
|
199
|
+
font-weight: ${tr.fontWeight};
|
|
200
|
+
letter-spacing: ${tr.letterSpacing};
|
|
201
|
+
line-height: ${tr.lineHeight};
|
|
202
|
+
text-transform: ${tr.textTransform};
|
|
203
|
+
}
|
|
204
|
+
`,Cr=Nt`
|
|
206
205
|
.ft-typography--body2 {
|
|
207
|
-
font-family: ${
|
|
208
|
-
font-size: ${
|
|
209
|
-
font-weight: ${
|
|
210
|
-
letter-spacing: ${
|
|
211
|
-
line-height: ${
|
|
212
|
-
text-transform: ${
|
|
213
|
-
}
|
|
214
|
-
`,
|
|
206
|
+
font-family: ${er};
|
|
207
|
+
font-size: ${or};
|
|
208
|
+
font-weight: ${ir};
|
|
209
|
+
letter-spacing: ${rr};
|
|
210
|
+
line-height: ${nr};
|
|
211
|
+
text-transform: ${ar};
|
|
212
|
+
}
|
|
213
|
+
`,Er=Nt`
|
|
215
214
|
.ft-typography--caption {
|
|
216
|
-
font-family: ${
|
|
217
|
-
font-size: ${
|
|
218
|
-
font-weight: ${
|
|
219
|
-
letter-spacing: ${
|
|
220
|
-
line-height: ${
|
|
221
|
-
text-transform: ${
|
|
222
|
-
}
|
|
223
|
-
`,
|
|
215
|
+
font-family: ${sr.fontFamily};
|
|
216
|
+
font-size: ${sr.fontSize};
|
|
217
|
+
font-weight: ${sr.fontWeight};
|
|
218
|
+
letter-spacing: ${sr.letterSpacing};
|
|
219
|
+
line-height: ${sr.lineHeight};
|
|
220
|
+
text-transform: ${sr.textTransform};
|
|
221
|
+
}
|
|
222
|
+
`,kr=Nt`
|
|
224
223
|
.ft-typography--breadcrumb {
|
|
225
|
-
font-family: ${
|
|
226
|
-
font-size: ${
|
|
227
|
-
font-weight: ${
|
|
228
|
-
letter-spacing: ${
|
|
229
|
-
line-height: ${
|
|
230
|
-
text-transform: ${
|
|
231
|
-
}
|
|
232
|
-
`,
|
|
224
|
+
font-family: ${lr};
|
|
225
|
+
font-size: ${cr};
|
|
226
|
+
font-weight: ${pr};
|
|
227
|
+
letter-spacing: ${fr};
|
|
228
|
+
line-height: ${dr};
|
|
229
|
+
text-transform: ${hr};
|
|
230
|
+
}
|
|
231
|
+
`,Rr=Nt`
|
|
233
232
|
.ft-typography--overline {
|
|
234
|
-
font-family: ${
|
|
235
|
-
font-size: ${
|
|
236
|
-
font-weight: ${
|
|
237
|
-
letter-spacing: ${
|
|
238
|
-
line-height: ${
|
|
239
|
-
text-transform: ${
|
|
240
|
-
}
|
|
241
|
-
`,
|
|
233
|
+
font-family: ${ur};
|
|
234
|
+
font-size: ${gr};
|
|
235
|
+
font-weight: ${yr};
|
|
236
|
+
letter-spacing: ${br};
|
|
237
|
+
line-height: ${mr};
|
|
238
|
+
text-transform: ${xr};
|
|
239
|
+
}
|
|
240
|
+
`,Ur=Nt`
|
|
242
241
|
.ft-typography--button {
|
|
243
|
-
font-family: ${
|
|
244
|
-
font-size: ${
|
|
245
|
-
font-weight: ${
|
|
246
|
-
letter-spacing: ${
|
|
247
|
-
line-height: ${
|
|
248
|
-
text-transform: ${
|
|
249
|
-
}
|
|
250
|
-
`,
|
|
242
|
+
font-family: ${vr.fontFamily};
|
|
243
|
+
font-size: ${vr.fontSize};
|
|
244
|
+
font-weight: ${vr.fontWeight};
|
|
245
|
+
letter-spacing: ${vr.letterSpacing};
|
|
246
|
+
line-height: ${vr.lineHeight};
|
|
247
|
+
text-transform: ${vr.textTransform};
|
|
248
|
+
}
|
|
249
|
+
`,Ir=Nt`
|
|
251
250
|
.ft-typography {
|
|
252
251
|
vertical-align: inherit;
|
|
253
252
|
}
|
|
254
|
-
`,
|
|
255
|
-
.ft-typography--${
|
|
253
|
+
`,Wr=[Object.keys(ke).map((t=>function(t){const e=ke[t];return Nt`
|
|
254
|
+
.ft-typography--${St(t)} {
|
|
256
255
|
font-family: ${e.fontFamily};
|
|
257
256
|
font-size: ${e.fontSize};
|
|
258
257
|
font-weight: ${e.fontWeight};
|
|
@@ -260,32 +259,32 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
260
259
|
line-height: ${e.lineHeight};
|
|
261
260
|
text-transform: ${e.textCase};
|
|
262
261
|
}
|
|
263
|
-
`}(t)))];var
|
|
264
|
-
<${
|
|
262
|
+
`}(t)))];var Lr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class zr extends Po{constructor(){super(...arguments),this.variant=Ci.body1}render(){return this.element?$i`
|
|
263
|
+
<${Si(this.element)}
|
|
265
264
|
class="ft-typography ft-typography--${this.variant}">
|
|
266
265
|
<slot></slot>
|
|
267
|
-
</${
|
|
268
|
-
|
|
266
|
+
</${Si(this.element)}>
|
|
267
|
+
`:$i`
|
|
269
268
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
270
|
-
`}}
|
|
269
|
+
`}}zr.styles=[Or,wr,Sr,Nr,$r,Cr,Er,kr,Rr,Ur,Ir,...Wr],Lr([$()],zr.prototype,"element",void 0),Lr([$()],zr.prototype,"variant",void 0),W("ft-typography")(zr);const Kr={fontSize:$e.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:$e.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:$e.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:$e.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:$e.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:$e.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:$e.extend("--ft-input-label-border-color","",Ie.colorOutline),textColor:$e.extend("--ft-input-label-text-color","",Ie.colorOnSurfaceMedium),disabledTextColor:$e.extend("--ft-input-label-disabled-text-color","",Ie.colorOnSurfaceDisabled),colorSurface:$e.external(Ie.colorSurface,"Design system"),borderRadiusS:$e.external(Ie.borderRadiusS,"Design system"),colorError:$e.external(Ie.colorError,"Design system")},Zr=Nt`
|
|
271
270
|
.ft-input-label {
|
|
272
271
|
position: absolute;
|
|
273
272
|
inset: 0;
|
|
274
273
|
display: flex;
|
|
275
|
-
background-color: ${
|
|
276
|
-
border-radius: ${
|
|
274
|
+
background-color: ${Kr.colorSurface};
|
|
275
|
+
border-radius: ${Kr.borderRadiusS} ${Kr.borderRadiusS} 0 0;
|
|
277
276
|
}
|
|
278
277
|
|
|
279
278
|
.ft-input-label--outlined {
|
|
280
|
-
border-radius: ${
|
|
279
|
+
border-radius: ${Kr.borderRadiusS};
|
|
281
280
|
}
|
|
282
281
|
|
|
283
282
|
.ft-input-label {
|
|
284
|
-
border-color: ${
|
|
283
|
+
border-color: ${Kr.borderColor};
|
|
285
284
|
}
|
|
286
285
|
|
|
287
286
|
.ft-input-label.ft-input-label--in-error {
|
|
288
|
-
border-color: ${
|
|
287
|
+
border-color: ${Kr.colorError}
|
|
289
288
|
}
|
|
290
289
|
|
|
291
290
|
.ft-input-label:before,
|
|
@@ -298,7 +297,7 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
298
297
|
}
|
|
299
298
|
|
|
300
299
|
.ft-input-label:before {
|
|
301
|
-
width: calc(${
|
|
300
|
+
width: calc(${Kr.horizontalSpacing} - 4px);
|
|
302
301
|
flex-shrink: 0;
|
|
303
302
|
}
|
|
304
303
|
|
|
@@ -314,20 +313,20 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
314
313
|
border-bottom-width: 1px;
|
|
315
314
|
border-bottom-style: solid;
|
|
316
315
|
border-color: inherit;
|
|
317
|
-
color: ${
|
|
316
|
+
color: ${Kr.textColor};
|
|
318
317
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
319
|
-
max-width: calc(${
|
|
318
|
+
max-width: calc(${Kr.labelMaxWidth} - 2 * (${Kr.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
320
319
|
text-overflow: ellipsis;
|
|
321
|
-
${
|
|
322
|
-
${
|
|
320
|
+
${Ce(sr.fontSize,Kr.fontSize)};
|
|
321
|
+
${Ce(sr.lineHeight,Kr.fontSize)};
|
|
323
322
|
}
|
|
324
323
|
|
|
325
324
|
.ft-input-label--in-error .ft-input-label--text {
|
|
326
|
-
color: ${
|
|
325
|
+
color: ${Kr.colorError}
|
|
327
326
|
}
|
|
328
327
|
|
|
329
328
|
.ft-input-label--disabled .ft-input-label--text {
|
|
330
|
-
color: ${
|
|
329
|
+
color: ${Kr.disabledTextColor};
|
|
331
330
|
}
|
|
332
331
|
|
|
333
332
|
.ft-input-label--hidden-text {
|
|
@@ -344,19 +343,19 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
344
343
|
overflow: hidden;
|
|
345
344
|
white-space: nowrap;
|
|
346
345
|
text-overflow: ellipsis;
|
|
347
|
-
padding: ${
|
|
348
|
-
margin: calc(${
|
|
346
|
+
padding: ${Kr.verticalSpacing} 4px;
|
|
347
|
+
margin: calc(${Kr.verticalSpacing} * -1) 0;
|
|
349
348
|
max-width: 100%;
|
|
350
349
|
box-sizing: border-box;
|
|
351
350
|
}
|
|
352
351
|
|
|
353
352
|
.ft-input-label--raised .ft-input-label--text {
|
|
354
|
-
${
|
|
355
|
-
${
|
|
353
|
+
${Ce(sr.fontSize,Kr.raisedFontSize)};
|
|
354
|
+
${Ce(sr.lineHeight,Kr.raisedFontSize)};
|
|
356
355
|
}
|
|
357
356
|
|
|
358
357
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
359
|
-
top: ${
|
|
358
|
+
top: ${Kr.verticalSpacing};
|
|
360
359
|
}
|
|
361
360
|
|
|
362
361
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -369,36 +368,36 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
369
368
|
.ft-input-label--outlined:before {
|
|
370
369
|
border-left-width: 1px;
|
|
371
370
|
border-left-style: solid;
|
|
372
|
-
border-radius: ${
|
|
371
|
+
border-radius: ${Kr.borderRadiusS} 0 0 ${Kr.borderRadiusS};
|
|
373
372
|
}
|
|
374
373
|
|
|
375
374
|
.ft-input-label--outlined:after {
|
|
376
375
|
border-right-width: 1px;
|
|
377
376
|
border-right-style: solid;
|
|
378
|
-
border-radius: 0 ${
|
|
377
|
+
border-radius: 0 ${Kr.borderRadiusS} ${Kr.borderRadiusS} 0;
|
|
379
378
|
}
|
|
380
379
|
|
|
381
380
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
382
381
|
padding: 2px 4px;
|
|
383
|
-
z-index: ${
|
|
384
|
-
background-color: ${
|
|
385
|
-
border-radius: ${
|
|
382
|
+
z-index: ${Kr.raisedZIndex};
|
|
383
|
+
background-color: ${Kr.colorSurface};
|
|
384
|
+
border-radius: ${Kr.borderRadiusS};
|
|
386
385
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
387
386
|
}
|
|
388
387
|
|
|
389
388
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
390
389
|
border-top: none;
|
|
391
390
|
}
|
|
392
|
-
`;var
|
|
393
|
-
<div class="${
|
|
394
|
-
${this.text?
|
|
391
|
+
`;var Fr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Dr extends Po{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return ae`
|
|
392
|
+
<div class="${vi(t)}">
|
|
393
|
+
${this.text?ae`
|
|
395
394
|
<div class="ft-input-label--text ft-typography--caption">
|
|
396
395
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
397
396
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
398
397
|
</div>
|
|
399
398
|
`:null}
|
|
400
399
|
</div>
|
|
401
|
-
`}}
|
|
400
|
+
`}}Dr.elementDefinitions={},Dr.styles=[Er,Zr],Fr([$({type:String})],Dr.prototype,"text",void 0),Fr([$({type:Boolean})],Dr.prototype,"raised",void 0),Fr([$({type:Boolean})],Dr.prototype,"outlined",void 0),Fr([$({type:Boolean})],Dr.prototype,"disabled",void 0),Fr([$({type:Boolean})],Dr.prototype,"error",void 0),W("ft-input-label")(Dr);const Br=$e.extend("--ft-ripple-color","",Ie.colorContent),Ar={color:Br,backgroundColor:$e.extend("--ft-ripple-background-color","",Br),opacityContentOnSurfacePressed:$e.external(Ie.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:$e.external(Ie.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:$e.external(Ie.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:$e.external(Ie.opacityContentOnSurfaceSelected,"Design system"),borderRadius:$e.create("--ft-ripple-border-radius","","SIZE","0px")},Mr=$e.extend("--ft-ripple-color","",Ie.colorPrimary),Pr=Mr,Hr=$e.extend("--ft-ripple-background-color","",Mr),jr=$e.extend("--ft-ripple-color","",Ie.colorSecondary),Tr=jr,_r=$e.extend("--ft-ripple-background-color","",jr),Gr=Nt`
|
|
402
401
|
:host {
|
|
403
402
|
display: contents;
|
|
404
403
|
}
|
|
@@ -411,7 +410,7 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
411
410
|
|
|
412
411
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
413
412
|
overflow: hidden;
|
|
414
|
-
border-radius: ${
|
|
413
|
+
border-radius: ${Ar.borderRadius};
|
|
415
414
|
}
|
|
416
415
|
|
|
417
416
|
.ft-ripple .ft-ripple--background,
|
|
@@ -445,27 +444,27 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
445
444
|
}
|
|
446
445
|
|
|
447
446
|
.ft-ripple .ft-ripple--background {
|
|
448
|
-
background-color: ${
|
|
447
|
+
background-color: ${Ar.backgroundColor};
|
|
449
448
|
}
|
|
450
449
|
|
|
451
450
|
.ft-ripple .ft-ripple--effect {
|
|
452
|
-
background-color: ${
|
|
451
|
+
background-color: ${Ar.color};
|
|
453
452
|
}
|
|
454
453
|
|
|
455
454
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
456
|
-
background-color: ${
|
|
455
|
+
background-color: ${_r};
|
|
457
456
|
}
|
|
458
457
|
|
|
459
458
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
460
|
-
background-color: ${
|
|
459
|
+
background-color: ${Tr};
|
|
461
460
|
}
|
|
462
461
|
|
|
463
462
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
464
|
-
background-color: ${
|
|
463
|
+
background-color: ${Hr};
|
|
465
464
|
}
|
|
466
465
|
|
|
467
466
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
468
|
-
background-color: ${
|
|
467
|
+
background-color: ${Pr};
|
|
469
468
|
}
|
|
470
469
|
|
|
471
470
|
.ft-ripple .ft-ripple--background {
|
|
@@ -495,33 +494,33 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
495
494
|
}
|
|
496
495
|
|
|
497
496
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
498
|
-
opacity: ${
|
|
497
|
+
opacity: ${Ar.opacityContentOnSurfaceHover};
|
|
499
498
|
}
|
|
500
499
|
|
|
501
500
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
502
|
-
opacity: ${
|
|
501
|
+
opacity: ${Ar.opacityContentOnSurfaceSelected};
|
|
503
502
|
}
|
|
504
503
|
|
|
505
504
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
506
|
-
opacity: ${
|
|
505
|
+
opacity: ${Ar.opacityContentOnSurfaceFocused};
|
|
507
506
|
}
|
|
508
507
|
|
|
509
508
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
510
|
-
opacity: ${
|
|
509
|
+
opacity: ${Ar.opacityContentOnSurfacePressed};
|
|
511
510
|
transform: translate(-50%, -50%) scale(1);
|
|
512
511
|
}
|
|
513
|
-
`;var
|
|
512
|
+
`;var Vr,Yr,Jr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class qr extends Po{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{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 ae`
|
|
514
513
|
<style>
|
|
515
514
|
.ft-ripple .ft-ripple--effect {
|
|
516
515
|
left: ${this.originX}px;
|
|
517
516
|
top: ${this.originY}px;
|
|
518
517
|
}
|
|
519
518
|
</style>
|
|
520
|
-
<div class="${
|
|
519
|
+
<div class="${vi(t)}">
|
|
521
520
|
<div class="ft-ripple--background"></div>
|
|
522
521
|
<div class="ft-ripple--effect"></div>
|
|
523
522
|
</div>
|
|
524
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.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,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("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",o,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",o,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 e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.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 e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Jr.elementDefinitions={},Jr.styles=_r,Yr([$({type:Boolean})],Jr.prototype,"primary",void 0),Yr([$({type:Boolean})],Jr.prototype,"secondary",void 0),Yr([$({type:Boolean})],Jr.prototype,"unbounded",void 0),Yr([$({type:Boolean})],Jr.prototype,"activated",void 0),Yr([$({type:Boolean})],Jr.prototype,"selected",void 0),Yr([$({type:Boolean})],Jr.prototype,"disabled",void 0),Yr([C()],Jr.prototype,"hovered",void 0),Yr([C()],Jr.prototype,"focused",void 0),Yr([C()],Jr.prototype,"pressed",void 0),Yr([C()],Jr.prototype,"rippling",void 0),Yr([C()],Jr.prototype,"originX",void 0),Yr([C()],Jr.prototype,"originY",void 0),Yr([R(".ft-ripple")],Jr.prototype,"ripple",void 0),Yr([R(".ft-ripple--effect")],Jr.prototype,"rippleEffect",void 0),W("ft-ripple")(Jr),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=""}(Gr||(Gr={})),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=""}(Vr||(Vr={})),new Map([...["abw"].map((t=>[t,Vr.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,Vr.AUDIO])),...["avi"].map((t=>[t,Vr.AVI])),...["chm","xhs"].map((t=>[t,Vr.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,Vr.CODE])),...["csv"].map((t=>[t,Vr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Vr.DITA])),...["epub"].map((t=>[t,Vr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Vr.EXCEL])),...["flac"].map((t=>[t,Vr.FLAC])),...["gif"].map((t=>[t,Vr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Vr.GZIP])),...["html","htm","xhtml"].map((t=>[t,Vr.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,Vr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Vr.JPEG])),...["json"].map((t=>[t,Vr.JSON])),...["m4a","m4p"].map((t=>[t,Vr.M4A])),...["mov","qt"].map((t=>[t,Vr.MOV])),...["mp3"].map((t=>[t,Vr.MP3])),...["mp4","m4v"].map((t=>[t,Vr.MP4])),...["ogg","oga"].map((t=>[t,Vr.OGG])),...["pdf","ps"].map((t=>[t,Vr.PDF])),...["png"].map((t=>[t,Vr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Vr.POWERPOINT])),...["rar"].map((t=>[t,Vr.RAR])),...["stp"].map((t=>[t,Vr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Vr.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,Vr.VIDEO])),...["wav"].map((t=>[t,Vr.WAV])),...["wma"].map((t=>[t,Vr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Vr.WORD])),...["xml","xsl","rdf"].map((t=>[t,Vr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Vr.YAML])),...["zip"].map((t=>[t,Vr.ZIP]))]),Vr.ABW,Vr.AUDIO,Vr.AVI,Vr.CHM,Vr.CODE,Vr.CSV,Vr.DITA,Vr.EPUB,Vr.EXCEL,Vr.FLAC,Vr.GIF,Vr.GZIP,Vr.HTML,Vr.IMAGE,Vr.JPEG,Vr.JSON,Vr.M4A,Vr.MOV,Vr.MP3,Vr.MP4,Vr.OGG,Vr.PDF,Vr.PNG,Vr.POWERPOINT,Vr.RAR,Vr.STP,Vr.TEXT,Vr.UNKNOWN,Vr.VIDEO,Vr.WAV,Vr.WMA,Vr.WORD,Vr.XML,Vr.YAML,Vr.ZIP;const qr={size:Ne.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ne.extend("--ft-icon-fluid-topics-font-family","",Ne.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ne.extend("--ft-icon-file-format-font-family","",Ne.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ne.extend("--ft-icon-material-font-family","",Ne.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ne.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Xr=St`
|
|
523
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.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,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("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",o,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",o,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 e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.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 e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}qr.elementDefinitions={},qr.styles=Gr,Jr([$({type:Boolean})],qr.prototype,"primary",void 0),Jr([$({type:Boolean})],qr.prototype,"secondary",void 0),Jr([$({type:Boolean})],qr.prototype,"unbounded",void 0),Jr([$({type:Boolean})],qr.prototype,"activated",void 0),Jr([$({type:Boolean})],qr.prototype,"selected",void 0),Jr([$({type:Boolean})],qr.prototype,"disabled",void 0),Jr([C()],qr.prototype,"hovered",void 0),Jr([C()],qr.prototype,"focused",void 0),Jr([C()],qr.prototype,"pressed",void 0),Jr([C()],qr.prototype,"rippling",void 0),Jr([C()],qr.prototype,"originX",void 0),Jr([C()],qr.prototype,"originY",void 0),Jr([R(".ft-ripple")],qr.prototype,"ripple",void 0),Jr([R(".ft-ripple--effect")],qr.prototype,"rippleEffect",void 0),W("ft-ripple")(qr),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=""}(Vr||(Vr={})),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=""}(Yr||(Yr={})),new Map([...["abw"].map((t=>[t,Yr.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,Yr.AUDIO])),...["avi"].map((t=>[t,Yr.AVI])),...["chm","xhs"].map((t=>[t,Yr.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,Yr.CODE])),...["csv"].map((t=>[t,Yr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Yr.DITA])),...["epub"].map((t=>[t,Yr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Yr.EXCEL])),...["flac"].map((t=>[t,Yr.FLAC])),...["gif"].map((t=>[t,Yr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Yr.GZIP])),...["html","htm","xhtml"].map((t=>[t,Yr.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,Yr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Yr.JPEG])),...["json"].map((t=>[t,Yr.JSON])),...["m4a","m4p"].map((t=>[t,Yr.M4A])),...["mov","qt"].map((t=>[t,Yr.MOV])),...["mp3"].map((t=>[t,Yr.MP3])),...["mp4","m4v"].map((t=>[t,Yr.MP4])),...["ogg","oga"].map((t=>[t,Yr.OGG])),...["pdf","ps"].map((t=>[t,Yr.PDF])),...["png"].map((t=>[t,Yr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Yr.POWERPOINT])),...["rar"].map((t=>[t,Yr.RAR])),...["stp"].map((t=>[t,Yr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Yr.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,Yr.VIDEO])),...["wav"].map((t=>[t,Yr.WAV])),...["wma"].map((t=>[t,Yr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Yr.WORD])),...["xml","xsl","rdf"].map((t=>[t,Yr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Yr.YAML])),...["zip"].map((t=>[t,Yr.ZIP]))]),Yr.ABW,Yr.AUDIO,Yr.AVI,Yr.CHM,Yr.CODE,Yr.CSV,Yr.DITA,Yr.EPUB,Yr.EXCEL,Yr.FLAC,Yr.GIF,Yr.GZIP,Yr.HTML,Yr.IMAGE,Yr.JPEG,Yr.JSON,Yr.M4A,Yr.MOV,Yr.MP3,Yr.MP4,Yr.OGG,Yr.PDF,Yr.PNG,Yr.POWERPOINT,Yr.RAR,Yr.STP,Yr.TEXT,Yr.UNKNOWN,Yr.VIDEO,Yr.WAV,Yr.WMA,Yr.WORD,Yr.XML,Yr.YAML,Yr.ZIP;const Xr={size:$e.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:$e.extend("--ft-icon-fluid-topics-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:$e.extend("--ft-icon-file-format-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:$e.extend("--ft-icon-material-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:$e.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Qr=Nt`
|
|
525
524
|
:host, i.ft-icon {
|
|
526
525
|
display: inline-flex;
|
|
527
526
|
align-items: center;
|
|
@@ -530,14 +529,14 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
530
529
|
}
|
|
531
530
|
|
|
532
531
|
:host {
|
|
533
|
-
width: ${
|
|
534
|
-
height: ${
|
|
532
|
+
width: ${Xr.size};
|
|
533
|
+
height: ${Xr.size};
|
|
535
534
|
}
|
|
536
535
|
|
|
537
536
|
i.ft-icon {
|
|
538
537
|
width: 100%;
|
|
539
538
|
height: 100%;
|
|
540
|
-
font-size: ${
|
|
539
|
+
font-size: ${Xr.size};
|
|
541
540
|
line-height: 1;
|
|
542
541
|
font-weight: normal;
|
|
543
542
|
text-transform: none;
|
|
@@ -548,33 +547,33 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
548
547
|
text-rendering: auto;
|
|
549
548
|
-webkit-font-smoothing: antialiased;
|
|
550
549
|
-moz-osx-font-smoothing: grayscale;
|
|
551
|
-
vertical-align: ${
|
|
550
|
+
vertical-align: ${Xr.verticalAlign};
|
|
552
551
|
}
|
|
553
552
|
|
|
554
553
|
i.ft-icon.ft-icon--fluid-topics {
|
|
555
|
-
font-family: ${
|
|
554
|
+
font-family: ${Xr.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
556
555
|
|
|
557
556
|
/* Ugly fix because font is broken */
|
|
558
|
-
font-size: calc(0.75 * ${
|
|
559
|
-
line-height: ${
|
|
557
|
+
font-size: calc(0.75 * ${Xr.size});
|
|
558
|
+
line-height: ${Xr.size};
|
|
560
559
|
position: relative;
|
|
561
560
|
top: -4%;
|
|
562
561
|
justify-content: center;
|
|
563
562
|
}
|
|
564
563
|
|
|
565
564
|
.ft-icon--file-format {
|
|
566
|
-
font-family: ${
|
|
565
|
+
font-family: ${Xr.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
567
566
|
}
|
|
568
567
|
|
|
569
568
|
.ft-icon--material {
|
|
570
|
-
font-family: ${
|
|
569
|
+
font-family: ${Xr.materialFontFamily}, "Material Icons", sans-serif;
|
|
571
570
|
}
|
|
572
|
-
`;var
|
|
571
|
+
`;var tn;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(tn||(tn={}));var en=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class on extends Po{constructor(){super(...arguments),this.resolvedIcon=le}render(){const t=this.variant&&Object.values(tn).includes(this.variant)?this.variant:tn.fluid_topics,e=t!==tn.material||!!this.value;return ae`
|
|
573
572
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
574
|
-
${
|
|
573
|
+
${xi(this.resolvedIcon)}
|
|
575
574
|
<slot ?hidden=${e}></slot>
|
|
576
575
|
</i>
|
|
577
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case
|
|
576
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case tn.file_format:this.resolvedIcon=null!==(t=Yr[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case tn.material:this.resolvedIcon=this.value||le;break;default:this.resolvedIcon=null!==(e=Vr[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}on.elementDefinitions={},on.styles=Qr,en([$()],on.prototype,"variant",void 0),en([$()],on.prototype,"value",void 0),en([C()],on.prototype,"resolvedIcon",void 0),en([R("slot")],on.prototype,"slottedContent",void 0),W("ft-icon")(on);const rn={labelSize:$e.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:$e.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:$e.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:$e.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:$e.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:$e.extend("--ft-select-selected-option-color","",Ie.colorOnSurface),helperColor:$e.extend("--ft-select-helper-color","",Ie.colorOnSurfaceMedium),optionsColor:$e.extend("--ft-select-options-color","",Ie.colorOnSurface),optionsZIndex:$e.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:$e.external(Ie.colorSurface,"Design system"),colorOnSurfaceDisabled:$e.external(Ie.colorOnSurfaceDisabled,"Design system"),colorPrimary:$e.external(Ie.colorPrimary,"Design system"),borderRadiusS:$e.external(Ie.borderRadiusS,"Design system"),elevation02:$e.external(Ie.elevation02,"Design system"),colorError:$e.external(Ie.colorError,"Design system")},nn=Nt`
|
|
578
577
|
*:focus {
|
|
579
578
|
outline: none;
|
|
580
579
|
}
|
|
@@ -588,7 +587,7 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
588
587
|
.ft-select--main-panel {
|
|
589
588
|
position: relative;
|
|
590
589
|
display: flex;
|
|
591
|
-
height: calc(4 * ${
|
|
590
|
+
height: calc(4 * ${rn.verticalSpacing} + ${rn.labelSize} + ${rn.selectedOptionSize});
|
|
592
591
|
}
|
|
593
592
|
|
|
594
593
|
.ft-select--input-panel {
|
|
@@ -597,17 +596,17 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
597
596
|
display: flex;
|
|
598
597
|
align-items: center;
|
|
599
598
|
overflow: hidden;
|
|
600
|
-
padding-left: ${
|
|
601
|
-
padding-right: ${
|
|
599
|
+
padding-left: ${rn.horizontalSpacing};
|
|
600
|
+
padding-right: ${rn.horizontalSpacing};
|
|
602
601
|
gap: 8px;
|
|
603
|
-
color: ${
|
|
604
|
-
${
|
|
602
|
+
color: ${rn.selectedOptionColor};
|
|
603
|
+
${Ce(Ar.color,rn.selectedOptionColor)};
|
|
605
604
|
}
|
|
606
605
|
|
|
607
606
|
.ft-select--input-panel,
|
|
608
607
|
.ft-select--option {
|
|
609
|
-
${
|
|
610
|
-
${
|
|
608
|
+
${Ce(Ar.opacityContentOnSurfaceHover,"0.08")};
|
|
609
|
+
${Ce(Ar.opacityContentOnSurfacePressed,"0.04")};
|
|
611
610
|
}
|
|
612
611
|
|
|
613
612
|
.ft-select--input-panel > *:not(ft-ripple),
|
|
@@ -617,7 +616,7 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
617
616
|
|
|
618
617
|
.ft-select--disabled .ft-select--input-panel,
|
|
619
618
|
.ft-select--disabled .ft-select--option {
|
|
620
|
-
color: ${
|
|
619
|
+
color: ${rn.colorOnSurfaceDisabled};
|
|
621
620
|
}
|
|
622
621
|
|
|
623
622
|
.ft-select:not(.ft-select--disabled) .ft-select--input-panel,
|
|
@@ -626,20 +625,20 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
626
625
|
}
|
|
627
626
|
|
|
628
627
|
ft-input-label {
|
|
629
|
-
${
|
|
630
|
-
${
|
|
631
|
-
${
|
|
632
|
-
${
|
|
633
|
-
${
|
|
628
|
+
${Ce(Kr.fontSize,rn.selectedOptionSize)};
|
|
629
|
+
${Ce(Kr.raisedFontSize,rn.labelSize)};
|
|
630
|
+
${Ce(Kr.verticalSpacing,rn.verticalSpacing)};
|
|
631
|
+
${Ce(Kr.horizontalSpacing,rn.horizontalSpacing)};
|
|
632
|
+
${Ce(Kr.labelMaxWidth,`calc(100% - ${Xr.size} - 8px)`)};
|
|
634
633
|
}
|
|
635
634
|
|
|
636
635
|
.ft-select:not(.ft-select--disabled):focus-within ft-icon {
|
|
637
|
-
color: ${
|
|
636
|
+
color: ${rn.colorPrimary};
|
|
638
637
|
}
|
|
639
638
|
|
|
640
639
|
.ft-select:not(.ft-select--disabled):focus-within ft-input-label {
|
|
641
|
-
${
|
|
642
|
-
${
|
|
640
|
+
${Ce(Kr.borderColor,rn.colorPrimary)};
|
|
641
|
+
${Ce(Kr.textColor,rn.colorPrimary)};
|
|
643
642
|
}
|
|
644
643
|
|
|
645
644
|
.ft-select--selected-option {
|
|
@@ -649,12 +648,12 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
649
648
|
overflow: hidden;
|
|
650
649
|
white-space: nowrap;
|
|
651
650
|
text-overflow: ellipsis;
|
|
652
|
-
${
|
|
653
|
-
${
|
|
651
|
+
${Ce(tr.fontSize,rn.selectedOptionSize)};
|
|
652
|
+
${Ce(tr.lineHeight,rn.selectedOptionSize)};
|
|
654
653
|
}
|
|
655
654
|
|
|
656
655
|
.ft-select--in-error .ft-select--selected-option {
|
|
657
|
-
color: ${
|
|
656
|
+
color: ${rn.colorError};
|
|
658
657
|
}
|
|
659
658
|
|
|
660
659
|
ft-icon {
|
|
@@ -666,16 +665,16 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
666
665
|
}
|
|
667
666
|
|
|
668
667
|
.ft-select--filled .ft-select--input-panel {
|
|
669
|
-
border-radius: ${
|
|
668
|
+
border-radius: ${rn.borderRadiusS} ${rn.borderRadiusS} 0 0;
|
|
670
669
|
}
|
|
671
670
|
|
|
672
671
|
.ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
|
|
673
672
|
align-self: stretch;
|
|
674
|
-
padding-top: calc(${
|
|
673
|
+
padding-top: calc(${rn.labelSize} + 2 * ${rn.verticalSpacing});
|
|
675
674
|
}
|
|
676
675
|
|
|
677
676
|
.ft-select--outlined .ft-select--input-panel {
|
|
678
|
-
border-radius: ${
|
|
677
|
+
border-radius: ${rn.borderRadiusS};
|
|
679
678
|
}
|
|
680
679
|
|
|
681
680
|
.ft-select--options {
|
|
@@ -684,10 +683,10 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
684
683
|
top: 100%;
|
|
685
684
|
left: 0;
|
|
686
685
|
right: 0;
|
|
687
|
-
color: ${
|
|
688
|
-
background: ${
|
|
689
|
-
z-index: ${
|
|
690
|
-
box-shadow: ${
|
|
686
|
+
color: ${rn.optionsColor};
|
|
687
|
+
background: ${rn.colorSurface};
|
|
688
|
+
z-index: ${rn.optionsZIndex};
|
|
689
|
+
box-shadow: ${rn.elevation02};
|
|
691
690
|
}
|
|
692
691
|
|
|
693
692
|
.ft-select--fixed .ft-select--options {
|
|
@@ -698,13 +697,13 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
698
697
|
|
|
699
698
|
.ft-select--options-displayed .ft-select--options {
|
|
700
699
|
display: block;
|
|
701
|
-
max-height: ${
|
|
700
|
+
max-height: ${rn.optionsHeight};
|
|
702
701
|
overflow-y: auto;
|
|
703
702
|
}
|
|
704
703
|
|
|
705
704
|
.ft-select--option {
|
|
706
705
|
position: relative;
|
|
707
|
-
padding: 4px ${
|
|
706
|
+
padding: 4px ${rn.horizontalSpacing};
|
|
708
707
|
min-height: 32px;
|
|
709
708
|
display: flex;
|
|
710
709
|
align-items: center;
|
|
@@ -716,15 +715,15 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
716
715
|
}
|
|
717
716
|
|
|
718
717
|
.ft-select--helper-text {
|
|
719
|
-
padding: 0 ${
|
|
720
|
-
color: ${
|
|
718
|
+
padding: 0 ${rn.horizontalSpacing};
|
|
719
|
+
color: ${rn.helperColor};
|
|
721
720
|
}
|
|
722
721
|
|
|
723
722
|
.ft-select--in-error .ft-select--helper-text {
|
|
724
|
-
color: ${
|
|
723
|
+
color: ${rn.colorError};
|
|
725
724
|
}
|
|
726
|
-
`;var
|
|
727
|
-
<div class="${
|
|
725
|
+
`;var an=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class sn extends Po{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ae``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}sn.elementDefinitions={},an([$({type:String})],sn.prototype,"label",void 0),an([$({type:Object,converter:t=>t})],sn.prototype,"value",void 0),an([$({type:Boolean,reflect:!0})],sn.prototype,"selected",void 0);class ln extends Po{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,i,r;let n=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const s=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,l={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":n,"ft-select--has-option-selected":s,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return ae`
|
|
726
|
+
<div class="${vi(l)}" part="container">
|
|
728
727
|
<div class="ft-select--main-panel" part="main-panel">
|
|
729
728
|
<ft-input-label text="${this.label}"
|
|
730
729
|
part="label"
|
|
@@ -751,18 +750,18 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
751
750
|
part="options"
|
|
752
751
|
@keydown=${this.onOptionsKeyDown}
|
|
753
752
|
innerrole="listbox">
|
|
754
|
-
${
|
|
753
|
+
${bi(this.options,(t=>t.value),(t=>this.renderOption(t)))}
|
|
755
754
|
</div>
|
|
756
755
|
</div>
|
|
757
|
-
${this.helper?
|
|
756
|
+
${this.helper?ae`
|
|
758
757
|
<ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
|
|
759
758
|
</ft-typography>`:void 0}
|
|
760
759
|
</div>
|
|
761
760
|
<slot @slotchange=${this.updateOptionsFromSlot}
|
|
762
761
|
@option-change=${this.updateOptionsFromSlot}
|
|
763
762
|
></slot>
|
|
764
|
-
`}renderOption(t){let e=this.selectedOption===t;return
|
|
765
|
-
<div class="${
|
|
763
|
+
`}renderOption(t){let e=this.selectedOption===t;return ae`
|
|
764
|
+
<div class="${vi({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
|
|
766
765
|
part="option"
|
|
767
766
|
tabindex="0"
|
|
768
767
|
data-value="${t.value}"
|
|
@@ -771,13 +770,13 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
771
770
|
<ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
|
|
772
771
|
<span>${t.label}</span>
|
|
773
772
|
</div>
|
|
774
|
-
`}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!I(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}
|
|
773
|
+
`}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!I(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}ln.elementDefinitions={"ft-input-label":Dr,"ft-typography":zr,"ft-ripple":qr,"ft-icon":on},ln.styles=[Cr,Er,nn],an([$({type:String})],ln.prototype,"label",void 0),an([$({type:String})],ln.prototype,"helper",void 0),an([$({type:Boolean})],ln.prototype,"outlined",void 0),an([$({type:Boolean})],ln.prototype,"disabled",void 0),an([$({type:Boolean})],ln.prototype,"error",void 0),an([$({type:Boolean})],ln.prototype,"fixedMenuPosition",void 0),an([$({type:Array})],ln.prototype,"options",void 0),an([C()],ln.prototype,"selectedOption",void 0),an([C()],ln.prototype,"optionsDisplayed",void 0),an([C()],ln.prototype,"focusOptions",void 0),an([R(".ft-select")],ln.prototype,"container",void 0),an([R(".ft-select--options")],ln.prototype,"optionsMenu",void 0),an([R(".ft-select--input-panel")],ln.prototype,"mainPanel",void 0),an([R(".ft-select--option:first-child")],ln.prototype,"firstOption",void 0),an([R(".ft-select--option:focus")],ln.prototype,"focusedOption",void 0),an([R(".ft-select--option.ft-select--option-selected")],ln.prototype,"selectedOptionElement",void 0),an([R(".ft-select--option:last-child")],ln.prototype,"lastOption",void 0),an([R("slot")],ln.prototype,"optionsSlot",void 0),W("ft-select")(ln),W("ft-select-option")(sn);
|
|
775
774
|
/**
|
|
776
775
|
* @license
|
|
777
776
|
* Copyright 2018 Google LLC
|
|
778
777
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
779
778
|
*/
|
|
780
|
-
const
|
|
779
|
+
const cn={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:$e.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:$e.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:$e.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:$e.extend("--ft-text-field-helper-color","",Ie.colorOnSurfaceMedium),colorPrimary:$e.external(Ie.colorPrimary,"Design system"),colorOnSurface:$e.external(Ie.colorOnSurface,"Design system"),colorOnSurfaceDisabled:$e.external(Ie.colorOnSurfaceDisabled,"Design system"),borderRadiusS:$e.external(Ie.borderRadiusS,"Design system"),colorError:$e.external(Ie.colorError,"Design system"),prefixColor:$e.extend("--ft-text-field-prefix-color","",Ie.colorOnSurfaceMedium),iconColor:$e.extend("--ft-text-field-icon-color","",Ie.colorOnSurfaceMedium),floatingZIndex:$e.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:$e.external(Ie.colorSurface,"Design system"),colorOutline:$e.external(Ie.colorOutline,"Design system"),elevation02:$e.external(Ie.elevation02,"Design system"),suggestSize:$e.create("--ft-text-field-suggest-size","","SIZE","300px")},pn=Nt`
|
|
781
780
|
*:focus {
|
|
782
781
|
outline: none;
|
|
783
782
|
}
|
|
@@ -790,16 +789,16 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
790
789
|
}
|
|
791
790
|
|
|
792
791
|
ft-input-label {
|
|
793
|
-
${
|
|
794
|
-
${
|
|
795
|
-
${
|
|
796
|
-
${
|
|
792
|
+
${Ce(Kr.fontSize,cn.fontSize)};
|
|
793
|
+
${Ce(Kr.raisedFontSize,cn.labelSize)};
|
|
794
|
+
${Ce(Kr.verticalSpacing,cn.verticalSpacing)};
|
|
795
|
+
${Ce(Kr.horizontalSpacing,cn.horizontalSpacing)};
|
|
797
796
|
}
|
|
798
797
|
|
|
799
798
|
.ft-text-field--main-panel {
|
|
800
799
|
position: relative;
|
|
801
800
|
display: flex;
|
|
802
|
-
height: calc(4 * ${
|
|
801
|
+
height: calc(4 * ${cn.verticalSpacing} + ${cn.labelSize} + ${cn.fontSize});
|
|
803
802
|
}
|
|
804
803
|
|
|
805
804
|
.ft-text-field--input-panel {
|
|
@@ -808,24 +807,24 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
808
807
|
display: flex;
|
|
809
808
|
align-items: center;
|
|
810
809
|
overflow: hidden;
|
|
811
|
-
padding: 0 ${
|
|
810
|
+
padding: 0 ${cn.horizontalSpacing};
|
|
812
811
|
|
|
813
|
-
${
|
|
814
|
-
${
|
|
812
|
+
${Ce(tr.fontSize,cn.fontSize)};
|
|
813
|
+
${Ce(tr.lineHeight,cn.fontSize)};
|
|
815
814
|
}
|
|
816
815
|
|
|
817
816
|
.ft-text-field--input-panel ft-ripple {
|
|
818
|
-
${
|
|
819
|
-
${
|
|
817
|
+
${Ce(Ar.opacityContentOnSurfaceHover,"0.08")};
|
|
818
|
+
${Ce(Ar.opacityContentOnSurfacePressed,"0.04")};
|
|
820
819
|
}
|
|
821
820
|
|
|
822
821
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
|
|
823
822
|
align-items: flex-end;
|
|
824
|
-
padding: 0 ${
|
|
823
|
+
padding: 0 ${cn.horizontalSpacing} ${cn.verticalSpacing} ${cn.horizontalSpacing};
|
|
825
824
|
}
|
|
826
825
|
|
|
827
826
|
.ft-text-field--prefix {
|
|
828
|
-
color: ${
|
|
827
|
+
color: ${cn.prefixColor};
|
|
829
828
|
margin-right: 2px;
|
|
830
829
|
flex-shrink: 1;
|
|
831
830
|
overflow: hidden;
|
|
@@ -844,15 +843,15 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
844
843
|
flex-shrink: 1;
|
|
845
844
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
846
845
|
|
|
847
|
-
color: ${
|
|
848
|
-
padding: calc(2 * ${
|
|
846
|
+
color: ${cn.colorOnSurface};
|
|
847
|
+
padding: calc(2 * ${cn.verticalSpacing}) 0;
|
|
849
848
|
border: none;
|
|
850
849
|
background: none;
|
|
851
850
|
}
|
|
852
851
|
|
|
853
852
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
|
|
854
853
|
padding-bottom: 0;
|
|
855
|
-
padding-top: calc(${
|
|
854
|
+
padding-top: calc(${cn.labelSize} + 2 * ${cn.verticalSpacing});
|
|
856
855
|
}
|
|
857
856
|
|
|
858
857
|
.ft-text-field--input::-webkit-calendar-picker-indicator,
|
|
@@ -861,37 +860,37 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
861
860
|
}
|
|
862
861
|
|
|
863
862
|
.ft-text-field--disabled .ft-text-field--input {
|
|
864
|
-
color: ${
|
|
863
|
+
color: ${cn.colorOnSurfaceDisabled};
|
|
865
864
|
}
|
|
866
865
|
|
|
867
866
|
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
868
|
-
${
|
|
869
|
-
${
|
|
867
|
+
${Ce(Kr.borderColor,cn.colorPrimary)};
|
|
868
|
+
${Ce(Kr.textColor,cn.colorPrimary)};
|
|
870
869
|
}
|
|
871
870
|
|
|
872
871
|
.ft-text-field--filled .ft-text-field--input-panel {
|
|
873
|
-
border-radius: ${
|
|
872
|
+
border-radius: ${cn.borderRadiusS} ${cn.borderRadiusS} 0 0;
|
|
874
873
|
}
|
|
875
874
|
|
|
876
875
|
.ft-text-field--outlined .ft-text-field--input-panel {
|
|
877
|
-
border-radius: ${
|
|
876
|
+
border-radius: ${cn.borderRadiusS};
|
|
878
877
|
}
|
|
879
878
|
|
|
880
879
|
.ft-text-field--helper-text {
|
|
881
|
-
padding: 0 12px 0 ${
|
|
882
|
-
color: ${
|
|
880
|
+
padding: 0 12px 0 ${cn.horizontalSpacing};
|
|
881
|
+
color: ${cn.helperColor};
|
|
883
882
|
}
|
|
884
883
|
|
|
885
884
|
.ft-text-field--in-error .ft-text-field--input,
|
|
886
885
|
.ft-text-field--in-error .ft-text-field--helper-text,
|
|
887
886
|
.ft-text-field--in-error .ft-text-field--prefix {
|
|
888
|
-
color: ${
|
|
887
|
+
color: ${cn.colorError};
|
|
889
888
|
}
|
|
890
889
|
|
|
891
890
|
.ft-text-field--icon {
|
|
892
891
|
align-self: center;
|
|
893
892
|
margin-left: 8px;
|
|
894
|
-
color: ${
|
|
893
|
+
color: ${cn.iconColor};
|
|
895
894
|
}
|
|
896
895
|
|
|
897
896
|
.ft-text-field--container {
|
|
@@ -904,13 +903,13 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
904
903
|
position: absolute;
|
|
905
904
|
left: 0;
|
|
906
905
|
right: 0;
|
|
907
|
-
z-index: ${
|
|
908
|
-
background: ${
|
|
909
|
-
border: 1px solid ${
|
|
910
|
-
border-radius: 0 0 ${
|
|
911
|
-
box-shadow: ${
|
|
906
|
+
z-index: ${cn.floatingZIndex};
|
|
907
|
+
background: ${cn.colorSurface};
|
|
908
|
+
border: 1px solid ${cn.colorOutline};
|
|
909
|
+
border-radius: 0 0 ${cn.borderRadiusS} ${cn.borderRadiusS};
|
|
910
|
+
box-shadow: ${cn.elevation02};
|
|
912
911
|
outline: none;
|
|
913
|
-
max-height: ${
|
|
912
|
+
max-height: ${cn.suggestSize};
|
|
914
913
|
overflow-y: auto;
|
|
915
914
|
}
|
|
916
915
|
|
|
@@ -927,14 +926,14 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
927
926
|
}
|
|
928
927
|
|
|
929
928
|
.ft-text-field--with-icon {
|
|
930
|
-
${
|
|
929
|
+
${Ce(Kr.labelMaxWidth,`calc(100% - ${Xr.size} - ${Kr.horizontalSpacing})`)};
|
|
931
930
|
}
|
|
932
931
|
|
|
933
932
|
.ft-text-field--with-password ft-icon:hover {
|
|
934
933
|
cursor: pointer;
|
|
935
934
|
}
|
|
936
|
-
`;var
|
|
937
|
-
<div class="${
|
|
935
|
+
`;var fn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class dn extends(ei(Po,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=Vr.EYE_SLASH,this.passwordRevealedIcon=Vr.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const e=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",e)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return ae`
|
|
936
|
+
<div class="${vi(t)}">
|
|
938
937
|
<div class="ft-text-field--main-panel"
|
|
939
938
|
@keydown=${this.handleKeyboardNavigation}
|
|
940
939
|
@focusout=${this.onMainPanelBlur}>
|
|
@@ -944,16 +943,16 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
944
943
|
?raised=${this.focused||""!=this.value}
|
|
945
944
|
?error=${this.error}></ft-input-label>
|
|
946
945
|
<div class="ft-text-field--input-panel">
|
|
947
|
-
${this.outlined?
|
|
946
|
+
${this.outlined?le:ae`
|
|
948
947
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
949
948
|
`}
|
|
950
|
-
${this.prefix?
|
|
949
|
+
${this.prefix?ae`
|
|
951
950
|
<ft-typography class="ft-text-field--prefix" variant="body1">
|
|
952
951
|
${this.prefix}
|
|
953
952
|
</ft-typography>
|
|
954
|
-
`:
|
|
953
|
+
`:le}
|
|
955
954
|
<input type=${this.password&&this.hidePassword?"password":"text"}
|
|
956
|
-
maxlength=${(t=>t??
|
|
955
|
+
maxlength=${(t=>t??ot)(this.maxLength||void 0)}
|
|
957
956
|
aria-label="${this.label}"
|
|
958
957
|
class="ft-typography--body1 ft-text-field--input"
|
|
959
958
|
part="input"
|
|
@@ -969,23 +968,23 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
969
968
|
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
970
969
|
</div>
|
|
971
970
|
</div>
|
|
972
|
-
${this.helper?
|
|
971
|
+
${this.helper?ae`
|
|
973
972
|
<ft-typography class="ft-text-field--helper-text" variant="caption">
|
|
974
973
|
${this.helper}
|
|
975
974
|
</ft-typography>
|
|
976
|
-
`:
|
|
975
|
+
`:le}
|
|
977
976
|
</div>
|
|
978
|
-
`}renderPasswordIcon(){return
|
|
977
|
+
`}renderPasswordIcon(){return ae`
|
|
979
978
|
<ft-icon class="ft-text-field--icon"
|
|
980
979
|
.variant=${this.iconVariant}
|
|
981
980
|
.value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
|
|
982
981
|
@click=${()=>this.togglePasswordVisibility()}></ft-icon>
|
|
983
|
-
`}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?
|
|
982
|
+
`}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?ae`
|
|
984
983
|
<ft-icon class="ft-text-field--icon"
|
|
985
984
|
.variant=${this.iconVariant}
|
|
986
985
|
.value=${this.icon}
|
|
987
986
|
@click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
|
|
988
|
-
`:
|
|
987
|
+
`:le}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}dn.elementDefinitions={"ft-input-label":Dr,"ft-ripple":qr,"ft-typography":zr,"ft-icon":on},dn.styles=[$r,pn],fn([$()],dn.prototype,"label",void 0),fn([$({noAccessor:!0})],dn.prototype,"value",null),fn([C()],dn.prototype,"dispatchedValue",void 0),fn([$()],dn.prototype,"helper",void 0),fn([$({type:Boolean})],dn.prototype,"outlined",void 0),fn([$({type:Boolean})],dn.prototype,"disabled",void 0),fn([$({type:Boolean})],dn.prototype,"error",void 0),fn([$()],dn.prototype,"prefix",void 0),fn([$()],dn.prototype,"icon",void 0),fn([$()],dn.prototype,"passwordHiddenIcon",void 0),fn([$()],dn.prototype,"passwordRevealedIcon",void 0),fn([$()],dn.prototype,"iconVariant",void 0),fn([$({type:Boolean})],dn.prototype,"filterSuggestions",void 0),fn([$({type:Number})],dn.prototype,"maxLength",void 0),fn([$({type:Boolean})],dn.prototype,"password",void 0),fn([C()],dn.prototype,"focused",void 0),fn([C()],dn.prototype,"hidePassword",void 0),fn([C()],dn.prototype,"suggestionsOnTop",void 0),fn([C()],dn.prototype,"hideSuggestions",void 0),fn([C()],dn.prototype,"visibleSuggestions",void 0),fn([R(".ft-text-field--main-panel")],dn.prototype,"mainPanel",void 0),fn([R(".ft-text-field--input")],dn.prototype,"input",void 0),fn([R(".ft-text-field--suggestions")],dn.prototype,"suggestionsContainer",void 0),fn([function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}({selector:"ft-text-field-suggestion"})],dn.prototype,"suggestions",void 0);const hn=Nt`
|
|
989
988
|
.ft-text-field-suggestion {
|
|
990
989
|
position: relative;
|
|
991
990
|
padding: 8px 16px;
|
|
@@ -1010,7 +1009,7 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1010
1009
|
slot {
|
|
1011
1010
|
pointer-events: none;
|
|
1012
1011
|
}
|
|
1013
|
-
`;var
|
|
1012
|
+
`;var un=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class gn extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class yn extends Po{render(){return ae`
|
|
1014
1013
|
<div class="ft-text-field-suggestion"
|
|
1015
1014
|
tabindex="-1"
|
|
1016
1015
|
@keydown=${this.onKeyDown}
|
|
@@ -1022,7 +1021,7 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1022
1021
|
<slot></slot>
|
|
1023
1022
|
</ft-typography>
|
|
1024
1023
|
</div>
|
|
1025
|
-
`}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new
|
|
1024
|
+
`}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new gn(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}yn.elementDefinitions={"ft-ripple":qr,"ft-typography":zr,"ft-icon":on},yn.styles=hn,un([$()],yn.prototype,"value",void 0),un([R(".ft-text-field-suggestion")],yn.prototype,"container",void 0),un([U()],yn.prototype,"assignedNodes",void 0),W("ft-text-field")(dn),W("ft-text-field-suggestion")(yn);const bn={color:$e.extend("--ft-loader-color","",Ie.colorPrimary),size:$e.create("--ft-loader-size","","SIZE","80px")},mn=Nt`
|
|
1026
1025
|
:host {
|
|
1027
1026
|
line-height: 0;
|
|
1028
1027
|
}
|
|
@@ -1031,8 +1030,8 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1031
1030
|
display: inline-block;
|
|
1032
1031
|
position: relative;
|
|
1033
1032
|
|
|
1034
|
-
width: ${
|
|
1035
|
-
height: ${
|
|
1033
|
+
width: ${bn.size};
|
|
1034
|
+
height: ${bn.size};
|
|
1036
1035
|
}
|
|
1037
1036
|
|
|
1038
1037
|
.ft-loader div {
|
|
@@ -1041,7 +1040,7 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1041
1040
|
width: 25%;
|
|
1042
1041
|
height: 25%;
|
|
1043
1042
|
border-radius: 50%;
|
|
1044
|
-
background: ${
|
|
1043
|
+
background: ${bn.color};
|
|
1045
1044
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
1046
1045
|
}
|
|
1047
1046
|
|
|
@@ -1088,10 +1087,10 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1088
1087
|
transform: translate(0, 0);
|
|
1089
1088
|
}
|
|
1090
1089
|
100% {
|
|
1091
|
-
transform: translate(calc(0.35 * ${
|
|
1090
|
+
transform: translate(calc(0.35 * ${bn.size}), 0);
|
|
1092
1091
|
}
|
|
1093
1092
|
}
|
|
1094
|
-
`,
|
|
1093
|
+
`,xn=$e.extend("--ft-button-color","",Ie.colorPrimary),vn={backgroundColor:$e.extend("--ft-button-background-color","",Ie.colorSurface),borderRadius:$e.extend("--ft-button-border-radius","",Ie.borderRadiusL),color:xn,fontSize:$e.extend("--ft-button-font-size","",vr.fontSize),iconSize:$e.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:$e.extend("--ft-button-ripple-color","",xn),verticalPadding:$e.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:$e.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:$e.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:$e.external(Ie.colorOpacityDisabled,"Design system")},On=$e.extend("--ft-button-primary-color","",$e.extend("--ft-button-color","",Ie.colorOnPrimary)),wn={backgroundColor:$e.extend("--ft-button-primary-background-color","",$e.extend("--ft-button-background-color","",Ie.colorPrimary)),color:On,rippleColor:$e.extend("--ft-button-primary-ripple-color","",On)},Sn=$e.extend("--ft-button-dense-border-radius","",$e.extend("--ft-button-border-radius","",Ie.borderRadiusM)),Nn=$e.create("--ft-button-dense-vertical-padding","","SIZE","2px"),$n=$e.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Cn=$e.create("--ft-button-dense-icon-padding","","SIZE","4px"),En=[Nt`
|
|
1095
1094
|
:host {
|
|
1096
1095
|
display: inline-block;
|
|
1097
1096
|
max-width: 100%;
|
|
@@ -1102,7 +1101,7 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1102
1101
|
box-shadow: 0px 0px 0px transparent;
|
|
1103
1102
|
border: 0px solid transparent;
|
|
1104
1103
|
text-shadow: 0px 0px 0px transparent;
|
|
1105
|
-
font-size: ${
|
|
1104
|
+
font-size: ${vn.fontSize};
|
|
1106
1105
|
}
|
|
1107
1106
|
|
|
1108
1107
|
button:hover {
|
|
@@ -1131,31 +1130,31 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1131
1130
|
border: none;
|
|
1132
1131
|
pointer-events: auto;
|
|
1133
1132
|
|
|
1134
|
-
--ft-button-internal-line-height: max(calc(${
|
|
1135
|
-
--ft-button-internal-color: ${
|
|
1136
|
-
${
|
|
1137
|
-
${
|
|
1133
|
+
--ft-button-internal-line-height: max(calc(${vn.fontSize} + 2px), ${vn.iconSize});
|
|
1134
|
+
--ft-button-internal-color: ${vn.color};
|
|
1135
|
+
${Ce(Xr.size,vn.iconSize)};
|
|
1136
|
+
${Ce(Ar.color,vn.rippleColor)};
|
|
1138
1137
|
|
|
1139
|
-
border-radius: ${
|
|
1140
|
-
padding: ${
|
|
1141
|
-
background-color: ${
|
|
1138
|
+
border-radius: ${vn.borderRadius};
|
|
1139
|
+
padding: ${vn.verticalPadding} ${vn.horizontalPadding};
|
|
1140
|
+
background-color: ${vn.backgroundColor};
|
|
1142
1141
|
color: var(--ft-button-internal-color);
|
|
1143
1142
|
-webkit-mask-image: radial-gradient(white, black);
|
|
1144
1143
|
}
|
|
1145
1144
|
|
|
1146
1145
|
.ft-button.ft-button--outlined {
|
|
1147
1146
|
border: 1px solid var(--ft-button-internal-color);
|
|
1148
|
-
padding: calc(${
|
|
1147
|
+
padding: calc(${vn.verticalPadding} - 1px) calc(${vn.horizontalPadding} - 1px);
|
|
1149
1148
|
}
|
|
1150
1149
|
|
|
1151
1150
|
.ft-button.ft-button--dense {
|
|
1152
|
-
padding: ${
|
|
1153
|
-
border-radius: ${
|
|
1154
|
-
gap: ${
|
|
1151
|
+
padding: ${Nn} ${$n};
|
|
1152
|
+
border-radius: ${Sn};
|
|
1153
|
+
gap: ${Cn};
|
|
1155
1154
|
}
|
|
1156
1155
|
|
|
1157
1156
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
1158
|
-
padding: calc(${
|
|
1157
|
+
padding: calc(${Nn} - 1px) calc(${$n} - 1px);
|
|
1159
1158
|
}
|
|
1160
1159
|
|
|
1161
1160
|
.ft-button:not([disabled]):hover {
|
|
@@ -1163,22 +1162,22 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1163
1162
|
}
|
|
1164
1163
|
|
|
1165
1164
|
.ft-button--round {
|
|
1166
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
1165
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${vn.verticalPadding});
|
|
1167
1166
|
}
|
|
1168
1167
|
|
|
1169
1168
|
.ft-button--round.ft-button--dense {
|
|
1170
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
1169
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Nn});
|
|
1171
1170
|
}
|
|
1172
1171
|
|
|
1173
1172
|
.ft-button[disabled] {
|
|
1174
1173
|
filter: grayscale(1);
|
|
1175
|
-
opacity: ${
|
|
1174
|
+
opacity: ${vn.opacityDisabled};
|
|
1176
1175
|
}
|
|
1177
1176
|
|
|
1178
1177
|
.ft-button.ft-button--primary {
|
|
1179
|
-
background-color: ${
|
|
1180
|
-
--ft-button-internal-color: ${
|
|
1181
|
-
${
|
|
1178
|
+
background-color: ${wn.backgroundColor};
|
|
1179
|
+
--ft-button-internal-color: ${wn.color};
|
|
1180
|
+
${Ce(Ar.color,wn.rippleColor)};
|
|
1182
1181
|
}
|
|
1183
1182
|
|
|
1184
1183
|
.ft-button:focus {
|
|
@@ -1191,13 +1190,13 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1191
1190
|
white-space: nowrap;
|
|
1192
1191
|
text-overflow: ellipsis;
|
|
1193
1192
|
display: block;
|
|
1194
|
-
margin: 0 ${
|
|
1195
|
-
${
|
|
1196
|
-
${
|
|
1193
|
+
margin: 0 ${vn.iconPadding};
|
|
1194
|
+
${Ce(vr.fontSize,"1em")};
|
|
1195
|
+
${Ce(vr.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
1197
1196
|
}
|
|
1198
1197
|
|
|
1199
1198
|
.ft-button--dense .ft-button--label {
|
|
1200
|
-
margin: 0 ${
|
|
1199
|
+
margin: 0 ${Cn};
|
|
1201
1200
|
}
|
|
1202
1201
|
|
|
1203
1202
|
.ft-button--label[hidden] {
|
|
@@ -1210,13 +1209,13 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1210
1209
|
}
|
|
1211
1210
|
|
|
1212
1211
|
.ft-button--label[hidden] + ft-icon {
|
|
1213
|
-
margin: 0 calc(${
|
|
1214
|
-
padding: 0 ${
|
|
1212
|
+
margin: 0 calc(${vn.horizontalPadding} * -1);
|
|
1213
|
+
padding: 0 ${vn.verticalPadding};
|
|
1215
1214
|
}
|
|
1216
1215
|
|
|
1217
1216
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
1218
|
-
margin: 0 calc(${
|
|
1219
|
-
padding: 0 ${
|
|
1217
|
+
margin: 0 calc(${$n} * -1);
|
|
1218
|
+
padding: 0 ${Nn};
|
|
1220
1219
|
}
|
|
1221
1220
|
|
|
1222
1221
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -1225,10 +1224,10 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1225
1224
|
}
|
|
1226
1225
|
|
|
1227
1226
|
ft-loader {
|
|
1228
|
-
${
|
|
1229
|
-
${
|
|
1227
|
+
${Ce(bn.size,vn.iconSize)};
|
|
1228
|
+
${Ce(bn.color,"var(--ft-button-internal-color)")};
|
|
1230
1229
|
}
|
|
1231
|
-
`,
|
|
1230
|
+
`,jo],kn=$e.create("--ft-tooltip-distance","","SIZE","4px"),Rn=$e.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Un=$e.create("--ft-tooltip-background-color","","COLOR","#666666"),In=$e.create("--ft-tooltip-z-index","","NUMBER","100"),Wn=$e.external(Ie.borderRadiusS,"Design system"),Ln=$e.create("--ft-tooltip-max-width","","SIZE","150px"),zn=Nt`
|
|
1232
1231
|
.ft-tooltip--container {
|
|
1233
1232
|
display: block;
|
|
1234
1233
|
}
|
|
@@ -1243,21 +1242,21 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1243
1242
|
box-sizing: border-box;
|
|
1244
1243
|
overflow: hidden;
|
|
1245
1244
|
width: max-content;
|
|
1246
|
-
max-width: ${
|
|
1245
|
+
max-width: ${Ln};
|
|
1247
1246
|
text-align: center;
|
|
1248
|
-
padding: ${
|
|
1249
|
-
z-index: ${
|
|
1247
|
+
padding: ${kn};
|
|
1248
|
+
z-index: ${In};
|
|
1250
1249
|
}
|
|
1251
1250
|
|
|
1252
1251
|
.ft-tooltip--content {
|
|
1253
1252
|
padding: 4px 8px;
|
|
1254
|
-
border-radius: ${
|
|
1255
|
-
background-color: ${
|
|
1256
|
-
color: ${
|
|
1253
|
+
border-radius: ${Wn};
|
|
1254
|
+
background-color: ${Un};
|
|
1255
|
+
color: ${Rn};
|
|
1257
1256
|
position: relative;
|
|
1258
1257
|
word-break: break-word;
|
|
1259
1258
|
}
|
|
1260
|
-
`;var
|
|
1259
|
+
`;var Kn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Zn extends Po{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ae`
|
|
1261
1260
|
<div part="container"
|
|
1262
1261
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
1263
1262
|
@mouseenter=${this.onHover}
|
|
@@ -1275,37 +1274,37 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1275
1274
|
</div>
|
|
1276
1275
|
</div>
|
|
1277
1276
|
</div>
|
|
1278
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return
|
|
1277
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Io(t,e,{platform:{...Uo,getOffsetParent:t=>Uo.getOffsetParent(t,Wo)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Me(i,t),c={x:e,y:o},p=await qe(t,l),f=_e(Pe(r)),d=je(f);let h=c[d],u=c[f];if(n){const t="y"===d?"bottom":"right";h=Ae(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";u=Ae(u+p["y"===f?"top":"left"],u,u-p[t])}const g=s.fn({...t,[d]:h,[f]:u});return{...g,data:{x:g.x-e,y:g.y-o}}}}),Qe({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}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,e){return Math.max(t,Math.min(0,-e))}}Zn.elementDefinitions={"ft-typography":zr},Zn.styles=zn,Kn([$()],Zn.prototype,"text",void 0),Kn([$({type:Boolean})],Zn.prototype,"manual",void 0),Kn([$({type:Boolean})],Zn.prototype,"inline",void 0),Kn([$({type:Number})],Zn.prototype,"delay",void 0),Kn([$()],Zn.prototype,"position",void 0),Kn([U()],Zn.prototype,"slotNodes",void 0),Kn([R(".ft-tooltip--container")],Zn.prototype,"container",void 0),Kn([R(".ft-tooltip")],Zn.prototype,"tooltip",void 0),Kn([R(".ft-tooltip--content")],Zn.prototype,"tooltipContent",void 0),Kn([C()],Zn.prototype,"visible",void 0),Kn([E({passive:!0})],Zn.prototype,"onTouch",null),Kn([E({passive:!0})],Zn.prototype,"onHover",null),Kn([E({passive:!0})],Zn.prototype,"onOut",null),Kn([E({passive:!0})],Zn.prototype,"onClick",null),W("ft-tooltip")(Zn);class Fn extends Po{render(){return ae`
|
|
1279
1278
|
<div class="ft-loader">
|
|
1280
1279
|
<div></div>
|
|
1281
1280
|
<div></div>
|
|
1282
1281
|
<div></div>
|
|
1283
1282
|
<div></div>
|
|
1284
1283
|
</div>
|
|
1285
|
-
`}}
|
|
1284
|
+
`}}Fn.styles=mn,W("ft-loader")(Fn);var Dn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Bn extends(ei(Po,"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 e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}))}render(){return this.addTooltipIfNeeded(ae`
|
|
1286
1285
|
<button part="button"
|
|
1287
|
-
class="${
|
|
1286
|
+
class="${vi(this.buttonClasses)}"
|
|
1288
1287
|
aria-label="${this.getLabel()}"
|
|
1289
1288
|
?disabled=${this.isDisabled()}>
|
|
1290
1289
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
1291
1290
|
<ft-typography part="label"
|
|
1292
1291
|
variant=${this.typographyVariant}
|
|
1293
1292
|
element="span"
|
|
1294
|
-
class="ft-button--label ${
|
|
1293
|
+
class="ft-button--label ${ni?"ft-safari-ellipsis-fix":""}"
|
|
1295
1294
|
?hidden=${!this.hasTextContent()}>
|
|
1296
1295
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
1297
1296
|
</ft-typography>
|
|
1298
1297
|
${this.resolveIcon()}
|
|
1299
1298
|
</button>
|
|
1300
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
1299
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ae`
|
|
1301
1300
|
<ft-tooltip part="tooltip"
|
|
1302
1301
|
text="${this.getLabel()}"
|
|
1303
1302
|
position="${this.tooltipPosition}">
|
|
1304
1303
|
${t}
|
|
1305
1304
|
</ft-tooltip>
|
|
1306
|
-
`:t}resolveIcon(){return this.loading?
|
|
1307
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
1308
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
1305
|
+
`:t}resolveIcon(){return this.loading?ae`
|
|
1306
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?ae`
|
|
1307
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:le}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}}Bn.elementDefinitions={"ft-ripple":qr,"ft-tooltip":Zn,"ft-typography":zr,"ft-icon":on,"ft-loader":Fn},Dn([$({type:String,reflect:!0})],Bn.prototype,"role",void 0),Dn([$()],Bn.prototype,"type",void 0),Dn([$({type:Boolean})],Bn.prototype,"disabled",void 0),Dn([$()],Bn.prototype,"label",void 0),Dn([$()],Bn.prototype,"icon",void 0),Dn([$()],Bn.prototype,"iconVariant",void 0),Dn([$({type:Boolean})],Bn.prototype,"trailingIcon",void 0),Dn([$({type:Boolean})],Bn.prototype,"loading",void 0),Dn([$()],Bn.prototype,"tooltipPosition",void 0),Dn([$({type:Boolean})],Bn.prototype,"hideTooltip",void 0),Dn([$({type:Boolean})],Bn.prototype,"forceTooltip",void 0),Dn([R(".ft-button")],Bn.prototype,"button",void 0),Dn([R(".ft-button--label slot")],Bn.prototype,"slottedContent",void 0);var An=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Mn extends Bn{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"}}Mn.styles=[To,En],An([$({type:Boolean})],Mn.prototype,"primary",void 0),An([$({type:Boolean})],Mn.prototype,"outlined",void 0),An([$({type:Boolean})],Mn.prototype,"dense",void 0),An([$({type:Boolean})],Mn.prototype,"round",void 0);const Pn=[Nt`
|
|
1309
1308
|
:host {
|
|
1310
1309
|
display: inline-block;
|
|
1311
1310
|
max-width: 100%;
|
|
@@ -1355,7 +1354,7 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1355
1354
|
}
|
|
1356
1355
|
|
|
1357
1356
|
.ft-button:focus-visible {
|
|
1358
|
-
outline-color: ${
|
|
1357
|
+
outline-color: ${Ue.focusFocusRingColor};
|
|
1359
1358
|
outline-style: solid;
|
|
1360
1359
|
}
|
|
1361
1360
|
|
|
@@ -1384,146 +1383,146 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1384
1383
|
/** Primary styles **/
|
|
1385
1384
|
|
|
1386
1385
|
.ft-button--primary {
|
|
1387
|
-
${
|
|
1386
|
+
${Ce(bn.color,Ue.primaryIconColor)};
|
|
1388
1387
|
|
|
1389
|
-
${
|
|
1390
|
-
${
|
|
1391
|
-
${
|
|
1392
|
-
${
|
|
1393
|
-
${
|
|
1388
|
+
${Ce(Ar.color,Ue.primaryStateLayerColor)};
|
|
1389
|
+
${Ce(Ar.opacityContentOnSurfaceHover,Ue.primaryStateLayerOpacityHover)};
|
|
1390
|
+
${Ce(Ar.opacityContentOnSurfaceFocused,Ue.primaryStateLayerOpacityFocus)};
|
|
1391
|
+
${Ce(Ar.opacityContentOnSurfaceSelected,Ue.primaryStateLayerOpacityActive)};
|
|
1392
|
+
${Ce(Ar.opacityContentOnSurfacePressed,Ue.primaryStateLayerOpacityActive)};
|
|
1394
1393
|
|
|
1395
|
-
background-color: ${
|
|
1396
|
-
color: ${
|
|
1394
|
+
background-color: ${Ue.primaryBackgroundColor};
|
|
1395
|
+
color: ${Ue.primaryColor};
|
|
1397
1396
|
border-style: none;
|
|
1398
1397
|
}
|
|
1399
1398
|
|
|
1400
1399
|
.ft-button--primary[disabled] {
|
|
1401
|
-
opacity: ${
|
|
1400
|
+
opacity: ${Ue.primaryComponentOpacityDisabled};
|
|
1402
1401
|
}
|
|
1403
1402
|
|
|
1404
1403
|
.ft-button--primary ft-icon {
|
|
1405
|
-
color: ${
|
|
1404
|
+
color: ${Ue.primaryIconColor};
|
|
1406
1405
|
}
|
|
1407
1406
|
|
|
1408
1407
|
/** Secondary styles **/
|
|
1409
1408
|
|
|
1410
1409
|
.ft-button--secondary {
|
|
1411
|
-
${
|
|
1410
|
+
${Ce(bn.color,Ue.secondaryIconColor)};
|
|
1412
1411
|
|
|
1413
|
-
${
|
|
1414
|
-
${
|
|
1415
|
-
${
|
|
1416
|
-
${
|
|
1417
|
-
${
|
|
1412
|
+
${Ce(Ar.color,Ue.secondaryStateLayerColor)};
|
|
1413
|
+
${Ce(Ar.opacityContentOnSurfaceHover,Ue.secondaryStateLayerOpacityHover)};
|
|
1414
|
+
${Ce(Ar.opacityContentOnSurfaceFocused,Ue.secondaryStateLayerOpacityFocus)};
|
|
1415
|
+
${Ce(Ar.opacityContentOnSurfaceSelected,Ue.secondaryStateLayerOpacityActive)};
|
|
1416
|
+
${Ce(Ar.opacityContentOnSurfacePressed,Ue.secondaryStateLayerOpacityActive)};
|
|
1418
1417
|
|
|
1419
|
-
background-color: ${
|
|
1420
|
-
color: ${
|
|
1421
|
-
border-color: ${
|
|
1418
|
+
background-color: ${Ue.secondaryBackgroundColor};
|
|
1419
|
+
color: ${Ue.secondaryColor};
|
|
1420
|
+
border-color: ${Ue.secondaryBorderColor};
|
|
1422
1421
|
border-style: solid;
|
|
1423
1422
|
}
|
|
1424
1423
|
|
|
1425
1424
|
.ft-button--secondary[disabled] {
|
|
1426
|
-
opacity: ${
|
|
1425
|
+
opacity: ${Ue.secondaryComponentOpacityDisabled};
|
|
1427
1426
|
}
|
|
1428
1427
|
|
|
1429
1428
|
.ft-button--secondary ft-icon {
|
|
1430
|
-
color: ${
|
|
1429
|
+
color: ${Ue.secondaryIconColor};
|
|
1431
1430
|
}
|
|
1432
1431
|
|
|
1433
1432
|
/** Tertiary styles **/
|
|
1434
1433
|
|
|
1435
1434
|
.ft-button--tertiary {
|
|
1436
|
-
${
|
|
1435
|
+
${Ce(bn.color,Ue.tertiaryIconColor)};
|
|
1437
1436
|
|
|
1438
|
-
${
|
|
1439
|
-
${
|
|
1440
|
-
${
|
|
1441
|
-
${
|
|
1442
|
-
${
|
|
1437
|
+
${Ce(Ar.color,Ue.tertiaryStateLayerColor)};
|
|
1438
|
+
${Ce(Ar.opacityContentOnSurfaceHover,Ue.tertiaryStateLayerOpacityHover)};
|
|
1439
|
+
${Ce(Ar.opacityContentOnSurfaceFocused,Ue.tertiaryStateLayerOpacityFocus)};
|
|
1440
|
+
${Ce(Ar.opacityContentOnSurfaceSelected,Ue.tertiaryStateLayerOpacityActive)};
|
|
1441
|
+
${Ce(Ar.opacityContentOnSurfacePressed,Ue.tertiaryStateLayerOpacityActive)};
|
|
1443
1442
|
|
|
1444
|
-
background-color: ${
|
|
1445
|
-
color: ${
|
|
1443
|
+
background-color: ${Ue.tertiaryBackgroundColor};
|
|
1444
|
+
color: ${Ue.tertiaryColor};
|
|
1446
1445
|
border-style: none;
|
|
1447
1446
|
}
|
|
1448
1447
|
|
|
1449
1448
|
.ft-button--tertiary[disabled] {
|
|
1450
|
-
opacity: ${
|
|
1449
|
+
opacity: ${Ue.tertiaryComponentOpacityDisabled};
|
|
1451
1450
|
}
|
|
1452
1451
|
|
|
1453
1452
|
.ft-button--tertiary ft-icon {
|
|
1454
|
-
color: ${
|
|
1453
|
+
color: ${Ue.tertiaryIconColor};
|
|
1455
1454
|
}
|
|
1456
1455
|
|
|
1457
1456
|
/** Neutral styles **/
|
|
1458
1457
|
|
|
1459
1458
|
.ft-button--neutral {
|
|
1460
|
-
${
|
|
1459
|
+
${Ce(bn.color,Ue.neutralIconColor)};
|
|
1461
1460
|
|
|
1462
|
-
${
|
|
1463
|
-
${
|
|
1464
|
-
${
|
|
1465
|
-
${
|
|
1466
|
-
${
|
|
1461
|
+
${Ce(Ar.backgroundColor,Ue.neutralStateLayerColor)};
|
|
1462
|
+
${Ce(Ar.opacityContentOnSurfaceHover,Ue.neutralStateLayerOpacityHover)};
|
|
1463
|
+
${Ce(Ar.opacityContentOnSurfaceFocused,Ue.neutralStateLayerOpacityFocus)};
|
|
1464
|
+
${Ce(Ar.opacityContentOnSurfaceSelected,Ue.neutralStateLayerOpacityActive)};
|
|
1465
|
+
${Ce(Ar.opacityContentOnSurfacePressed,Ue.neutralStateLayerOpacityActive)};
|
|
1467
1466
|
|
|
1468
|
-
background-color: ${
|
|
1469
|
-
color: ${
|
|
1467
|
+
background-color: ${Ue.neutralBackgroundColor};
|
|
1468
|
+
color: ${Ue.neutralColor};
|
|
1470
1469
|
border-style: none;
|
|
1471
1470
|
}
|
|
1472
1471
|
|
|
1473
1472
|
.ft-button--neutral[disabled] {
|
|
1474
|
-
opacity: ${
|
|
1473
|
+
opacity: ${Ue.neutralComponentOpacityDisabled};
|
|
1475
1474
|
}
|
|
1476
1475
|
|
|
1477
1476
|
.ft-button--neutral ft-icon {
|
|
1478
|
-
color: ${
|
|
1477
|
+
color: ${Ue.neutralIconColor};
|
|
1479
1478
|
}
|
|
1480
1479
|
|
|
1481
1480
|
/** Large styles **/
|
|
1482
1481
|
|
|
1483
1482
|
.ft-button--large {
|
|
1484
|
-
${
|
|
1485
|
-
${
|
|
1486
|
-
|
|
1487
|
-
height: ${
|
|
1488
|
-
padding: 0 ${
|
|
1489
|
-
gap: ${
|
|
1490
|
-
border-radius: ${
|
|
1491
|
-
border-width: ${
|
|
1483
|
+
${Ce(Xr.size,Ue.largeIconSize)};
|
|
1484
|
+
${Ce(bn.size,Ue.largeIconSize)};
|
|
1485
|
+
|
|
1486
|
+
height: ${Ue.largeHeight};
|
|
1487
|
+
padding: 0 ${Ue.largeHorizontalPadding};
|
|
1488
|
+
gap: ${Ue.largeGap};
|
|
1489
|
+
border-radius: ${Ue.largeBorderRadius};
|
|
1490
|
+
border-width: ${Ue.largeBorderWidth};
|
|
1492
1491
|
}
|
|
1493
1492
|
|
|
1494
1493
|
.ft-button--large:focus-visible {
|
|
1495
|
-
outline-width: ${
|
|
1496
|
-
outline-offset: ${
|
|
1494
|
+
outline-width: ${Ue.largeFocusOutlineWidth};
|
|
1495
|
+
outline-offset: ${Ue.largeFocusOutlineOffset};
|
|
1497
1496
|
}
|
|
1498
1497
|
|
|
1499
1498
|
.ft-button--large.ft-button--icon-only {
|
|
1500
|
-
width: ${
|
|
1499
|
+
width: ${Ue.largeIconOnlyWidth};
|
|
1501
1500
|
padding: unset;
|
|
1502
1501
|
}
|
|
1503
1502
|
|
|
1504
1503
|
/** Small styles **/
|
|
1505
1504
|
|
|
1506
1505
|
.ft-button--small {
|
|
1507
|
-
${
|
|
1508
|
-
${
|
|
1509
|
-
|
|
1510
|
-
height: ${
|
|
1511
|
-
padding: 0 ${
|
|
1512
|
-
gap: ${
|
|
1513
|
-
border-radius: ${
|
|
1514
|
-
border-width: ${
|
|
1506
|
+
${Ce(Xr.size,Ue.smallIconSize)};
|
|
1507
|
+
${Ce(bn.size,Ue.smallIconSize)};
|
|
1508
|
+
|
|
1509
|
+
height: ${Ue.smallHeight};
|
|
1510
|
+
padding: 0 ${Ue.smallHorizontalPadding};
|
|
1511
|
+
gap: ${Ue.smallGap};
|
|
1512
|
+
border-radius: ${Ue.smallBorderRadius};
|
|
1513
|
+
border-width: ${Ue.smallBorderWidth};
|
|
1515
1514
|
}
|
|
1516
1515
|
|
|
1517
1516
|
.ft-button--small:focus-visible {
|
|
1518
|
-
outline-width: ${
|
|
1519
|
-
outline-offset: ${
|
|
1517
|
+
outline-width: ${Ue.smallFocusOutlineWidth};
|
|
1518
|
+
outline-offset: ${Ue.smallFocusOutlineOffset};
|
|
1520
1519
|
}
|
|
1521
1520
|
|
|
1522
1521
|
.ft-button--small.ft-button--icon-only {
|
|
1523
|
-
width: ${
|
|
1522
|
+
width: ${Ue.smallIconOnlyWidth};
|
|
1524
1523
|
padding: unset;
|
|
1525
1524
|
}
|
|
1526
|
-
`,
|
|
1525
|
+
`,jo];var Hn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class jn extends Bn{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?Ci.caption1medium:Ci.body2medium}}jn.styles=[To,Pn],Hn([$({type:Boolean})],jn.prototype,"primary",void 0),Hn([$({type:Boolean})],jn.prototype,"secondary",void 0),Hn([$({type:Boolean})],jn.prototype,"tertiary",void 0),Hn([$({type:Boolean})],jn.prototype,"neutral",void 0),Hn([$({type:Boolean})],jn.prototype,"small",void 0),W("ft-button")(Mn),W("ftds-button")(jn);class Tn extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const _n={headerBackground:$e.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:$e.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:$e.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:$e.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:$e.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:$e.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:$e.external(Ie.colorOnSurfaceHigh,"Design system"),titleFont:$e.external(Ie.titleFont,"Design system"),contentFont:$e.external(Ie.contentFont,"Design system")},Gn=Nt`
|
|
1527
1526
|
:host {
|
|
1528
1527
|
display: block;
|
|
1529
1528
|
}
|
|
@@ -1539,15 +1538,15 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1539
1538
|
.header-cell {
|
|
1540
1539
|
display: flex;
|
|
1541
1540
|
flex-direction: column;
|
|
1542
|
-
background: ${
|
|
1543
|
-
color: ${
|
|
1541
|
+
background: ${_n.headerBackground};
|
|
1542
|
+
color: ${_n.colorOnSurfaceHigh};
|
|
1544
1543
|
padding: .5rem 1rem;
|
|
1545
|
-
font-family: ${
|
|
1544
|
+
font-family: ${_n.titleFont};
|
|
1546
1545
|
}
|
|
1547
1546
|
|
|
1548
1547
|
.header-cell--sticky {
|
|
1549
1548
|
top: 0;
|
|
1550
|
-
z-index: ${
|
|
1549
|
+
z-index: ${_n.stickyHeaderZIndex};
|
|
1551
1550
|
position: sticky;
|
|
1552
1551
|
}
|
|
1553
1552
|
|
|
@@ -1565,8 +1564,8 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1565
1564
|
}
|
|
1566
1565
|
|
|
1567
1566
|
.column-title-container ft-button {
|
|
1568
|
-
${
|
|
1569
|
-
${
|
|
1567
|
+
${Ce(vn.backgroundColor,_n.headerBackground)};
|
|
1568
|
+
${Ce(vn.color,_n.colorOnSurfaceHigh)};
|
|
1570
1569
|
}
|
|
1571
1570
|
|
|
1572
1571
|
.column-title {
|
|
@@ -1595,31 +1594,31 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1595
1594
|
|
|
1596
1595
|
.cell {
|
|
1597
1596
|
padding: 1rem;
|
|
1598
|
-
border-left-color: ${
|
|
1597
|
+
border-left-color: ${_n.headerBackground};
|
|
1599
1598
|
border-left-style: solid;
|
|
1600
|
-
border-left-width: ${
|
|
1601
|
-
border-bottom: 1px solid ${
|
|
1599
|
+
border-left-width: ${_n.cellVerticalBorderWidth};
|
|
1600
|
+
border-bottom: 1px solid ${_n.headerBackground};
|
|
1602
1601
|
overflow-x: auto;
|
|
1603
1602
|
display: flex;
|
|
1604
1603
|
align-items: center;
|
|
1605
|
-
font-family: ${
|
|
1604
|
+
font-family: ${_n.contentFont};
|
|
1606
1605
|
}
|
|
1607
1606
|
|
|
1608
1607
|
/* Even is 2n+1 and odd is 2n because of the header */
|
|
1609
1608
|
.row:nth-child(2n) > .cell {
|
|
1610
|
-
background: ${
|
|
1609
|
+
background: ${_n.oddRowBackground};
|
|
1611
1610
|
}
|
|
1612
1611
|
|
|
1613
1612
|
.row:nth-child(2n + 1) > .cell {
|
|
1614
|
-
background: ${
|
|
1613
|
+
background: ${_n.evenRowBackground};
|
|
1615
1614
|
}
|
|
1616
1615
|
|
|
1617
1616
|
.row:hover > .cell {
|
|
1618
|
-
background: ${
|
|
1617
|
+
background: ${_n.rowHoverBackground};
|
|
1619
1618
|
}
|
|
1620
1619
|
|
|
1621
1620
|
.cell:last-of-type {
|
|
1622
|
-
border-right: 1px solid ${
|
|
1621
|
+
border-right: 1px solid ${_n.headerBackground};
|
|
1623
1622
|
}
|
|
1624
1623
|
|
|
1625
1624
|
.row:last-of-type .cell:first-of-type {
|
|
@@ -1633,25 +1632,25 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1633
1632
|
.hidden {
|
|
1634
1633
|
visibility: hidden;
|
|
1635
1634
|
}
|
|
1636
|
-
`;var
|
|
1635
|
+
`;var Vn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Yn=t=>ae`${t}`,Jn=(t,e)=>t-e;class qn extends Po{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,o){this.data=t,this.columns=e,this.sort=o}render(){let t=this.sortData(this.filterData());return ae`
|
|
1637
1636
|
<style>
|
|
1638
1637
|
.table {
|
|
1639
|
-
grid-template-columns:
|
|
1638
|
+
grid-template-columns: ${this.columns.map((t=>{var e;return null!==(e=t.gridTemplateColumn)&&void 0!==e?e:"minmax(min-content, auto)"})).join(" ")};
|
|
1640
1639
|
}
|
|
1641
1640
|
</style>
|
|
1642
1641
|
<div class="table">
|
|
1643
1642
|
<div class="header">
|
|
1644
|
-
${
|
|
1643
|
+
${bi(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
|
|
1645
1644
|
</div>
|
|
1646
|
-
${
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1645
|
+
${bi(t,((t,e)=>"row-"+e),((t,e)=>ae`
|
|
1646
|
+
<div class="row"
|
|
1647
|
+
@click=${()=>this.dispatchEvent(new Tn(t))}>
|
|
1648
|
+
${bi(this.columns,((t,o)=>"cell-"+o+"-"+e),((o,i)=>this.renderCell(o,i,t,e)))}
|
|
1649
|
+
</div>
|
|
1650
|
+
`))}
|
|
1652
1651
|
</div>
|
|
1653
|
-
`}filterData(){return this.filters.reduce(((t,e,o)=>{var i;const r=this.columns[o];if(e&&e.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,o).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,o)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const o=this.columns[this.currentSort.column],i=null!==(e=o.comparator)&&void 0!==e?e:
|
|
1654
|
-
<div class="${
|
|
1652
|
+
`}filterData(){return this.filters.reduce(((t,e,o)=>{var i;const r=this.columns[o];if(e&&e.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,o).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,o)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const o=this.columns[this.currentSort.column],i=null!==(e=o.comparator)&&void 0!==e?e:Jn,r="asc"===this.currentSort.order?i:(t,e)=>-i(t,e);return[...t].sort(((t,e)=>r(this.getValue(o,t),this.getValue(o,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let o in e){const i=e[o];"select"===i.filter&&(this.selectData[o]=[...new Set(t.map(((t,e)=>this.getValueAsString(i,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const o={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return ae`
|
|
1653
|
+
<div class="${vi(o)}"
|
|
1655
1654
|
part="${this.columnPart("header-cell",e)}">
|
|
1656
1655
|
<div class="column-title-container">
|
|
1657
1656
|
<span class="column-title"
|
|
@@ -1662,39 +1661,39 @@ const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1662
1661
|
</div>
|
|
1663
1662
|
${this.renderColumnFilter(t,e)}
|
|
1664
1663
|
</div>
|
|
1665
|
-
`}renderColumnSort(t,e){var o;const i=this.currentSort&&this.currentSort.column===e,r=i?"asc"===this.currentSort.order?"expand_more":"expand_less":"unfold_more";return
|
|
1664
|
+
`}renderColumnSort(t,e){var o;const i=this.currentSort&&this.currentSort.column===e,r=i?"asc"===this.currentSort.order?"expand_more":"expand_less":"unfold_more";return ae`
|
|
1666
1665
|
<ft-button
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1666
|
+
round
|
|
1667
|
+
dense
|
|
1668
|
+
class="${null===(o=t.sortable)||void 0===o||o?"":"hidden"}"
|
|
1669
|
+
iconVariant="material"
|
|
1670
|
+
icon="${r}"
|
|
1671
|
+
label="Sort ${t.title}"
|
|
1672
|
+
@click=${()=>{var t;i?"asc"===(null===(t=this.currentSort)||void 0===t?void 0:t.order)?this.currentSort={column:e,order:"desc"}:this.currentSort=void 0:this.currentSort={column:e,order:"asc"}}}
|
|
1673
|
+
part="${this.columnPart("sort-button",e)}"
|
|
1675
1674
|
></ft-button>
|
|
1676
|
-
`}renderColumnFilter(t,e){var o,i;const r=t=>{this.filters[e]={value:t.detail},this.requestUpdate()};switch(null!==(o=t.filter)&&void 0!==o?o:"text"){case"text":return
|
|
1675
|
+
`}renderColumnFilter(t,e){var o,i;const r=t=>{this.filters[e]={value:t.detail},this.requestUpdate()};switch(null!==(o=t.filter)&&void 0!==o?o:"text"){case"text":return ae`
|
|
1677
1676
|
<div class="column-filter" part="${this.columnPart("filter-container",e)}">
|
|
1678
1677
|
<ft-text-field
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1678
|
+
label="Search ${t.title}"
|
|
1679
|
+
@live-change="${r}"
|
|
1680
|
+
part="${this.columnPart("filter",e)}"
|
|
1682
1681
|
></ft-text-field>
|
|
1683
1682
|
</div>
|
|
1684
|
-
`;case"select":const o=null!==(i=this.selectData[e])&&void 0!==i?i:[];return o.length?
|
|
1683
|
+
`;case"select":const o=null!==(i=this.selectData[e])&&void 0!==i?i:[];return o.length?ae`
|
|
1685
1684
|
<div class="column-filter" part="${this.columnPart("filter-container",e)}">
|
|
1686
1685
|
<ft-select label="Filter ${t.title}"
|
|
1687
1686
|
@change=${r}
|
|
1688
1687
|
part="${this.columnPart("filter",e)}">
|
|
1689
1688
|
<ft-select-option></ft-select-option>
|
|
1690
|
-
${o.map((t=>
|
|
1689
|
+
${o.map((t=>ae`
|
|
1691
1690
|
<ft-select-option value="${t}" label="${t}"></ft-select-option>
|
|
1692
1691
|
`))}
|
|
1693
1692
|
</ft-select>
|
|
1694
1693
|
</div>
|
|
1695
|
-
`:
|
|
1694
|
+
`:le}return le}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,o,i){var r;const n=null!==(r=t.render)&&void 0!==r?r:Yn;return ae`
|
|
1696
1695
|
<div class="cell"
|
|
1697
1696
|
part="${this.columnPart("cell",e)} cell-row-${i} cell-column-${e}-row-${i}">
|
|
1698
|
-
${(t=>{const e=n(t,i);return"string"==typeof e?
|
|
1697
|
+
${(t=>{const e=n(t,i);return"string"==typeof e?xi(e):e})(this.getValue(t,o))}
|
|
1699
1698
|
</div>
|
|
1700
|
-
`}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}
|
|
1699
|
+
`}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}qn.styles=Gn,Vn([L([])],qn.prototype,"data",void 0),Vn([L([])],qn.prototype,"columns",void 0),Vn([L(void 0)],qn.prototype,"sort",void 0),Vn([$({type:Boolean})],qn.prototype,"stickyHeaders",void 0),Vn([C()],qn.prototype,"currentSort",void 0),W("ft-filterable-table")(qn),t.FtFilterableTable=qn,t.FtFilterableTableCssVariables=_n,t.RowClickEvent=Tn,t.styles=Gn}({});
|