@fluid-topics/ft-text-field 1.0.58 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-text-field.css.js +9 -9
- package/build/ft-text-field.d.ts +3 -1
- package/build/ft-text-field.js +7 -6
- package/build/ft-text-field.light.js +193 -186
- package/build/ft-text-field.min.js +203 -196
- package/package.json +7 -7
|
@@ -14,60 +14,60 @@
|
|
|
14
14
|
*
|
|
15
15
|
* @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
|
|
16
16
|
*/
|
|
17
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,
|
|
17
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,a=new WeakMap,n=new WeakMap,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=r.prototype.attributeChangedCallback,s=new Set(r.observedAttributes||[]);d(r,s,l);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=o.call(i,t);p||(p=f(t),e.call(i,t,p)),this===window.customElements&&(n.set(r,c),c.standInClass=p);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)a.delete(t),g(t,c,!0)}const u=this._whenDefinedPromises.get(t);return void 0!==u&&(u.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=s;if(e)return s=void 0,e;const o=n.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=l.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?g(o,r):a.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.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 a=t.toLowerCase();if(e.has(a)){const t=this.getAttribute(a);i.call(this,a,r),o.call(this,a,t,r)}else i.call(this,a,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)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t||"HTMLElement"===o?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):h(o)},g=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),s=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}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)},u=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=u.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&&l.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)throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`);i?.call(this,...e)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{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 n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new a(e)}})}}try{window.customElements.define("custom-element",null)}catch(Oo){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}}
|
|
18
18
|
/**
|
|
19
19
|
* @license
|
|
20
20
|
* Copyright 2017 Google LLC
|
|
21
21
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
22
|
-
*/const
|
|
22
|
+
*/const o=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(o){o.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(o){o.createProperty(e.key,t)}};function i(t){return(e,i)=>void 0!==i?((t,e,o)=>{e.constructor.createProperty(o,t)})(t,e,i):o(t,e)
|
|
23
23
|
/**
|
|
24
24
|
* @license
|
|
25
25
|
* Copyright 2017 Google LLC
|
|
26
26
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
27
|
-
*/}function
|
|
27
|
+
*/}function r(t){return i({...t,state:!0})}
|
|
28
28
|
/**
|
|
29
29
|
* @license
|
|
30
30
|
* Copyright 2017 Google LLC
|
|
31
31
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
32
|
-
*/const
|
|
32
|
+
*/const a=({finisher:t,descriptor:e})=>(o,i)=>{var r;if(void 0===i){const i=null!==(r=o.originalKey)&&void 0!==r?r:o.key,a=null!=e?{kind:"method",placement:"prototype",key:i,descriptor:e(o.key)}:{...o,key:i};return null!=t&&(a.finisher=function(e){t(e,i)}),a}{const r=o.constructor;void 0!==e&&Object.defineProperty(o,i,e(i)),null==t||t(r,i)}}
|
|
33
33
|
/**
|
|
34
34
|
* @license
|
|
35
35
|
* Copyright 2017 Google LLC
|
|
36
36
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
37
|
-
*/;function
|
|
37
|
+
*/;function n(t,e){return a({descriptor:o=>{const i={get(){var e,o;return null!==(o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==o?o:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof o?Symbol():"__"+o;i.get=function(){var o,i;return void 0===this[e]&&(this[e]=null!==(i=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==i?i:null),this[e]}}return i}})}
|
|
38
38
|
/**
|
|
39
39
|
* @license
|
|
40
40
|
* Copyright 2021 Google LLC
|
|
41
41
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/var l;const
|
|
42
|
+
*/var l;const s=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function c(t){const{slot:e,selector:o}=null!=t?t:{};return a({descriptor:i=>({get(){var i;const r="slot"+(e?`[name=${e}]`:":not([name])"),a=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(r),n=null!=a?s(a,t):[];return o?n.filter((t=>t.matches(o))):n},enumerable:!0,configurable:!0})})}
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
*/function
|
|
47
|
+
*/function p(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(!p(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(!p(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 a=r[i];if(!p(t[a],e[a]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const f=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
|
|
48
48
|
/**
|
|
49
49
|
* @license
|
|
50
50
|
* Copyright 2019 Google LLC
|
|
51
51
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
52
52
|
*/
|
|
53
|
-
const
|
|
53
|
+
const d=window,h=d.ShadowRoot&&(void 0===d.ShadyCSS||d.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,g=Symbol(),u=new WeakMap;let y=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==g)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(h&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=u.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&u.set(e,t))}return t}toString(){return this.cssText}};const b=t=>new y("string"==typeof t?t:t+"",void 0,g),m=(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 y(o,t,g)},x=(t,e)=>{h?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=d.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))},O=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return b(e)})(t):t
|
|
54
54
|
/**
|
|
55
55
|
* @license
|
|
56
56
|
* Copyright 2017 Google LLC
|
|
57
57
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
-
*/;var
|
|
58
|
+
*/;var v;const N=window,S=N.trustedTypes,w=S?S.emptyScript:"",C=N.reactiveElementPolyfillSupport,$={toAttribute(t,e){switch(e){case Boolean:t=t?w: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}},R=(t,e)=>e!==t&&(e==e||t==t),E={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:R};let U=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,o)=>{const i=this._$Ep(o,e);void 0!==i&&(this._$Ev.set(i,o),t.push(i))})),t}static createProperty(t,e=E){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const o="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){return{get(){return this[e]},set(i){const r=this[t];this[e]=i,this.requestUpdate(t,r,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||E}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const o of e)this.createProperty(o,t[o])}return this.elementStyles=this.finalizeStyles(this.styles),!0}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(O(t))}else void 0!==t&&e.push(O(t));return e}static _$Ep(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,o;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(o=t.hostConnected)||void 0===o||o.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return x(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e,o=E){var i;const r=this.constructor._$Ep(t,o);if(void 0!==r&&!0===o.reflect){const a=(void 0!==(null===(i=o.converter)||void 0===i?void 0:i.toAttribute)?o.converter:$).toAttribute(e,o.type);this._$El=t,null==a?this.removeAttribute(r):this.setAttribute(r,a),this._$El=null}}_$AK(t,e){var o;const i=this.constructor,r=i._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=i.getPropertyOptions(r),a="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(o=t.converter)||void 0===o?void 0:o.fromAttribute)?t.converter:$;this._$El=r,this[r]=a.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,o){let i=!0;void 0!==t&&(((o=o||this.constructor.getPropertyOptions(t)).hasChanged||R)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,o))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(o)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(o)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
|
|
59
59
|
/**
|
|
60
60
|
* @license
|
|
61
61
|
* Copyright 2017 Google LLC
|
|
62
62
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
63
|
*/
|
|
64
|
-
var
|
|
64
|
+
var I;U.finalized=!0,U.elementProperties=new Map,U.elementStyles=[],U.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:U}),(null!==(v=N.reactiveElementVersions)&&void 0!==v?v:N.reactiveElementVersions=[]).push("1.6.1");const k=window,W=k.trustedTypes,L=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,z="?"+Z,F=`<${z}>`,D=document,B=()=>D.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,H="[ \t\n\f\r]",j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,G=/>/g,T=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,V=/"/g,Y=/^(?:script|style|textarea|title)$/i,J=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),q=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Q=new WeakMap,tt=D.createTreeWalker(D,129,null,!1),et=(t,e)=>{const o=t.length-1,i=[];let r,a=2===e?"<svg>":"",n=j;for(let e=0;e<o;e++){const o=t[e];let l,s,c=-1,p=0;for(;p<o.length&&(n.lastIndex=p,s=n.exec(o),null!==s);)p=n.lastIndex,n===j?"!--"===s[1]?n=P:void 0!==s[1]?n=G:void 0!==s[2]?(Y.test(s[2])&&(r=RegExp("</"+s[2],"g")),n=T):void 0!==s[3]&&(n=T):n===T?">"===s[0]?(n=null!=r?r:j,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,l=s[1],n=void 0===s[3]?T:'"'===s[3]?V:_):n===V||n===_?n=T:n===P||n===G?n=j:(n=T,r=void 0);const f=n===T&&t[e+1].startsWith("/>")?" ":"";a+=n===j?o+F:c>=0?(i.push(l),o.slice(0,c)+K+o.slice(c)+Z+f):o+Z+(-2===c?(i.push(void 0),e):f)}const l=a+(t[o]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==L?L.createHTML(l):l,i]};class ot{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,a=0;const n=t.length-1,l=this.parts,[s,c]=et(t,e);if(this.el=ot.createElement(s,o),tt.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=tt.nextNode())&&l.length<n;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith(K)||e.startsWith(Z)){const o=c[a++];if(t.push(e),void 0!==o){const t=i.getAttribute(o.toLowerCase()+K).split(Z),e=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?lt:"?"===e[1]?ct:"@"===e[1]?pt:nt})}else l.push({type:6,index:r})}for(const e of t)i.removeAttribute(e)}if(Y.test(i.tagName)){const t=i.textContent.split(Z),e=t.length-1;if(e>0){i.textContent=W?W.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],B()),tt.nextNode(),l.push({type:2,index:++r});i.append(t[e],B())}}}else if(8===i.nodeType)if(i.data===z)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Z,t+1));)l.push({type:7,index:r}),t+=Z.length-1}r++}}static createElement(t,e){const o=D.createElement("template");return o.innerHTML=t,o}}function it(t,e,o=t,i){var r,a,n,l;if(e===q)return e;let s=void 0!==i?null===(r=o._$Co)||void 0===r?void 0:r[i]:o._$Cl;const c=M(e)?void 0:e._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(a=null==s?void 0:s._$AO)||void 0===a||a.call(s,!1),void 0===c?s=void 0:(s=new c(t),s._$AT(t,o,i)),void 0!==i?(null!==(n=(l=o)._$Co)&&void 0!==n?n:l._$Co=[])[i]=s:o._$Cl=s),void 0!==s&&(e=it(t,s._$AS(t,e.values),s,i)),e}class rt{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){var e;const{el:{content:o},parts:i}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:D).importNode(o,!0);tt.currentNode=r;let a=tt.nextNode(),n=0,l=0,s=i[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new at(a,a.nextSibling,this,t):1===s.type?e=new s.ctor(a,s.name,s.strings,this,t):6===s.type&&(e=new ft(a,this,t)),this._$AV.push(e),s=i[++l]}n!==(null==s?void 0:s.index)&&(a=tt.nextNode(),n++)}return r}v(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++}}class at{constructor(t,e,o,i){var r;this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=it(this,t,e),M(t)?t===X||null==t||""===t?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>A(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==X&&M(this._$AH)?this._$AA.nextSibling.data=t:this.$(D.createTextNode(t)),this._$AH=t}g(t){var e;const{values:o,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=ot.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(o);else{const t=new rt(r,this),e=t.u(this.options);t.v(o),this.$(e),this._$AH=t}}_$AC(t){let e=Q.get(t.strings);return void 0===e&&Q.set(t.strings,e=new ot(t)),e}T(t){A(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 at(this.k(B()),this.k(B()),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){var o;for(null===(o=this._$AP)||void 0===o||o.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class nt{constructor(t,e,o,i,r){this.type=1,this._$AH=X,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=X}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,o,i){const r=this.strings;let a=!1;if(void 0===r)t=it(this,t,e,0),a=!M(t)||t!==this._$AH&&t!==q,a&&(this._$AH=t);else{const i=t;let n,l;for(t=r[0],n=0;n<r.length-1;n++)l=it(this,i[o+n],e,n),l===q&&(l=this._$AH[n]),a||(a=!M(l)||l!==this._$AH[n]),l===X?t=X:t!==X&&(t+=(null!=l?l:"")+r[n+1]),this._$AH[n]=l}a&&!i&&this.j(t)}j(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class lt extends nt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===X?void 0:t}}const st=W?W.emptyScript:"";class ct extends nt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==X?this.element.setAttribute(this.name,st):this.element.removeAttribute(this.name)}}class pt extends nt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){var o;if((t=null!==(o=it(this,t,e,0))&&void 0!==o?o:X)===q)return;const i=this._$AH,r=t===X&&i!==X||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==X&&(i===X||r);r&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;"function"==typeof this._$AH?this._$AH.call(null!==(o=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==o?o:this.element,t):this._$AH.handleEvent(t)}}class ft{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){it(this,t)}}const dt=k.litHtmlPolyfillSupport;null==dt||dt(ot,at),(null!==(I=k.litHtmlVersions)&&void 0!==I?I:k.litHtmlVersions=[]).push("2.7.3");
|
|
65
65
|
/**
|
|
66
66
|
* @license
|
|
67
67
|
* Copyright 2017 Google LLC
|
|
68
68
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
69
69
|
*/
|
|
70
|
-
var dt,ut;let xt=class extends R{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,s;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new nt(e.insertBefore(I(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Y}};xt.finalized=!0,xt._$litElement$=!0,null===(dt=globalThis.litElementHydrateSupport)||void 0===dt||dt.call(globalThis,{LitElement:xt});const gt=globalThis.litElementPolyfillSupport;null==gt||gt({LitElement:xt}),(null!==(ut=globalThis.litElementVersions)&&void 0!==ut?ut:globalThis.litElementVersions=[]).push("3.3.2");class yt{static create(t,e,i){let o=t=>y(null!=t?t:i),s=v`var(${y(t)}, ${o(i)})`;return s.name=t,s.category=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>v`var(${y(t)}, ${o(e)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),s=v`var(${y(t)}, ${o(i)})`;return s.name=t,s.category=e.category,s.fallbackVariable=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>v`var(${y(t)}, ${o(e)})`,s.breadcrumb=()=>[e.name,...e.breadcrumb()],s.lastResortDefaultValue=()=>i,s}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):y(null!=e?e:t.defaultValue),o=v`var(${y(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>v`var(${y(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function vt(t,e){return y(`${t.name}: ${e}`)}const bt={colorPrimary:yt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:yt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:yt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:yt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:yt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:yt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:yt.create("--ft-color-error","COLOR","#B00020"),colorOutline:yt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:yt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:yt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:yt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:yt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:yt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:yt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:yt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:yt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:yt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:yt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:yt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:yt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:yt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:yt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:yt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:yt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:yt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:yt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:yt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:yt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:yt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:yt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:yt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:yt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:yt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:yt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:yt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:yt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:yt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:yt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:yt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:yt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:yt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:yt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:yt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:yt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:yt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:yt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:yt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:yt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:yt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:yt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:yt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class mt extends xt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return b(i,t.elementStyles),i}}var wt,$t=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ot=Symbol("constructorPrototype"),St=Symbol("constructorName"),kt=Symbol("exportpartsDebouncer");class Et extends mt{constructor(){super(),this[wt]=new e(5),this[St]=this.constructor.name,this[Ot]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[St]&&Object.setPrototypeOf(this,this[Ot])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[kt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,s,n,r;const l=t=>null!=t&&t.trim().length>0,a=t.filter(l).map((t=>t.trim()));if(0===a.length)return void this.removeAttribute("exportparts");const p=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(s=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==s?s:[],i=null!==(r=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(l).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const f=[...p.values()].flatMap((t=>a.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}var Nt,Ct;wt=kt,$t([o()],Et.prototype,"exportpartsPrefix",void 0),$t([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!f(t,e),...null!=e?e:{}})}([])],Et.prototype,"exportpartsPrefixes",void 0),$t([o()],Et.prototype,"customStylesheet",void 0),v`
|
|
70
|
+
var ht,gt;let ut=class extends U{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{var i,r;const a=null!==(i=null==o?void 0:o.renderBefore)&&void 0!==i?i:e;let n=a._$litPart$;if(void 0===n){const t=null!==(r=null==o?void 0:o.renderBefore)&&void 0!==r?r:null;a._$litPart$=n=new at(e.insertBefore(B(),t),t,void 0,null!=o?o:{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return q}};ut.finalized=!0,ut._$litElement$=!0,null===(ht=globalThis.litElementHydrateSupport)||void 0===ht||ht.call(globalThis,{LitElement:ut});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:ut}),(null!==(gt=globalThis.litElementVersions)&&void 0!==gt?gt:globalThis.litElementVersions=[]).push("3.3.2");const bt=t=>"string"==typeof t?b(t):t;class mt{static create(t,e,o,i){const r=t=>bt(null!=t?t:i),a=m`var(${bt(t)}, ${r(i)})`;return a.name=t,a.description=t,a.category=o,a.defaultValue=i,a.defaultCssValue=r,a.get=e=>m`var(${bt(t)}, ${r(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),a=m`var(${bt(t)}, ${r(i)})`;return a.name=t,a.description=e,a.category=o.category,a.fallbackVariable=o,a.defaultValue=i,a.defaultCssValue=r,a.get=e=>m`var(${bt(t)}, ${r(e)})`,a.breadcrumb=()=>[o.name,...o.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),a}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):bt(null!=e?e:t.lastResortDefaultValue()),i=m`var(${bt(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=>m`var(${bt(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function xt(t,e){return bt(`${t.name}: ${e}`)}const Ot={colorWhite:mt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:mt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:mt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:mt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:mt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:mt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:mt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:mt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:mt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:mt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:mt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:mt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:mt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:mt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:mt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:mt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:mt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:mt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:mt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:mt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:mt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:mt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:mt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:mt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:mt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:mt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:mt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:mt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:mt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:mt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:mt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:mt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:mt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:mt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:mt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:mt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:mt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:mt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:mt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:mt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:mt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:mt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:mt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:mt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:mt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:mt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:mt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:mt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:mt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:mt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:mt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:mt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:mt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:mt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:mt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:mt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:mt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:mt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:mt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:mt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:mt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:mt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:mt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:mt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:mt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:mt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:mt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:mt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:mt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:mt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:mt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:mt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:mt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:mt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:mt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:mt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:mt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:mt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:mt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:mt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:mt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:mt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:mt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:mt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:mt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:mt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:mt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:mt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:mt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:mt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:mt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:mt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:mt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:mt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:mt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:mt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:mt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:mt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:mt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:mt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:mt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:mt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:mt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:mt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:mt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:mt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:mt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:mt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:mt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:mt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:mt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:mt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:mt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:mt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:mt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:mt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:mt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:mt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:mt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:mt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:mt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:mt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:mt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:mt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:mt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:mt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:mt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:mt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:mt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:mt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:mt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:mt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:mt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:mt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:mt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:mt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:mt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:mt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:mt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:mt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:mt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:mt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:mt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:mt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:mt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:mt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:mt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:mt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:mt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:mt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:mt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:mt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:mt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:mt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:mt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:mt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:mt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:mt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:mt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:mt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:mt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:mt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:mt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:mt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:mt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:mt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:mt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:mt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:mt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:mt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:mt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:mt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:mt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:mt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:mt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:mt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:mt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:mt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:mt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:mt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:mt.create("--ft-opacity-0","","NUMBER","0"),opacity8:mt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:mt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:mt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:mt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:mt.create("--ft-opacity-80","","NUMBER","0.8")},vt={display:{fontFamily:mt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:mt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:mt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:mt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:mt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:mt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:mt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:mt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:mt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:mt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:mt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:mt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:mt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:mt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:mt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:mt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:mt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:mt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:mt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:mt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:mt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:mt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:mt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:mt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:mt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:mt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:mt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:mt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:mt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Nt={backgroundActionPrimary:mt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ot.colorBrand0),backgroundErrorPrimary:mt.extend("--ft-background-error-primary","Used as background of error components.",Ot.colorRed0),backgroundErrorSubtle:mt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ot.colorRed10),backgroundInfoPrimary:mt.extend("--ft-background-info-primary","Used as background of information components.",Ot.colorCyan200),backgroundInfoSubtle:mt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ot.colorCyan10),backgroundWarningPrimary:mt.extend("--ft-background-warning-primary","Used as background of warning components.",Ot.colorOrange300),backgroundWarningSubtle:mt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ot.colorOrange10),backgroundSuccessPrimary:mt.extend("--ft-background-success-primary","Used as background of success components.",Ot.colorGreen200),backgroundSuccessSubtle:mt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ot.colorGreen10),backgroundGlobalSurface:mt.extend("--ft-background-global-surface","Used as app background.",Ot.colorWhite),backgroundGlobalOnSurface:mt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ot.colorGray10),backgroundGlobalOnSurfaceDark:mt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ot.colorGray30),contentActionPrimary:mt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ot.colorBrand0),contentWarningPrimary:mt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ot.colorOrange300),contentWarningIconOnly:mt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ot.colorOrange0),contentErrorPrimary:mt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ot.colorRed0),contentErrorIconOnly:mt.extend("--ft-content-error-icon-only","Used on error status icons alone",Ot.colorRed0),contentInfoPrimary:mt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ot.colorCyan200),contentInfoIconOnly:mt.extend("--ft-content-info-icon-only","Used on info status icons alone",Ot.colorCyan0),contentSuccessIconOnly:mt.extend("--ft-content-success-icon-only","Used on success status icons alone",Ot.colorGreen0),contentSuccessPrimary:mt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ot.colorGreen200),contentGlobalPrimary:mt.extend("--ft-content-global-primary","Used for main content on the page.",Ot.colorGray500),contentGlobalSecondary:mt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ot.colorGray200),contentGlobalSubtle:mt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ot.colorGray0),contentGlobalOnColor:mt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ot.colorWhite),borderActionPrimary:mt.extend("--ft-border-action-primary","Used as border for primary action components.",Ot.colorBrand0),borderActionFocusRing:mt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ot.colorCyan0),borderWarningPrimary:mt.extend("--ft-border-warning-primary","Used as border for warning components.",Ot.colorOrange30),borderSuccessPrimary:mt.extend("--ft-border-success-primary","Used as border for success components.",Ot.colorGreen30),borderErrorPrimary:mt.extend("--ft-border-error-primary","Used as border for error components.",Ot.colorRed30),borderInfoPrimary:mt.extend("--ft-border-info-primary","Used as border for information components.",Ot.colorCyan30),borderGlobalSubtle:mt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ot.colorGray30),borderGlobalPrimary:mt.extend("--ft-border-global-primary","Used as border for element like input.",Ot.colorGray50),borderInputPrimary:mt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ot.colorGray80)};mt.create("--ft-button-large-height","","SIZE","40px"),mt.extend("--ft-button-large-horizontal-padding","",Ot.spacing4),mt.extend("--ft-button-large-gap","",Ot.spacing2),mt.extend("--ft-button-large-border-radius","",Ot.borderRadiusS),mt.extend("--ft-button-large-icon-size","",Ot.iconSize3),mt.create("--ft-button-large-border-width","","SIZE","1px"),mt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),mt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),mt.create("--ft-button-large-icon-only-width","","SIZE","40px"),mt.create("--ft-button-small-height","","SIZE","30px"),mt.extend("--ft-button-small-horizontal-padding","",Ot.spacing3),mt.extend("--ft-button-small-gap","",Ot.spacing2),mt.extend("--ft-button-small-border-radius","",Ot.borderRadiusS),mt.extend("--ft-button-small-icon-size","",Ot.iconSize2),mt.create("--ft-button-small-border-width","","SIZE","1px"),mt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),mt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),mt.create("--ft-button-small-icon-only-width","","SIZE","30px"),mt.extend("--ft-button-primary-background-color","",Nt.backgroundActionPrimary),mt.extend("--ft-button-primary-color","",Nt.contentGlobalOnColor),mt.extend("--ft-button-primary-icon-color","",Nt.contentGlobalOnColor),mt.extend("--ft-button-primary-state-layer-color","",Nt.contentGlobalOnColor),mt.extend("--ft-button-primary-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-button-primary-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-button-primary-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-button-primary-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-button-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),mt.extend("--ft-button-tertiary-color","",Nt.contentActionPrimary),mt.extend("--ft-button-tertiary-icon-color","",Nt.contentActionPrimary),mt.extend("--ft-button-tertiary-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ot.opacity8),mt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ot.opacity8),mt.extend("--ft-button-tertiary-state-layer-opacity-active","",Ot.opacity16),mt.extend("--ft-button-tertiary-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-button-secondary-background-color","",Ot.colorWhite),mt.extend("--ft-button-secondary-color","",Nt.contentActionPrimary),mt.extend("--ft-button-secondary-icon-color","",Nt.contentActionPrimary),mt.extend("--ft-button-secondary-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-button-secondary-state-layer-opacity-hover","",Ot.opacity8),mt.extend("--ft-button-secondary-state-layer-opacity-focus","",Ot.opacity8),mt.extend("--ft-button-secondary-state-layer-opacity-active","",Ot.opacity16),mt.extend("--ft-button-secondary-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-button-secondary-border-color","",Nt.borderActionPrimary),mt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),mt.extend("--ft-button-neutral-icon-color","",Nt.contentGlobalSecondary),mt.extend("--ft-button-neutral-color","",Nt.contentGlobalSecondary),mt.extend("--ft-button-neutral-state-layer-color","",Nt.contentGlobalSecondary),mt.extend("--ft-button-neutral-state-layer-opacity-hover","",Ot.opacity8),mt.extend("--ft-button-neutral-state-layer-opacity-focus","",Ot.opacity8),mt.extend("--ft-button-neutral-state-layer-opacity-active","",Ot.opacity16),mt.extend("--ft-button-neutral-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-tabs-top-left-border-radius","",Ot.borderRadiusS),mt.extend("--ft-tabs-top-right-border-radius","",Ot.borderRadiusS),mt.extend("--ft-tabs-label-horizontal-padding","",Ot.spacing4),mt.extend("--ft-tabs-label-vertical-padding","",Ot.spacing3),mt.extend("--ft-tabs-label-gap","",Ot.spacing1),mt.extend("--ft-switch-group-horizontal-padding","",Ot.spacing1),mt.extend("--ft-switch-group-vertical-padding","",Ot.spacing1),mt.extend("--ft-switch-group-gap","",Ot.spacing1),mt.extend("--ft-switch-group-background-color","",Nt.backgroundGlobalSurface),mt.extend("--ft-switch-group-border-color","",Nt.borderGlobalSubtle),mt.create("--ft-switch-group-border-radius","","SIZE","6px"),mt.extend("--ft-switch-label-horizontal-padding","",Ot.spacing2),mt.extend("--ft-switch-label-vertical-padding","",Ot.spacing1),mt.extend("--ft-switch-icon-horizontal-padding","",Ot.spacing1),mt.extend("--ft-switch-icon-vertical-padding","",Ot.spacing1),mt.create("--ft-switch-focus-outline-width","","SIZE","2px"),mt.extend("--ft-switch-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.extend("--ft-switch-option-border-radius","",Ot.borderRadiusS),mt.extend("--ft-switch-off-state-layer-opacity-hover","",Ot.opacity8),mt.extend("--ft-switch-off-state-layer-opacity-focus","",Ot.opacity8),mt.extend("--ft-switch-off-state-layer-opacity-active","",Ot.opacity16),mt.extend("--ft-switch-off-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-switch-off-color","",Nt.contentGlobalSubtle),mt.extend("--ft-switch-off-state-layer-color","",Nt.contentGlobalSubtle),mt.extend("--ft-chart-1-light","for area color charts",Ot.colorBrand40),mt.extend("--ft-chart-1-base","for line charts",Ot.colorBrand0),mt.extend("--ft-chart-2-light","for area color charts",Ot.colorYellow60),mt.extend("--ft-chart-2-base","for line charts",Ot.colorYellow100),mt.extend("--ft-chart-3-light","",Ot.colorUltramarine40),mt.extend("--ft-chart-3-base","",Ot.colorUltramarine70),mt.extend("--ft-chart-4-light","",Ot.colorCyan50),mt.extend("--ft-chart-4-base","",Ot.colorCyan100),mt.extend("--ft-chart-5-light","",Ot.colorRed40),mt.extend("--ft-chart-5-base","",Ot.colorRed60),mt.extend("--ft-chart-6-light","",Ot.colorGreen40),mt.extend("--ft-chart-6-base","",Ot.colorGreen70),mt.extend("--ft-chart-7-light","",Ot.colorOrange70),mt.extend("--ft-chart-7-base","",Ot.colorOrange100),mt.extend("--ft-chart-8-light","",Ot.colorAvocado70),mt.extend("--ft-chart-8-base","",Ot.colorAvocado200),mt.extend("--ft-chart-9-light","",Ot.colorBrown50),mt.extend("--ft-chart-9-base","",Ot.colorBrown200),mt.extend("--ft-chart-10-light","",Ot.colorGray50),mt.extend("--ft-chart-10-base","",Ot.colorGray80),mt.extend("--ft-chart-monochrome-10","",Ot.colorBrand10),mt.extend("--ft-chart-monochrome-20","",Ot.colorBrand20),mt.extend("--ft-chart-monochrome-30","",Ot.colorBrand40),mt.extend("--ft-chart-monochrome-40","",Ot.colorBrand60),mt.extend("--ft-chart-monochrome-50","",Ot.colorBrand0),mt.extend("--ft-chart-monochrome-60","",Ot.colorBrand200),mt.extend("--ft-chip-large-horizontal-padding","",Ot.spacing4),mt.extend("--ft-chip-large-vertical-padding","",Ot.spacing2),mt.extend("--ft-chip-large-gap","",Ot.spacing1),mt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-large-border-radius","",Ot.borderRadiusPill),mt.create("--ft-chip-large-border-width","","SIZE","1px"),mt.extend("--ft-chip-large-icon-size","",Ot.iconSize3),mt.extend("--ft-chip-medium-horizontal-padding","",Ot.spacing3),mt.extend("--ft-chip-medium-vertical-padding","",Ot.spacing1),mt.extend("--ft-chip-medium-gap","",Ot.spacing1),mt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-medium-border-radius","",Ot.borderRadiusPill),mt.create("--ft-chip-medium-border-width","","SIZE","1px"),mt.extend("--ft-chip-medium-icon-size","",Ot.iconSize2),mt.extend("--ft-chip-small-horizontal-padding","",Ot.spacing2),mt.extend("--ft-chip-small-vertical-padding","",Ot.spacing05),mt.extend("--ft-chip-small-gap","",Ot.spacing1),mt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-small-border-radius","",Ot.borderRadiusPill),mt.create("--ft-chip-small-border-width","","SIZE","1px"),mt.extend("--ft-chip-small-icon-size","",Ot.iconSize1),mt.extend("--ft-chip-neutral-background-color","",Nt.backgroundGlobalOnSurface),mt.extend("--ft-chip-neutral-color","",Nt.contentGlobalPrimary),mt.extend("--ft-chip-neutral-border-color","",Nt.borderGlobalSubtle),mt.extend("--ft-chip-info-background-color","",Nt.backgroundInfoSubtle),mt.extend("--ft-chip-info-color","",Nt.contentInfoPrimary),mt.extend("--ft-chip-info-border-color","",Nt.borderInfoPrimary),mt.extend("--ft-chip-success-background-color","",Nt.backgroundSuccessSubtle),mt.extend("--ft-chip-success-color","",Nt.contentSuccessPrimary),mt.extend("--ft-chip-success-border-color","",Nt.borderSuccessPrimary),mt.extend("--ft-chip-warning-background-color","",Nt.backgroundWarningSubtle),mt.extend("--ft-chip-warning-color","",Nt.contentWarningPrimary),mt.extend("--ft-chip-warning-border-color","",Nt.borderWarningPrimary),mt.extend("--ft-chip-error-background-color","",Nt.backgroundErrorSubtle),mt.extend("--ft-chip-error-color","",Nt.contentErrorPrimary),mt.extend("--ft-chip-error-border-color","",Nt.borderErrorPrimary),mt.create("--ft-notice-border-width","","SIZE","1px"),mt.extend("--ft-notice-horizontal-padding","",Ot.spacing2),mt.extend("--ft-notice-vertical-padding","",Ot.spacing1),mt.extend("--ft-notice-border-radius","",Ot.borderRadiusS),mt.extend("--ft-notice-gap","",Ot.spacing2),mt.extend("--ft-notice-icon-size","",Ot.iconSize3),mt.extend("--ft-notice-info-background-color","",Nt.backgroundInfoSubtle),mt.extend("--ft-notice-info-border-color","",Nt.borderInfoPrimary),mt.extend("--ft-notice-info-color","",Nt.contentInfoPrimary),mt.extend("--ft-notice-warning-background-color","",Nt.backgroundWarningSubtle),mt.extend("--ft-notice-warning-border-color","",Nt.borderWarningPrimary),mt.extend("--ft-notice-warning-color","",Nt.contentWarningPrimary),mt.extend("--ft-checkbox-label-color","",Nt.contentGlobalPrimary),mt.extend("--ft-checkbox-checked-background-color","",Nt.contentActionPrimary),mt.extend("--ft-checkbox-checked-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-checkbox-checked-color","",Nt.contentGlobalOnColor),mt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-checkbox-checked-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-checkbox-unchecked-border-color","",Ot.colorGray80),mt.extend("--ft-checkbox-unchecked-state-layer-color","",Ot.colorGray80),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-checkbox-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),mt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),mt.extend("--ft-checkbox-gap","",Ot.spacing3),mt.extend("--ft-toggle-off-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-toggle-off-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-toggle-off-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-toggle-off-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-toggle-off-background-color","",Nt.contentGlobalSubtle),mt.extend("--ft-toggle-off-icon-color","",Nt.contentGlobalSubtle),mt.extend("--ft-toggle-off-state-layer-color","",Nt.contentGlobalSubtle),mt.extend("--ft-toggle-on-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-toggle-on-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-toggle-on-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-toggle-on-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-toggle-on-background-color","",Nt.contentActionPrimary),mt.extend("--ft-toggle-on-icon-color","",Nt.contentActionPrimary),mt.extend("--ft-toggle-on-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-toggle-label-color","",Nt.contentGlobalPrimary),mt.extend("--ft-toggle-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.extend("--ft-toggle-gap","",Ot.spacing3),mt.extend("--ft-radio-label-color","",Nt.contentGlobalPrimary),mt.extend("--ft-radio-selected-color","",Nt.contentActionPrimary),mt.extend("--ft-radio-selected-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-radio-selected-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-radio-selected-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-radio-selected-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-radio-selected-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-radio-unselected-state-layer-color","",Ot.colorGray80),mt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-radio-unselected-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-radio-unselected-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-radio-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),mt.create("--ft-radio-focus-outline-width","","SIZE","2px"),mt.extend("--ft-radio-gap","",Ot.spacing3),mt.extend("--ft-notification-icon-size","",Ot.iconSize4),mt.extend("--ft-notification-horizontal-padding","",Ot.spacing4),mt.extend("--ft-notification-vertical-padding","",Ot.spacing4),mt.extend("--ft-notification-info-background-color","",Nt.backgroundInfoSubtle),mt.extend("--ft-notification-info-color","",Nt.contentInfoPrimary),mt.extend("--ft-notification-info-border-color","",Nt.borderInfoPrimary),mt.extend("--ft-notification-success-background-color","",Nt.backgroundSuccessSubtle),mt.extend("--ft-notification-success-color","",Nt.contentSuccessPrimary),mt.extend("--ft-notification-success-border-color","",Nt.borderSuccessPrimary),mt.extend("--ft-notification-warning-background-color","",Nt.backgroundWarningSubtle),mt.extend("--ft-notification-warning-color","",Nt.contentWarningPrimary),mt.extend("--ft-notification-warning-border-color","",Nt.borderWarningPrimary),mt.extend("--ft-notification-error-background-color","",Nt.backgroundErrorSubtle),mt.extend("--ft-notification-error-color","",Nt.contentErrorPrimary),mt.extend("--ft-notification-error-border-color","",Nt.borderErrorPrimary),mt.extend("--ft-notification-border-radius","",Ot.borderRadiusPill),mt.create("--ft-notification-border-width","","SIZE","1px"),mt.extend("--ft-notification-gap-leading","",Ot.spacing2),mt.extend("--ft-notification-gap-trailing","",Ot.spacing8);const St={colorPrimary:mt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:mt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:mt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:mt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:mt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:mt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:mt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:mt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:mt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:mt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:mt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:mt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:mt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:mt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:mt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:mt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:mt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:mt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:mt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:mt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:mt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:mt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:mt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:mt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:mt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:mt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:mt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:mt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:mt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:mt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:mt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:mt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:mt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:mt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:mt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:mt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:mt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:mt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:mt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:mt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:mt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:mt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:mt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:mt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:mt.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:mt.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:mt.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:mt.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:mt.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:mt.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:mt.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:mt.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:mt.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:mt.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:mt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:mt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:mt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:mt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:mt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:mt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:mt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:mt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class wt extends ut{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 x(o,t.elementStyles),o}}var Ct,$t=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};const Rt=Symbol("constructorPrototype"),Et=Symbol("constructorName"),Ut=Symbol("exportpartsDebouncer");class It extends wt{constructor(){super(),this[Ct]=new e(5),this[Et]=this.constructor.name,this[Rt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Et]&&Object.setPrototypeOf(this,this[Rt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ut].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,a,n;const l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(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!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...o).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>s.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Ct=Ut,$t([i()],It.prototype,"exportpartsPrefix",void 0),$t([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return i({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)=>!p(t,e),...null!=e?e:{}})}([])],It.prototype,"exportpartsPrefixes",void 0),$t([i()],It.prototype,"customStylesheet",void 0),m`
|
|
71
71
|
.ft-no-text-select {
|
|
72
72
|
-webkit-touch-callout: none;
|
|
73
73
|
-webkit-user-select: none;
|
|
@@ -76,7 +76,7 @@ var dt,ut;let xt=class extends R{constructor(){super(...arguments),this.renderOp
|
|
|
76
76
|
-ms-user-select: none;
|
|
77
77
|
user-select: none;
|
|
78
78
|
}
|
|
79
|
-
`,
|
|
79
|
+
`,m`
|
|
80
80
|
.ft-word-wrap {
|
|
81
81
|
white-space: normal;
|
|
82
82
|
word-wrap: break-word;
|
|
@@ -88,7 +88,7 @@ var dt,ut;let xt=class extends R{constructor(){super(...arguments),this.renderOp
|
|
|
88
88
|
-webkit-hyphens: auto;
|
|
89
89
|
hyphens: auto
|
|
90
90
|
}
|
|
91
|
-
`,
|
|
91
|
+
`,m`
|
|
92
92
|
.ft-safari-ellipsis-fix {
|
|
93
93
|
margin-right: 0;
|
|
94
94
|
|
|
@@ -99,79 +99,61 @@ var dt,ut;let xt=class extends R{constructor(){super(...arguments),this.renderOp
|
|
|
99
99
|
display: inline-block;
|
|
100
100
|
width: 0;
|
|
101
101
|
}
|
|
102
|
-
`,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(
|
|
102
|
+
`,window.ftReduxStores||(window.ftReduxStores={});const kt=Symbol("elementInternals");var Wt,Lt;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Lt=null===(Wt=window.safari)||void 0===Wt?void 0:Wt.pushNotification)||void 0===Lt||Lt.toString());
|
|
103
103
|
/**
|
|
104
104
|
* @license
|
|
105
105
|
* Copyright 2017 Google LLC
|
|
106
106
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
107
107
|
*/
|
|
108
|
-
const
|
|
108
|
+
const Kt=1,Zt=2,zt=t=>(...e)=>({_$litDirective$:t,values:e});class Ft{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)}}
|
|
109
109
|
/**
|
|
110
110
|
* @license
|
|
111
111
|
* Copyright 2018 Google LLC
|
|
112
112
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
113
|
-
*/const
|
|
113
|
+
*/const Dt=zt(class extends Ft{constructor(t){var e;if(super(t),t.type!==Kt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.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]){var o,i;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(o=this.nt)||void 0===o?void 0:o.has(t))&&this.it.add(t);return this.render(e)}const r=t.element.classList;this.it.forEach((t=>{t in e||(r.remove(t),this.it.delete(t))}));for(const t in e){const o=!!e[t];o===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(o?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return q}}),Bt=Symbol.for(""),Mt=t=>{if((null==t?void 0:t.r)===Bt)return null==t?void 0:t._$litStatic$},At=t=>({_$litStatic$:t,r:Bt}),Ht=new Map,jt=(t=>(e,...o)=>{const i=o.length;let r,a;const n=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=e[c];c<i&&void 0!==(a=o[c],r=Mt(a));)s+=r+e[++c],p=!0;c!==i&&l.push(a),n.push(s),c++}if(c===i&&n.push(e[i]),p){const t=n.join("$$lit$$");void 0===(e=Ht.get(t))&&(n.raw=n,Ht.set(t,e=n)),o=l}return t(e,...o)})(J);
|
|
114
114
|
/**
|
|
115
115
|
* @license
|
|
116
116
|
* Copyright 2018 Google LLC
|
|
117
117
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
118
|
-
*/var
|
|
118
|
+
*/var Pt;!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"}(Pt||(Pt={}));const Gt=mt.extend("--ft-typography-font-family","",St.titleFont),Tt=mt.extend("--ft-typography-font-family","",St.contentFont),_t={fontFamily:Tt,fontSize:mt.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:mt.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:mt.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:mt.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:mt.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Vt=mt.extend("--ft-typography-title-font-family","",Gt),Yt=mt.extend("--ft-typography-title-font-size","",_t.fontSize,"20px"),Jt=mt.extend("--ft-typography-title-font-weight","",_t.fontWeight,"normal"),qt=mt.extend("--ft-typography-title-letter-spacing","",_t.letterSpacing,"0.15px"),Xt=mt.extend("--ft-typography-title-line-height","",_t.lineHeight,"1.2"),Qt=mt.extend("--ft-typography-title-text-transform","",_t.textTransform,"inherit"),te=mt.extend("--ft-typography-title-dense-font-family","",Gt),ee=mt.extend("--ft-typography-title-dense-font-size","",_t.fontSize,"14px"),oe=mt.extend("--ft-typography-title-dense-font-weight","",_t.fontWeight,"normal"),ie=mt.extend("--ft-typography-title-dense-letter-spacing","",_t.letterSpacing,"0.105px"),re=mt.extend("--ft-typography-title-dense-line-height","",_t.lineHeight,"1.7"),ae=mt.extend("--ft-typography-title-dense-text-transform","",_t.textTransform,"inherit"),ne=mt.extend("--ft-typography-subtitle1-font-family","",Tt),le=mt.extend("--ft-typography-subtitle1-font-size","",_t.fontSize,"16px"),se=mt.extend("--ft-typography-subtitle1-font-weight","",_t.fontWeight,"600"),ce=mt.extend("--ft-typography-subtitle1-letter-spacing","",_t.letterSpacing,"0.144px"),pe=mt.extend("--ft-typography-subtitle1-line-height","",_t.lineHeight,"1.5"),fe=mt.extend("--ft-typography-subtitle1-text-transform","",_t.textTransform,"inherit"),de=mt.extend("--ft-typography-subtitle2-font-family","",Tt),he=mt.extend("--ft-typography-subtitle2-font-size","",_t.fontSize,"14px"),ge=mt.extend("--ft-typography-subtitle2-font-weight","",_t.fontWeight,"normal"),ue=mt.extend("--ft-typography-subtitle2-letter-spacing","",_t.letterSpacing,"0.098px"),ye=mt.extend("--ft-typography-subtitle2-line-height","",_t.lineHeight,"1.7"),be=mt.extend("--ft-typography-subtitle2-text-transform","",_t.textTransform,"inherit"),me={fontFamily:mt.extend("--ft-typography-body1-font-family","",Tt),fontSize:mt.extend("--ft-typography-body1-font-size","",_t.fontSize,"16px"),fontWeight:mt.extend("--ft-typography-body1-font-weight","",_t.fontWeight,"normal"),letterSpacing:mt.extend("--ft-typography-body1-letter-spacing","",_t.letterSpacing,"0.496px"),lineHeight:mt.extend("--ft-typography-body1-line-height","",_t.lineHeight,"1.5"),textTransform:mt.extend("--ft-typography-body1-text-transform","",_t.textTransform,"inherit")},xe=mt.extend("--ft-typography-body2-font-family","",Tt),Oe=mt.extend("--ft-typography-body2-font-size","",_t.fontSize,"14px"),ve=mt.extend("--ft-typography-body2-font-weight","",_t.fontWeight,"normal"),Ne=mt.extend("--ft-typography-body2-letter-spacing","",_t.letterSpacing,"0.252px"),Se=mt.extend("--ft-typography-body2-line-height","",_t.lineHeight,"1.4"),we=mt.extend("--ft-typography-body2-text-transform","",_t.textTransform,"inherit"),Ce={fontFamily:mt.extend("--ft-typography-caption-font-family","",Tt),fontSize:mt.extend("--ft-typography-caption-font-size","",_t.fontSize,"12px"),fontWeight:mt.extend("--ft-typography-caption-font-weight","",_t.fontWeight,"normal"),letterSpacing:mt.extend("--ft-typography-caption-letter-spacing","",_t.letterSpacing,"0.396px"),lineHeight:mt.extend("--ft-typography-caption-line-height","",_t.lineHeight,"1.33"),textTransform:mt.extend("--ft-typography-caption-text-transform","",_t.textTransform,"inherit")},$e=mt.extend("--ft-typography-breadcrumb-font-family","",Tt),Re=mt.extend("--ft-typography-breadcrumb-font-size","",_t.fontSize,"10px"),Ee=mt.extend("--ft-typography-breadcrumb-font-weight","",_t.fontWeight,"normal"),Ue=mt.extend("--ft-typography-breadcrumb-letter-spacing","",_t.letterSpacing,"0.33px"),Ie=mt.extend("--ft-typography-breadcrumb-line-height","",_t.lineHeight,"1.6"),ke=mt.extend("--ft-typography-breadcrumb-text-transform","",_t.textTransform,"inherit"),We=mt.extend("--ft-typography-overline-font-family","",Tt),Le=mt.extend("--ft-typography-overline-font-size","",_t.fontSize,"10px"),Ke=mt.extend("--ft-typography-overline-font-weight","",_t.fontWeight,"normal"),Ze=mt.extend("--ft-typography-overline-letter-spacing","",_t.letterSpacing,"1.5px"),ze=mt.extend("--ft-typography-overline-line-height","",_t.lineHeight,"1.6"),Fe=mt.extend("--ft-typography-overline-text-transform","",_t.textTransform,"uppercase"),De=mt.extend("--ft-typography-button-font-family","",Tt),Be=mt.extend("--ft-typography-button-font-size","",_t.fontSize,"14px"),Me=mt.extend("--ft-typography-button-font-weight","",_t.fontWeight,"600"),Ae=mt.extend("--ft-typography-button-letter-spacing","",_t.letterSpacing,"1.246px"),He=mt.extend("--ft-typography-button-line-height","",_t.lineHeight,"1.15"),je=mt.extend("--ft-typography-button-text-transform","",_t.textTransform,"uppercase"),Pe=m`
|
|
119
119
|
.ft-typography--title {
|
|
120
|
-
font-family: ${
|
|
121
|
-
font-size: ${
|
|
122
|
-
font-weight: ${
|
|
123
|
-
letter-spacing: ${
|
|
124
|
-
line-height: ${
|
|
125
|
-
text-transform: ${
|
|
126
|
-
}
|
|
127
|
-
`,
|
|
120
|
+
font-family: ${Vt};
|
|
121
|
+
font-size: ${Yt};
|
|
122
|
+
font-weight: ${Jt};
|
|
123
|
+
letter-spacing: ${qt};
|
|
124
|
+
line-height: ${Xt};
|
|
125
|
+
text-transform: ${Qt};
|
|
126
|
+
}
|
|
127
|
+
`,Ge=m`
|
|
128
128
|
.ft-typography--title-dense {
|
|
129
|
-
font-family: ${
|
|
130
|
-
font-size: ${
|
|
131
|
-
font-weight: ${Yt};
|
|
132
|
-
letter-spacing: ${Gt};
|
|
133
|
-
line-height: ${Qt};
|
|
134
|
-
text-transform: ${te};
|
|
135
|
-
}
|
|
136
|
-
`,Te=v`
|
|
137
|
-
.ft-typography--subtitle1 {
|
|
138
|
-
font-family: ${ee};
|
|
139
|
-
font-size: ${ie};
|
|
129
|
+
font-family: ${te};
|
|
130
|
+
font-size: ${ee};
|
|
140
131
|
font-weight: ${oe};
|
|
141
|
-
letter-spacing: ${
|
|
142
|
-
line-height: ${
|
|
143
|
-
text-transform: ${
|
|
132
|
+
letter-spacing: ${ie};
|
|
133
|
+
line-height: ${re};
|
|
134
|
+
text-transform: ${ae};
|
|
144
135
|
}
|
|
145
|
-
`,
|
|
136
|
+
`,Te=m`
|
|
137
|
+
.ft-typography--subtitle1 {
|
|
138
|
+
font-family: ${ne};
|
|
139
|
+
font-size: ${le};
|
|
140
|
+
font-weight: ${se};
|
|
141
|
+
letter-spacing: ${ce};
|
|
142
|
+
line-height: ${pe};
|
|
143
|
+
text-transform: ${fe};
|
|
144
|
+
}
|
|
145
|
+
`,_e=m`
|
|
146
146
|
.ft-typography--subtitle2 {
|
|
147
|
-
font-family: ${
|
|
148
|
-
font-size: ${
|
|
149
|
-
font-weight: ${pe};
|
|
150
|
-
letter-spacing: ${fe};
|
|
151
|
-
line-height: ${he};
|
|
152
|
-
text-transform: ${ce};
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
`,We=v`
|
|
156
|
-
.ft-typography--body1 {
|
|
157
|
-
font-family: ${de.fontFamily};
|
|
158
|
-
font-size: ${de.fontSize};
|
|
159
|
-
font-weight: ${de.fontWeight};
|
|
160
|
-
letter-spacing: ${de.letterSpacing};
|
|
161
|
-
line-height: ${de.lineHeight};
|
|
162
|
-
text-transform: ${de.textTransform};
|
|
163
|
-
}
|
|
164
|
-
`,He=v`
|
|
165
|
-
.ft-typography--body2 {
|
|
166
|
-
font-family: ${ue};
|
|
167
|
-
font-size: ${xe};
|
|
147
|
+
font-family: ${de};
|
|
148
|
+
font-size: ${he};
|
|
168
149
|
font-weight: ${ge};
|
|
169
|
-
letter-spacing: ${
|
|
170
|
-
line-height: ${
|
|
150
|
+
letter-spacing: ${ue};
|
|
151
|
+
line-height: ${ye};
|
|
171
152
|
text-transform: ${be};
|
|
172
153
|
}
|
|
173
|
-
|
|
174
|
-
|
|
154
|
+
|
|
155
|
+
`,Ve=m`
|
|
156
|
+
.ft-typography--body1 {
|
|
175
157
|
font-family: ${me.fontFamily};
|
|
176
158
|
font-size: ${me.fontSize};
|
|
177
159
|
font-weight: ${me.fontWeight};
|
|
@@ -179,63 +161,88 @@ const Rt=1,Mt=2,Ut=t=>(...e)=>({_$litDirective$:t,values:e});class zt{constructo
|
|
|
179
161
|
line-height: ${me.lineHeight};
|
|
180
162
|
text-transform: ${me.textTransform};
|
|
181
163
|
}
|
|
182
|
-
`,
|
|
164
|
+
`,Ye=m`
|
|
165
|
+
.ft-typography--body2 {
|
|
166
|
+
font-family: ${xe};
|
|
167
|
+
font-size: ${Oe};
|
|
168
|
+
font-weight: ${ve};
|
|
169
|
+
letter-spacing: ${Ne};
|
|
170
|
+
line-height: ${Se};
|
|
171
|
+
text-transform: ${we};
|
|
172
|
+
}
|
|
173
|
+
`,Je=m`
|
|
174
|
+
.ft-typography--caption {
|
|
175
|
+
font-family: ${Ce.fontFamily};
|
|
176
|
+
font-size: ${Ce.fontSize};
|
|
177
|
+
font-weight: ${Ce.fontWeight};
|
|
178
|
+
letter-spacing: ${Ce.letterSpacing};
|
|
179
|
+
line-height: ${Ce.lineHeight};
|
|
180
|
+
text-transform: ${Ce.textTransform};
|
|
181
|
+
}
|
|
182
|
+
`,qe=m`
|
|
183
183
|
.ft-typography--breadcrumb {
|
|
184
|
-
font-family: ${
|
|
185
|
-
font-size: ${
|
|
186
|
-
font-weight: ${
|
|
187
|
-
letter-spacing: ${
|
|
188
|
-
line-height: ${
|
|
189
|
-
text-transform: ${
|
|
190
|
-
}
|
|
191
|
-
`,
|
|
184
|
+
font-family: ${$e};
|
|
185
|
+
font-size: ${Re};
|
|
186
|
+
font-weight: ${Ee};
|
|
187
|
+
letter-spacing: ${Ue};
|
|
188
|
+
line-height: ${Ie};
|
|
189
|
+
text-transform: ${ke};
|
|
190
|
+
}
|
|
191
|
+
`,Xe=m`
|
|
192
192
|
.ft-typography--overline {
|
|
193
|
-
font-family: ${
|
|
194
|
-
font-size: ${
|
|
195
|
-
font-weight: ${
|
|
196
|
-
letter-spacing: ${
|
|
197
|
-
line-height: ${
|
|
198
|
-
text-transform: ${
|
|
199
|
-
}
|
|
200
|
-
`,
|
|
193
|
+
font-family: ${We};
|
|
194
|
+
font-size: ${Le};
|
|
195
|
+
font-weight: ${Ke};
|
|
196
|
+
letter-spacing: ${Ze};
|
|
197
|
+
line-height: ${ze};
|
|
198
|
+
text-transform: ${Fe};
|
|
199
|
+
}
|
|
200
|
+
`,Qe=m`
|
|
201
201
|
.ft-typography--button {
|
|
202
|
-
font-family: ${
|
|
203
|
-
font-size: ${
|
|
204
|
-
font-weight: ${
|
|
205
|
-
letter-spacing: ${
|
|
206
|
-
line-height: ${
|
|
207
|
-
text-transform: ${
|
|
208
|
-
}
|
|
209
|
-
`,
|
|
202
|
+
font-family: ${De};
|
|
203
|
+
font-size: ${Be};
|
|
204
|
+
font-weight: ${Me};
|
|
205
|
+
letter-spacing: ${Ae};
|
|
206
|
+
line-height: ${He};
|
|
207
|
+
text-transform: ${je};
|
|
208
|
+
}
|
|
209
|
+
`,to=m`
|
|
210
210
|
.ft-typography {
|
|
211
211
|
vertical-align: inherit;
|
|
212
212
|
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
213
|
+
`,eo=[Object.keys(vt).map((t=>function(t){const e=vt[t];return m`
|
|
214
|
+
font-family: ${e.fontFamily};
|
|
215
|
+
font-size: ${e.fontSize};
|
|
216
|
+
font-weight: ${e.fontWeight};
|
|
217
|
+
letter-spacing: ${e.letterSpacing};
|
|
218
|
+
line-height: ${e.lineHeight};
|
|
219
|
+
text-transform: ${e.textCase};
|
|
220
|
+
`}(t)))];var oo=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class io extends It{constructor(){super(...arguments),this.variant=Pt.body1}render(){return this.element?jt`
|
|
221
|
+
<${At(this.element)}
|
|
222
|
+
class="ft-typography ft-typography--${this.variant}">
|
|
216
223
|
<slot></slot>
|
|
217
|
-
</${
|
|
218
|
-
`:
|
|
224
|
+
</${At(this.element)}>
|
|
225
|
+
`:jt`
|
|
219
226
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
220
|
-
`}}
|
|
227
|
+
`}}io.styles=[Pe,Ge,Te,_e,Ve,Ye,Je,qe,Xe,Qe,to,...eo],oo([i()],io.prototype,"element",void 0),oo([i()],io.prototype,"variant",void 0),f("ft-typography")(io);const ro={fontSize:mt.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:mt.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:mt.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:mt.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:mt.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:mt.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:mt.extend("--ft-input-label-border-color","",St.colorOutline),textColor:mt.extend("--ft-input-label-text-color","",St.colorOnSurfaceMedium),disabledTextColor:mt.extend("--ft-input-label-disabled-text-color","",St.colorOnSurfaceDisabled),colorSurface:mt.external(St.colorSurface,"Design system"),borderRadiusS:mt.external(St.borderRadiusS,"Design system"),colorError:mt.external(St.colorError,"Design system")},ao=m`
|
|
221
228
|
.ft-input-label {
|
|
222
229
|
position: absolute;
|
|
223
230
|
inset: 0;
|
|
224
231
|
display: flex;
|
|
225
|
-
background-color: ${
|
|
226
|
-
border-radius: ${
|
|
232
|
+
background-color: ${ro.colorSurface};
|
|
233
|
+
border-radius: ${ro.borderRadiusS} ${ro.borderRadiusS} 0 0;
|
|
227
234
|
}
|
|
228
235
|
|
|
229
236
|
.ft-input-label--outlined {
|
|
230
|
-
border-radius: ${
|
|
237
|
+
border-radius: ${ro.borderRadiusS};
|
|
231
238
|
}
|
|
232
239
|
|
|
233
240
|
.ft-input-label {
|
|
234
|
-
border-color: ${
|
|
241
|
+
border-color: ${ro.borderColor};
|
|
235
242
|
}
|
|
236
243
|
|
|
237
244
|
.ft-input-label.ft-input-label--in-error {
|
|
238
|
-
border-color: ${
|
|
245
|
+
border-color: ${ro.colorError}
|
|
239
246
|
}
|
|
240
247
|
|
|
241
248
|
.ft-input-label:before,
|
|
@@ -248,7 +255,7 @@ const Rt=1,Mt=2,Ut=t=>(...e)=>({_$litDirective$:t,values:e});class zt{constructo
|
|
|
248
255
|
}
|
|
249
256
|
|
|
250
257
|
.ft-input-label:before {
|
|
251
|
-
width: calc(${
|
|
258
|
+
width: calc(${ro.horizontalSpacing} - 4px);
|
|
252
259
|
flex-shrink: 0;
|
|
253
260
|
}
|
|
254
261
|
|
|
@@ -264,20 +271,20 @@ const Rt=1,Mt=2,Ut=t=>(...e)=>({_$litDirective$:t,values:e});class zt{constructo
|
|
|
264
271
|
border-bottom-width: 1px;
|
|
265
272
|
border-bottom-style: solid;
|
|
266
273
|
border-color: inherit;
|
|
267
|
-
color: ${
|
|
274
|
+
color: ${ro.textColor};
|
|
268
275
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
269
|
-
max-width: calc(${
|
|
276
|
+
max-width: calc(${ro.labelMaxWidth} - 2 * (${ro.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
270
277
|
text-overflow: ellipsis;
|
|
271
|
-
${
|
|
272
|
-
${
|
|
278
|
+
${xt(Ce.fontSize,ro.fontSize)};
|
|
279
|
+
${xt(Ce.lineHeight,ro.fontSize)};
|
|
273
280
|
}
|
|
274
281
|
|
|
275
282
|
.ft-input-label--in-error .ft-input-label--text {
|
|
276
|
-
color: ${
|
|
283
|
+
color: ${ro.colorError}
|
|
277
284
|
}
|
|
278
285
|
|
|
279
286
|
.ft-input-label--disabled .ft-input-label--text {
|
|
280
|
-
color: ${
|
|
287
|
+
color: ${ro.disabledTextColor};
|
|
281
288
|
}
|
|
282
289
|
|
|
283
290
|
.ft-input-label--hidden-text {
|
|
@@ -294,19 +301,19 @@ const Rt=1,Mt=2,Ut=t=>(...e)=>({_$litDirective$:t,values:e});class zt{constructo
|
|
|
294
301
|
overflow: hidden;
|
|
295
302
|
white-space: nowrap;
|
|
296
303
|
text-overflow: ellipsis;
|
|
297
|
-
padding: ${
|
|
298
|
-
margin: calc(${
|
|
304
|
+
padding: ${ro.verticalSpacing} 4px;
|
|
305
|
+
margin: calc(${ro.verticalSpacing} * -1) 0;
|
|
299
306
|
max-width: 100%;
|
|
300
307
|
box-sizing: border-box;
|
|
301
308
|
}
|
|
302
309
|
|
|
303
310
|
.ft-input-label--raised .ft-input-label--text {
|
|
304
|
-
${
|
|
305
|
-
${
|
|
311
|
+
${xt(Ce.fontSize,ro.raisedFontSize)};
|
|
312
|
+
${xt(Ce.lineHeight,ro.raisedFontSize)};
|
|
306
313
|
}
|
|
307
314
|
|
|
308
315
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
309
|
-
top: ${
|
|
316
|
+
top: ${ro.verticalSpacing};
|
|
310
317
|
}
|
|
311
318
|
|
|
312
319
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -319,36 +326,36 @@ const Rt=1,Mt=2,Ut=t=>(...e)=>({_$litDirective$:t,values:e});class zt{constructo
|
|
|
319
326
|
.ft-input-label--outlined:before {
|
|
320
327
|
border-left-width: 1px;
|
|
321
328
|
border-left-style: solid;
|
|
322
|
-
border-radius: ${
|
|
329
|
+
border-radius: ${ro.borderRadiusS} 0 0 ${ro.borderRadiusS};
|
|
323
330
|
}
|
|
324
331
|
|
|
325
332
|
.ft-input-label--outlined:after {
|
|
326
333
|
border-right-width: 1px;
|
|
327
334
|
border-right-style: solid;
|
|
328
|
-
border-radius: 0 ${
|
|
335
|
+
border-radius: 0 ${ro.borderRadiusS} ${ro.borderRadiusS} 0;
|
|
329
336
|
}
|
|
330
337
|
|
|
331
338
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
332
339
|
padding: 2px 4px;
|
|
333
|
-
z-index: ${
|
|
334
|
-
background-color: ${
|
|
335
|
-
border-radius: ${
|
|
340
|
+
z-index: ${ro.raisedZIndex};
|
|
341
|
+
background-color: ${ro.colorSurface};
|
|
342
|
+
border-radius: ${ro.borderRadiusS};
|
|
336
343
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
337
344
|
}
|
|
338
345
|
|
|
339
346
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
340
347
|
border-top: none;
|
|
341
348
|
}
|
|
342
|
-
`;var
|
|
343
|
-
<div class="${
|
|
344
|
-
${this.text?
|
|
349
|
+
`;var no=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class lo extends It{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 J`
|
|
350
|
+
<div class="${Dt(t)}">
|
|
351
|
+
${this.text?J`
|
|
345
352
|
<div class="ft-input-label--text ft-typography--caption">
|
|
346
353
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
347
354
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
348
355
|
</div>
|
|
349
356
|
`:null}
|
|
350
357
|
</div>
|
|
351
|
-
`}}
|
|
358
|
+
`}}lo.elementDefinitions={},lo.styles=[Je,ao],no([i({type:String})],lo.prototype,"text",void 0),no([i({type:Boolean})],lo.prototype,"raised",void 0),no([i({type:Boolean})],lo.prototype,"outlined",void 0),no([i({type:Boolean})],lo.prototype,"disabled",void 0),no([i({type:Boolean})],lo.prototype,"error",void 0),f("ft-input-label")(lo);const so=mt.extend("--ft-ripple-color","",St.colorContent),co={color:so,backgroundColor:mt.extend("--ft-ripple-background-color","",so),opacityContentOnSurfacePressed:mt.external(St.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:mt.external(St.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:mt.external(St.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:mt.external(St.opacityContentOnSurfaceSelected,"Design system"),borderRadius:mt.create("--ft-ripple-border-radius","","SIZE","0px")},po=mt.extend("--ft-ripple-color","",St.colorPrimary),fo=po,ho=mt.extend("--ft-ripple-background-color","",po),go=mt.extend("--ft-ripple-color","",St.colorSecondary),uo=go,yo=mt.extend("--ft-ripple-background-color","",go),bo=m`
|
|
352
359
|
:host {
|
|
353
360
|
display: contents;
|
|
354
361
|
}
|
|
@@ -361,7 +368,7 @@ const Rt=1,Mt=2,Ut=t=>(...e)=>({_$litDirective$:t,values:e});class zt{constructo
|
|
|
361
368
|
|
|
362
369
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
363
370
|
overflow: hidden;
|
|
364
|
-
border-radius: ${
|
|
371
|
+
border-radius: ${co.borderRadius};
|
|
365
372
|
}
|
|
366
373
|
|
|
367
374
|
.ft-ripple .ft-ripple--background,
|
|
@@ -395,27 +402,27 @@ const Rt=1,Mt=2,Ut=t=>(...e)=>({_$litDirective$:t,values:e});class zt{constructo
|
|
|
395
402
|
}
|
|
396
403
|
|
|
397
404
|
.ft-ripple .ft-ripple--background {
|
|
398
|
-
background-color: ${
|
|
405
|
+
background-color: ${co.backgroundColor};
|
|
399
406
|
}
|
|
400
407
|
|
|
401
408
|
.ft-ripple .ft-ripple--effect {
|
|
402
|
-
background-color: ${
|
|
409
|
+
background-color: ${co.color};
|
|
403
410
|
}
|
|
404
411
|
|
|
405
412
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
406
|
-
background-color: ${
|
|
413
|
+
background-color: ${yo};
|
|
407
414
|
}
|
|
408
415
|
|
|
409
416
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
410
|
-
background-color: ${
|
|
417
|
+
background-color: ${uo};
|
|
411
418
|
}
|
|
412
419
|
|
|
413
420
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
414
|
-
background-color: ${
|
|
421
|
+
background-color: ${ho};
|
|
415
422
|
}
|
|
416
423
|
|
|
417
424
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
418
|
-
background-color: ${
|
|
425
|
+
background-color: ${fo};
|
|
419
426
|
}
|
|
420
427
|
|
|
421
428
|
.ft-ripple .ft-ripple--background {
|
|
@@ -445,39 +452,39 @@ const Rt=1,Mt=2,Ut=t=>(...e)=>({_$litDirective$:t,values:e});class zt{constructo
|
|
|
445
452
|
}
|
|
446
453
|
|
|
447
454
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
448
|
-
opacity: ${
|
|
455
|
+
opacity: ${co.opacityContentOnSurfaceHover};
|
|
449
456
|
}
|
|
450
457
|
|
|
451
458
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
452
|
-
opacity: ${
|
|
459
|
+
opacity: ${co.opacityContentOnSurfaceSelected};
|
|
453
460
|
}
|
|
454
461
|
|
|
455
462
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
456
|
-
opacity: ${
|
|
463
|
+
opacity: ${co.opacityContentOnSurfaceFocused};
|
|
457
464
|
}
|
|
458
465
|
|
|
459
466
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
460
|
-
opacity: ${
|
|
467
|
+
opacity: ${co.opacityContentOnSurfacePressed};
|
|
461
468
|
transform: translate(-50%, -50%) scale(1);
|
|
462
469
|
}
|
|
463
|
-
`;var
|
|
470
|
+
`;var mo=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class xo extends It{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),a=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-a.x:a.width/2),this.originY=Math.round(null!=r?r-a.y:a.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 J`
|
|
464
471
|
<style>
|
|
465
472
|
.ft-ripple .ft-ripple--effect {
|
|
466
473
|
left: ${this.originX}px;
|
|
467
474
|
top: ${this.originY}px;
|
|
468
475
|
}
|
|
469
476
|
</style>
|
|
470
|
-
<div class="${
|
|
477
|
+
<div class="${Dt(t)}">
|
|
471
478
|
<div class="ft-ripple--background"></div>
|
|
472
479
|
<div class="ft-ripple--effect"></div>
|
|
473
480
|
</div>
|
|
474
|
-
`}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,
|
|
481
|
+
`}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)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const 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()}}xo.elementDefinitions={},xo.styles=bo,mo([i({type:Boolean})],xo.prototype,"primary",void 0),mo([i({type:Boolean})],xo.prototype,"secondary",void 0),mo([i({type:Boolean})],xo.prototype,"unbounded",void 0),mo([i({type:Boolean})],xo.prototype,"activated",void 0),mo([i({type:Boolean})],xo.prototype,"selected",void 0),mo([i({type:Boolean})],xo.prototype,"disabled",void 0),mo([r()],xo.prototype,"hovered",void 0),mo([r()],xo.prototype,"focused",void 0),mo([r()],xo.prototype,"pressed",void 0),mo([r()],xo.prototype,"rippling",void 0),mo([r()],xo.prototype,"originX",void 0),mo([r()],xo.prototype,"originY",void 0),mo([n(".ft-ripple")],xo.prototype,"ripple",void 0),mo([n(".ft-ripple--effect")],xo.prototype,"rippleEffect",void 0),f("ft-ripple")(xo);
|
|
475
482
|
/**
|
|
476
483
|
* @license
|
|
477
484
|
* Copyright 2017 Google LLC
|
|
478
485
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
479
486
|
*/
|
|
480
|
-
class
|
|
487
|
+
class Oo extends Ft{constructor(t){if(super(t),this.et=X,t.type!==Zt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||null==t)return this.ft=void 0,this.et=t;if(t===q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Oo.directiveName="unsafeHTML",Oo.resultType=1;const vo=zt(Oo);var No,So;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(No||(No={})),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=""}(So||(So={})),new Map([...["abw"].map((t=>[t,So.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,So.AUDIO])),...["avi"].map((t=>[t,So.AVI])),...["chm","xhs"].map((t=>[t,So.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,So.CODE])),...["csv"].map((t=>[t,So.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,So.DITA])),...["epub"].map((t=>[t,So.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,So.EXCEL])),...["flac"].map((t=>[t,So.FLAC])),...["gif"].map((t=>[t,So.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,So.GZIP])),...["html","htm","xhtml"].map((t=>[t,So.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,So.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,So.JPEG])),...["json"].map((t=>[t,So.JSON])),...["m4a","m4p"].map((t=>[t,So.M4A])),...["mov","qt"].map((t=>[t,So.MOV])),...["mp3"].map((t=>[t,So.MP3])),...["mp4","m4v"].map((t=>[t,So.MP4])),...["ogg","oga"].map((t=>[t,So.OGG])),...["pdf","ps"].map((t=>[t,So.PDF])),...["png"].map((t=>[t,So.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,So.POWERPOINT])),...["rar"].map((t=>[t,So.RAR])),...["stp"].map((t=>[t,So.STP])),...["txt","rtf","md","mdown"].map((t=>[t,So.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,So.VIDEO])),...["wav"].map((t=>[t,So.WAV])),...["wma"].map((t=>[t,So.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,So.WORD])),...["xml","xsl","rdf"].map((t=>[t,So.XML])),...["yaml","yml","x-yaml"].map((t=>[t,So.YAML])),...["zip"].map((t=>[t,So.ZIP]))]);const wo=mt.create("--ft-icon-font-size","","SIZE","24px"),Co=mt.extend("--ft-icon-fluid-topics-font-family","",mt.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),$o=mt.extend("--ft-icon-file-format-font-family","",mt.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),Ro=mt.extend("--ft-icon-material-font-family","",mt.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),Eo=mt.create("--ft-icon-vertical-align","","UNKNOWN","unset"),Uo=m`
|
|
481
488
|
:host, i.ft-icon {
|
|
482
489
|
display: inline-flex;
|
|
483
490
|
align-items: center;
|
|
@@ -486,14 +493,14 @@ class di extends zt{constructor(t){if(super(t),this.et=G,t.type!==Mt)throw Error
|
|
|
486
493
|
}
|
|
487
494
|
|
|
488
495
|
:host {
|
|
489
|
-
width: ${
|
|
490
|
-
height: ${
|
|
496
|
+
width: ${wo};
|
|
497
|
+
height: ${wo};
|
|
491
498
|
}
|
|
492
499
|
|
|
493
500
|
i.ft-icon {
|
|
494
501
|
width: 100%;
|
|
495
502
|
height: 100%;
|
|
496
|
-
font-size: ${
|
|
503
|
+
font-size: ${wo};
|
|
497
504
|
line-height: 1;
|
|
498
505
|
font-weight: normal;
|
|
499
506
|
text-transform: none;
|
|
@@ -504,33 +511,33 @@ class di extends zt{constructor(t){if(super(t),this.et=G,t.type!==Mt)throw Error
|
|
|
504
511
|
text-rendering: auto;
|
|
505
512
|
-webkit-font-smoothing: antialiased;
|
|
506
513
|
-moz-osx-font-smoothing: grayscale;
|
|
507
|
-
vertical-align: ${
|
|
514
|
+
vertical-align: ${Eo};
|
|
508
515
|
}
|
|
509
516
|
|
|
510
517
|
i.ft-icon.ft-icon--fluid-topics {
|
|
511
|
-
font-family: ${
|
|
518
|
+
font-family: ${Co}, ft-icons, fticons, sans-serif;
|
|
512
519
|
|
|
513
520
|
/* Ugly fix because font is broken */
|
|
514
|
-
font-size: calc(0.75 * ${
|
|
515
|
-
line-height: ${
|
|
521
|
+
font-size: calc(0.75 * ${wo});
|
|
522
|
+
line-height: ${wo};
|
|
516
523
|
position: relative;
|
|
517
524
|
top: -4%;
|
|
518
525
|
justify-content: center;
|
|
519
526
|
}
|
|
520
527
|
|
|
521
528
|
.ft-icon--file-format {
|
|
522
|
-
font-family: ${
|
|
529
|
+
font-family: ${$o}, ft-mime, sans-serif;
|
|
523
530
|
}
|
|
524
531
|
|
|
525
532
|
.ft-icon--material {
|
|
526
|
-
font-family: ${
|
|
533
|
+
font-family: ${Ro}, "Material Icons", sans-serif;
|
|
527
534
|
}
|
|
528
|
-
`;var
|
|
535
|
+
`;var Io;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Io||(Io={}));var ko=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Wo extends It{constructor(){super(...arguments),this.resolvedIcon=X}render(){const t=this.variant&&Object.values(Io).includes(this.variant)?this.variant:Io.fluid_topics,e=t!==Io.material||!!this.value;return J`
|
|
529
536
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
530
|
-
${
|
|
537
|
+
${vo(this.resolvedIcon)}
|
|
531
538
|
<slot ?hidden=${e}></slot>
|
|
532
539
|
</i>
|
|
533
|
-
`}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
|
|
540
|
+
`}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 Io.file_format:this.resolvedIcon=null!==(t=So[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Io.material:this.resolvedIcon=this.value||X;break;default:this.resolvedIcon=null!==(e=No[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Wo.elementDefinitions={},Wo.styles=Uo,ko([i()],Wo.prototype,"variant",void 0),ko([i()],Wo.prototype,"value",void 0),ko([r()],Wo.prototype,"resolvedIcon",void 0),ko([n("slot")],Wo.prototype,"slottedContent",void 0),f("ft-icon")(Wo);const Lo={fontSize:mt.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:mt.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:mt.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:mt.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:mt.extend("--ft-text-field-helper-color","",St.colorOnSurfaceMedium),colorPrimary:mt.external(St.colorPrimary,"Design system"),colorOnSurface:mt.external(St.colorOnSurface,"Design system"),colorOnSurfaceDisabled:mt.external(St.colorOnSurfaceDisabled,"Design system"),borderRadiusS:mt.external(St.borderRadiusS,"Design system"),colorError:mt.external(St.colorError,"Design system"),prefixColor:mt.extend("--ft-text-field-prefix-color","",St.colorOnSurfaceMedium),iconColor:mt.extend("--ft-text-field-icon-color","",St.colorOnSurfaceMedium),floatingZIndex:mt.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:mt.external(St.colorSurface,"Design system"),colorOutline:mt.external(St.colorOutline,"Design system"),elevation02:mt.external(St.elevation02,"Design system"),suggestSize:mt.create("--ft-text-field-suggest-size","","SIZE","300px")},Ko=m`
|
|
534
541
|
*:focus {
|
|
535
542
|
outline: none;
|
|
536
543
|
}
|
|
@@ -543,16 +550,16 @@ class di extends zt{constructor(t){if(super(t),this.et=G,t.type!==Mt)throw Error
|
|
|
543
550
|
}
|
|
544
551
|
|
|
545
552
|
ft-input-label {
|
|
546
|
-
${
|
|
547
|
-
${
|
|
548
|
-
${
|
|
549
|
-
${
|
|
553
|
+
${xt(ro.fontSize,Lo.fontSize)};
|
|
554
|
+
${xt(ro.raisedFontSize,Lo.labelSize)};
|
|
555
|
+
${xt(ro.verticalSpacing,Lo.verticalSpacing)};
|
|
556
|
+
${xt(ro.horizontalSpacing,Lo.horizontalSpacing)};
|
|
550
557
|
}
|
|
551
558
|
|
|
552
559
|
.ft-text-field--main-panel {
|
|
553
560
|
position: relative;
|
|
554
561
|
display: flex;
|
|
555
|
-
height: calc(4 * ${
|
|
562
|
+
height: calc(4 * ${Lo.verticalSpacing} + ${Lo.labelSize} + ${Lo.fontSize});
|
|
556
563
|
}
|
|
557
564
|
|
|
558
565
|
.ft-text-field--input-panel {
|
|
@@ -561,24 +568,24 @@ class di extends zt{constructor(t){if(super(t),this.et=G,t.type!==Mt)throw Error
|
|
|
561
568
|
display: flex;
|
|
562
569
|
align-items: center;
|
|
563
570
|
overflow: hidden;
|
|
564
|
-
padding: 0 ${
|
|
571
|
+
padding: 0 ${Lo.horizontalSpacing};
|
|
565
572
|
|
|
566
|
-
${
|
|
567
|
-
${
|
|
573
|
+
${xt(me.fontSize,Lo.fontSize)};
|
|
574
|
+
${xt(me.lineHeight,Lo.fontSize)};
|
|
568
575
|
}
|
|
569
576
|
|
|
570
577
|
.ft-text-field--input-panel ft-ripple {
|
|
571
|
-
${
|
|
572
|
-
${
|
|
578
|
+
${xt(co.opacityContentOnSurfaceHover,"0.08")};
|
|
579
|
+
${xt(co.opacityContentOnSurfacePressed,"0.04")};
|
|
573
580
|
}
|
|
574
581
|
|
|
575
582
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
|
|
576
583
|
align-items: flex-end;
|
|
577
|
-
padding: 0 ${
|
|
584
|
+
padding: 0 ${Lo.horizontalSpacing} ${Lo.verticalSpacing} ${Lo.horizontalSpacing};
|
|
578
585
|
}
|
|
579
586
|
|
|
580
587
|
.ft-text-field--prefix {
|
|
581
|
-
color: ${
|
|
588
|
+
color: ${Lo.prefixColor};
|
|
582
589
|
margin-right: 2px;
|
|
583
590
|
flex-shrink: 1;
|
|
584
591
|
overflow: hidden;
|
|
@@ -597,15 +604,15 @@ class di extends zt{constructor(t){if(super(t),this.et=G,t.type!==Mt)throw Error
|
|
|
597
604
|
flex-shrink: 1;
|
|
598
605
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
599
606
|
|
|
600
|
-
color: ${
|
|
601
|
-
padding: calc(2 * ${
|
|
607
|
+
color: ${Lo.colorOnSurface};
|
|
608
|
+
padding: calc(2 * ${Lo.verticalSpacing}) 0;
|
|
602
609
|
border: none;
|
|
603
610
|
background: none;
|
|
604
611
|
}
|
|
605
612
|
|
|
606
613
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
|
|
607
614
|
padding-bottom: 0;
|
|
608
|
-
padding-top: calc(${
|
|
615
|
+
padding-top: calc(${Lo.labelSize} + 2 * ${Lo.verticalSpacing});
|
|
609
616
|
}
|
|
610
617
|
|
|
611
618
|
.ft-text-field--input::-webkit-calendar-picker-indicator,
|
|
@@ -614,37 +621,37 @@ class di extends zt{constructor(t){if(super(t),this.et=G,t.type!==Mt)throw Error
|
|
|
614
621
|
}
|
|
615
622
|
|
|
616
623
|
.ft-text-field--disabled .ft-text-field--input {
|
|
617
|
-
color: ${
|
|
624
|
+
color: ${Lo.colorOnSurfaceDisabled};
|
|
618
625
|
}
|
|
619
626
|
|
|
620
627
|
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
621
|
-
${
|
|
622
|
-
${
|
|
628
|
+
${xt(ro.borderColor,Lo.colorPrimary)};
|
|
629
|
+
${xt(ro.textColor,Lo.colorPrimary)};
|
|
623
630
|
}
|
|
624
631
|
|
|
625
632
|
.ft-text-field--filled .ft-text-field--input-panel {
|
|
626
|
-
border-radius: ${
|
|
633
|
+
border-radius: ${Lo.borderRadiusS} ${Lo.borderRadiusS} 0 0;
|
|
627
634
|
}
|
|
628
635
|
|
|
629
636
|
.ft-text-field--outlined .ft-text-field--input-panel {
|
|
630
|
-
border-radius: ${
|
|
637
|
+
border-radius: ${Lo.borderRadiusS};
|
|
631
638
|
}
|
|
632
639
|
|
|
633
640
|
.ft-text-field--helper-text {
|
|
634
|
-
padding: 0 12px 0 ${
|
|
635
|
-
color: ${
|
|
641
|
+
padding: 0 12px 0 ${Lo.horizontalSpacing};
|
|
642
|
+
color: ${Lo.helperColor};
|
|
636
643
|
}
|
|
637
644
|
|
|
638
645
|
.ft-text-field--in-error .ft-text-field--input,
|
|
639
646
|
.ft-text-field--in-error .ft-text-field--helper-text,
|
|
640
647
|
.ft-text-field--in-error .ft-text-field--prefix {
|
|
641
|
-
color: ${
|
|
648
|
+
color: ${Lo.colorError};
|
|
642
649
|
}
|
|
643
650
|
|
|
644
651
|
.ft-text-field--icon {
|
|
645
652
|
align-self: center;
|
|
646
653
|
margin-left: 8px;
|
|
647
|
-
color: ${
|
|
654
|
+
color: ${Lo.iconColor};
|
|
648
655
|
}
|
|
649
656
|
|
|
650
657
|
.ft-text-field--container {
|
|
@@ -657,13 +664,13 @@ class di extends zt{constructor(t){if(super(t),this.et=G,t.type!==Mt)throw Error
|
|
|
657
664
|
position: absolute;
|
|
658
665
|
left: 0;
|
|
659
666
|
right: 0;
|
|
660
|
-
z-index: ${
|
|
661
|
-
background: ${
|
|
662
|
-
border: 1px solid ${
|
|
663
|
-
border-radius: 0 0 ${
|
|
664
|
-
box-shadow: ${
|
|
667
|
+
z-index: ${Lo.floatingZIndex};
|
|
668
|
+
background: ${Lo.colorSurface};
|
|
669
|
+
border: 1px solid ${Lo.colorOutline};
|
|
670
|
+
border-radius: 0 0 ${Lo.borderRadiusS} ${Lo.borderRadiusS};
|
|
671
|
+
box-shadow: ${Lo.elevation02};
|
|
665
672
|
outline: none;
|
|
666
|
-
max-height: ${
|
|
673
|
+
max-height: ${Lo.suggestSize};
|
|
667
674
|
overflow-y: auto;
|
|
668
675
|
}
|
|
669
676
|
|
|
@@ -680,14 +687,14 @@ class di extends zt{constructor(t){if(super(t),this.et=G,t.type!==Mt)throw Error
|
|
|
680
687
|
}
|
|
681
688
|
|
|
682
689
|
.ft-text-field--with-icon {
|
|
683
|
-
${
|
|
690
|
+
${xt(ro.labelMaxWidth,`calc(100% - ${wo} - ${ro.horizontalSpacing})`)};
|
|
684
691
|
}
|
|
685
692
|
|
|
686
693
|
.ft-text-field--with-password ft-icon:hover {
|
|
687
694
|
cursor: pointer;
|
|
688
695
|
}
|
|
689
|
-
`;var
|
|
690
|
-
<div class="${
|
|
696
|
+
`;var Zo=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class zo extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[kt].form}constructor(...t){super(t),this[kt]=this.attachInternals(),this[kt].role=e}setFormValue(t){this[kt].setFormValue(t)}}}(It,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=No.EYE_SLASH,this.passwordRevealedIcon=No.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 J`
|
|
697
|
+
<div class="${Dt(t)}">
|
|
691
698
|
<div class="ft-text-field--main-panel"
|
|
692
699
|
@keydown=${this.handleKeyboardNavigation}
|
|
693
700
|
@focusout=${this.onMainPanelBlur}>
|
|
@@ -697,16 +704,16 @@ class di extends zt{constructor(t){if(super(t),this.et=G,t.type!==Mt)throw Error
|
|
|
697
704
|
?raised=${this.focused||""!=this.value}
|
|
698
705
|
?error=${this.error}></ft-input-label>
|
|
699
706
|
<div class="ft-text-field--input-panel">
|
|
700
|
-
${this.outlined?
|
|
707
|
+
${this.outlined?X:J`
|
|
701
708
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
702
709
|
`}
|
|
703
|
-
${this.prefix?
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
710
|
+
${this.prefix?J`
|
|
711
|
+
<ft-typography class="ft-text-field--prefix" vaiant="body1">
|
|
712
|
+
${this.prefix}
|
|
713
|
+
</ft-typography>
|
|
714
|
+
`:X}
|
|
708
715
|
<input type=${this.password&&this.hidePassword?"password":"text"}
|
|
709
|
-
maxlength=${(t=>null!=t?t:
|
|
716
|
+
maxlength=${(t=>null!=t?t:X)
|
|
710
717
|
/**
|
|
711
718
|
* @license
|
|
712
719
|
* Copyright 2020 Google LLC
|
|
@@ -726,23 +733,23 @@ class di extends zt{constructor(t){if(super(t),this.et=G,t.type!==Mt)throw Error
|
|
|
726
733
|
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
727
734
|
</div>
|
|
728
735
|
</div>
|
|
729
|
-
${this.helper?
|
|
736
|
+
${this.helper?J`
|
|
730
737
|
<ft-typography class="ft-text-field--helper-text" variant="caption">
|
|
731
738
|
${this.helper}
|
|
732
739
|
</ft-typography>
|
|
733
|
-
`:
|
|
740
|
+
`:X}
|
|
734
741
|
</div>
|
|
735
|
-
`}renderPasswordIcon(){return
|
|
742
|
+
`}renderPasswordIcon(){return J`
|
|
736
743
|
<ft-icon class="ft-text-field--icon"
|
|
737
744
|
.variant=${this.iconVariant}
|
|
738
745
|
.value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
|
|
739
746
|
@click=${()=>this.togglePasswordVisibility()}></ft-icon>
|
|
740
|
-
`}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?
|
|
747
|
+
`}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?J`
|
|
741
748
|
<ft-icon class="ft-text-field--icon"
|
|
742
749
|
.variant=${this.iconVariant}
|
|
743
750
|
.value=${this.icon}
|
|
744
751
|
@click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
|
|
745
|
-
`:
|
|
752
|
+
`:X}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}}zo.elementDefinitions={"ft-input-label":lo,"ft-ripple":xo,"ft-typography":io,"ft-icon":Wo},zo.styles=[Ve,Ko],Zo([i()],zo.prototype,"label",void 0),Zo([i({noAccessor:!0})],zo.prototype,"value",null),Zo([r()],zo.prototype,"dispatchedValue",void 0),Zo([i()],zo.prototype,"helper",void 0),Zo([i({type:Boolean})],zo.prototype,"outlined",void 0),Zo([i({type:Boolean})],zo.prototype,"disabled",void 0),Zo([i({type:Boolean})],zo.prototype,"error",void 0),Zo([i()],zo.prototype,"prefix",void 0),Zo([i()],zo.prototype,"icon",void 0),Zo([i()],zo.prototype,"passwordHiddenIcon",void 0),Zo([i()],zo.prototype,"passwordRevealedIcon",void 0),Zo([i()],zo.prototype,"iconVariant",void 0),Zo([i({type:Boolean})],zo.prototype,"filterSuggestions",void 0),Zo([i({type:Number})],zo.prototype,"maxLength",void 0),Zo([i({type:Boolean})],zo.prototype,"password",void 0),Zo([r()],zo.prototype,"focused",void 0),Zo([r()],zo.prototype,"hidePassword",void 0),Zo([r()],zo.prototype,"suggestionsOnTop",void 0),Zo([r()],zo.prototype,"hideSuggestions",void 0),Zo([r()],zo.prototype,"visibleSuggestions",void 0),Zo([n(".ft-text-field--main-panel")],zo.prototype,"mainPanel",void 0),Zo([n(".ft-text-field--input")],zo.prototype,"input",void 0),Zo([n(".ft-text-field--suggestions")],zo.prototype,"suggestionsContainer",void 0),Zo([c({selector:"ft-text-field-suggestion"})],zo.prototype,"suggestions",void 0);const Fo=m`
|
|
746
753
|
.ft-text-field-suggestion {
|
|
747
754
|
position: relative;
|
|
748
755
|
padding: 8px 16px;
|
|
@@ -767,7 +774,7 @@ class di extends zt{constructor(t){if(super(t),this.et=G,t.type!==Mt)throw Error
|
|
|
767
774
|
slot {
|
|
768
775
|
pointer-events: none;
|
|
769
776
|
}
|
|
770
|
-
`;var
|
|
777
|
+
`;var Do=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Bo extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Mo extends It{render(){return J`
|
|
771
778
|
<div class="ft-text-field-suggestion"
|
|
772
779
|
tabindex="-1"
|
|
773
780
|
@keydown=${this.onKeyDown}
|
|
@@ -779,4 +786,4 @@ class di extends zt{constructor(t){if(super(t),this.et=G,t.type!==Mt)throw Error
|
|
|
779
786
|
<slot></slot>
|
|
780
787
|
</ft-typography>
|
|
781
788
|
</div>
|
|
782
|
-
`}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
|
|
789
|
+
`}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 Bo(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())}}Mo.elementDefinitions={"ft-ripple":xo,"ft-typography":io,"ft-icon":Wo},Mo.styles=Fo,Do([i()],Mo.prototype,"value",void 0),Do([n(".ft-text-field-suggestion")],Mo.prototype,"container",void 0),Do([function(t,e,o){let i,r=t;return"object"==typeof t?(r=t.slot,i=t):i={flatten:e},o?c({slot:r,flatten:e,selector:o}):a({descriptor:t=>({get(){var t,e;const o="slot"+(r?`[name=${r}]`:":not([name])"),a=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(o);return null!==(e=null==a?void 0:a.assignedNodes(i))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}()],Mo.prototype,"assignedNodes",void 0),f("ft-text-field")(zo),f("ft-text-field-suggestion")(Mo),t.FtTextField=zo,t.FtTextFieldCssVariables=Lo,t.FtTextFieldSuggestion=Mo,t.SuggestionSelectedEvent=Bo,t.styles=Ko,t.suggestionStyles=Fo}({});
|