@fluid-topics/ft-text-area 1.0.59 → 1.0.61
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-area.css.js +5 -5
- package/build/ft-text-area.light.js +173 -164
- package/build/ft-text-area.min.js +195 -186
- package/package.json +5 -5
|
@@ -14,17 +14,17 @@
|
|
|
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,
|
|
17
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=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,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=i.prototype.attributeChangedCallback,s=new Set(i.observedAttributes||[]);h(i,s,l);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(n.set(i,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)a.delete(t),y(t,c,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){u.push(this),r.upgrade.apply(r,arguments),u.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=s;if(o)return s=void 0,o;const e=n.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=u[u.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?y(e,i):a.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);r.call(this,a,i),e.call(this,a,t,i)}else r.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),s=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let u=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){u.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&l.set(t,this),u.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){u.push(this),e.set.call(this,t),u.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0!==i.get(e).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...o)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(re){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
18
18
|
/**
|
|
19
19
|
* @license
|
|
20
20
|
* Copyright 2017 Google LLC
|
|
21
21
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
22
|
-
*/const
|
|
22
|
+
*/const e=(t,o)=>"method"===o.kind&&o.descriptor&&!("value"in o.descriptor)?{...o,finisher(e){e.createProperty(o.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:o.key,initializer(){"function"==typeof o.initializer&&(this[o.key]=o.initializer.call(this))},finisher(e){e.createProperty(o.key,t)}};function r(t){return(o,r)=>void 0!==r?((t,o,e)=>{o.constructor.createProperty(e,t)})(t,o,r):e(t,o)
|
|
23
23
|
/**
|
|
24
24
|
* @license
|
|
25
25
|
* Copyright 2017 Google LLC
|
|
26
26
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
27
|
-
*/}function
|
|
27
|
+
*/}function i(t){return r({...t,state:!0})}
|
|
28
28
|
/**
|
|
29
29
|
* @license
|
|
30
30
|
* Copyright 2017 Google LLC
|
|
@@ -35,35 +35,35 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
|
|
|
35
35
|
* Copyright 2017 Google LLC
|
|
36
36
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
37
37
|
*/
|
|
38
|
-
function
|
|
38
|
+
function a(t,o){return(({finisher:t,descriptor:o})=>(e,r)=>{var i;if(void 0===r){const r=null!==(i=e.originalKey)&&void 0!==i?i:e.key,a=null!=o?{kind:"method",placement:"prototype",key:r,descriptor:o(e.key)}:{...e,key:r};return null!=t&&(a.finisher=function(o){t(o,r)}),a}{const i=e.constructor;void 0!==o&&Object.defineProperty(e,r,o(r)),null==t||t(i,r)}})({descriptor:e=>{const r={get(){var o,e;return null!==(e=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(o){const o="symbol"==typeof e?Symbol():"__"+e;r.get=function(){var e,r;return void 0===this[o]&&(this[o]=null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null),this[o]}}return r}})}
|
|
39
39
|
/**
|
|
40
40
|
* @license
|
|
41
41
|
* Copyright 2021 Google LLC
|
|
42
42
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
43
|
-
*/var n;function
|
|
43
|
+
*/var n;function l(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!l(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!l(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var a=i[r];if(!l(t[a],o[a]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}null===(n=window.HTMLSlotElement)||void 0===n||n.prototype.assignedElements;const s=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
|
|
44
44
|
/**
|
|
45
45
|
* @license
|
|
46
46
|
* Copyright 2019 Google LLC
|
|
47
47
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
48
48
|
*/
|
|
49
|
-
const
|
|
49
|
+
const c=window,p=c.ShadowRoot&&(void 0===c.ShadyCSS||c.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,f=Symbol(),h=new WeakMap;let d=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==f)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(p&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=h.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&h.set(o,t))}return t}toString(){return this.cssText}};const y=t=>new d("string"==typeof t?t:t+"",void 0,f),g=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new d(e,t,f)},u=(t,o)=>{p?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=c.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))},b=p?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return y(o)})(t):t
|
|
50
50
|
/**
|
|
51
51
|
* @license
|
|
52
52
|
* Copyright 2017 Google LLC
|
|
53
53
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
54
|
-
*/;var
|
|
54
|
+
*/;var m;const x=window,O=x.trustedTypes,v=O?O.emptyScript:"",N=x.reactiveElementPolyfillSupport,S={toAttribute(t,o){switch(o){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},w=(t,o)=>o!==t&&(o==o||t==t),C={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:w};let R=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;this.finalize(),(null!==(o=this.h)&&void 0!==o?o:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,e)=>{const r=this._$Ep(e,o);void 0!==r&&(this._$Ev.set(r,e),t.push(r))})),t}static createProperty(t,o=C){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){return{get(){return this[o]},set(r){const i=this[t];this[o]=r,this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||C}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,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of o)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(b(t))}else void 0!==t&&o.push(b(t));return o}static _$Ep(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"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 o,e;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return u(o,this.constructor.elementStyles),o}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 o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o,e=C){var r;const i=this.constructor._$Ep(t,e);if(void 0!==i&&!0===e.reflect){const a=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:S).toAttribute(o,e.type);this._$El=t,null==a?this.removeAttribute(i):this.setAttribute(i,a),this._$El=null}}_$AK(t,o){var e;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),a="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:S;this._$El=i,this[i]=a.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||w)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):r=!1),!this.isUpdatePending&&r&&(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,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(e)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(e)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.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,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
|
|
55
55
|
/**
|
|
56
56
|
* @license
|
|
57
57
|
* Copyright 2017 Google LLC
|
|
58
58
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
59
59
|
*/
|
|
60
|
-
var
|
|
60
|
+
var E;R.finalized=!0,R.elementProperties=new Map,R.elementStyles=[],R.shadowRootOptions={mode:"open"},null==N||N({ReactiveElement:R}),(null!==(m=x.reactiveElementVersions)&&void 0!==m?m:x.reactiveElementVersions=[]).push("1.6.1");const $=window,U=$.trustedTypes,I=U?U.createPolicy("lit-html",{createHTML:t=>t}):void 0,W="$lit$",k=`lit$${(Math.random()+"").slice(9)}$`,L="?"+k,K=`<${L}>`,z=document,Z=()=>z.createComment(""),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,B="[ \t\n\f\r]",M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,H=/>/g,j=RegExp(`>|${B}(?:([^\\s"'>=/]+)(${B}*=${B}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),P=/'/g,G=/"/g,_=/^(?:script|style|textarea|title)$/i,T=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Y=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),J=new WeakMap,q=z.createTreeWalker(z,129,null,!1),X=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=M;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(n.lastIndex=p,s=n.exec(e),null!==s);)p=n.lastIndex,n===M?"!--"===s[1]?n=A:void 0!==s[1]?n=H:void 0!==s[2]?(_.test(s[2])&&(i=RegExp("</"+s[2],"g")),n=j):void 0!==s[3]&&(n=j):n===j?">"===s[0]?(n=null!=i?i:M,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,l=s[1],n=void 0===s[3]?j:'"'===s[3]?G:P):n===G||n===P?n=j:n===A||n===H?n=M:(n=j,i=void 0);const f=n===j&&t[o+1].startsWith("/>")?" ":"";a+=n===M?e+K:c>=0?(r.push(l),e.slice(0,c)+W+e.slice(c)+k+f):e+k+(-2===c?(r.push(void 0),o):f)}const l=a+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==I?I.createHTML(l):l,r]};class Q{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[s,c]=X(t,o);if(this.el=Q.createElement(s,e),q.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=q.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(W)||o.startsWith(k)){const e=c[a++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+W).split(k),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?it:"?"===o[1]?nt:"@"===o[1]?lt:rt})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(_.test(r.tagName)){const t=r.textContent.split(k),o=t.length-1;if(o>0){r.textContent=U?U.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],Z()),q.nextNode(),l.push({type:2,index:++i});r.append(t[o],Z())}}}else if(8===r.nodeType)if(r.data===L)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(k,t+1));)l.push({type:7,index:i}),t+=k.length-1}i++}}static createElement(t,o){const e=z.createElement("template");return e.innerHTML=t,e}}function tt(t,o,e=t,r){var i,a,n,l;if(o===Y)return o;let s=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const c=F(o)?void 0:o._$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,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=s:e._$Cl=s),void 0!==s&&(o=tt(t,s._$AS(t,o.values),s,r)),o}class ot{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:z).importNode(e,!0);q.currentNode=i;let a=q.nextNode(),n=0,l=0,s=r[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new et(a,a.nextSibling,this,t):1===s.type?o=new s.ctor(a,s.name,s.strings,this,t):6===s.type&&(o=new st(a,this,t)),this._$AV.push(o),s=r[++l]}n!==(null==s?void 0:s.index)&&(a=q.nextNode(),n++)}return i}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class et{constructor(t,o,e,r){var i;this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=tt(this,t,o),F(t)?t===V||null==t||""===t?(this._$AH!==V&&this._$AR(),this._$AH=V):t!==this._$AH&&t!==Y&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>D(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!==V&&F(this._$AH)?this._$AA.nextSibling.data=t:this.$(z.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=Q.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new ot(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=J.get(t.strings);return void 0===o&&J.set(t.strings,o=new Q(t)),o}T(t){D(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new et(this.k(Z()),this.k(Z()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class rt{constructor(t,o,e,r,i){this.type=1,this._$AH=V,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=V}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=tt(this,t,o,0),a=!F(t)||t!==this._$AH&&t!==Y,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=tt(this,r[e+n],o,n),l===Y&&(l=this._$AH[n]),a||(a=!F(l)||l!==this._$AH[n]),l===V?t=V:t!==V&&(t+=(null!=l?l:"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.j(t)}j(t){t===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class it extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===V?void 0:t}}const at=U?U.emptyScript:"";class nt extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==V?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class lt extends rt{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=tt(this,t,o,0))&&void 0!==e?e:V)===Y)return;const r=this._$AH,i=t===V&&r!==V||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==V&&(r===V||i);i&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class st{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){tt(this,t)}}const ct=$.litHtmlPolyfillSupport;null==ct||ct(Q,et),(null!==(E=$.litHtmlVersions)&&void 0!==E?E:$.litHtmlVersions=[]).push("2.7.3");
|
|
61
61
|
/**
|
|
62
62
|
* @license
|
|
63
63
|
* Copyright 2017 Google LLC
|
|
64
64
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
65
65
|
*/
|
|
66
|
-
var ht,ct;let ft=class extends E{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,r;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let n=s._$litPart$;if(void 0===n){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;s._$litPart$=n=new it(e.insertBefore(A(),t),t,void 0,null!=i?i:{})}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 J}};ft.finalized=!0,ft._$litElement$=!0,null===(ht=globalThis.litElementHydrateSupport)||void 0===ht||ht.call(globalThis,{LitElement:ft});const dt=globalThis.litElementPolyfillSupport;null==dt||dt({LitElement:ft}),(null!==(ct=globalThis.litElementVersions)&&void 0!==ct?ct:globalThis.litElementVersions=[]).push("3.3.2");class ut{static create(t,e,i){let o=t=>u(null!=t?t:i),r=x`var(${u(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>x`var(${u(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=x`var(${u(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>x`var(${u(t)}, ${o(e)})`,r.breadcrumb=()=>[e.name,...e.breadcrumb()],r.lastResortDefaultValue=()=>i,r}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):u(null!=e?e:t.defaultValue),o=x`var(${u(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=>x`var(${u(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 xt(t,e){return u(`${t.name}: ${e}`)}const yt={colorPrimary:ut.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ut.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ut.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ut.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ut.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ut.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ut.create("--ft-color-error","COLOR","#B00020"),colorOutline:ut.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ut.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ut.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ut.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ut.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ut.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ut.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ut.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ut.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ut.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ut.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ut.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ut.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ut.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ut.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ut.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ut.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ut.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ut.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ut.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ut.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ut.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ut.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ut.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ut.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ut.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ut.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ut.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ut.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ut.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ut.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ut.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ut.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ut.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ut.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ut.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ut.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ut.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:ut.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:ut.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:ut.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:ut.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:ut.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:ut.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:ut.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:ut.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:ut.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:ut.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ut.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ut.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ut.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ut.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ut.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ut.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ut.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class bt extends ft{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 y(i,t.elementStyles),i}}var gt,vt=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const mt=Symbol("constructorPrototype"),wt=Symbol("constructorName"),$t=Symbol("exportpartsDebouncer");class Ot extends bt{constructor(){super(),this[gt]=new e(5),this[wt]=this.constructor.name,this[mt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[wt]&&Object.setPrototypeOf(this,this[mt])}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[$t].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,r,s,n;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.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!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(n=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const h=[...p.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}gt=$t,vt([o()],Ot.prototype,"exportpartsPrefix",void 0),vt([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)=>!a(t,e),...null!=e?e:{}})}([])],Ot.prototype,"exportpartsPrefixes",void 0),vt([o()],Ot.prototype,"customStylesheet",void 0);const St=x`
|
|
66
|
+
var pt,ft;let ht=class extends R{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var r,i;const a=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let n=a._$litPart$;if(void 0===n){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;a._$litPart$=n=new et(o.insertBefore(Z(),t),t,void 0,null!=e?e:{})}return n._$AI(t),n})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Y}};ht.finalized=!0,ht._$litElement$=!0,null===(pt=globalThis.litElementHydrateSupport)||void 0===pt||pt.call(globalThis,{LitElement:ht});const dt=globalThis.litElementPolyfillSupport;null==dt||dt({LitElement:ht}),(null!==(ft=globalThis.litElementVersions)&&void 0!==ft?ft:globalThis.litElementVersions=[]).push("3.3.2");const yt=t=>"string"==typeof t?y(t):t;class gt{static create(t,o,e,r){const i=t=>yt(null!=t?t:r),a=g`var(${yt(t)}, ${i(r)})`;return a.name=t,a.description=t,a.category=e,a.defaultValue=r,a.defaultCssValue=i,a.get=o=>g`var(${yt(t)}, ${i(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),a=g`var(${yt(t)}, ${i(r)})`;return a.name=t,a.description=o,a.category=e.category,a.fallbackVariable=e,a.defaultValue=r,a.defaultCssValue=i,a.get=o=>g`var(${yt(t)}, ${i(o)})`,a.breadcrumb=()=>[e.name,...e.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),a}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):yt(null!=o?o:t.lastResortDefaultValue()),r=g`var(${yt(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>g`var(${yt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function ut(t,o){return yt(`${t.name}: ${o}`)}const bt={colorWhite:gt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:gt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:gt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:gt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:gt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:gt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:gt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:gt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:gt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:gt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:gt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:gt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:gt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:gt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:gt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:gt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:gt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:gt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:gt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:gt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:gt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:gt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:gt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:gt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:gt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:gt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:gt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:gt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:gt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:gt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:gt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:gt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:gt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:gt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:gt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:gt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:gt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:gt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:gt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:gt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:gt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:gt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:gt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:gt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:gt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:gt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:gt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:gt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:gt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:gt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:gt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:gt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:gt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:gt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:gt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:gt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:gt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:gt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:gt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:gt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:gt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:gt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:gt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:gt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:gt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:gt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:gt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:gt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:gt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:gt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:gt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:gt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:gt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:gt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:gt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:gt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:gt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:gt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:gt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:gt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:gt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:gt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:gt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:gt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:gt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:gt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:gt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:gt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:gt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:gt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:gt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:gt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:gt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:gt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:gt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:gt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:gt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:gt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:gt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:gt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:gt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:gt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:gt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:gt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:gt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:gt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:gt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:gt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:gt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:gt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:gt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:gt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:gt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:gt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:gt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:gt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:gt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:gt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:gt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:gt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:gt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:gt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:gt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:gt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:gt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:gt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:gt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:gt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:gt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:gt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:gt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:gt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:gt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:gt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:gt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:gt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:gt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:gt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:gt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:gt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:gt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:gt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:gt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:gt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:gt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:gt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:gt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:gt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:gt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:gt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:gt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:gt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:gt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:gt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:gt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:gt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:gt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:gt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:gt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:gt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:gt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:gt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:gt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:gt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:gt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:gt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:gt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:gt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:gt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:gt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:gt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:gt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:gt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:gt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:gt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:gt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:gt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:gt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:gt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:gt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:gt.create("--ft-opacity-0","","NUMBER","0"),opacity8:gt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:gt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:gt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:gt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:gt.create("--ft-opacity-80","","NUMBER","0.8")},mt={display:{fontFamily:gt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:gt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:gt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:gt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:gt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:gt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:gt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:gt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:gt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:gt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:gt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:gt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:gt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:gt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:gt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:gt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:gt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:gt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:gt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:gt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:gt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:gt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:gt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:gt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:gt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:gt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:gt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:gt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:gt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:gt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:gt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:gt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:gt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:gt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:gt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:gt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:gt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:gt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:gt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:gt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:gt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:gt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:gt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:gt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:gt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:gt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:gt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:gt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:gt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:gt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:gt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:gt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:gt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:gt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:gt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:gt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:gt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:gt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:gt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:gt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:gt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:gt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},xt={backgroundActionPrimary:gt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",bt.colorBrand0),backgroundErrorPrimary:gt.extend("--ft-background-error-primary","Used as background of error components.",bt.colorRed0),backgroundErrorSubtle:gt.extend("--ft-background-error-subtle","Used as background of subtle error components.",bt.colorRed10),backgroundInfoPrimary:gt.extend("--ft-background-info-primary","Used as background of information components.",bt.colorCyan200),backgroundInfoSubtle:gt.extend("--ft-background-info-subtle","Used as background of subtle information components.",bt.colorCyan10),backgroundWarningPrimary:gt.extend("--ft-background-warning-primary","Used as background of warning components.",bt.colorOrange300),backgroundWarningSubtle:gt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",bt.colorOrange10),backgroundSuccessPrimary:gt.extend("--ft-background-success-primary","Used as background of success components.",bt.colorGreen200),backgroundSuccessSubtle:gt.extend("--ft-background-success-subtle","Used as background of subtle success components.",bt.colorGreen10),backgroundGlobalSurface:gt.extend("--ft-background-global-surface","Used as app background.",bt.colorWhite),backgroundGlobalOnSurface:gt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",bt.colorGray10),backgroundGlobalOnSurfaceDark:gt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",bt.colorGray30),contentActionPrimary:gt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",bt.colorBrand0),contentWarningPrimary:gt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",bt.colorOrange300),contentWarningIconOnly:gt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",bt.colorOrange0),contentErrorPrimary:gt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",bt.colorRed0),contentErrorIconOnly:gt.extend("--ft-content-error-icon-only","Used on error status icons alone",bt.colorRed0),contentInfoPrimary:gt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",bt.colorCyan200),contentInfoIconOnly:gt.extend("--ft-content-info-icon-only","Used on info status icons alone",bt.colorCyan0),contentSuccessIconOnly:gt.extend("--ft-content-success-icon-only","Used on success status icons alone",bt.colorGreen0),contentSuccessPrimary:gt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",bt.colorGreen200),contentGlobalPrimary:gt.extend("--ft-content-global-primary","Used for main content on the page.",bt.colorGray500),contentGlobalSecondary:gt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",bt.colorGray200),contentGlobalSubtle:gt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",bt.colorGray0),contentGlobalOnColor:gt.extend("--ft-content-global-on-color","Used for content on a dominant color.",bt.colorWhite),borderActionPrimary:gt.extend("--ft-border-action-primary","Used as border for primary action components.",bt.colorBrand0),borderActionFocusRing:gt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",bt.colorCyan0),borderWarningPrimary:gt.extend("--ft-border-warning-primary","Used as border for warning components.",bt.colorOrange30),borderSuccessPrimary:gt.extend("--ft-border-success-primary","Used as border for success components.",bt.colorGreen30),borderErrorPrimary:gt.extend("--ft-border-error-primary","Used as border for error components.",bt.colorRed30),borderInfoPrimary:gt.extend("--ft-border-info-primary","Used as border for information components.",bt.colorCyan30),borderGlobalSubtle:gt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",bt.colorGray30),borderGlobalPrimary:gt.extend("--ft-border-global-primary","Used as border for element like input.",bt.colorGray50),borderInputPrimary:gt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",bt.colorGray80)};gt.create("--ft-button-large-height","","SIZE","40px"),gt.extend("--ft-button-large-horizontal-padding","",bt.spacing4),gt.extend("--ft-button-large-gap","",bt.spacing2),gt.extend("--ft-button-large-border-radius","",bt.borderRadiusS),gt.extend("--ft-button-large-icon-size","",bt.iconSize3),gt.create("--ft-button-large-border-width","","SIZE","1px"),gt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),gt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),gt.create("--ft-button-large-icon-only-width","","SIZE","40px"),gt.create("--ft-button-small-height","","SIZE","30px"),gt.extend("--ft-button-small-horizontal-padding","",bt.spacing3),gt.extend("--ft-button-small-gap","",bt.spacing2),gt.extend("--ft-button-small-border-radius","",bt.borderRadiusS),gt.extend("--ft-button-small-icon-size","",bt.iconSize2),gt.create("--ft-button-small-border-width","","SIZE","1px"),gt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),gt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),gt.create("--ft-button-small-icon-only-width","","SIZE","30px"),gt.extend("--ft-button-primary-background-color","",xt.backgroundActionPrimary),gt.extend("--ft-button-primary-color","",xt.contentGlobalOnColor),gt.extend("--ft-button-primary-icon-color","",xt.contentGlobalOnColor),gt.extend("--ft-button-primary-state-layer-color","",xt.contentGlobalOnColor),gt.extend("--ft-button-primary-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-button-primary-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-button-primary-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-button-primary-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-button-focus-focus-ring-color","",xt.borderActionFocusRing),gt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),gt.extend("--ft-button-tertiary-color","",xt.contentActionPrimary),gt.extend("--ft-button-tertiary-icon-color","",xt.contentActionPrimary),gt.extend("--ft-button-tertiary-state-layer-color","",xt.contentActionPrimary),gt.extend("--ft-button-tertiary-state-layer-opacity-hover","",bt.opacity8),gt.extend("--ft-button-tertiary-state-layer-opacity-focus","",bt.opacity8),gt.extend("--ft-button-tertiary-state-layer-opacity-active","",bt.opacity16),gt.extend("--ft-button-tertiary-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-button-secondary-background-color","",bt.colorWhite),gt.extend("--ft-button-secondary-color","",xt.contentActionPrimary),gt.extend("--ft-button-secondary-icon-color","",xt.contentActionPrimary),gt.extend("--ft-button-secondary-state-layer-color","",xt.contentActionPrimary),gt.extend("--ft-button-secondary-state-layer-opacity-hover","",bt.opacity8),gt.extend("--ft-button-secondary-state-layer-opacity-focus","",bt.opacity8),gt.extend("--ft-button-secondary-state-layer-opacity-active","",bt.opacity16),gt.extend("--ft-button-secondary-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-button-secondary-border-color","",xt.borderActionPrimary),gt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),gt.extend("--ft-button-neutral-icon-color","",xt.contentGlobalSecondary),gt.extend("--ft-button-neutral-color","",xt.contentGlobalSecondary),gt.extend("--ft-button-neutral-state-layer-color","",xt.contentGlobalSecondary),gt.extend("--ft-button-neutral-state-layer-opacity-hover","",bt.opacity8),gt.extend("--ft-button-neutral-state-layer-opacity-focus","",bt.opacity8),gt.extend("--ft-button-neutral-state-layer-opacity-active","",bt.opacity16),gt.extend("--ft-button-neutral-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-tabs-top-left-border-radius","",bt.borderRadiusS),gt.extend("--ft-tabs-top-right-border-radius","",bt.borderRadiusS),gt.extend("--ft-tabs-label-horizontal-padding","",bt.spacing4),gt.extend("--ft-tabs-label-vertical-padding","",bt.spacing3),gt.extend("--ft-tabs-label-gap","",bt.spacing1),gt.extend("--ft-switch-group-horizontal-padding","",bt.spacing1),gt.extend("--ft-switch-group-vertical-padding","",bt.spacing1),gt.extend("--ft-switch-group-gap","",bt.spacing1),gt.extend("--ft-switch-group-background-color","",xt.backgroundGlobalSurface),gt.extend("--ft-switch-group-border-color","",xt.borderGlobalSubtle),gt.create("--ft-switch-group-border-radius","","SIZE","6px"),gt.extend("--ft-switch-label-horizontal-padding","",bt.spacing2),gt.extend("--ft-switch-label-vertical-padding","",bt.spacing1),gt.extend("--ft-switch-icon-horizontal-padding","",bt.spacing1),gt.extend("--ft-switch-icon-vertical-padding","",bt.spacing1),gt.create("--ft-switch-focus-outline-width","","SIZE","2px"),gt.extend("--ft-switch-focus-focus-ring-color","",xt.borderActionFocusRing),gt.extend("--ft-switch-option-border-radius","",bt.borderRadiusS),gt.extend("--ft-switch-off-state-layer-opacity-hover","",bt.opacity8),gt.extend("--ft-switch-off-state-layer-opacity-focus","",bt.opacity8),gt.extend("--ft-switch-off-state-layer-opacity-active","",bt.opacity16),gt.extend("--ft-switch-off-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-switch-off-color","",xt.contentGlobalSubtle),gt.extend("--ft-switch-off-state-layer-color","",xt.contentGlobalSubtle),gt.extend("--ft-chart-1-light","for area color charts",bt.colorBrand40),gt.extend("--ft-chart-1-base","for line charts",bt.colorBrand0),gt.extend("--ft-chart-2-light","for area color charts",bt.colorYellow60),gt.extend("--ft-chart-2-base","for line charts",bt.colorYellow100),gt.extend("--ft-chart-3-light","",bt.colorUltramarine40),gt.extend("--ft-chart-3-base","",bt.colorUltramarine70),gt.extend("--ft-chart-4-light","",bt.colorCyan50),gt.extend("--ft-chart-4-base","",bt.colorCyan100),gt.extend("--ft-chart-5-light","",bt.colorRed40),gt.extend("--ft-chart-5-base","",bt.colorRed60),gt.extend("--ft-chart-6-light","",bt.colorGreen40),gt.extend("--ft-chart-6-base","",bt.colorGreen70),gt.extend("--ft-chart-7-light","",bt.colorOrange70),gt.extend("--ft-chart-7-base","",bt.colorOrange100),gt.extend("--ft-chart-8-light","",bt.colorAvocado70),gt.extend("--ft-chart-8-base","",bt.colorAvocado200),gt.extend("--ft-chart-9-light","",bt.colorBrown50),gt.extend("--ft-chart-9-base","",bt.colorBrown200),gt.extend("--ft-chart-10-light","",bt.colorGray50),gt.extend("--ft-chart-10-base","",bt.colorGray80),gt.extend("--ft-chart-monochrome-10","",bt.colorBrand10),gt.extend("--ft-chart-monochrome-20","",bt.colorBrand20),gt.extend("--ft-chart-monochrome-30","",bt.colorBrand40),gt.extend("--ft-chart-monochrome-40","",bt.colorBrand60),gt.extend("--ft-chart-monochrome-50","",bt.colorBrand0),gt.extend("--ft-chart-monochrome-60","",bt.colorBrand200),gt.extend("--ft-chip-large-horizontal-padding","",bt.spacing4),gt.extend("--ft-chip-large-vertical-padding","",bt.spacing2),gt.extend("--ft-chip-large-gap","",bt.spacing1),gt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),gt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),gt.extend("--ft-chip-large-border-radius","",bt.borderRadiusPill),gt.create("--ft-chip-large-border-width","","SIZE","1px"),gt.extend("--ft-chip-large-icon-size","",bt.iconSize3),gt.extend("--ft-chip-medium-horizontal-padding","",bt.spacing3),gt.extend("--ft-chip-medium-vertical-padding","",bt.spacing1),gt.extend("--ft-chip-medium-gap","",bt.spacing1),gt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),gt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),gt.extend("--ft-chip-medium-border-radius","",bt.borderRadiusPill),gt.create("--ft-chip-medium-border-width","","SIZE","1px"),gt.extend("--ft-chip-medium-icon-size","",bt.iconSize2),gt.extend("--ft-chip-small-horizontal-padding","",bt.spacing2),gt.extend("--ft-chip-small-vertical-padding","",bt.spacing05),gt.extend("--ft-chip-small-gap","",bt.spacing1),gt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),gt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),gt.extend("--ft-chip-small-border-radius","",bt.borderRadiusPill),gt.create("--ft-chip-small-border-width","","SIZE","1px"),gt.extend("--ft-chip-small-icon-size","",bt.iconSize1),gt.extend("--ft-chip-neutral-background-color","",xt.backgroundGlobalOnSurface),gt.extend("--ft-chip-neutral-color","",xt.contentGlobalPrimary),gt.extend("--ft-chip-neutral-border-color","",xt.borderGlobalSubtle),gt.extend("--ft-chip-info-background-color","",xt.backgroundInfoSubtle),gt.extend("--ft-chip-info-color","",xt.contentInfoPrimary),gt.extend("--ft-chip-info-border-color","",xt.borderInfoPrimary),gt.extend("--ft-chip-success-background-color","",xt.backgroundSuccessSubtle),gt.extend("--ft-chip-success-color","",xt.contentSuccessPrimary),gt.extend("--ft-chip-success-border-color","",xt.borderSuccessPrimary),gt.extend("--ft-chip-warning-background-color","",xt.backgroundWarningSubtle),gt.extend("--ft-chip-warning-color","",xt.contentWarningPrimary),gt.extend("--ft-chip-warning-border-color","",xt.borderWarningPrimary),gt.extend("--ft-chip-error-background-color","",xt.backgroundErrorSubtle),gt.extend("--ft-chip-error-color","",xt.contentErrorPrimary),gt.extend("--ft-chip-error-border-color","",xt.borderErrorPrimary),gt.create("--ft-notice-border-width","","SIZE","1px"),gt.extend("--ft-notice-horizontal-padding","",bt.spacing2),gt.extend("--ft-notice-vertical-padding","",bt.spacing1),gt.extend("--ft-notice-border-radius","",bt.borderRadiusS),gt.extend("--ft-notice-gap","",bt.spacing2),gt.extend("--ft-notice-icon-size","",bt.iconSize3),gt.extend("--ft-notice-info-background-color","",xt.backgroundInfoSubtle),gt.extend("--ft-notice-info-border-color","",xt.borderInfoPrimary),gt.extend("--ft-notice-info-color","",xt.contentInfoPrimary),gt.extend("--ft-notice-warning-background-color","",xt.backgroundWarningSubtle),gt.extend("--ft-notice-warning-border-color","",xt.borderWarningPrimary),gt.extend("--ft-notice-warning-color","",xt.contentWarningPrimary),gt.extend("--ft-checkbox-label-color","",xt.contentGlobalPrimary),gt.extend("--ft-checkbox-checked-background-color","",xt.contentActionPrimary),gt.extend("--ft-checkbox-checked-state-layer-color","",xt.contentActionPrimary),gt.extend("--ft-checkbox-checked-color","",xt.contentGlobalOnColor),gt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-checkbox-checked-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-checkbox-checked-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-checkbox-unchecked-border-color","",bt.colorGray80),gt.extend("--ft-checkbox-unchecked-state-layer-color","",bt.colorGray80),gt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-checkbox-focus-focus-ring-color","",xt.borderActionFocusRing),gt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),gt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gt.extend("--ft-checkbox-gap","",bt.spacing3),gt.extend("--ft-toggle-off-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-toggle-off-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-toggle-off-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-toggle-off-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-toggle-off-background-color","",xt.contentGlobalSubtle),gt.extend("--ft-toggle-off-icon-color","",xt.contentGlobalSubtle),gt.extend("--ft-toggle-off-state-layer-color","",xt.contentGlobalSubtle),gt.extend("--ft-toggle-on-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-toggle-on-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-toggle-on-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-toggle-on-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-toggle-on-background-color","",xt.contentActionPrimary),gt.extend("--ft-toggle-on-icon-color","",xt.contentActionPrimary),gt.extend("--ft-toggle-on-state-layer-color","",xt.contentActionPrimary),gt.extend("--ft-toggle-label-color","",xt.contentGlobalPrimary),gt.extend("--ft-toggle-focus-focus-ring-color","",xt.borderActionFocusRing),gt.extend("--ft-toggle-gap","",bt.spacing3),gt.extend("--ft-radio-label-color","",xt.contentGlobalPrimary),gt.extend("--ft-radio-selected-color","",xt.contentActionPrimary),gt.extend("--ft-radio-selected-state-layer-color","",xt.contentActionPrimary),gt.extend("--ft-radio-selected-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-radio-selected-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-radio-selected-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-radio-selected-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-radio-unselected-state-layer-color","",bt.colorGray80),gt.extend("--ft-radio-unselected-state-layer-opacity-hover","",bt.opacity16),gt.extend("--ft-radio-unselected-state-layer-opacity-focus","",bt.opacity16),gt.extend("--ft-radio-unselected-state-layer-opacity-active","",bt.opacity24),gt.extend("--ft-radio-unselected-component-opacity-disabled","",bt.opacity40),gt.extend("--ft-radio-focus-focus-ring-color","",xt.borderActionFocusRing),gt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),gt.create("--ft-radio-focus-outline-width","","SIZE","2px"),gt.extend("--ft-radio-gap","",bt.spacing3),gt.extend("--ft-notification-icon-size","",bt.iconSize4),gt.extend("--ft-notification-horizontal-padding","",bt.spacing4),gt.extend("--ft-notification-vertical-padding","",bt.spacing4),gt.extend("--ft-notification-info-background-color","",xt.backgroundInfoSubtle),gt.extend("--ft-notification-info-color","",xt.contentInfoPrimary),gt.extend("--ft-notification-info-border-color","",xt.borderInfoPrimary),gt.extend("--ft-notification-success-background-color","",xt.backgroundSuccessSubtle),gt.extend("--ft-notification-success-color","",xt.contentSuccessPrimary),gt.extend("--ft-notification-success-border-color","",xt.borderSuccessPrimary),gt.extend("--ft-notification-warning-background-color","",xt.backgroundWarningSubtle),gt.extend("--ft-notification-warning-color","",xt.contentWarningPrimary),gt.extend("--ft-notification-warning-border-color","",xt.borderWarningPrimary),gt.extend("--ft-notification-error-background-color","",xt.backgroundErrorSubtle),gt.extend("--ft-notification-error-color","",xt.contentErrorPrimary),gt.extend("--ft-notification-error-border-color","",xt.borderErrorPrimary),gt.extend("--ft-notification-border-radius","",bt.borderRadiusPill),gt.create("--ft-notification-border-width","","SIZE","1px"),gt.extend("--ft-notification-gap-leading","",bt.spacing2),gt.extend("--ft-notification-gap-trailing","",bt.spacing8);const Ot={colorPrimary:gt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:gt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:gt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:gt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:gt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:gt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:gt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:gt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:gt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:gt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:gt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:gt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:gt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:gt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:gt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:gt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:gt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:gt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:gt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:gt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:gt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:gt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:gt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:gt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:gt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:gt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:gt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:gt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:gt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:gt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:gt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:gt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:gt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:gt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:gt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:gt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:gt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:gt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:gt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:gt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:gt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:gt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:gt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:gt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:gt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:gt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:gt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:gt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:gt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:gt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:gt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class vt extends ht{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return u(e,t.elementStyles),e}}var Nt,St=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const wt=Symbol("constructorPrototype"),Ct=Symbol("constructorName"),Rt=Symbol("exportpartsDebouncer");class Et extends vt{constructor(){super(),this[Nt]=new o(5),this[Ct]=this.constructor.name,this[wt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ct]&&Object.setPrototypeOf(this,this[wt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Rt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,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!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Nt=Rt,St([r()],Et.prototype,"exportpartsPrefix",void 0),St([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return r({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!l(t,o),...null!=o?o:{}})}([])],Et.prototype,"exportpartsPrefixes",void 0),St([r()],Et.prototype,"customStylesheet",void 0);const $t=g`
|
|
67
67
|
.ft-no-text-select {
|
|
68
68
|
-webkit-touch-callout: none;
|
|
69
69
|
-webkit-user-select: none;
|
|
@@ -72,7 +72,7 @@ var ht,ct;let ft=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
72
72
|
-ms-user-select: none;
|
|
73
73
|
user-select: none;
|
|
74
74
|
}
|
|
75
|
-
`;
|
|
75
|
+
`;g`
|
|
76
76
|
.ft-word-wrap {
|
|
77
77
|
white-space: normal;
|
|
78
78
|
word-wrap: break-word;
|
|
@@ -84,7 +84,7 @@ var ht,ct;let ft=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
84
84
|
-webkit-hyphens: auto;
|
|
85
85
|
hyphens: auto
|
|
86
86
|
}
|
|
87
|
-
`,
|
|
87
|
+
`,g`
|
|
88
88
|
.ft-safari-ellipsis-fix {
|
|
89
89
|
margin-right: 0;
|
|
90
90
|
|
|
@@ -95,131 +95,140 @@ var ht,ct;let ft=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
95
95
|
display: inline-block;
|
|
96
96
|
width: 0;
|
|
97
97
|
}
|
|
98
|
-
`,window.ftReduxStores||(window.ftReduxStores={});const
|
|
98
|
+
`,window.ftReduxStores||(window.ftReduxStores={});const Ut=Symbol("elementInternals");var It,Wt;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Wt=null===(It=window.safari)||void 0===It?void 0:It.pushNotification)||void 0===Wt||Wt.toString());
|
|
99
99
|
/**
|
|
100
100
|
* @license
|
|
101
101
|
* Copyright 2017 Google LLC
|
|
102
102
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
103
103
|
*/
|
|
104
|
-
const
|
|
104
|
+
const kt=1,Lt=2,Kt=t=>(...o)=>({_$litDirective$:t,values:o});class zt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
|
|
105
105
|
/**
|
|
106
106
|
* @license
|
|
107
107
|
* Copyright 2018 Google LLC
|
|
108
108
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
109
|
-
*/const
|
|
109
|
+
*/const Zt=Kt(class extends zt{constructor(t){var o;if(super(t),t.type!==kt||"class"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){var e,r;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 o)o[t]&&!(null===(e=this.nt)||void 0===e?void 0:e.has(t))&&this.it.add(t);return this.render(o)}const i=t.element.classList;this.it.forEach((t=>{t in o||(i.remove(t),this.it.delete(t))}));for(const t in o){const e=!!o[t];e===this.it.has(t)||(null===(r=this.nt)||void 0===r?void 0:r.has(t))||(e?(i.add(t),this.it.add(t)):(i.remove(t),this.it.delete(t)))}return Y}}),Ft=Symbol.for(""),Dt=t=>{if((null==t?void 0:t.r)===Ft)return null==t?void 0:t._$litStatic$},Bt=t=>({_$litStatic$:t,r:Ft}),Mt=new Map,At=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let s,c=0,p=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(a=e[c],i=Dt(a));)s+=i+o[++c],p=!0;c!==r&&l.push(a),n.push(s),c++}if(c===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=Mt.get(t))&&(n.raw=n,Mt.set(t,o=n)),e=l}return t(o,...e)})(T);
|
|
110
110
|
/**
|
|
111
111
|
* @license
|
|
112
112
|
* Copyright 2020 Google LLC
|
|
113
113
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
114
|
-
*/var
|
|
114
|
+
*/var Ht;!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"}(Ht||(Ht={}));const jt=gt.extend("--ft-typography-font-family","",Ot.titleFont),Pt=gt.extend("--ft-typography-font-family","",Ot.contentFont),Gt={fontFamily:Pt,fontSize:gt.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:gt.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:gt.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:gt.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:gt.create("--ft-typography-text-transform","","UNKNOWN","inherit")},_t=gt.extend("--ft-typography-title-font-family","",jt),Tt=gt.extend("--ft-typography-title-font-size","",Gt.fontSize,"20px"),Yt=gt.extend("--ft-typography-title-font-weight","",Gt.fontWeight,"normal"),Vt=gt.extend("--ft-typography-title-letter-spacing","",Gt.letterSpacing,"0.15px"),Jt=gt.extend("--ft-typography-title-line-height","",Gt.lineHeight,"1.2"),qt=gt.extend("--ft-typography-title-text-transform","",Gt.textTransform,"inherit"),Xt=gt.extend("--ft-typography-title-dense-font-family","",jt),Qt=gt.extend("--ft-typography-title-dense-font-size","",Gt.fontSize,"14px"),to=gt.extend("--ft-typography-title-dense-font-weight","",Gt.fontWeight,"normal"),oo=gt.extend("--ft-typography-title-dense-letter-spacing","",Gt.letterSpacing,"0.105px"),eo=gt.extend("--ft-typography-title-dense-line-height","",Gt.lineHeight,"1.7"),ro=gt.extend("--ft-typography-title-dense-text-transform","",Gt.textTransform,"inherit"),io=gt.extend("--ft-typography-subtitle1-font-family","",Pt),ao=gt.extend("--ft-typography-subtitle1-font-size","",Gt.fontSize,"16px"),no=gt.extend("--ft-typography-subtitle1-font-weight","",Gt.fontWeight,"600"),lo=gt.extend("--ft-typography-subtitle1-letter-spacing","",Gt.letterSpacing,"0.144px"),so=gt.extend("--ft-typography-subtitle1-line-height","",Gt.lineHeight,"1.5"),co=gt.extend("--ft-typography-subtitle1-text-transform","",Gt.textTransform,"inherit"),po=gt.extend("--ft-typography-subtitle2-font-family","",Pt),fo=gt.extend("--ft-typography-subtitle2-font-size","",Gt.fontSize,"14px"),ho=gt.extend("--ft-typography-subtitle2-font-weight","",Gt.fontWeight,"normal"),yo=gt.extend("--ft-typography-subtitle2-letter-spacing","",Gt.letterSpacing,"0.098px"),go=gt.extend("--ft-typography-subtitle2-line-height","",Gt.lineHeight,"1.7"),uo=gt.extend("--ft-typography-subtitle2-text-transform","",Gt.textTransform,"inherit"),bo={fontFamily:gt.extend("--ft-typography-body1-font-family","",Pt),fontSize:gt.extend("--ft-typography-body1-font-size","",Gt.fontSize,"16px"),fontWeight:gt.extend("--ft-typography-body1-font-weight","",Gt.fontWeight,"normal"),letterSpacing:gt.extend("--ft-typography-body1-letter-spacing","",Gt.letterSpacing,"0.496px"),lineHeight:gt.extend("--ft-typography-body1-line-height","",Gt.lineHeight,"1.5"),textTransform:gt.extend("--ft-typography-body1-text-transform","",Gt.textTransform,"inherit")},mo=gt.extend("--ft-typography-body2-font-family","",Pt),xo=gt.extend("--ft-typography-body2-font-size","",Gt.fontSize,"14px"),Oo=gt.extend("--ft-typography-body2-font-weight","",Gt.fontWeight,"normal"),vo=gt.extend("--ft-typography-body2-letter-spacing","",Gt.letterSpacing,"0.252px"),No=gt.extend("--ft-typography-body2-line-height","",Gt.lineHeight,"1.4"),So=gt.extend("--ft-typography-body2-text-transform","",Gt.textTransform,"inherit"),wo={fontFamily:gt.extend("--ft-typography-caption-font-family","",Pt),fontSize:gt.extend("--ft-typography-caption-font-size","",Gt.fontSize,"12px"),fontWeight:gt.extend("--ft-typography-caption-font-weight","",Gt.fontWeight,"normal"),letterSpacing:gt.extend("--ft-typography-caption-letter-spacing","",Gt.letterSpacing,"0.396px"),lineHeight:gt.extend("--ft-typography-caption-line-height","",Gt.lineHeight,"1.33"),textTransform:gt.extend("--ft-typography-caption-text-transform","",Gt.textTransform,"inherit")},Co=gt.extend("--ft-typography-breadcrumb-font-family","",Pt),Ro=gt.extend("--ft-typography-breadcrumb-font-size","",Gt.fontSize,"10px"),Eo=gt.extend("--ft-typography-breadcrumb-font-weight","",Gt.fontWeight,"normal"),$o=gt.extend("--ft-typography-breadcrumb-letter-spacing","",Gt.letterSpacing,"0.33px"),Uo=gt.extend("--ft-typography-breadcrumb-line-height","",Gt.lineHeight,"1.6"),Io=gt.extend("--ft-typography-breadcrumb-text-transform","",Gt.textTransform,"inherit"),Wo=gt.extend("--ft-typography-overline-font-family","",Pt),ko=gt.extend("--ft-typography-overline-font-size","",Gt.fontSize,"10px"),Lo=gt.extend("--ft-typography-overline-font-weight","",Gt.fontWeight,"normal"),Ko=gt.extend("--ft-typography-overline-letter-spacing","",Gt.letterSpacing,"1.5px"),zo=gt.extend("--ft-typography-overline-line-height","",Gt.lineHeight,"1.6"),Zo=gt.extend("--ft-typography-overline-text-transform","",Gt.textTransform,"uppercase"),Fo=gt.extend("--ft-typography-button-font-family","",Pt),Do=gt.extend("--ft-typography-button-font-size","",Gt.fontSize,"14px"),Bo=gt.extend("--ft-typography-button-font-weight","",Gt.fontWeight,"600"),Mo=gt.extend("--ft-typography-button-letter-spacing","",Gt.letterSpacing,"1.246px"),Ao=gt.extend("--ft-typography-button-line-height","",Gt.lineHeight,"1.15"),Ho=gt.extend("--ft-typography-button-text-transform","",Gt.textTransform,"uppercase"),jo=g`
|
|
115
115
|
.ft-typography--title {
|
|
116
|
-
font-family: ${
|
|
117
|
-
font-size: ${
|
|
118
|
-
font-weight: ${
|
|
119
|
-
letter-spacing: ${
|
|
120
|
-
line-height: ${
|
|
121
|
-
text-transform: ${
|
|
122
|
-
}
|
|
123
|
-
`,
|
|
116
|
+
font-family: ${_t};
|
|
117
|
+
font-size: ${Tt};
|
|
118
|
+
font-weight: ${Yt};
|
|
119
|
+
letter-spacing: ${Vt};
|
|
120
|
+
line-height: ${Jt};
|
|
121
|
+
text-transform: ${qt};
|
|
122
|
+
}
|
|
123
|
+
`,Po=g`
|
|
124
124
|
.ft-typography--title-dense {
|
|
125
|
-
font-family: ${
|
|
126
|
-
font-size: ${
|
|
127
|
-
font-weight: ${
|
|
128
|
-
letter-spacing: ${
|
|
129
|
-
line-height: ${
|
|
130
|
-
text-transform: ${
|
|
131
|
-
}
|
|
132
|
-
`,
|
|
125
|
+
font-family: ${Xt};
|
|
126
|
+
font-size: ${Qt};
|
|
127
|
+
font-weight: ${to};
|
|
128
|
+
letter-spacing: ${oo};
|
|
129
|
+
line-height: ${eo};
|
|
130
|
+
text-transform: ${ro};
|
|
131
|
+
}
|
|
132
|
+
`,Go=g`
|
|
133
133
|
.ft-typography--subtitle1 {
|
|
134
|
-
font-family: ${
|
|
135
|
-
font-size: ${
|
|
136
|
-
font-weight: ${
|
|
137
|
-
letter-spacing: ${
|
|
138
|
-
line-height: ${
|
|
139
|
-
text-transform: ${
|
|
140
|
-
}
|
|
141
|
-
`,
|
|
134
|
+
font-family: ${io};
|
|
135
|
+
font-size: ${ao};
|
|
136
|
+
font-weight: ${no};
|
|
137
|
+
letter-spacing: ${lo};
|
|
138
|
+
line-height: ${so};
|
|
139
|
+
text-transform: ${co};
|
|
140
|
+
}
|
|
141
|
+
`,_o=g`
|
|
142
142
|
.ft-typography--subtitle2 {
|
|
143
|
-
font-family: ${
|
|
144
|
-
font-size: ${
|
|
145
|
-
font-weight: ${
|
|
146
|
-
letter-spacing: ${
|
|
147
|
-
line-height: ${
|
|
148
|
-
text-transform: ${
|
|
143
|
+
font-family: ${po};
|
|
144
|
+
font-size: ${fo};
|
|
145
|
+
font-weight: ${ho};
|
|
146
|
+
letter-spacing: ${yo};
|
|
147
|
+
line-height: ${go};
|
|
148
|
+
text-transform: ${uo};
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
`,
|
|
151
|
+
`,To=g`
|
|
152
152
|
.ft-typography--body1 {
|
|
153
|
-
font-family: ${
|
|
154
|
-
font-size: ${
|
|
155
|
-
font-weight: ${
|
|
156
|
-
letter-spacing: ${
|
|
157
|
-
line-height: ${
|
|
158
|
-
text-transform: ${
|
|
159
|
-
}
|
|
160
|
-
`,
|
|
153
|
+
font-family: ${bo.fontFamily};
|
|
154
|
+
font-size: ${bo.fontSize};
|
|
155
|
+
font-weight: ${bo.fontWeight};
|
|
156
|
+
letter-spacing: ${bo.letterSpacing};
|
|
157
|
+
line-height: ${bo.lineHeight};
|
|
158
|
+
text-transform: ${bo.textTransform};
|
|
159
|
+
}
|
|
160
|
+
`,Yo=g`
|
|
161
161
|
.ft-typography--body2 {
|
|
162
|
-
font-family: ${
|
|
163
|
-
font-size: ${
|
|
164
|
-
font-weight: ${
|
|
165
|
-
letter-spacing: ${
|
|
166
|
-
line-height: ${
|
|
167
|
-
text-transform: ${
|
|
168
|
-
}
|
|
169
|
-
`,
|
|
162
|
+
font-family: ${mo};
|
|
163
|
+
font-size: ${xo};
|
|
164
|
+
font-weight: ${Oo};
|
|
165
|
+
letter-spacing: ${vo};
|
|
166
|
+
line-height: ${No};
|
|
167
|
+
text-transform: ${So};
|
|
168
|
+
}
|
|
169
|
+
`,Vo=g`
|
|
170
170
|
.ft-typography--caption {
|
|
171
|
-
font-family: ${
|
|
172
|
-
font-size: ${
|
|
173
|
-
font-weight: ${
|
|
174
|
-
letter-spacing: ${
|
|
175
|
-
line-height: ${
|
|
176
|
-
text-transform: ${
|
|
177
|
-
}
|
|
178
|
-
`,
|
|
171
|
+
font-family: ${wo.fontFamily};
|
|
172
|
+
font-size: ${wo.fontSize};
|
|
173
|
+
font-weight: ${wo.fontWeight};
|
|
174
|
+
letter-spacing: ${wo.letterSpacing};
|
|
175
|
+
line-height: ${wo.lineHeight};
|
|
176
|
+
text-transform: ${wo.textTransform};
|
|
177
|
+
}
|
|
178
|
+
`,Jo=g`
|
|
179
179
|
.ft-typography--breadcrumb {
|
|
180
|
-
font-family: ${
|
|
181
|
-
font-size: ${
|
|
182
|
-
font-weight: ${
|
|
183
|
-
letter-spacing: ${
|
|
184
|
-
line-height: ${
|
|
185
|
-
text-transform: ${
|
|
186
|
-
}
|
|
187
|
-
`,
|
|
180
|
+
font-family: ${Co};
|
|
181
|
+
font-size: ${Ro};
|
|
182
|
+
font-weight: ${Eo};
|
|
183
|
+
letter-spacing: ${$o};
|
|
184
|
+
line-height: ${Uo};
|
|
185
|
+
text-transform: ${Io};
|
|
186
|
+
}
|
|
187
|
+
`,qo=g`
|
|
188
188
|
.ft-typography--overline {
|
|
189
|
-
font-family: ${
|
|
190
|
-
font-size: ${
|
|
191
|
-
font-weight: ${
|
|
192
|
-
letter-spacing: ${
|
|
193
|
-
line-height: ${
|
|
194
|
-
text-transform: ${
|
|
195
|
-
}
|
|
196
|
-
`,
|
|
189
|
+
font-family: ${Wo};
|
|
190
|
+
font-size: ${ko};
|
|
191
|
+
font-weight: ${Lo};
|
|
192
|
+
letter-spacing: ${Ko};
|
|
193
|
+
line-height: ${zo};
|
|
194
|
+
text-transform: ${Zo};
|
|
195
|
+
}
|
|
196
|
+
`,Xo=g`
|
|
197
197
|
.ft-typography--button {
|
|
198
|
-
font-family: ${
|
|
199
|
-
font-size: ${
|
|
200
|
-
font-weight: ${
|
|
201
|
-
letter-spacing: ${
|
|
202
|
-
line-height: ${
|
|
203
|
-
text-transform: ${
|
|
204
|
-
}
|
|
205
|
-
`,
|
|
198
|
+
font-family: ${Fo};
|
|
199
|
+
font-size: ${Do};
|
|
200
|
+
font-weight: ${Bo};
|
|
201
|
+
letter-spacing: ${Mo};
|
|
202
|
+
line-height: ${Ao};
|
|
203
|
+
text-transform: ${Ho};
|
|
204
|
+
}
|
|
205
|
+
`,Qo=g`
|
|
206
206
|
.ft-typography {
|
|
207
207
|
vertical-align: inherit;
|
|
208
208
|
}
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
209
|
+
`,te=[Object.keys(mt).map((t=>function(t){const o=mt[t];return g`
|
|
210
|
+
.ft-typography--${y(t)} {
|
|
211
|
+
font-family: ${o.fontFamily};
|
|
212
|
+
font-size: ${o.fontSize};
|
|
213
|
+
font-weight: ${o.fontWeight};
|
|
214
|
+
letter-spacing: ${o.letterSpacing};
|
|
215
|
+
line-height: ${o.lineHeight};
|
|
216
|
+
text-transform: ${o.textCase};
|
|
217
|
+
}
|
|
218
|
+
`}(t)))];var oe=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ee extends Et{constructor(){super(...arguments),this.variant=Ht.body1}render(){return this.element?At`
|
|
219
|
+
<${Bt(this.element)}
|
|
220
|
+
class="ft-typography ft-typography--${this.variant}">
|
|
212
221
|
<slot></slot>
|
|
213
|
-
</${
|
|
214
|
-
`:
|
|
222
|
+
</${Bt(this.element)}>
|
|
223
|
+
`:At`
|
|
215
224
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
216
|
-
`}}
|
|
225
|
+
`}}ee.styles=[jo,Po,Go,_o,To,Yo,Vo,Jo,qo,Xo,Qo,...te],oe([r()],ee.prototype,"element",void 0),oe([r()],ee.prototype,"variant",void 0),s("ft-typography")(ee);
|
|
217
226
|
/**
|
|
218
227
|
* @license
|
|
219
228
|
* Copyright 2017 Google LLC
|
|
220
229
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
221
230
|
*/
|
|
222
|
-
class
|
|
231
|
+
class re extends zt{constructor(t){if(super(t),this.et=V,t.type!==Lt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===V||null==t)return this.ft=void 0,this.et=t;if(t===Y)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 o=[t];return o.raw=o,this.ft={_$litType$:this.constructor.resultType,strings:o,values:[]}}}re.directiveName="unsafeHTML",re.resultType=1;const ie=Kt(re);var ae,ne;!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=""}(ae||(ae={})),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=""}(ne||(ne={})),new Map([...["abw"].map((t=>[t,ne.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,ne.AUDIO])),...["avi"].map((t=>[t,ne.AVI])),...["chm","xhs"].map((t=>[t,ne.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,ne.CODE])),...["csv"].map((t=>[t,ne.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ne.DITA])),...["epub"].map((t=>[t,ne.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ne.EXCEL])),...["flac"].map((t=>[t,ne.FLAC])),...["gif"].map((t=>[t,ne.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ne.GZIP])),...["html","htm","xhtml"].map((t=>[t,ne.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,ne.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ne.JPEG])),...["json"].map((t=>[t,ne.JSON])),...["m4a","m4p"].map((t=>[t,ne.M4A])),...["mov","qt"].map((t=>[t,ne.MOV])),...["mp3"].map((t=>[t,ne.MP3])),...["mp4","m4v"].map((t=>[t,ne.MP4])),...["ogg","oga"].map((t=>[t,ne.OGG])),...["pdf","ps"].map((t=>[t,ne.PDF])),...["png"].map((t=>[t,ne.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ne.POWERPOINT])),...["rar"].map((t=>[t,ne.RAR])),...["stp"].map((t=>[t,ne.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ne.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,ne.VIDEO])),...["wav"].map((t=>[t,ne.WAV])),...["wma"].map((t=>[t,ne.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ne.WORD])),...["xml","xsl","rdf"].map((t=>[t,ne.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ne.YAML])),...["zip"].map((t=>[t,ne.ZIP]))]);const le=gt.create("--ft-icon-font-size","","SIZE","24px"),se=gt.extend("--ft-icon-fluid-topics-font-family","",gt.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),ce=gt.extend("--ft-icon-file-format-font-family","",gt.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),pe=gt.extend("--ft-icon-material-font-family","",gt.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),fe=gt.create("--ft-icon-vertical-align","","UNKNOWN","unset"),he=g`
|
|
223
232
|
:host, i.ft-icon {
|
|
224
233
|
display: inline-flex;
|
|
225
234
|
align-items: center;
|
|
@@ -228,14 +237,14 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
228
237
|
}
|
|
229
238
|
|
|
230
239
|
:host {
|
|
231
|
-
width: ${
|
|
232
|
-
height: ${
|
|
240
|
+
width: ${le};
|
|
241
|
+
height: ${le};
|
|
233
242
|
}
|
|
234
243
|
|
|
235
244
|
i.ft-icon {
|
|
236
245
|
width: 100%;
|
|
237
246
|
height: 100%;
|
|
238
|
-
font-size: ${
|
|
247
|
+
font-size: ${le};
|
|
239
248
|
line-height: 1;
|
|
240
249
|
font-weight: normal;
|
|
241
250
|
text-transform: none;
|
|
@@ -246,33 +255,33 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
246
255
|
text-rendering: auto;
|
|
247
256
|
-webkit-font-smoothing: antialiased;
|
|
248
257
|
-moz-osx-font-smoothing: grayscale;
|
|
249
|
-
vertical-align: ${
|
|
258
|
+
vertical-align: ${fe};
|
|
250
259
|
}
|
|
251
260
|
|
|
252
261
|
i.ft-icon.ft-icon--fluid-topics {
|
|
253
|
-
font-family: ${
|
|
262
|
+
font-family: ${se}, ft-icons, fticons, sans-serif;
|
|
254
263
|
|
|
255
264
|
/* Ugly fix because font is broken */
|
|
256
|
-
font-size: calc(0.75 * ${
|
|
257
|
-
line-height: ${
|
|
265
|
+
font-size: calc(0.75 * ${le});
|
|
266
|
+
line-height: ${le};
|
|
258
267
|
position: relative;
|
|
259
268
|
top: -4%;
|
|
260
269
|
justify-content: center;
|
|
261
270
|
}
|
|
262
271
|
|
|
263
272
|
.ft-icon--file-format {
|
|
264
|
-
font-family: ${
|
|
273
|
+
font-family: ${ce}, ft-mime, sans-serif;
|
|
265
274
|
}
|
|
266
275
|
|
|
267
276
|
.ft-icon--material {
|
|
268
|
-
font-family: ${
|
|
277
|
+
font-family: ${pe}, "Material Icons", sans-serif;
|
|
269
278
|
}
|
|
270
|
-
`;var
|
|
279
|
+
`;var de;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(de||(de={}));var ye=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ge extends Et{constructor(){super(...arguments),this.resolvedIcon=V}render(){const t=this.variant&&Object.values(de).includes(this.variant)?this.variant:de.fluid_topics,o=t!==de.material||!!this.value;return T`
|
|
271
280
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
272
|
-
${
|
|
273
|
-
<slot ?hidden=${
|
|
281
|
+
${ie(this.resolvedIcon)}
|
|
282
|
+
<slot ?hidden=${o}></slot>
|
|
274
283
|
</i>
|
|
275
|
-
`}get textContent(){var t,
|
|
284
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case de.file_format:this.resolvedIcon=null!==(t=ne[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case de.material:this.resolvedIcon=this.value||V;break;default:this.resolvedIcon=null!==(o=ae[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ge.elementDefinitions={},ge.styles=he,ye([r()],ge.prototype,"variant",void 0),ye([r()],ge.prototype,"value",void 0),ye([i()],ge.prototype,"resolvedIcon",void 0),ye([a("slot")],ge.prototype,"slottedContent",void 0),s("ft-icon")(ge);const ue=gt.external(Ot.colorOutline,"Design system"),be=gt.external(Ot.colorOnSurfaceMedium,"Design system"),me=g`
|
|
276
285
|
:host {
|
|
277
286
|
display: block;
|
|
278
287
|
}
|
|
@@ -283,17 +292,17 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
283
292
|
|
|
284
293
|
ft-icon {
|
|
285
294
|
transform: rotate(-45deg);
|
|
286
|
-
color: ${
|
|
295
|
+
color: ${ue};
|
|
287
296
|
}
|
|
288
297
|
|
|
289
298
|
.ft-resizer--dragging ft-icon,
|
|
290
299
|
.ft-resizer:hover ft-icon {
|
|
291
|
-
color: ${
|
|
300
|
+
color: ${be};
|
|
292
301
|
}
|
|
293
|
-
`;var
|
|
302
|
+
`;var xe=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Oe extends CustomEvent{constructor(t,o){super("resize",{detail:{width:t,height:o}})}}class ve extends Et{constructor(){super(...arguments),this.initialWidth=0,this.initialHeight=0,this.icon="drag_handle",this.iconVariant=de.material,this.cursor="nwse-resize",this.dragging=!1,this.fixedWidth=0,this.fixedHeight=0,this.startX=0,this.startY=0,this.doDragFromMouse=t=>this.doDrag(t.clientX,t.clientY),this.doDragFromTouch=t=>this.doDrag(t.touches[0].clientX,t.touches[0].clientY),this.stopDrag=()=>{this.dragging=!1,document.removeEventListener("mousemove",this.doDragFromMouse,!1),document.removeEventListener("mouseup",this.stopDrag,!1),document.removeEventListener("touchmove",this.doDragFromTouch,!1),document.removeEventListener("touchend",this.stopDrag,!1),document.removeEventListener("touchcancel",this.stopDrag,!1)}}render(){return T`
|
|
294
303
|
<style>
|
|
295
304
|
.ft-resizer {
|
|
296
|
-
cursor: ${
|
|
305
|
+
cursor: ${y(this.cursor)}
|
|
297
306
|
}
|
|
298
307
|
</style>
|
|
299
308
|
<div class="ft-resizer ft-no-text-select ${this.dragging?"ft-resizer--dragging":""}"
|
|
@@ -301,25 +310,25 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
301
310
|
@touchstart=${this.initDragFromTouch}>
|
|
302
311
|
<ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
303
312
|
</div>
|
|
304
|
-
`}initDragFromMouse(t){this.initDrag(t.clientX,t.clientY)}initDragFromTouch(t){t.preventDefault(),t.stopPropagation(),this.initDrag(t.touches[0].clientX,t.touches[0].clientY)}initDrag(t,
|
|
313
|
+
`}initDragFromMouse(t){this.initDrag(t.clientX,t.clientY)}initDragFromTouch(t){t.preventDefault(),t.stopPropagation(),this.initDrag(t.touches[0].clientX,t.touches[0].clientY)}initDrag(t,o){this.dragging=!0,this.startX=t,this.startY=o,this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,this.installDocumentEventListeners()}installDocumentEventListeners(){document.addEventListener("mousemove",this.doDragFromMouse,!1),document.addEventListener("mouseup",this.stopDrag,!1),document.addEventListener("touchmove",this.doDragFromTouch,!1),document.addEventListener("touchend",this.stopDrag,!1),document.addEventListener("touchcancel",this.stopDrag,!1)}doDrag(t,o){let e=this.fixedWidth+t-this.startX,r=this.fixedHeight+o-this.startY;this.dispatchEvent(new Oe(e,r))}}ve.elementDefinitions={"ft-icon":ge},ve.styles=[$t,me],xe([r({type:Number})],ve.prototype,"initialWidth",void 0),xe([r({type:Number})],ve.prototype,"initialHeight",void 0),xe([r()],ve.prototype,"icon",void 0),xe([r()],ve.prototype,"iconVariant",void 0),xe([r()],ve.prototype,"cursor",void 0),xe([i()],ve.prototype,"dragging",void 0),s("ft-resizer")(ve);const Ne={fontSize:gt.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:gt.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:gt.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:gt.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:gt.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:gt.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:gt.extend("--ft-input-label-border-color","",Ot.colorOutline),textColor:gt.extend("--ft-input-label-text-color","",Ot.colorOnSurfaceMedium),disabledTextColor:gt.extend("--ft-input-label-disabled-text-color","",Ot.colorOnSurfaceDisabled),colorSurface:gt.external(Ot.colorSurface,"Design system"),borderRadiusS:gt.external(Ot.borderRadiusS,"Design system"),colorError:gt.external(Ot.colorError,"Design system")},Se=g`
|
|
305
314
|
.ft-input-label {
|
|
306
315
|
position: absolute;
|
|
307
316
|
inset: 0;
|
|
308
317
|
display: flex;
|
|
309
|
-
background-color: ${
|
|
310
|
-
border-radius: ${
|
|
318
|
+
background-color: ${Ne.colorSurface};
|
|
319
|
+
border-radius: ${Ne.borderRadiusS} ${Ne.borderRadiusS} 0 0;
|
|
311
320
|
}
|
|
312
321
|
|
|
313
322
|
.ft-input-label--outlined {
|
|
314
|
-
border-radius: ${
|
|
323
|
+
border-radius: ${Ne.borderRadiusS};
|
|
315
324
|
}
|
|
316
325
|
|
|
317
326
|
.ft-input-label {
|
|
318
|
-
border-color: ${
|
|
327
|
+
border-color: ${Ne.borderColor};
|
|
319
328
|
}
|
|
320
329
|
|
|
321
330
|
.ft-input-label.ft-input-label--in-error {
|
|
322
|
-
border-color: ${
|
|
331
|
+
border-color: ${Ne.colorError}
|
|
323
332
|
}
|
|
324
333
|
|
|
325
334
|
.ft-input-label:before,
|
|
@@ -332,7 +341,7 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
332
341
|
}
|
|
333
342
|
|
|
334
343
|
.ft-input-label:before {
|
|
335
|
-
width: calc(${
|
|
344
|
+
width: calc(${Ne.horizontalSpacing} - 4px);
|
|
336
345
|
flex-shrink: 0;
|
|
337
346
|
}
|
|
338
347
|
|
|
@@ -348,20 +357,20 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
348
357
|
border-bottom-width: 1px;
|
|
349
358
|
border-bottom-style: solid;
|
|
350
359
|
border-color: inherit;
|
|
351
|
-
color: ${
|
|
360
|
+
color: ${Ne.textColor};
|
|
352
361
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
353
|
-
max-width: calc(${
|
|
362
|
+
max-width: calc(${Ne.labelMaxWidth} - 2 * (${Ne.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
354
363
|
text-overflow: ellipsis;
|
|
355
|
-
${
|
|
356
|
-
${
|
|
364
|
+
${ut(wo.fontSize,Ne.fontSize)};
|
|
365
|
+
${ut(wo.lineHeight,Ne.fontSize)};
|
|
357
366
|
}
|
|
358
367
|
|
|
359
368
|
.ft-input-label--in-error .ft-input-label--text {
|
|
360
|
-
color: ${
|
|
369
|
+
color: ${Ne.colorError}
|
|
361
370
|
}
|
|
362
371
|
|
|
363
372
|
.ft-input-label--disabled .ft-input-label--text {
|
|
364
|
-
color: ${
|
|
373
|
+
color: ${Ne.disabledTextColor};
|
|
365
374
|
}
|
|
366
375
|
|
|
367
376
|
.ft-input-label--hidden-text {
|
|
@@ -378,19 +387,19 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
378
387
|
overflow: hidden;
|
|
379
388
|
white-space: nowrap;
|
|
380
389
|
text-overflow: ellipsis;
|
|
381
|
-
padding: ${
|
|
382
|
-
margin: calc(${
|
|
390
|
+
padding: ${Ne.verticalSpacing} 4px;
|
|
391
|
+
margin: calc(${Ne.verticalSpacing} * -1) 0;
|
|
383
392
|
max-width: 100%;
|
|
384
393
|
box-sizing: border-box;
|
|
385
394
|
}
|
|
386
395
|
|
|
387
396
|
.ft-input-label--raised .ft-input-label--text {
|
|
388
|
-
${
|
|
389
|
-
${
|
|
397
|
+
${ut(wo.fontSize,Ne.raisedFontSize)};
|
|
398
|
+
${ut(wo.lineHeight,Ne.raisedFontSize)};
|
|
390
399
|
}
|
|
391
400
|
|
|
392
401
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
393
|
-
top: ${
|
|
402
|
+
top: ${Ne.verticalSpacing};
|
|
394
403
|
}
|
|
395
404
|
|
|
396
405
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -403,36 +412,36 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
403
412
|
.ft-input-label--outlined:before {
|
|
404
413
|
border-left-width: 1px;
|
|
405
414
|
border-left-style: solid;
|
|
406
|
-
border-radius: ${
|
|
415
|
+
border-radius: ${Ne.borderRadiusS} 0 0 ${Ne.borderRadiusS};
|
|
407
416
|
}
|
|
408
417
|
|
|
409
418
|
.ft-input-label--outlined:after {
|
|
410
419
|
border-right-width: 1px;
|
|
411
420
|
border-right-style: solid;
|
|
412
|
-
border-radius: 0 ${
|
|
421
|
+
border-radius: 0 ${Ne.borderRadiusS} ${Ne.borderRadiusS} 0;
|
|
413
422
|
}
|
|
414
423
|
|
|
415
424
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
416
425
|
padding: 2px 4px;
|
|
417
|
-
z-index: ${
|
|
418
|
-
background-color: ${
|
|
419
|
-
border-radius: ${
|
|
426
|
+
z-index: ${Ne.raisedZIndex};
|
|
427
|
+
background-color: ${Ne.colorSurface};
|
|
428
|
+
border-radius: ${Ne.borderRadiusS};
|
|
420
429
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
421
430
|
}
|
|
422
431
|
|
|
423
432
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
424
433
|
border-top: none;
|
|
425
434
|
}
|
|
426
|
-
`;var
|
|
427
|
-
<div class="${
|
|
428
|
-
${this.text?
|
|
435
|
+
`;var we=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ce extends Et{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 T`
|
|
436
|
+
<div class="${Zt(t)}">
|
|
437
|
+
${this.text?T`
|
|
429
438
|
<div class="ft-input-label--text ft-typography--caption">
|
|
430
439
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
431
440
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
432
441
|
</div>
|
|
433
442
|
`:null}
|
|
434
443
|
</div>
|
|
435
|
-
`}}
|
|
444
|
+
`}}Ce.elementDefinitions={},Ce.styles=[Vo,Se],we([r({type:String})],Ce.prototype,"text",void 0),we([r({type:Boolean})],Ce.prototype,"raised",void 0),we([r({type:Boolean})],Ce.prototype,"outlined",void 0),we([r({type:Boolean})],Ce.prototype,"disabled",void 0),we([r({type:Boolean})],Ce.prototype,"error",void 0),s("ft-input-label")(Ce);const Re=gt.extend("--ft-ripple-color","",Ot.colorContent),Ee={color:Re,backgroundColor:gt.extend("--ft-ripple-background-color","",Re),opacityContentOnSurfacePressed:gt.external(Ot.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:gt.external(Ot.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:gt.external(Ot.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:gt.external(Ot.opacityContentOnSurfaceSelected,"Design system"),borderRadius:gt.create("--ft-ripple-border-radius","","SIZE","0px")},$e=gt.extend("--ft-ripple-color","",Ot.colorPrimary),Ue=$e,Ie=gt.extend("--ft-ripple-background-color","",$e),We=gt.extend("--ft-ripple-color","",Ot.colorSecondary),ke=We,Le=gt.extend("--ft-ripple-background-color","",We),Ke=g`
|
|
436
445
|
:host {
|
|
437
446
|
display: contents;
|
|
438
447
|
}
|
|
@@ -445,7 +454,7 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
445
454
|
|
|
446
455
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
447
456
|
overflow: hidden;
|
|
448
|
-
border-radius: ${
|
|
457
|
+
border-radius: ${Ee.borderRadius};
|
|
449
458
|
}
|
|
450
459
|
|
|
451
460
|
.ft-ripple .ft-ripple--background,
|
|
@@ -479,27 +488,27 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
479
488
|
}
|
|
480
489
|
|
|
481
490
|
.ft-ripple .ft-ripple--background {
|
|
482
|
-
background-color: ${
|
|
491
|
+
background-color: ${Ee.backgroundColor};
|
|
483
492
|
}
|
|
484
493
|
|
|
485
494
|
.ft-ripple .ft-ripple--effect {
|
|
486
|
-
background-color: ${
|
|
495
|
+
background-color: ${Ee.color};
|
|
487
496
|
}
|
|
488
497
|
|
|
489
498
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
490
|
-
background-color: ${
|
|
499
|
+
background-color: ${Le};
|
|
491
500
|
}
|
|
492
501
|
|
|
493
502
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
494
|
-
background-color: ${
|
|
503
|
+
background-color: ${ke};
|
|
495
504
|
}
|
|
496
505
|
|
|
497
506
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
498
|
-
background-color: ${
|
|
507
|
+
background-color: ${Ie};
|
|
499
508
|
}
|
|
500
509
|
|
|
501
510
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
502
|
-
background-color: ${
|
|
511
|
+
background-color: ${Ue};
|
|
503
512
|
}
|
|
504
513
|
|
|
505
514
|
.ft-ripple .ft-ripple--background {
|
|
@@ -529,33 +538,33 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
529
538
|
}
|
|
530
539
|
|
|
531
540
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
532
|
-
opacity: ${
|
|
541
|
+
opacity: ${Ee.opacityContentOnSurfaceHover};
|
|
533
542
|
}
|
|
534
543
|
|
|
535
544
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
536
|
-
opacity: ${
|
|
545
|
+
opacity: ${Ee.opacityContentOnSurfaceSelected};
|
|
537
546
|
}
|
|
538
547
|
|
|
539
548
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
540
|
-
opacity: ${
|
|
549
|
+
opacity: ${Ee.opacityContentOnSurfaceFocused};
|
|
541
550
|
}
|
|
542
551
|
|
|
543
552
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
544
|
-
opacity: ${
|
|
553
|
+
opacity: ${Ee.opacityContentOnSurfacePressed};
|
|
545
554
|
transform: translate(-50%, -50%) scale(1);
|
|
546
555
|
}
|
|
547
|
-
`;var
|
|
556
|
+
`;var ze=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ze extends Et{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-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 T`
|
|
548
557
|
<style>
|
|
549
558
|
.ft-ripple .ft-ripple--effect {
|
|
550
559
|
left: ${this.originX}px;
|
|
551
560
|
top: ${this.originY}px;
|
|
552
561
|
}
|
|
553
562
|
</style>
|
|
554
|
-
<div class="${
|
|
563
|
+
<div class="${Zt(t)}">
|
|
555
564
|
<div class="ft-ripple--background"></div>
|
|
556
565
|
<div class="ft-ripple--effect"></div>
|
|
557
566
|
</div>
|
|
558
|
-
`}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
|
|
567
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ze.elementDefinitions={},Ze.styles=Ke,ze([r({type:Boolean})],Ze.prototype,"primary",void 0),ze([r({type:Boolean})],Ze.prototype,"secondary",void 0),ze([r({type:Boolean})],Ze.prototype,"unbounded",void 0),ze([r({type:Boolean})],Ze.prototype,"activated",void 0),ze([r({type:Boolean})],Ze.prototype,"selected",void 0),ze([r({type:Boolean})],Ze.prototype,"disabled",void 0),ze([i()],Ze.prototype,"hovered",void 0),ze([i()],Ze.prototype,"focused",void 0),ze([i()],Ze.prototype,"pressed",void 0),ze([i()],Ze.prototype,"rippling",void 0),ze([i()],Ze.prototype,"originX",void 0),ze([i()],Ze.prototype,"originY",void 0),ze([a(".ft-ripple")],Ze.prototype,"ripple",void 0),ze([a(".ft-ripple--effect")],Ze.prototype,"rippleEffect",void 0),s("ft-ripple")(Ze);const Fe={fontSize:gt.create("--ft-text-area-font-size","","SIZE","14px"),labelSize:gt.create("--ft-text-area-label-size","","SIZE","11px"),verticalSpacing:gt.create("--ft-text-area-vertical-spacing","","SIZE","4px"),horizontalSpacing:gt.create("--ft-text-area-horizontal-spacing","","SIZE","16px"),helperColor:gt.extend("--ft-text-area-helper-color","",Ot.colorOnSurfaceMedium),colorPrimary:gt.external(Ot.colorPrimary,"Design system"),colorOnSurface:gt.external(Ot.colorOnSurface,"Design system"),colorOnSurfaceDisabled:gt.external(Ot.colorOnSurfaceDisabled,"Design system"),borderRadiusS:gt.external(Ot.borderRadiusS,"Design system"),colorError:gt.external(Ot.colorError,"Design system")},De=g`
|
|
559
568
|
*:focus {
|
|
560
569
|
outline: none;
|
|
561
570
|
}
|
|
@@ -567,10 +576,10 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
567
576
|
}
|
|
568
577
|
|
|
569
578
|
ft-input-label {
|
|
570
|
-
${
|
|
571
|
-
${
|
|
572
|
-
${
|
|
573
|
-
${
|
|
579
|
+
${ut(Ne.fontSize,Fe.fontSize)};
|
|
580
|
+
${ut(Ne.raisedFontSize,Fe.labelSize)};
|
|
581
|
+
${ut(Ne.verticalSpacing,Fe.verticalSpacing)};
|
|
582
|
+
${ut(Ne.horizontalSpacing,Fe.horizontalSpacing)};
|
|
574
583
|
}
|
|
575
584
|
|
|
576
585
|
.ft-text-area--main-panel {
|
|
@@ -588,8 +597,8 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
588
597
|
}
|
|
589
598
|
|
|
590
599
|
.ft-text-area--input-panel ft-ripple {
|
|
591
|
-
${
|
|
592
|
-
${
|
|
600
|
+
${ut(Ee.opacityContentOnSurfaceHover,"0.08")};
|
|
601
|
+
${ut(Ee.opacityContentOnSurfacePressed,"0.04")};
|
|
593
602
|
}
|
|
594
603
|
|
|
595
604
|
.ft-text-area--input {
|
|
@@ -601,12 +610,12 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
601
610
|
align-self: stretch;
|
|
602
611
|
resize: none;
|
|
603
612
|
|
|
604
|
-
${
|
|
605
|
-
${
|
|
606
|
-
color: ${
|
|
613
|
+
${ut(bo.fontSize,Fe.fontSize)};
|
|
614
|
+
${ut(bo.lineHeight,Fe.fontSize)};
|
|
615
|
+
color: ${Fe.colorOnSurface};
|
|
607
616
|
|
|
608
|
-
padding: 0 ${
|
|
609
|
-
margin: calc(${
|
|
617
|
+
padding: 0 ${Fe.horizontalSpacing};
|
|
618
|
+
margin: calc(${Fe.verticalSpacing} + ${Fe.labelSize} / 2) 0 ${Fe.verticalSpacing} 0;
|
|
610
619
|
|
|
611
620
|
border: none;
|
|
612
621
|
background: none;
|
|
@@ -615,7 +624,7 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
615
624
|
}
|
|
616
625
|
|
|
617
626
|
.ft-text-area--disabled .ft-text-area--input {
|
|
618
|
-
color: ${
|
|
627
|
+
color: ${Fe.colorOnSurfaceDisabled};
|
|
619
628
|
}
|
|
620
629
|
|
|
621
630
|
.ft-text-area:not(.ft-text-area--disabled) .ft-text-area--input-panel {
|
|
@@ -623,49 +632,49 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
623
632
|
}
|
|
624
633
|
|
|
625
634
|
.ft-text-area:not(.ft-text-area--disabled):focus-within ft-input-label {
|
|
626
|
-
${
|
|
627
|
-
${
|
|
635
|
+
${ut(Ne.borderColor,Fe.colorPrimary)};
|
|
636
|
+
${ut(Ne.textColor,Fe.colorPrimary)};
|
|
628
637
|
}
|
|
629
638
|
|
|
630
639
|
.ft-text-area--filled .ft-text-area--input-panel {
|
|
631
|
-
border-radius: ${
|
|
640
|
+
border-radius: ${Fe.borderRadiusS} ${Fe.borderRadiusS} 0 0;
|
|
632
641
|
}
|
|
633
642
|
|
|
634
643
|
.ft-text-area--filled:not(.ft-text-area--no-label) .ft-text-area--input {
|
|
635
644
|
align-self: stretch;
|
|
636
|
-
margin-bottom: ${
|
|
637
|
-
margin-top: calc(${
|
|
645
|
+
margin-bottom: ${Fe.verticalSpacing};
|
|
646
|
+
margin-top: calc(${Fe.labelSize} + 2 * ${Fe.verticalSpacing});
|
|
638
647
|
}
|
|
639
648
|
|
|
640
649
|
.ft-text-area--outlined .ft-text-area--input-panel {
|
|
641
|
-
border-radius: ${
|
|
650
|
+
border-radius: ${Fe.borderRadiusS};
|
|
642
651
|
}
|
|
643
652
|
|
|
644
653
|
.ft-text-area--helper-text {
|
|
645
|
-
padding: 0 12px 0 ${
|
|
646
|
-
color: ${
|
|
654
|
+
padding: 0 12px 0 ${Fe.horizontalSpacing};
|
|
655
|
+
color: ${Fe.helperColor};
|
|
647
656
|
}
|
|
648
657
|
|
|
649
658
|
.ft-text-area--in-error .ft-text-area--input,
|
|
650
659
|
.ft-text-area--in-error .ft-text-area--helper-text {
|
|
651
|
-
color: ${
|
|
660
|
+
color: ${Fe.colorError};
|
|
652
661
|
}
|
|
653
662
|
|
|
654
663
|
ft-resizer {
|
|
655
664
|
position: absolute;
|
|
656
665
|
bottom: 0;
|
|
657
666
|
}
|
|
658
|
-
`;var
|
|
667
|
+
`;var Be=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Me extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Ut].form}constructor(...t){super(t),this[Ut]=this.attachInternals(),this[Ut].role=o}setFormValue(t){this[Ut].setFormValue(t)}}}(Et,"textbox")){constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.height=50,this.focused=!1}render(){const t={"ft-text-area":!0,"ft-text-area--filled":!this.outlined,"ft-text-area--outlined":this.outlined,"ft-text-area--disabled":this.disabled,"ft-text-area--has-value":!!this.value,"ft-text-area--no-label":!this.label,"ft-text-area--in-error":this.error};return T`
|
|
659
668
|
<style>
|
|
660
669
|
.ft-text-area--main-panel {
|
|
661
|
-
height: calc(4 * ${
|
|
670
|
+
height: calc(4 * ${Fe.verticalSpacing} + ${Fe.labelSize} + ${Fe.fontSize} + ${this.height}px);
|
|
662
671
|
}
|
|
663
672
|
|
|
664
673
|
ft-resizer {
|
|
665
674
|
right: ${null!=this.textarea?this.textarea.offsetWidth-this.textarea.clientWidth:0}px;
|
|
666
675
|
}
|
|
667
676
|
</style>
|
|
668
|
-
<div class="${
|
|
677
|
+
<div class="${Zt(t)}">
|
|
669
678
|
<div class="ft-text-area--main-panel">
|
|
670
679
|
<ft-input-label text="${this.label}"
|
|
671
680
|
?disabled=${this.disabled}
|
|
@@ -675,7 +684,7 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
675
684
|
></ft-input-label>
|
|
676
685
|
<div class="ft-text-area--input-panel"
|
|
677
686
|
aria-label="${this.label}">
|
|
678
|
-
${this.outlined?null:
|
|
687
|
+
${this.outlined?null:T`
|
|
679
688
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
680
689
|
`}
|
|
681
690
|
<textarea class="ft-typography--body1 ft-text-area--input"
|
|
@@ -692,9 +701,9 @@ class Ye extends Mt{constructor(t){if(super(t),this.et=q,t.type!==Rt)throw Error
|
|
|
692
701
|
initialHeight="${this.height}"
|
|
693
702
|
cursor="ns-resize"></ft-resizer>
|
|
694
703
|
</div>
|
|
695
|
-
${this.helper?
|
|
704
|
+
${this.helper?T`
|
|
696
705
|
<ft-typography class="ft-text-area--helper-text" variant="caption">
|
|
697
706
|
${this.helper}
|
|
698
707
|
</ft-typography>`:void 0}
|
|
699
708
|
</div>
|
|
700
|
-
`}setValue(t,
|
|
709
|
+
`}setValue(t,o=!1){this.value=t,this.setFormValue(t),o&&(this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})),this.dispatchEvent(new CustomEvent("change",{detail:this.value})))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.requestUpdate()}onKeyDown(t){"Enter"!==t.key&&" "!==t.key||t.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.textarea)||void 0===t?void 0:t.value)||"",this.setFormValue(this.value),this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onResize(t){t.detail.height>=50&&(this.height=t.detail.height)}}Me.elementDefinitions={"ft-input-label":Ce,"ft-resizer":ve,"ft-ripple":Ze,"ft-typography":ee},Me.styles=[To,De],Be([r({type:String})],Me.prototype,"label",void 0),Be([r({reflect:!0})],Me.prototype,"value",void 0),Be([r({type:String})],Me.prototype,"helper",void 0),Be([r({type:Boolean})],Me.prototype,"outlined",void 0),Be([r({type:Boolean})],Me.prototype,"disabled",void 0),Be([r({type:Boolean})],Me.prototype,"error",void 0),Be([r({type:Number,reflect:!0})],Me.prototype,"height",void 0),Be([a("textarea")],Me.prototype,"textarea",void 0),Be([i()],Me.prototype,"focused",void 0),s("ft-text-area")(Me),t.FtTextArea=Me,t.FtTextAreaCssVariables=Fe,t.styles=De}({});
|