@fluid-topics/ft-reader-metadata 1.1.1 → 1.1.2
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-reader-metadata.min.js +211 -207
- package/package.json +6 -6
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=h(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},h=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=h(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},h=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Gi){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
@@ -22,13 +22,13 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.cust
|
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:h,getOwnPropertySymbols:f,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},
|
|
25
|
+
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:h,getOwnPropertySymbols:f,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},O=(t,o)=>!l(t,o),v={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:O};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let N=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=v){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...h(t),...f(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??O)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};N.elementStyles=[],N.shadowRootOptions={mode:"open"},N[m("elementProperties")]=new Map,N[m("finalized")]=new Map,b?.({ReactiveElement:N}),(u.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:
|
|
31
|
+
const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:O},w=(t=S,o,e)=>{const{kind:i,metadata:r}=e;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(e.name,t),"accessor"===i){const{name:i}=e;return{set(e){const r=o.get.call(this);o.set.call(this,e),this.requestUpdate(i,r,t)},init(o){return void 0!==o&&this.C(i,void 0,t),o}}}if("setter"===i){const{name:i}=e;return function(e){const r=this[i];o.call(this,e),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function C(t){return(o,e)=>"object"==typeof e?w(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
@@ -54,7 +54,7 @@ const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,o,
|
|
|
54
54
|
* Copyright 2017 Google LLC
|
|
55
55
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
56
|
*/
|
|
57
|
-
const I=globalThis,L=I.trustedTypes,W=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,
|
|
57
|
+
const I=globalThis,L=I.trustedTypes,W=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,F="?"+K,Z=`<${F}>`,B=document,M=()=>B.createComment(""),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,P="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,T=/>/g,_=RegExp(`>|${P}(?:([^\\s"'>=/]+)(${P}*=${P}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,Y=/"/g,V=/^(?:script|style|textarea|title)$/i,J=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),q=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Q=new WeakMap,tt=B.createTreeWalker(B,129);function ot(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==W?W.createHTML(o):o}let et=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=((t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=H;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===H?"!--"===l[1]?a=j:void 0!==l[1]?a=T:void 0!==l[2]?(V.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=_):void 0!==l[3]&&(a=_):a===_?">"===l[0]?(a=r??H,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?_:'"'===l[3]?Y:G):a===Y||a===G?a=_:a===j||a===T?a=H:(a=_,r=void 0);const h=a===_&&t[o+1].startsWith("/>")?" ":"";n+=a===H?e+Z:c>=0?(i.push(s),e.slice(0,c)+z+e.slice(c)+K+h):e+K+(-2===c?o:h)}return[ot(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]})(o,e);if(this.el=t.createElement(c,i),tt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=tt.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(z)){const o=p[a++],e=r.getAttribute(t).split(K),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?at:"?"===i[1]?st:"@"===i[1]?lt:nt}),r.removeAttribute(t)}else t.startsWith(K)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(V.test(r.tagName)){const t=r.textContent.split(K),o=t.length-1;if(o>0){r.textContent=L?L.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],M()),tt.nextNode(),l.push({type:2,index:++n});r.append(t[o],M())}}}else if(8===r.nodeType)if(r.data===F)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(K,t+1));)l.push({type:7,index:n}),t+=K.length-1}n++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}};function it(t,o,e=t,i){if(o===q)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=A(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=it(t,r._$AS(t,o.values),r,i)),o}let rt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=it(this,t,o),A(t)?t===X||null==t||""===t?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>D(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==X&&A(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=et.createElement(ot(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??B).importNode(o,!0);tt.currentNode=i;let r=tt.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new rt(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new ct(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=tt.nextNode(),n++)}return tt.currentNode=B,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new et(t)),o}T(o){D(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(M()),this.k(M()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},nt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=X,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=X}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=it(this,t,o,0),n=!A(t)||t!==this._$AH&&t!==q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=it(this,i[e+a],o,a),s===q&&(s=this._$AH[a]),n||=!A(s)||s!==this._$AH[a],s===X?t=X:t!==X&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},at=class extends nt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===X?void 0:t}},st=class extends nt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},lt=class extends nt{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=it(this,t,o,0)??X)===q)return;const e=this._$AH,i=t===X&&e!==X||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==X&&(e===X||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ct=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){it(this,t)}};const pt=I.litHtmlPolyfillSupport;pt?.(et,rt),(I.litHtmlVersions??=[]).push("3.1.0");
|
|
58
58
|
/**
|
|
59
59
|
* @license
|
|
60
60
|
* Copyright 2019 Google LLC
|
|
@@ -65,24 +65,28 @@ const ht=globalThis,ft=ht.ShadowRoot&&(void 0===ht.ShadyCSS||ht.ShadyCSS.nativeS
|
|
|
65
65
|
* @license
|
|
66
66
|
* Copyright 2017 Google LLC
|
|
67
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
*/,{is:xt,defineProperty:
|
|
68
|
+
*/,{is:xt,defineProperty:Ot,getOwnPropertyDescriptor:vt,getOwnPropertyNames:Nt,getOwnPropertySymbols:St,getPrototypeOf:wt}=Object,Ct=globalThis,$t=Ct.trustedTypes,Et=$t?$t.emptyScript:"",Rt=Ct.reactiveElementPolyfillSupport,Ut=(t,o)=>t,kt={toAttribute(t,o){switch(o){case Boolean:t=t?Et:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},It=(t,o)=>!xt(t,o),Lt={attribute:!0,type:String,converter:kt,reflect:!1,hasChanged:It};Symbol.metadata??=Symbol("metadata"),Ct.litPropertyMetadata??=new WeakMap;class Wt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Lt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&Ot(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=vt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Lt}static _$Ei(){if(this.hasOwnProperty(Ut("elementProperties")))return;const t=wt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ut("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ut("properties"))){const t=this.properties,o=[...Nt(t),...St(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(mt(t))}else void 0!==t&&o.push(mt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(ft)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=ht.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:kt).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:kt;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??It)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Wt.elementStyles=[],Wt.shadowRootOptions={mode:"open"},Wt[Ut("elementProperties")]=new Map,Wt[Ut("finalized")]=new Map,Rt?.({ReactiveElement:Wt}),(Ct.reactiveElementVersions??=[]).push("2.0.2");
|
|
69
69
|
/**
|
|
70
70
|
* @license
|
|
71
71
|
* Copyright 2017 Google LLC
|
|
72
72
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
73
|
*/
|
|
74
|
-
const zt=globalThis,Kt=zt.trustedTypes,
|
|
74
|
+
const zt=globalThis,Kt=zt.trustedTypes,Ft=Kt?Kt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Zt="$lit$",Bt=`lit$${(Math.random()+"").slice(9)}$`,Mt="?"+Bt,At=`<${Mt}>`,Dt=document,Pt=()=>Dt.createComment(""),Ht=t=>null===t||"object"!=typeof t&&"function"!=typeof t,jt=Array.isArray,Tt="[ \t\n\f\r]",_t=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Gt=/-->/g,Yt=/>/g,Vt=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Jt=/'/g,qt=/"/g,Xt=/^(?:script|style|textarea|title)$/i,Qt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),to=Symbol.for("lit-noChange"),oo=Symbol.for("lit-nothing"),eo=new WeakMap,io=Dt.createTreeWalker(Dt,129);function ro(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ft?Ft.createHTML(o):o}const no=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=_t;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===_t?"!--"===l[1]?a=Gt:void 0!==l[1]?a=Yt:void 0!==l[2]?(Xt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Vt):void 0!==l[3]&&(a=Vt):a===Vt?">"===l[0]?(a=r??_t,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Vt:'"'===l[3]?qt:Jt):a===qt||a===Jt?a=Vt:a===Gt||a===Yt?a=_t:(a=Vt,r=void 0);const h=a===Vt&&t[o+1].startsWith("/>")?" ":"";n+=a===_t?e+At:c>=0?(i.push(s),e.slice(0,c)+Zt+e.slice(c)+Bt+h):e+Bt+(-2===c?o:h)}return[ro(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class ao{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=no(t,o);if(this.el=ao.createElement(l,e),io.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=io.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Zt)){const o=c[n++],e=i.getAttribute(t).split(Bt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?po:"?"===a[1]?ho:"@"===a[1]?fo:co}),i.removeAttribute(t)}else t.startsWith(Bt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(Xt.test(i.tagName)){const t=i.textContent.split(Bt),o=t.length-1;if(o>0){i.textContent=Kt?Kt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Pt()),io.nextNode(),s.push({type:2,index:++r});i.append(t[o],Pt())}}}else if(8===i.nodeType)if(i.data===Mt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Bt,t+1));)s.push({type:7,index:r}),t+=Bt.length-1}r++}}static createElement(t,o){const e=Dt.createElement("template");return e.innerHTML=t,e}}function so(t,o,e=t,i){if(o===to)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Ht(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=so(t,r._$AS(t,o.values),r,i)),o}class lo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=oo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=so(this,t,o),Ht(t)?t===oo||null==t||""===t?(this._$AH!==oo&&this._$AR(),this._$AH=oo):t!==this._$AH&&t!==to&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>jt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==oo&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.$(Dt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=ao.createElement(ro(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Dt).importNode(o,!0);io.currentNode=i;let r=io.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new lo(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new uo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=io.nextNode(),n++)}return io.currentNode=Dt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=eo.get(t.strings);return void 0===o&&eo.set(t.strings,o=new ao(t)),o}T(t){jt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new lo(this.k(Pt()),this.k(Pt()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class co{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=oo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=oo}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=so(this,t,o,0),n=!Ht(t)||t!==this._$AH&&t!==to,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=so(this,i[e+a],o,a),s===to&&(s=this._$AH[a]),n||=!Ht(s)||s!==this._$AH[a],s===oo?t=oo:t!==oo&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===oo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class po extends co{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===oo?void 0:t}}class ho extends co{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==oo)}}class fo extends co{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=so(this,t,o,0)??oo)===to)return;const e=this._$AH,i=t===oo&&e!==oo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==oo&&(e===oo||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class uo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){so(this,t)}}const yo=zt.litHtmlPolyfillSupport;yo?.(ao,lo),(zt.litHtmlVersions??=[]).push("3.1.0");
|
|
75
75
|
/**
|
|
76
76
|
* @license
|
|
77
77
|
* Copyright 2017 Google LLC
|
|
78
78
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
79
|
*/
|
|
80
|
-
class go extends Wt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new lo(o.insertBefore(Pt(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return to}}go._$litElement$=!0,go.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:go});const bo=globalThis.litElementPolyfillSupport;bo?.({LitElement:go}),(globalThis.litElementVersions??=[]).push("4.0.2");const mo=t=>"string"==typeof t?gt(t):t;class xo{static create(t,o,e,i){const r=t=>mo(null!=t?t:i),n=bt`var(${mo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>bt`var(${mo(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=bt`var(${mo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>bt`var(${mo(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):mo(null!=o?o:t.lastResortDefaultValue()),i=bt`var(${mo(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>bt`var(${mo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function vo(t,o){return mo(`${t.name}: ${o}`)}const Oo={colorWhite:xo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xo.create("--ft-opacity-0","","NUMBER","0"),opacity8:xo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xo.create("--ft-opacity-80","","NUMBER","0.8")},No={display:{fontFamily:xo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:xo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:xo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:xo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:xo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:xo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:xo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:xo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:xo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:xo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:xo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:xo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:xo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:xo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:xo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:xo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:xo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:xo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:xo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:xo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:xo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:xo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:xo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:xo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:xo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},So={backgroundActionPrimary:xo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Oo.colorBrand0),backgroundErrorPrimary:xo.extend("--ft-background-error-primary","Used as background of error components.",Oo.colorRed0),backgroundErrorSubtle:xo.extend("--ft-background-error-subtle","Used as background of subtle error components.",Oo.colorRed10),backgroundInfoPrimary:xo.extend("--ft-background-info-primary","Used as background of information components.",Oo.colorCyan200),backgroundInfoSubtle:xo.extend("--ft-background-info-subtle","Used as background of subtle information components.",Oo.colorCyan10),backgroundWarningPrimary:xo.extend("--ft-background-warning-primary","Used as background of warning components.",Oo.colorOrange300),backgroundWarningSubtle:xo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Oo.colorOrange10),backgroundSuccessPrimary:xo.extend("--ft-background-success-primary","Used as background of success components.",Oo.colorGreen200),backgroundSuccessSubtle:xo.extend("--ft-background-success-subtle","Used as background of subtle success components.",Oo.colorGreen10),backgroundGlobalSurface:xo.extend("--ft-background-global-surface","Used as app background.",Oo.colorWhite),backgroundGlobalOnSurface:xo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Oo.colorGray10),backgroundGlobalOnSurfaceDark:xo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Oo.colorGray30),contentActionPrimary:xo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Oo.colorBrand0),contentWarningPrimary:xo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Oo.colorOrange300),contentWarningIconOnly:xo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Oo.colorOrange0),contentErrorPrimary:xo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Oo.colorRed0),contentErrorIconOnly:xo.extend("--ft-content-error-icon-only","Used on error status icons alone",Oo.colorRed0),contentInfoPrimary:xo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Oo.colorCyan200),contentInfoIconOnly:xo.extend("--ft-content-info-icon-only","Used on info status icons alone",Oo.colorCyan0),contentSuccessIconOnly:xo.extend("--ft-content-success-icon-only","Used on success status icons alone",Oo.colorGreen0),contentSuccessPrimary:xo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Oo.colorGreen200),contentGlobalPrimary:xo.extend("--ft-content-global-primary","Used for main content on the page.",Oo.colorGray500),contentGlobalSecondary:xo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Oo.colorGray200),contentGlobalSubtle:xo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Oo.colorGray0),contentGlobalOnColor:xo.extend("--ft-content-global-on-color","Used for content on a dominant color.",Oo.colorWhite),borderActionPrimary:xo.extend("--ft-border-action-primary","Used as border for primary action components.",Oo.colorBrand0),borderActionFocusRing:xo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Oo.colorCyan0),borderWarningPrimary:xo.extend("--ft-border-warning-primary","Used as border for warning components.",Oo.colorOrange30),borderSuccessPrimary:xo.extend("--ft-border-success-primary","Used as border for success components.",Oo.colorGreen30),borderErrorPrimary:xo.extend("--ft-border-error-primary","Used as border for error components.",Oo.colorRed30),borderInfoPrimary:xo.extend("--ft-border-info-primary","Used as border for information components.",Oo.colorCyan30),borderGlobalSubtle:xo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Oo.colorGray30),borderGlobalPrimary:xo.extend("--ft-border-global-primary","Used as border for element like input.",Oo.colorGray50),borderInputPrimary:xo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Oo.colorGray80)},wo={largeHeight:xo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:xo.extend("--ft-button-large-horizontal-padding","",Oo.spacing4),largeGap:xo.extend("--ft-button-large-gap","",Oo.spacing2),largeBorderRadius:xo.extend("--ft-button-large-border-radius","",Oo.borderRadiusS),largeIconSize:xo.extend("--ft-button-large-icon-size","",Oo.iconSize3),largeBorderWidth:xo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:xo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:xo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:xo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:xo.extend("--ft-button-small-horizontal-padding","",Oo.spacing3),smallGap:xo.extend("--ft-button-small-gap","",Oo.spacing2),smallBorderRadius:xo.extend("--ft-button-small-border-radius","",Oo.borderRadiusS),smallIconSize:xo.extend("--ft-button-small-icon-size","",Oo.iconSize2),smallBorderWidth:xo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:xo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:xo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:xo.extend("--ft-button-primary-background-color","",So.backgroundActionPrimary),primaryColor:xo.extend("--ft-button-primary-color","",So.contentGlobalOnColor),primaryIconColor:xo.extend("--ft-button-primary-icon-color","",So.contentGlobalOnColor),primaryStateLayerColor:xo.extend("--ft-button-primary-state-layer-color","",So.contentGlobalOnColor),primaryStateLayerOpacityHover:xo.extend("--ft-button-primary-state-layer-opacity-hover","",Oo.opacity16),primaryStateLayerOpacityFocus:xo.extend("--ft-button-primary-state-layer-opacity-focus","",Oo.opacity16),primaryStateLayerOpacityActive:xo.extend("--ft-button-primary-state-layer-opacity-active","",Oo.opacity24),primaryComponentOpacityDisabled:xo.extend("--ft-button-primary-component-opacity-disabled","",Oo.opacity40),focusFocusRingColor:xo.extend("--ft-button-focus-focus-ring-color","",So.borderActionFocusRing),tertiaryBackgroundColor:xo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:xo.extend("--ft-button-tertiary-color","",So.contentActionPrimary),tertiaryIconColor:xo.extend("--ft-button-tertiary-icon-color","",So.contentActionPrimary),tertiaryStateLayerColor:xo.extend("--ft-button-tertiary-state-layer-color","",So.contentActionPrimary),tertiaryStateLayerOpacityHover:xo.extend("--ft-button-tertiary-state-layer-opacity-hover","",Oo.opacity8),tertiaryStateLayerOpacityFocus:xo.extend("--ft-button-tertiary-state-layer-opacity-focus","",Oo.opacity8),tertiaryStateLayerOpacityActive:xo.extend("--ft-button-tertiary-state-layer-opacity-active","",Oo.opacity16),tertiaryComponentOpacityDisabled:xo.extend("--ft-button-tertiary-component-opacity-disabled","",Oo.opacity40),secondaryBackgroundColor:xo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:xo.extend("--ft-button-secondary-color","",So.contentActionPrimary),secondaryIconColor:xo.extend("--ft-button-secondary-icon-color","",So.contentActionPrimary),secondaryStateLayerColor:xo.extend("--ft-button-secondary-state-layer-color","",So.contentActionPrimary),secondaryStateLayerOpacityHover:xo.extend("--ft-button-secondary-state-layer-opacity-hover","",Oo.opacity8),secondaryStateLayerOpacityFocus:xo.extend("--ft-button-secondary-state-layer-opacity-focus","",Oo.opacity8),secondaryStateLayerOpacityActive:xo.extend("--ft-button-secondary-state-layer-opacity-active","",Oo.opacity16),secondaryComponentOpacityDisabled:xo.extend("--ft-button-secondary-component-opacity-disabled","",Oo.opacity40),secondaryBorderColor:xo.extend("--ft-button-secondary-border-color","",So.borderActionPrimary),neutralBackgroundColor:xo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:xo.extend("--ft-button-neutral-icon-color","",So.contentGlobalSecondary),neutralColor:xo.extend("--ft-button-neutral-color","",So.contentGlobalSecondary),neutralStateLayerColor:xo.extend("--ft-button-neutral-state-layer-color","",So.contentGlobalSecondary),neutralStateLayerOpacityHover:xo.extend("--ft-button-neutral-state-layer-opacity-hover","",Oo.opacity8),neutralStateLayerOpacityFocus:xo.extend("--ft-button-neutral-state-layer-opacity-focus","",Oo.opacity8),neutralStateLayerOpacityActive:xo.extend("--ft-button-neutral-state-layer-opacity-active","",Oo.opacity16),neutralComponentOpacityDisabled:xo.extend("--ft-button-neutral-component-opacity-disabled","",Oo.opacity40)};xo.extend("--ft-tabs-top-left-border-radius","",Oo.borderRadiusS),xo.extend("--ft-tabs-top-right-border-radius","",Oo.borderRadiusS),xo.extend("--ft-tabs-label-horizontal-padding","",Oo.spacing4),xo.extend("--ft-tabs-label-vertical-padding","",Oo.spacing3),xo.extend("--ft-tabs-label-gap","",Oo.spacing1),xo.extend("--ft-switch-group-horizontal-padding","",Oo.spacing1),xo.extend("--ft-switch-group-vertical-padding","",Oo.spacing1),xo.extend("--ft-switch-group-gap","",Oo.spacing1),xo.extend("--ft-switch-group-background-color","",So.backgroundGlobalSurface),xo.extend("--ft-switch-group-border-color","",So.borderGlobalSubtle),xo.create("--ft-switch-group-border-radius","","SIZE","6px"),xo.extend("--ft-switch-label-horizontal-padding","",Oo.spacing2),xo.extend("--ft-switch-label-vertical-padding","",Oo.spacing1),xo.extend("--ft-switch-icon-horizontal-padding","",Oo.spacing1),xo.extend("--ft-switch-icon-vertical-padding","",Oo.spacing1),xo.create("--ft-switch-focus-outline-width","","SIZE","2px"),xo.extend("--ft-switch-focus-focus-ring-color","",So.borderActionFocusRing),xo.extend("--ft-switch-option-border-radius","",Oo.borderRadiusS),xo.extend("--ft-switch-off-state-layer-opacity-hover","",Oo.opacity8),xo.extend("--ft-switch-off-state-layer-opacity-focus","",Oo.opacity8),xo.extend("--ft-switch-off-state-layer-opacity-active","",Oo.opacity16),xo.extend("--ft-switch-off-component-opacity-disabled","",Oo.opacity40),xo.extend("--ft-switch-off-color","",So.contentGlobalSubtle),xo.extend("--ft-switch-off-state-layer-color","",So.contentGlobalSubtle),xo.extend("--ft-chart-1-light","for area color charts",Oo.colorBrand40),xo.extend("--ft-chart-1-base","for line charts",Oo.colorBrand0),xo.extend("--ft-chart-2-light","for area color charts",Oo.colorYellow60),xo.extend("--ft-chart-2-base","for line charts",Oo.colorYellow100),xo.extend("--ft-chart-3-light","",Oo.colorUltramarine40),xo.extend("--ft-chart-3-base","",Oo.colorUltramarine70),xo.extend("--ft-chart-4-light","",Oo.colorCyan50),xo.extend("--ft-chart-4-base","",Oo.colorCyan100),xo.extend("--ft-chart-5-light","",Oo.colorRed40),xo.extend("--ft-chart-5-base","",Oo.colorRed60),xo.extend("--ft-chart-6-light","",Oo.colorGreen40),xo.extend("--ft-chart-6-base","",Oo.colorGreen70),xo.extend("--ft-chart-7-light","",Oo.colorOrange70),xo.extend("--ft-chart-7-base","",Oo.colorOrange100),xo.extend("--ft-chart-8-light","",Oo.colorAvocado70),xo.extend("--ft-chart-8-base","",Oo.colorAvocado200),xo.extend("--ft-chart-9-light","",Oo.colorBrown50),xo.extend("--ft-chart-9-base","",Oo.colorBrown200),xo.extend("--ft-chart-10-light","",Oo.colorGray50),xo.extend("--ft-chart-10-base","",Oo.colorGray80),xo.extend("--ft-chart-monochrome-10","",Oo.colorBrand10),xo.extend("--ft-chart-monochrome-20","",Oo.colorBrand20),xo.extend("--ft-chart-monochrome-30","",Oo.colorBrand40),xo.extend("--ft-chart-monochrome-40","",Oo.colorBrand60),xo.extend("--ft-chart-monochrome-50","",Oo.colorBrand0),xo.extend("--ft-chart-monochrome-60","",Oo.colorBrand200),xo.extend("--ft-chip-large-horizontal-padding","",Oo.spacing4),xo.extend("--ft-chip-large-vertical-padding","",Oo.spacing2),xo.extend("--ft-chip-large-gap","",Oo.spacing1),xo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-large-border-radius","",Oo.borderRadiusPill),xo.create("--ft-chip-large-border-width","","SIZE","1px"),xo.extend("--ft-chip-large-icon-size","",Oo.iconSize3),xo.extend("--ft-chip-medium-horizontal-padding","",Oo.spacing3),xo.extend("--ft-chip-medium-vertical-padding","",Oo.spacing1),xo.extend("--ft-chip-medium-gap","",Oo.spacing1),xo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-medium-border-radius","",Oo.borderRadiusPill),xo.create("--ft-chip-medium-border-width","","SIZE","1px"),xo.extend("--ft-chip-medium-icon-size","",Oo.iconSize2),xo.extend("--ft-chip-small-horizontal-padding","",Oo.spacing2),xo.extend("--ft-chip-small-vertical-padding","",Oo.spacing05),xo.extend("--ft-chip-small-gap","",Oo.spacing1),xo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-small-border-radius","",Oo.borderRadiusPill),xo.create("--ft-chip-small-border-width","","SIZE","1px"),xo.extend("--ft-chip-small-icon-size","",Oo.iconSize1),xo.extend("--ft-chip-neutral-background-color","",So.backgroundGlobalOnSurface),xo.extend("--ft-chip-neutral-color","",So.contentGlobalPrimary),xo.extend("--ft-chip-neutral-border-color","",So.borderGlobalSubtle),xo.extend("--ft-chip-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-chip-info-color","",So.contentInfoPrimary),xo.extend("--ft-chip-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-chip-success-background-color","",So.backgroundSuccessSubtle),xo.extend("--ft-chip-success-color","",So.contentSuccessPrimary),xo.extend("--ft-chip-success-border-color","",So.borderSuccessPrimary),xo.extend("--ft-chip-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-chip-warning-color","",So.contentWarningPrimary),xo.extend("--ft-chip-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-chip-error-background-color","",So.backgroundErrorSubtle),xo.extend("--ft-chip-error-color","",So.contentErrorPrimary),xo.extend("--ft-chip-error-border-color","",So.borderErrorPrimary),xo.create("--ft-notice-border-width","","SIZE","1px"),xo.extend("--ft-notice-horizontal-padding","",Oo.spacing2),xo.extend("--ft-notice-vertical-padding","",Oo.spacing1),xo.extend("--ft-notice-border-radius","",Oo.borderRadiusS),xo.extend("--ft-notice-gap","",Oo.spacing2),xo.extend("--ft-notice-icon-size","",Oo.iconSize3),xo.extend("--ft-notice-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-notice-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-notice-info-color","",So.contentInfoPrimary),xo.extend("--ft-notice-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-notice-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-notice-warning-color","",So.contentWarningPrimary),xo.extend("--ft-checkbox-label-color","",So.contentGlobalPrimary),xo.extend("--ft-checkbox-checked-background-color","",So.contentActionPrimary),xo.extend("--ft-checkbox-checked-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-checkbox-checked-color","",So.contentGlobalOnColor),xo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Oo.opacity16),xo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Oo.opacity16),xo.extend("--ft-checkbox-checked-state-layer-opacity-active","",Oo.opacity24),xo.extend("--ft-checkbox-checked-component-opacity-disabled","",Oo.opacity40),xo.extend("--ft-checkbox-unchecked-border-color","",Oo.colorGray80),xo.extend("--ft-checkbox-unchecked-state-layer-color","",Oo.colorGray80),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Oo.opacity16),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Oo.opacity16),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Oo.opacity24),xo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Oo.opacity40),xo.extend("--ft-checkbox-focus-focus-ring-color","",So.borderActionFocusRing),xo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xo.extend("--ft-checkbox-gap","",Oo.spacing3),xo.extend("--ft-toggle-off-state-layer-opacity-hover","",Oo.opacity16),xo.extend("--ft-toggle-off-state-layer-opacity-focus","",Oo.opacity16),xo.extend("--ft-toggle-off-state-layer-opacity-active","",Oo.opacity24),xo.extend("--ft-toggle-off-component-opacity-disabled","",Oo.opacity40),xo.extend("--ft-toggle-off-background-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-off-icon-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-off-state-layer-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-on-state-layer-opacity-hover","",Oo.opacity16),xo.extend("--ft-toggle-on-state-layer-opacity-focus","",Oo.opacity16),xo.extend("--ft-toggle-on-state-layer-opacity-active","",Oo.opacity24),xo.extend("--ft-toggle-on-component-opacity-disabled","",Oo.opacity40),xo.extend("--ft-toggle-on-background-color","",So.contentActionPrimary),xo.extend("--ft-toggle-on-icon-color","",So.contentActionPrimary),xo.extend("--ft-toggle-on-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-toggle-label-color","",So.contentGlobalPrimary),xo.extend("--ft-toggle-focus-focus-ring-color","",So.borderActionFocusRing),xo.extend("--ft-toggle-gap","",Oo.spacing3),xo.extend("--ft-radio-label-color","",So.contentGlobalPrimary),xo.extend("--ft-radio-selected-color","",So.contentActionPrimary),xo.extend("--ft-radio-selected-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-radio-selected-state-layer-opacity-hover","",Oo.opacity16),xo.extend("--ft-radio-selected-state-layer-opacity-focus","",Oo.opacity16),xo.extend("--ft-radio-selected-state-layer-opacity-active","",Oo.opacity24),xo.extend("--ft-radio-selected-component-opacity-disabled","",Oo.opacity40),xo.extend("--ft-radio-unselected-state-layer-color","",Oo.colorGray80),xo.extend("--ft-radio-unselected-state-layer-opacity-hover","",Oo.opacity16),xo.extend("--ft-radio-unselected-state-layer-opacity-focus","",Oo.opacity16),xo.extend("--ft-radio-unselected-state-layer-opacity-active","",Oo.opacity24),xo.extend("--ft-radio-unselected-component-opacity-disabled","",Oo.opacity40),xo.extend("--ft-radio-focus-focus-ring-color","",So.borderActionFocusRing),xo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xo.create("--ft-radio-focus-outline-width","","SIZE","2px"),xo.extend("--ft-radio-gap","",Oo.spacing3),xo.extend("--ft-notification-icon-size","",Oo.iconSize4),xo.extend("--ft-notification-horizontal-padding","",Oo.spacing4),xo.extend("--ft-notification-vertical-padding","",Oo.spacing4),xo.extend("--ft-notification-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-notification-info-color","",So.contentInfoPrimary),xo.extend("--ft-notification-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-notification-success-background-color","",So.backgroundSuccessSubtle),xo.extend("--ft-notification-success-color","",So.contentSuccessPrimary),xo.extend("--ft-notification-success-border-color","",So.borderSuccessPrimary),xo.extend("--ft-notification-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-notification-warning-color","",So.contentWarningPrimary),xo.extend("--ft-notification-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-notification-error-background-color","",So.backgroundErrorSubtle),xo.extend("--ft-notification-error-color","",So.contentErrorPrimary),xo.extend("--ft-notification-error-border-color","",So.borderErrorPrimary),xo.extend("--ft-notification-border-radius","",Oo.borderRadiusPill),xo.create("--ft-notification-border-width","","SIZE","1px"),xo.extend("--ft-notification-gap-leading","",Oo.spacing2),xo.extend("--ft-notification-gap-trailing","",Oo.spacing8);const Co={colorPrimary:xo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xo.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:xo.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:xo.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:xo.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:xo.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:xo.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:xo.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:xo.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:xo.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:xo.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:xo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},$o=window,Eo=$o.ShadowRoot&&(void 0===$o.ShadyCSS||$o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
80
|
+
class go extends Wt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new lo(o.insertBefore(Pt(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return to}}go._$litElement$=!0,go.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:go});const bo=globalThis.litElementPolyfillSupport;bo?.({LitElement:go}),(globalThis.litElementVersions??=[]).push("4.0.2");const mo=t=>"string"==typeof t?gt(t):t;class xo{static create(t,o,e,i){const r=t=>mo(null!=t?t:i),n=bt`var(${mo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>bt`var(${mo(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=bt`var(${mo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>bt`var(${mo(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):mo(null!=o?o:t.lastResortDefaultValue()),i=bt`var(${mo(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>bt`var(${mo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Oo(t,o){return mo(`${t.name}: ${o}`)}const vo={colorWhite:xo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xo.create("--ft-opacity-0","","NUMBER","0"),opacity8:xo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xo.create("--ft-opacity-80","","NUMBER","0.8")},No={display:{fontFamily:xo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:xo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:xo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:xo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:xo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:xo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:xo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:xo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:xo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:xo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:xo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:xo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:xo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:xo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:xo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:xo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:xo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:xo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:xo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:xo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:xo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:xo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:xo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:xo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:xo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},So={backgroundActionPrimary:xo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",vo.colorBrand0),backgroundErrorPrimary:xo.extend("--ft-background-error-primary","Used as background of error components.",vo.colorRed0),backgroundErrorSubtle:xo.extend("--ft-background-error-subtle","Used as background of subtle error components.",vo.colorRed10),backgroundInfoPrimary:xo.extend("--ft-background-info-primary","Used as background of information components.",vo.colorCyan200),backgroundInfoSubtle:xo.extend("--ft-background-info-subtle","Used as background of subtle information components.",vo.colorCyan10),backgroundWarningPrimary:xo.extend("--ft-background-warning-primary","Used as background of warning components.",vo.colorOrange300),backgroundWarningSubtle:xo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",vo.colorOrange10),backgroundSuccessPrimary:xo.extend("--ft-background-success-primary","Used as background of success components.",vo.colorGreen200),backgroundSuccessSubtle:xo.extend("--ft-background-success-subtle","Used as background of subtle success components.",vo.colorGreen10),backgroundGlobalSurface:xo.extend("--ft-background-global-surface","Used as app background.",vo.colorWhite),backgroundGlobalOnSurface:xo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",vo.colorGray10),backgroundGlobalOnSurfaceDark:xo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",vo.colorGray30),contentActionPrimary:xo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",vo.colorBrand0),contentWarningPrimary:xo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",vo.colorOrange300),contentWarningIconOnly:xo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",vo.colorOrange0),contentErrorPrimary:xo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",vo.colorRed0),contentErrorIconOnly:xo.extend("--ft-content-error-icon-only","Used on error status icons alone",vo.colorRed0),contentInfoPrimary:xo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",vo.colorCyan200),contentInfoIconOnly:xo.extend("--ft-content-info-icon-only","Used on info status icons alone",vo.colorCyan0),contentSuccessIconOnly:xo.extend("--ft-content-success-icon-only","Used on success status icons alone",vo.colorGreen0),contentSuccessPrimary:xo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",vo.colorGreen200),contentGlobalPrimary:xo.extend("--ft-content-global-primary","Used for main content on the page.",vo.colorGray500),contentGlobalSecondary:xo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",vo.colorGray200),contentGlobalSubtle:xo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",vo.colorGray0),contentGlobalOnColor:xo.extend("--ft-content-global-on-color","Used for content on a dominant color.",vo.colorWhite),borderActionPrimary:xo.extend("--ft-border-action-primary","Used as border for primary action components.",vo.colorBrand0),borderActionFocusRing:xo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",vo.colorCyan0),borderWarningPrimary:xo.extend("--ft-border-warning-primary","Used as border for warning components.",vo.colorOrange30),borderSuccessPrimary:xo.extend("--ft-border-success-primary","Used as border for success components.",vo.colorGreen30),borderErrorPrimary:xo.extend("--ft-border-error-primary","Used as border for error components.",vo.colorRed30),borderInfoPrimary:xo.extend("--ft-border-info-primary","Used as border for information components.",vo.colorCyan30),borderGlobalSubtle:xo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",vo.colorGray30),borderGlobalPrimary:xo.extend("--ft-border-global-primary","Used as border for element like input.",vo.colorGray50),borderInputPrimary:xo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",vo.colorGray80)},wo={largeHeight:xo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:xo.extend("--ft-button-large-horizontal-padding","",vo.spacing4),largeGap:xo.extend("--ft-button-large-gap","",vo.spacing2),largeBorderRadius:xo.extend("--ft-button-large-border-radius","",vo.borderRadiusS),largeIconSize:xo.extend("--ft-button-large-icon-size","",vo.iconSize3),largeBorderWidth:xo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:xo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:xo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:xo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:xo.extend("--ft-button-small-horizontal-padding","",vo.spacing3),smallGap:xo.extend("--ft-button-small-gap","",vo.spacing2),smallBorderRadius:xo.extend("--ft-button-small-border-radius","",vo.borderRadiusS),smallIconSize:xo.extend("--ft-button-small-icon-size","",vo.iconSize2),smallBorderWidth:xo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:xo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:xo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:xo.extend("--ft-button-primary-background-color","",So.backgroundActionPrimary),primaryColor:xo.extend("--ft-button-primary-color","",So.contentGlobalOnColor),primaryIconColor:xo.extend("--ft-button-primary-icon-color","",So.contentGlobalOnColor),primaryStateLayerColor:xo.extend("--ft-button-primary-state-layer-color","",So.contentGlobalOnColor),primaryStateLayerOpacityHover:xo.extend("--ft-button-primary-state-layer-opacity-hover","",vo.opacity16),primaryStateLayerOpacityFocus:xo.extend("--ft-button-primary-state-layer-opacity-focus","",vo.opacity16),primaryStateLayerOpacityActive:xo.extend("--ft-button-primary-state-layer-opacity-active","",vo.opacity24),primaryComponentOpacityDisabled:xo.extend("--ft-button-primary-component-opacity-disabled","",vo.opacity40),focusFocusRingColor:xo.extend("--ft-button-focus-focus-ring-color","",So.borderActionFocusRing),tertiaryBackgroundColor:xo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:xo.extend("--ft-button-tertiary-color","",So.contentActionPrimary),tertiaryIconColor:xo.extend("--ft-button-tertiary-icon-color","",So.contentActionPrimary),tertiaryStateLayerColor:xo.extend("--ft-button-tertiary-state-layer-color","",So.contentActionPrimary),tertiaryStateLayerOpacityHover:xo.extend("--ft-button-tertiary-state-layer-opacity-hover","",vo.opacity8),tertiaryStateLayerOpacityFocus:xo.extend("--ft-button-tertiary-state-layer-opacity-focus","",vo.opacity8),tertiaryStateLayerOpacityActive:xo.extend("--ft-button-tertiary-state-layer-opacity-active","",vo.opacity16),tertiaryComponentOpacityDisabled:xo.extend("--ft-button-tertiary-component-opacity-disabled","",vo.opacity40),secondaryBackgroundColor:xo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:xo.extend("--ft-button-secondary-color","",So.contentActionPrimary),secondaryIconColor:xo.extend("--ft-button-secondary-icon-color","",So.contentActionPrimary),secondaryStateLayerColor:xo.extend("--ft-button-secondary-state-layer-color","",So.contentActionPrimary),secondaryStateLayerOpacityHover:xo.extend("--ft-button-secondary-state-layer-opacity-hover","",vo.opacity8),secondaryStateLayerOpacityFocus:xo.extend("--ft-button-secondary-state-layer-opacity-focus","",vo.opacity8),secondaryStateLayerOpacityActive:xo.extend("--ft-button-secondary-state-layer-opacity-active","",vo.opacity16),secondaryComponentOpacityDisabled:xo.extend("--ft-button-secondary-component-opacity-disabled","",vo.opacity40),secondaryBorderColor:xo.extend("--ft-button-secondary-border-color","",So.borderActionPrimary),neutralBackgroundColor:xo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:xo.extend("--ft-button-neutral-icon-color","",So.contentGlobalSecondary),neutralColor:xo.extend("--ft-button-neutral-color","",So.contentGlobalSecondary),neutralStateLayerColor:xo.extend("--ft-button-neutral-state-layer-color","",So.contentGlobalSecondary),neutralStateLayerOpacityHover:xo.extend("--ft-button-neutral-state-layer-opacity-hover","",vo.opacity8),neutralStateLayerOpacityFocus:xo.extend("--ft-button-neutral-state-layer-opacity-focus","",vo.opacity8),neutralStateLayerOpacityActive:xo.extend("--ft-button-neutral-state-layer-opacity-active","",vo.opacity16),neutralComponentOpacityDisabled:xo.extend("--ft-button-neutral-component-opacity-disabled","",vo.opacity40)};xo.extend("--ft-tabs-top-left-border-radius","",vo.borderRadiusS),xo.extend("--ft-tabs-top-right-border-radius","",vo.borderRadiusS),xo.extend("--ft-tabs-label-horizontal-padding","",vo.spacing4),xo.extend("--ft-tabs-label-vertical-padding","",vo.spacing3),xo.extend("--ft-tabs-label-gap","",vo.spacing1),xo.extend("--ft-switch-group-horizontal-padding","",vo.spacing1),xo.extend("--ft-switch-group-vertical-padding","",vo.spacing1),xo.extend("--ft-switch-group-gap","",vo.spacing1),xo.extend("--ft-switch-group-background-color","",So.backgroundGlobalSurface),xo.extend("--ft-switch-group-border-color","",So.borderGlobalSubtle),xo.create("--ft-switch-group-border-radius","","SIZE","6px"),xo.extend("--ft-switch-label-horizontal-padding","",vo.spacing2),xo.extend("--ft-switch-label-vertical-padding","",vo.spacing1),xo.extend("--ft-switch-icon-horizontal-padding","",vo.spacing1),xo.extend("--ft-switch-icon-vertical-padding","",vo.spacing1),xo.create("--ft-switch-focus-outline-width","","SIZE","2px"),xo.extend("--ft-switch-focus-focus-ring-color","",So.borderActionFocusRing),xo.extend("--ft-switch-option-border-radius","",vo.borderRadiusS),xo.extend("--ft-switch-off-state-layer-opacity-hover","",vo.opacity8),xo.extend("--ft-switch-off-state-layer-opacity-focus","",vo.opacity8),xo.extend("--ft-switch-off-state-layer-opacity-active","",vo.opacity16),xo.extend("--ft-switch-off-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-switch-off-color","",So.contentGlobalSubtle),xo.extend("--ft-switch-off-state-layer-color","",So.contentGlobalSubtle),xo.extend("--ft-chart-1-light","for area color charts",vo.colorBrand40),xo.extend("--ft-chart-1-base","for line charts",vo.colorBrand0),xo.extend("--ft-chart-2-light","for area color charts",vo.colorYellow60),xo.extend("--ft-chart-2-base","for line charts",vo.colorYellow100),xo.extend("--ft-chart-3-light","",vo.colorUltramarine40),xo.extend("--ft-chart-3-base","",vo.colorUltramarine70),xo.extend("--ft-chart-4-light","",vo.colorCyan50),xo.extend("--ft-chart-4-base","",vo.colorCyan100),xo.extend("--ft-chart-5-light","",vo.colorRed40),xo.extend("--ft-chart-5-base","",vo.colorRed60),xo.extend("--ft-chart-6-light","",vo.colorGreen40),xo.extend("--ft-chart-6-base","",vo.colorGreen70),xo.extend("--ft-chart-7-light","",vo.colorOrange70),xo.extend("--ft-chart-7-base","",vo.colorOrange100),xo.extend("--ft-chart-8-light","",vo.colorAvocado70),xo.extend("--ft-chart-8-base","",vo.colorAvocado200),xo.extend("--ft-chart-9-light","",vo.colorBrown50),xo.extend("--ft-chart-9-base","",vo.colorBrown200),xo.extend("--ft-chart-10-light","",vo.colorGray50),xo.extend("--ft-chart-10-base","",vo.colorGray80),xo.extend("--ft-chart-monochrome-10","",vo.colorBrand10),xo.extend("--ft-chart-monochrome-20","",vo.colorBrand20),xo.extend("--ft-chart-monochrome-30","",vo.colorBrand40),xo.extend("--ft-chart-monochrome-40","",vo.colorBrand60),xo.extend("--ft-chart-monochrome-50","",vo.colorBrand0),xo.extend("--ft-chart-monochrome-60","",vo.colorBrand200),xo.extend("--ft-chip-large-horizontal-padding","",vo.spacing4),xo.extend("--ft-chip-large-vertical-padding","",vo.spacing2),xo.extend("--ft-chip-large-gap","",vo.spacing1),xo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-large-border-radius","",vo.borderRadiusPill),xo.create("--ft-chip-large-border-width","","SIZE","1px"),xo.extend("--ft-chip-large-icon-size","",vo.iconSize3),xo.extend("--ft-chip-medium-horizontal-padding","",vo.spacing3),xo.extend("--ft-chip-medium-vertical-padding","",vo.spacing1),xo.extend("--ft-chip-medium-gap","",vo.spacing1),xo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-medium-border-radius","",vo.borderRadiusPill),xo.create("--ft-chip-medium-border-width","","SIZE","1px"),xo.extend("--ft-chip-medium-icon-size","",vo.iconSize2),xo.extend("--ft-chip-small-horizontal-padding","",vo.spacing2),xo.extend("--ft-chip-small-vertical-padding","",vo.spacing05),xo.extend("--ft-chip-small-gap","",vo.spacing1),xo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-small-border-radius","",vo.borderRadiusPill),xo.create("--ft-chip-small-border-width","","SIZE","1px"),xo.extend("--ft-chip-small-icon-size","",vo.iconSize1),xo.extend("--ft-chip-neutral-background-color","",So.backgroundGlobalOnSurface),xo.extend("--ft-chip-neutral-color","",So.contentGlobalPrimary),xo.extend("--ft-chip-neutral-border-color","",So.borderGlobalSubtle),xo.extend("--ft-chip-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-chip-info-color","",So.contentInfoPrimary),xo.extend("--ft-chip-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-chip-success-background-color","",So.backgroundSuccessSubtle),xo.extend("--ft-chip-success-color","",So.contentSuccessPrimary),xo.extend("--ft-chip-success-border-color","",So.borderSuccessPrimary),xo.extend("--ft-chip-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-chip-warning-color","",So.contentWarningPrimary),xo.extend("--ft-chip-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-chip-error-background-color","",So.backgroundErrorSubtle),xo.extend("--ft-chip-error-color","",So.contentErrorPrimary),xo.extend("--ft-chip-error-border-color","",So.borderErrorPrimary),xo.create("--ft-notice-border-width","","SIZE","1px"),xo.extend("--ft-notice-horizontal-padding","",vo.spacing2),xo.extend("--ft-notice-vertical-padding","",vo.spacing1),xo.extend("--ft-notice-border-radius","",vo.borderRadiusS),xo.extend("--ft-notice-gap","",vo.spacing2),xo.extend("--ft-notice-icon-size","",vo.iconSize3),xo.extend("--ft-notice-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-notice-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-notice-info-color","",So.contentInfoPrimary),xo.extend("--ft-notice-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-notice-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-notice-warning-color","",So.contentWarningPrimary),xo.extend("--ft-checkbox-label-color","",So.contentGlobalPrimary),xo.extend("--ft-checkbox-checked-background-color","",So.contentActionPrimary),xo.extend("--ft-checkbox-checked-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-checkbox-checked-color","",So.contentGlobalOnColor),xo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-checkbox-checked-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-checkbox-checked-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-checkbox-unchecked-border-color","",vo.colorGray80),xo.extend("--ft-checkbox-unchecked-state-layer-color","",vo.colorGray80),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-checkbox-focus-focus-ring-color","",So.borderActionFocusRing),xo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xo.extend("--ft-checkbox-gap","",vo.spacing3),xo.extend("--ft-toggle-off-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-toggle-off-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-toggle-off-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-toggle-off-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-toggle-off-background-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-off-icon-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-off-state-layer-color","",So.contentGlobalSubtle),xo.extend("--ft-toggle-on-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-toggle-on-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-toggle-on-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-toggle-on-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-toggle-on-background-color","",So.contentActionPrimary),xo.extend("--ft-toggle-on-icon-color","",So.contentActionPrimary),xo.extend("--ft-toggle-on-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-toggle-label-color","",So.contentGlobalPrimary),xo.extend("--ft-toggle-focus-focus-ring-color","",So.borderActionFocusRing),xo.extend("--ft-toggle-gap","",vo.spacing3),xo.extend("--ft-radio-label-color","",So.contentGlobalPrimary),xo.extend("--ft-radio-selected-color","",So.contentActionPrimary),xo.extend("--ft-radio-selected-state-layer-color","",So.contentActionPrimary),xo.extend("--ft-radio-selected-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-radio-selected-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-radio-selected-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-radio-selected-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-radio-unselected-state-layer-color","",vo.colorGray80),xo.extend("--ft-radio-unselected-state-layer-opacity-hover","",vo.opacity16),xo.extend("--ft-radio-unselected-state-layer-opacity-focus","",vo.opacity16),xo.extend("--ft-radio-unselected-state-layer-opacity-active","",vo.opacity24),xo.extend("--ft-radio-unselected-component-opacity-disabled","",vo.opacity40),xo.extend("--ft-radio-focus-focus-ring-color","",So.borderActionFocusRing),xo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xo.create("--ft-radio-focus-outline-width","","SIZE","2px"),xo.extend("--ft-radio-gap","",vo.spacing3),xo.extend("--ft-notification-icon-size","",vo.iconSize4),xo.extend("--ft-notification-horizontal-padding","",vo.spacing4),xo.extend("--ft-notification-vertical-padding","",vo.spacing4),xo.extend("--ft-notification-info-background-color","",So.backgroundInfoSubtle),xo.extend("--ft-notification-info-color","",So.contentInfoPrimary),xo.extend("--ft-notification-info-border-color","",So.borderInfoPrimary),xo.extend("--ft-notification-success-background-color","",So.backgroundSuccessSubtle),xo.extend("--ft-notification-success-color","",So.contentSuccessPrimary),xo.extend("--ft-notification-success-border-color","",So.borderSuccessPrimary),xo.extend("--ft-notification-warning-background-color","",So.backgroundWarningSubtle),xo.extend("--ft-notification-warning-color","",So.contentWarningPrimary),xo.extend("--ft-notification-warning-border-color","",So.borderWarningPrimary),xo.extend("--ft-notification-error-background-color","",So.backgroundErrorSubtle),xo.extend("--ft-notification-error-color","",So.contentErrorPrimary),xo.extend("--ft-notification-error-border-color","",So.borderErrorPrimary),xo.extend("--ft-notification-border-radius","",vo.borderRadiusPill),xo.create("--ft-notification-border-width","","SIZE","1px"),xo.extend("--ft-notification-gap-leading","",vo.spacing2),xo.extend("--ft-notification-gap-trailing","",vo.spacing8);const Co={colorPrimary:xo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xo.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:xo.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:xo.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:xo.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:xo.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:xo.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:xo.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:xo.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:xo.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:xo.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:xo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},$o=window,Eo=$o.ShadowRoot&&(void 0===$o.ShadyCSS||$o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
81
81
|
/**
|
|
82
82
|
* @license
|
|
83
83
|
* Copyright 2019 Google LLC
|
|
84
84
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
85
|
-
*/class Ro extends go{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Eo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=$o.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Uo,ko=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Io=Symbol("constructorPrototype"),Lo=Symbol("constructorName"),Wo=Symbol("exportpartsDebouncer");class zo extends Ro{constructor(){super(),this[Uo]=new o(5),this[Lo]=this.constructor.name,this[Io]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Lo]&&Object.setPrototypeOf(this,this[Io])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Wo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Uo=Wo,ko([C()],zo.prototype,"exportpartsPrefix",void 0),ko([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!U(t,o),...null!=o?o:{}})}([])],zo.prototype,"exportpartsPrefixes",void 0),ko([C()],zo.prototype,"customStylesheet",void 0);const Ko=bt`
|
|
85
|
+
*/class Ro extends go{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Eo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=$o.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Uo,ko=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Io=Symbol("constructorPrototype"),Lo=Symbol("constructorName"),Wo=Symbol("exportpartsDebouncer");class zo extends Ro{constructor(){super(),this[Uo]=new o(5),this[Lo]=this.constructor.name,this[Io]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Lo]&&Object.setPrototypeOf(this,this[Io])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Wo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Uo=Wo,ko([C()],zo.prototype,"exportpartsPrefix",void 0),ko([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!U(t,o),...null!=o?o:{}})}([])],zo.prototype,"exportpartsPrefixes",void 0),ko([C()],zo.prototype,"customStylesheet",void 0);const Ko=xo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");bt`
|
|
86
|
+
.highlight-html-match {
|
|
87
|
+
background: ${Ko};
|
|
88
|
+
}
|
|
89
|
+
`;const Fo=bt`
|
|
86
90
|
.ft-no-text-select {
|
|
87
91
|
-webkit-touch-callout: none;
|
|
88
92
|
-webkit-user-select: none;
|
|
@@ -114,111 +118,111 @@ class go extends Wt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
114
118
|
display: inline-block;
|
|
115
119
|
width: 0;
|
|
116
120
|
}
|
|
117
|
-
`;function
|
|
121
|
+
`;function Bo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Mo,Ao,Do;const Po=Symbol("internalReduxEventsUnsubscribers"),Ho=Symbol("internalStoresUnsubscribers"),jo=Symbol("internalStores");class To extends zo{constructor(){super(...arguments),this[Mo]=new Map,this[Ao]=new Map,this[Do]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[jo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[jo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[jo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Bo(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[jo].delete(o)}setupStore(t,o){this[jo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[jo].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Ho].has(t.store):this[Ho].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Ho].set(t,o.subscribe((()=>this.updateFromStores()))),Bo(o)&&o.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[Po].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ho].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Po].forEach((t=>t())),this[Po]=[]}unsubscribeFromStore(t){this[Ho].has(t)&&this[Ho].get(t)(),this[Ho].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Mo=Ho,Ao=jo,Do=Po,window.ftReduxStores||(window.ftReduxStores={});const _o=Symbol("elementInternals");var Go,Yo,Vo;const Jo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Vo=null===(Yo=null===(Go=window.safari)||void 0===Go?void 0:Go.pushNotification)||void 0===Yo?void 0:Yo.toString())&&void 0!==Vo?Vo:""),qo=bt`
|
|
118
122
|
:host {
|
|
119
123
|
display: inline-block;
|
|
120
124
|
}
|
|
121
|
-
`;var
|
|
125
|
+
`;var Xo;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Xo||(Xo={}));var Qo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class te extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const oe=Symbol("registerInterval");class ee extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[oe]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[oe]):this.dispatchEvent(new te)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=oe,Qo([$()],e.prototype,"stateManager",void 0),e}(To)){}
|
|
122
126
|
/**
|
|
123
127
|
* @license
|
|
124
128
|
* Copyright 2020 Google LLC
|
|
125
129
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
126
|
-
*/const
|
|
130
|
+
*/const ie=Symbol.for(""),re=t=>{if(t?.r===ie)return t?._$litStatic$},ne=t=>({_$litStatic$:t,r:ie}),ae=new Map,se=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=re(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=ae.get(t))&&(a.raw=a,ae.set(t,o=a)),e=s}return t(o,...e)})(J);var le;!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"}(le||(le={}));const ce=xo.extend("--ft-typography-font-family","",Co.titleFont),pe=xo.extend("--ft-typography-font-family","",Co.contentFont),he={fontFamily:pe,fontSize:xo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},fe=xo.extend("--ft-typography-title-font-family","",ce),de=xo.extend("--ft-typography-title-font-size","",he.fontSize,"20px"),ue=xo.extend("--ft-typography-title-font-weight","",he.fontWeight,"normal"),ye=xo.extend("--ft-typography-title-letter-spacing","",he.letterSpacing,"0.15px"),ge=xo.extend("--ft-typography-title-line-height","",he.lineHeight,"1.2"),be=xo.extend("--ft-typography-title-text-transform","",he.textTransform,"inherit"),me=xo.extend("--ft-typography-title-dense-font-family","",ce),xe=xo.extend("--ft-typography-title-dense-font-size","",he.fontSize,"14px"),Oe=xo.extend("--ft-typography-title-dense-font-weight","",he.fontWeight,"normal"),ve=xo.extend("--ft-typography-title-dense-letter-spacing","",he.letterSpacing,"0.105px"),Ne=xo.extend("--ft-typography-title-dense-line-height","",he.lineHeight,"1.7"),Se=xo.extend("--ft-typography-title-dense-text-transform","",he.textTransform,"inherit"),we=xo.extend("--ft-typography-subtitle1-font-family","",pe),Ce=xo.extend("--ft-typography-subtitle1-font-size","",he.fontSize,"16px"),$e=xo.extend("--ft-typography-subtitle1-font-weight","",he.fontWeight,"600"),Ee=xo.extend("--ft-typography-subtitle1-letter-spacing","",he.letterSpacing,"0.144px"),Re=xo.extend("--ft-typography-subtitle1-line-height","",he.lineHeight,"1.5"),Ue=xo.extend("--ft-typography-subtitle1-text-transform","",he.textTransform,"inherit"),ke=xo.extend("--ft-typography-subtitle2-font-family","",pe),Ie=xo.extend("--ft-typography-subtitle2-font-size","",he.fontSize,"14px"),Le=xo.extend("--ft-typography-subtitle2-font-weight","",he.fontWeight,"normal"),We=xo.extend("--ft-typography-subtitle2-letter-spacing","",he.letterSpacing,"0.098px"),ze=xo.extend("--ft-typography-subtitle2-line-height","",he.lineHeight,"1.7"),Ke=xo.extend("--ft-typography-subtitle2-text-transform","",he.textTransform,"inherit"),Fe=xo.extend("--ft-typography-body1-font-family","",pe),Ze=xo.extend("--ft-typography-body1-font-size","",he.fontSize,"16px"),Be=xo.extend("--ft-typography-body1-font-weight","",he.fontWeight,"normal"),Me=xo.extend("--ft-typography-body1-letter-spacing","",he.letterSpacing,"0.496px"),Ae=xo.extend("--ft-typography-body1-line-height","",he.lineHeight,"1.5"),De=xo.extend("--ft-typography-body1-text-transform","",he.textTransform,"inherit"),Pe={fontFamily:xo.extend("--ft-typography-body2-font-family","",pe),fontSize:xo.extend("--ft-typography-body2-font-size","",he.fontSize,"14px"),fontWeight:xo.extend("--ft-typography-body2-font-weight","",he.fontWeight,"normal"),letterSpacing:xo.extend("--ft-typography-body2-letter-spacing","",he.letterSpacing,"0.252px"),lineHeight:xo.extend("--ft-typography-body2-line-height","",he.lineHeight,"1.4"),textTransform:xo.extend("--ft-typography-body2-text-transform","",he.textTransform,"inherit")},He=xo.extend("--ft-typography-caption-font-family","",pe),je=xo.extend("--ft-typography-caption-font-size","",he.fontSize,"12px"),Te=xo.extend("--ft-typography-caption-font-weight","",he.fontWeight,"normal"),_e=xo.extend("--ft-typography-caption-letter-spacing","",he.letterSpacing,"0.396px"),Ge=xo.extend("--ft-typography-caption-line-height","",he.lineHeight,"1.33"),Ye=xo.extend("--ft-typography-caption-text-transform","",he.textTransform,"inherit"),Ve=xo.extend("--ft-typography-breadcrumb-font-family","",pe),Je=xo.extend("--ft-typography-breadcrumb-font-size","",he.fontSize,"10px"),qe=xo.extend("--ft-typography-breadcrumb-font-weight","",he.fontWeight,"normal"),Xe=xo.extend("--ft-typography-breadcrumb-letter-spacing","",he.letterSpacing,"0.33px"),Qe=xo.extend("--ft-typography-breadcrumb-line-height","",he.lineHeight,"1.6"),ti=xo.extend("--ft-typography-breadcrumb-text-transform","",he.textTransform,"inherit"),oi=xo.extend("--ft-typography-overline-font-family","",pe),ei=xo.extend("--ft-typography-overline-font-size","",he.fontSize,"10px"),ii=xo.extend("--ft-typography-overline-font-weight","",he.fontWeight,"normal"),ri=xo.extend("--ft-typography-overline-letter-spacing","",he.letterSpacing,"1.5px"),ni=xo.extend("--ft-typography-overline-line-height","",he.lineHeight,"1.6"),ai=xo.extend("--ft-typography-overline-text-transform","",he.textTransform,"uppercase"),si={fontFamily:xo.extend("--ft-typography-button-font-family","",pe),fontSize:xo.extend("--ft-typography-button-font-size","",he.fontSize,"14px"),fontWeight:xo.extend("--ft-typography-button-font-weight","",he.fontWeight,"600"),letterSpacing:xo.extend("--ft-typography-button-letter-spacing","",he.letterSpacing,"1.246px"),lineHeight:xo.extend("--ft-typography-button-line-height","",he.lineHeight,"1.15"),textTransform:xo.extend("--ft-typography-button-text-transform","",he.textTransform,"uppercase")},li=bt`
|
|
127
131
|
.ft-typography--title {
|
|
128
|
-
font-family: ${
|
|
129
|
-
font-size: ${
|
|
130
|
-
font-weight: ${
|
|
131
|
-
letter-spacing: ${
|
|
132
|
-
line-height: ${
|
|
133
|
-
text-transform: ${
|
|
132
|
+
font-family: ${fe};
|
|
133
|
+
font-size: ${de};
|
|
134
|
+
font-weight: ${ue};
|
|
135
|
+
letter-spacing: ${ye};
|
|
136
|
+
line-height: ${ge};
|
|
137
|
+
text-transform: ${be};
|
|
134
138
|
}
|
|
135
|
-
`,
|
|
139
|
+
`,ci=bt`
|
|
136
140
|
.ft-typography--title-dense {
|
|
137
|
-
font-family: ${
|
|
138
|
-
font-size: ${
|
|
139
|
-
font-weight: ${
|
|
141
|
+
font-family: ${me};
|
|
142
|
+
font-size: ${xe};
|
|
143
|
+
font-weight: ${Oe};
|
|
140
144
|
letter-spacing: ${ve};
|
|
141
|
-
line-height: ${
|
|
142
|
-
text-transform: ${
|
|
145
|
+
line-height: ${Ne};
|
|
146
|
+
text-transform: ${Se};
|
|
143
147
|
}
|
|
144
|
-
`,
|
|
148
|
+
`,pi=bt`
|
|
145
149
|
.ft-typography--subtitle1 {
|
|
146
|
-
font-family: ${
|
|
147
|
-
font-size: ${
|
|
148
|
-
font-weight: ${
|
|
149
|
-
letter-spacing: ${
|
|
150
|
-
line-height: ${
|
|
151
|
-
text-transform: ${
|
|
150
|
+
font-family: ${we};
|
|
151
|
+
font-size: ${Ce};
|
|
152
|
+
font-weight: ${$e};
|
|
153
|
+
letter-spacing: ${Ee};
|
|
154
|
+
line-height: ${Re};
|
|
155
|
+
text-transform: ${Ue};
|
|
152
156
|
}
|
|
153
|
-
`,
|
|
157
|
+
`,hi=bt`
|
|
154
158
|
.ft-typography--subtitle2 {
|
|
155
|
-
font-family: ${
|
|
156
|
-
font-size: ${
|
|
157
|
-
font-weight: ${
|
|
158
|
-
letter-spacing: ${
|
|
159
|
-
line-height: ${
|
|
160
|
-
text-transform: ${
|
|
159
|
+
font-family: ${ke};
|
|
160
|
+
font-size: ${Ie};
|
|
161
|
+
font-weight: ${Le};
|
|
162
|
+
letter-spacing: ${We};
|
|
163
|
+
line-height: ${ze};
|
|
164
|
+
text-transform: ${Ke};
|
|
161
165
|
}
|
|
162
166
|
|
|
163
|
-
`,
|
|
167
|
+
`,fi=bt`
|
|
164
168
|
.ft-typography--body1 {
|
|
165
|
-
font-family: ${
|
|
169
|
+
font-family: ${Fe};
|
|
166
170
|
font-size: ${Ze};
|
|
167
|
-
font-weight: ${
|
|
168
|
-
letter-spacing: ${
|
|
169
|
-
line-height: ${
|
|
170
|
-
text-transform: ${
|
|
171
|
+
font-weight: ${Be};
|
|
172
|
+
letter-spacing: ${Me};
|
|
173
|
+
line-height: ${Ae};
|
|
174
|
+
text-transform: ${De};
|
|
171
175
|
}
|
|
172
|
-
`,
|
|
176
|
+
`,di=bt`
|
|
173
177
|
.ft-typography--body2 {
|
|
174
|
-
font-family: ${
|
|
175
|
-
font-size: ${
|
|
176
|
-
font-weight: ${
|
|
177
|
-
letter-spacing: ${
|
|
178
|
-
line-height: ${
|
|
179
|
-
text-transform: ${
|
|
178
|
+
font-family: ${Pe.fontFamily};
|
|
179
|
+
font-size: ${Pe.fontSize};
|
|
180
|
+
font-weight: ${Pe.fontWeight};
|
|
181
|
+
letter-spacing: ${Pe.letterSpacing};
|
|
182
|
+
line-height: ${Pe.lineHeight};
|
|
183
|
+
text-transform: ${Pe.textTransform};
|
|
180
184
|
}
|
|
181
|
-
`,
|
|
185
|
+
`,ui=bt`
|
|
182
186
|
.ft-typography--caption {
|
|
183
|
-
font-family: ${
|
|
184
|
-
font-size: ${
|
|
185
|
-
font-weight: ${
|
|
186
|
-
letter-spacing: ${
|
|
187
|
-
line-height: ${
|
|
188
|
-
text-transform: ${
|
|
187
|
+
font-family: ${He};
|
|
188
|
+
font-size: ${je};
|
|
189
|
+
font-weight: ${Te};
|
|
190
|
+
letter-spacing: ${_e};
|
|
191
|
+
line-height: ${Ge};
|
|
192
|
+
text-transform: ${Ye};
|
|
189
193
|
}
|
|
190
|
-
`,
|
|
194
|
+
`,yi=bt`
|
|
191
195
|
.ft-typography--breadcrumb {
|
|
192
|
-
font-family: ${
|
|
193
|
-
font-size: ${
|
|
194
|
-
font-weight: ${
|
|
195
|
-
letter-spacing: ${
|
|
196
|
-
line-height: ${
|
|
197
|
-
text-transform: ${
|
|
196
|
+
font-family: ${Ve};
|
|
197
|
+
font-size: ${Je};
|
|
198
|
+
font-weight: ${qe};
|
|
199
|
+
letter-spacing: ${Xe};
|
|
200
|
+
line-height: ${Qe};
|
|
201
|
+
text-transform: ${ti};
|
|
198
202
|
}
|
|
199
|
-
`,
|
|
203
|
+
`,gi=bt`
|
|
200
204
|
.ft-typography--overline {
|
|
201
|
-
font-family: ${
|
|
202
|
-
font-size: ${
|
|
203
|
-
font-weight: ${
|
|
204
|
-
letter-spacing: ${
|
|
205
|
-
line-height: ${
|
|
206
|
-
text-transform: ${
|
|
205
|
+
font-family: ${oi};
|
|
206
|
+
font-size: ${ei};
|
|
207
|
+
font-weight: ${ii};
|
|
208
|
+
letter-spacing: ${ri};
|
|
209
|
+
line-height: ${ni};
|
|
210
|
+
text-transform: ${ai};
|
|
207
211
|
}
|
|
208
|
-
`,
|
|
212
|
+
`,bi=bt`
|
|
209
213
|
.ft-typography--button {
|
|
210
|
-
font-family: ${
|
|
211
|
-
font-size: ${
|
|
212
|
-
font-weight: ${
|
|
213
|
-
letter-spacing: ${
|
|
214
|
-
line-height: ${
|
|
215
|
-
text-transform: ${
|
|
214
|
+
font-family: ${si.fontFamily};
|
|
215
|
+
font-size: ${si.fontSize};
|
|
216
|
+
font-weight: ${si.fontWeight};
|
|
217
|
+
letter-spacing: ${si.letterSpacing};
|
|
218
|
+
line-height: ${si.lineHeight};
|
|
219
|
+
text-transform: ${si.textTransform};
|
|
216
220
|
}
|
|
217
|
-
`,
|
|
221
|
+
`,mi=bt`
|
|
218
222
|
.ft-typography {
|
|
219
223
|
vertical-align: inherit;
|
|
220
224
|
}
|
|
221
|
-
`,
|
|
225
|
+
`,xi=[Object.keys(No).map((t=>function(t){const o=No[t];return bt`
|
|
222
226
|
.ft-typography--${gt(t)} {
|
|
223
227
|
font-family: ${o.fontFamily};
|
|
224
228
|
font-size: ${o.fontSize};
|
|
@@ -227,14 +231,14 @@ class go extends Wt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
227
231
|
line-height: ${o.lineHeight};
|
|
228
232
|
text-transform: ${o.textCase};
|
|
229
233
|
}
|
|
230
|
-
`}(t)))];var
|
|
231
|
-
<${
|
|
234
|
+
`}(t)))];var Oi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vi extends zo{constructor(){super(...arguments),this.variant=le.body1}render(){return this.element?se`
|
|
235
|
+
<${ne(this.element)}
|
|
232
236
|
class="ft-typography ft-typography--${this.variant}">
|
|
233
237
|
<slot></slot>
|
|
234
|
-
</${
|
|
235
|
-
`:
|
|
238
|
+
</${ne(this.element)}>
|
|
239
|
+
`:se`
|
|
236
240
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
237
|
-
`}}vi.styles=[
|
|
241
|
+
`}}vi.styles=[li,ci,pi,hi,fi,di,ui,yi,gi,bi,mi,...xi],Oi([C()],vi.prototype,"element",void 0),Oi([C()],vi.prototype,"variant",void 0),k("ft-typography")(vi);const Ni=xo.create("--ft-tooltip-distance","","SIZE","4px"),Si=xo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),wi=xo.create("--ft-tooltip-background-color","","COLOR","#666666"),Ci=xo.create("--ft-tooltip-z-index","","NUMBER","100"),$i=xo.external(Co.borderRadiusS,"Design system"),Ei=xo.create("--ft-tooltip-max-width","","SIZE","150px"),Ri=bt`
|
|
238
242
|
.ft-tooltip--container {
|
|
239
243
|
display: block;
|
|
240
244
|
}
|
|
@@ -249,21 +253,21 @@ class go extends Wt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
249
253
|
box-sizing: border-box;
|
|
250
254
|
overflow: hidden;
|
|
251
255
|
width: max-content;
|
|
252
|
-
max-width: ${
|
|
256
|
+
max-width: ${Ei};
|
|
253
257
|
text-align: center;
|
|
254
|
-
padding: ${
|
|
255
|
-
z-index: ${
|
|
258
|
+
padding: ${Ni};
|
|
259
|
+
z-index: ${Ci};
|
|
256
260
|
}
|
|
257
261
|
|
|
258
262
|
.ft-tooltip--content {
|
|
259
263
|
padding: 4px 8px;
|
|
260
|
-
border-radius: ${
|
|
261
|
-
background-color: ${
|
|
262
|
-
color: ${
|
|
264
|
+
border-radius: ${$i};
|
|
265
|
+
background-color: ${wi};
|
|
266
|
+
color: ${Si};
|
|
263
267
|
position: relative;
|
|
264
268
|
word-break: break-word;
|
|
265
269
|
}
|
|
266
|
-
`;var
|
|
270
|
+
`;var Ui=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ki extends zo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Qt`
|
|
267
271
|
<div part="container"
|
|
268
272
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
269
273
|
@mouseenter=${this.onHover}
|
|
@@ -281,18 +285,18 @@ class go extends Wt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
281
285
|
</div>
|
|
282
286
|
</div>
|
|
283
287
|
</div>
|
|
284
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,p=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let h=-l.y,f=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,f))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${
|
|
288
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,p=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let h=-l.y,f=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,f))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Ei})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}ki.elementDefinitions={"ft-typography":vi},ki.styles=Ri,Ui([C()],ki.prototype,"text",void 0),Ui([C({type:Boolean})],ki.prototype,"manual",void 0),Ui([C({type:Boolean})],ki.prototype,"inline",void 0),Ui([C({type:Number})],ki.prototype,"delay",void 0),Ui([C()],ki.prototype,"position",void 0),Ui([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],ki.prototype,"slotNodes",void 0),Ui([R(".ft-tooltip--container")],ki.prototype,"container",void 0),Ui([R(".ft-tooltip")],ki.prototype,"tooltip",void 0),Ui([R(".ft-tooltip--content")],ki.prototype,"tooltipContent",void 0),Ui([$()],ki.prototype,"visible",void 0),k("ft-tooltip")(ki);
|
|
285
289
|
/**
|
|
286
290
|
* @license
|
|
287
291
|
* Copyright 2017 Google LLC
|
|
288
292
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
289
293
|
*/
|
|
290
|
-
const
|
|
294
|
+
const Ii=1,Li=2,Wi=t=>(...o)=>({_$litDirective$:t,values:o});class zi{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)}}
|
|
291
295
|
/**
|
|
292
296
|
* @license
|
|
293
297
|
* Copyright 2018 Google LLC
|
|
294
298
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
295
|
-
*/const
|
|
299
|
+
*/const Ki=Wi(class extends zi{constructor(t){if(super(t),t.type!==Ii||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return q}}),Fi=xo.extend("--ft-ripple-color","",Co.colorContent),Zi={color:Fi,backgroundColor:xo.extend("--ft-ripple-background-color","",Fi),opacityContentOnSurfacePressed:xo.external(Co.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xo.external(Co.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xo.external(Co.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xo.external(Co.opacityContentOnSurfaceSelected,"Design system"),borderRadius:xo.create("--ft-ripple-border-radius","","SIZE","0px")},Bi=xo.extend("--ft-ripple-color","",Co.colorPrimary),Mi=Bi,Ai=xo.extend("--ft-ripple-background-color","",Bi),Di=xo.extend("--ft-ripple-color","",Co.colorSecondary),Pi=Di,Hi=xo.extend("--ft-ripple-background-color","",Di),ji=bt`
|
|
296
300
|
:host {
|
|
297
301
|
display: contents;
|
|
298
302
|
}
|
|
@@ -347,19 +351,19 @@ const ki=1,Ii=2,Li=t=>(...o)=>({_$litDirective$:t,values:o});class Wi{constructo
|
|
|
347
351
|
}
|
|
348
352
|
|
|
349
353
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
350
|
-
background-color: ${
|
|
354
|
+
background-color: ${Hi};
|
|
351
355
|
}
|
|
352
356
|
|
|
353
357
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
354
|
-
background-color: ${
|
|
358
|
+
background-color: ${Pi};
|
|
355
359
|
}
|
|
356
360
|
|
|
357
361
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
358
|
-
background-color: ${
|
|
362
|
+
background-color: ${Ai};
|
|
359
363
|
}
|
|
360
364
|
|
|
361
365
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
362
|
-
background-color: ${
|
|
366
|
+
background-color: ${Mi};
|
|
363
367
|
}
|
|
364
368
|
|
|
365
369
|
.ft-ripple .ft-ripple--background {
|
|
@@ -404,24 +408,24 @@ const ki=1,Ii=2,Li=t=>(...o)=>({_$litDirective$:t,values:o});class Wi{constructo
|
|
|
404
408
|
opacity: ${Zi.opacityContentOnSurfacePressed};
|
|
405
409
|
transform: translate(-50%, -50%) scale(1);
|
|
406
410
|
}
|
|
407
|
-
`;var
|
|
411
|
+
`;var Ti=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class _i extends zo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Qt`
|
|
408
412
|
<style>
|
|
409
413
|
.ft-ripple .ft-ripple--effect {
|
|
410
414
|
left: ${this.originX}px;
|
|
411
415
|
top: ${this.originY}px;
|
|
412
416
|
}
|
|
413
417
|
</style>
|
|
414
|
-
<div class="${
|
|
418
|
+
<div class="${Ki(t)}">
|
|
415
419
|
<div class="ft-ripple--background"></div>
|
|
416
420
|
<div class="ft-ripple--effect"></div>
|
|
417
421
|
</div>
|
|
418
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
422
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}_i.elementDefinitions={},_i.styles=ji,Ti([C({type:Boolean})],_i.prototype,"primary",void 0),Ti([C({type:Boolean})],_i.prototype,"secondary",void 0),Ti([C({type:Boolean})],_i.prototype,"unbounded",void 0),Ti([C({type:Boolean})],_i.prototype,"activated",void 0),Ti([C({type:Boolean})],_i.prototype,"selected",void 0),Ti([C({type:Boolean})],_i.prototype,"disabled",void 0),Ti([$()],_i.prototype,"hovered",void 0),Ti([$()],_i.prototype,"focused",void 0),Ti([$()],_i.prototype,"pressed",void 0),Ti([$()],_i.prototype,"rippling",void 0),Ti([$()],_i.prototype,"originX",void 0),Ti([$()],_i.prototype,"originY",void 0),Ti([R(".ft-ripple")],_i.prototype,"ripple",void 0),Ti([R(".ft-ripple--effect")],_i.prototype,"rippleEffect",void 0),k("ft-ripple")(_i);
|
|
419
423
|
/**
|
|
420
424
|
* @license
|
|
421
425
|
* Copyright 2017 Google LLC
|
|
422
426
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
423
427
|
*/
|
|
424
|
-
class
|
|
428
|
+
class Gi extends zi{constructor(t){if(super(t),this.et=X,t.type!==Li)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||null==t)return this.vt=void 0,this.et=t;if(t===q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}Gi.directiveName="unsafeHTML",Gi.resultType=1;const Yi=Wi(Gi);var Vi,Ji;!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=""}(Vi||(Vi={})),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=""}(Ji||(Ji={})),new Map([...["abw"].map((t=>[t,Ji.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,Ji.AUDIO])),...["avi"].map((t=>[t,Ji.AVI])),...["chm","xhs"].map((t=>[t,Ji.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,Ji.CODE])),...["csv"].map((t=>[t,Ji.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ji.DITA])),...["epub"].map((t=>[t,Ji.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ji.EXCEL])),...["flac"].map((t=>[t,Ji.FLAC])),...["gif"].map((t=>[t,Ji.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ji.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ji.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,Ji.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ji.JPEG])),...["json"].map((t=>[t,Ji.JSON])),...["m4a","m4p"].map((t=>[t,Ji.M4A])),...["mov","qt"].map((t=>[t,Ji.MOV])),...["mp3"].map((t=>[t,Ji.MP3])),...["mp4","m4v"].map((t=>[t,Ji.MP4])),...["ogg","oga"].map((t=>[t,Ji.OGG])),...["pdf","ps"].map((t=>[t,Ji.PDF])),...["png"].map((t=>[t,Ji.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ji.POWERPOINT])),...["rar"].map((t=>[t,Ji.RAR])),...["stp"].map((t=>[t,Ji.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ji.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,Ji.VIDEO])),...["wav"].map((t=>[t,Ji.WAV])),...["wma"].map((t=>[t,Ji.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ji.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ji.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ji.YAML])),...["zip"].map((t=>[t,Ji.ZIP]))]);const qi={size:xo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:xo.extend("--ft-icon-fluid-topics-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:xo.extend("--ft-icon-file-format-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:xo.extend("--ft-icon-material-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:xo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Xi=bt`
|
|
425
429
|
:host, i.ft-icon {
|
|
426
430
|
display: inline-flex;
|
|
427
431
|
align-items: center;
|
|
@@ -430,14 +434,14 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
430
434
|
}
|
|
431
435
|
|
|
432
436
|
:host {
|
|
433
|
-
width: ${
|
|
434
|
-
height: ${
|
|
437
|
+
width: ${qi.size};
|
|
438
|
+
height: ${qi.size};
|
|
435
439
|
}
|
|
436
440
|
|
|
437
441
|
i.ft-icon {
|
|
438
442
|
width: 100%;
|
|
439
443
|
height: 100%;
|
|
440
|
-
font-size: ${
|
|
444
|
+
font-size: ${qi.size};
|
|
441
445
|
line-height: 1;
|
|
442
446
|
font-weight: normal;
|
|
443
447
|
text-transform: none;
|
|
@@ -448,33 +452,33 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
448
452
|
text-rendering: auto;
|
|
449
453
|
-webkit-font-smoothing: antialiased;
|
|
450
454
|
-moz-osx-font-smoothing: grayscale;
|
|
451
|
-
vertical-align: ${
|
|
455
|
+
vertical-align: ${qi.verticalAlign};
|
|
452
456
|
}
|
|
453
457
|
|
|
454
458
|
i.ft-icon.ft-icon--fluid-topics {
|
|
455
|
-
font-family: ${
|
|
459
|
+
font-family: ${qi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
456
460
|
|
|
457
461
|
/* Ugly fix because font is broken */
|
|
458
|
-
font-size: calc(0.75 * ${
|
|
459
|
-
line-height: ${
|
|
462
|
+
font-size: calc(0.75 * ${qi.size});
|
|
463
|
+
line-height: ${qi.size};
|
|
460
464
|
position: relative;
|
|
461
465
|
top: -4%;
|
|
462
466
|
justify-content: center;
|
|
463
467
|
}
|
|
464
468
|
|
|
465
469
|
.ft-icon--file-format {
|
|
466
|
-
font-family: ${
|
|
470
|
+
font-family: ${qi.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
467
471
|
}
|
|
468
472
|
|
|
469
473
|
.ft-icon--material {
|
|
470
|
-
font-family: ${
|
|
474
|
+
font-family: ${qi.materialFontFamily}, "Material Icons", sans-serif;
|
|
471
475
|
}
|
|
472
|
-
`;var
|
|
476
|
+
`;var Qi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Qi||(Qi={}));var tr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class or extends zo{constructor(){super(...arguments),this.resolvedIcon=oo}render(){const t=this.variant&&Object.values(Qi).includes(this.variant)?this.variant:Qi.fluid_topics,o=t!==Qi.material||!!this.value;return Qt`
|
|
473
477
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
474
|
-
${
|
|
478
|
+
${Yi(this.resolvedIcon)}
|
|
475
479
|
<slot ?hidden=${o}></slot>
|
|
476
480
|
</i>
|
|
477
|
-
`}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
|
|
481
|
+
`}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 Qi.file_format:this.resolvedIcon=null!==(t=Ji[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Qi.material:this.resolvedIcon=this.value||oo;break;default:this.resolvedIcon=null!==(o=Vi[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}or.elementDefinitions={},or.styles=Xi,tr([C()],or.prototype,"variant",void 0),tr([C()],or.prototype,"value",void 0),tr([$()],or.prototype,"resolvedIcon",void 0),tr([R("slot")],or.prototype,"slottedContent",void 0),k("ft-icon")(or);const er={color:xo.extend("--ft-loader-color","",Co.colorPrimary),size:xo.create("--ft-loader-size","","SIZE","80px")},ir=bt`
|
|
478
482
|
:host {
|
|
479
483
|
line-height: 0;
|
|
480
484
|
}
|
|
@@ -483,8 +487,8 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
483
487
|
display: inline-block;
|
|
484
488
|
position: relative;
|
|
485
489
|
|
|
486
|
-
width: ${
|
|
487
|
-
height: ${
|
|
490
|
+
width: ${er.size};
|
|
491
|
+
height: ${er.size};
|
|
488
492
|
}
|
|
489
493
|
|
|
490
494
|
.ft-loader div {
|
|
@@ -493,7 +497,7 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
493
497
|
width: 25%;
|
|
494
498
|
height: 25%;
|
|
495
499
|
border-radius: 50%;
|
|
496
|
-
background: ${
|
|
500
|
+
background: ${er.color};
|
|
497
501
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
498
502
|
}
|
|
499
503
|
|
|
@@ -540,10 +544,10 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
540
544
|
transform: translate(0, 0);
|
|
541
545
|
}
|
|
542
546
|
100% {
|
|
543
|
-
transform: translate(calc(0.35 * ${
|
|
547
|
+
transform: translate(calc(0.35 * ${er.size}), 0);
|
|
544
548
|
}
|
|
545
549
|
}
|
|
546
|
-
`,
|
|
550
|
+
`,rr=xo.extend("--ft-button-color","",Co.colorPrimary),nr={backgroundColor:xo.extend("--ft-button-background-color","",Co.colorSurface),borderRadius:xo.extend("--ft-button-border-radius","",Co.borderRadiusL),color:rr,fontSize:xo.extend("--ft-button-font-size","",si.fontSize),iconSize:xo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:xo.extend("--ft-button-ripple-color","",rr),verticalPadding:xo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:xo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:xo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:xo.external(Co.colorOpacityDisabled,"Design system")},ar=xo.extend("--ft-button-primary-color","",xo.extend("--ft-button-color","",Co.colorOnPrimary)),sr={backgroundColor:xo.extend("--ft-button-primary-background-color","",xo.extend("--ft-button-background-color","",Co.colorPrimary)),color:ar,rippleColor:xo.extend("--ft-button-primary-ripple-color","",ar)},lr=xo.extend("--ft-button-dense-border-radius","",xo.extend("--ft-button-border-radius","",Co.borderRadiusM)),cr=xo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),pr=xo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),hr=xo.create("--ft-button-dense-icon-padding","","SIZE","4px"),fr=[bt`
|
|
547
551
|
:host {
|
|
548
552
|
display: inline-block;
|
|
549
553
|
max-width: 100%;
|
|
@@ -554,7 +558,7 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
554
558
|
box-shadow: 0px 0px 0px transparent;
|
|
555
559
|
border: 0px solid transparent;
|
|
556
560
|
text-shadow: 0px 0px 0px transparent;
|
|
557
|
-
font-size: ${
|
|
561
|
+
font-size: ${nr.fontSize};
|
|
558
562
|
}
|
|
559
563
|
|
|
560
564
|
button:hover {
|
|
@@ -583,31 +587,31 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
583
587
|
border: none;
|
|
584
588
|
pointer-events: auto;
|
|
585
589
|
|
|
586
|
-
--ft-button-internal-line-height: max(calc(${
|
|
587
|
-
--ft-button-internal-color: ${
|
|
588
|
-
${
|
|
589
|
-
${
|
|
590
|
+
--ft-button-internal-line-height: max(calc(${nr.fontSize} + 2px), ${nr.iconSize});
|
|
591
|
+
--ft-button-internal-color: ${nr.color};
|
|
592
|
+
${Oo(qi.size,nr.iconSize)};
|
|
593
|
+
${Oo(Zi.color,nr.rippleColor)};
|
|
590
594
|
|
|
591
|
-
border-radius: ${
|
|
592
|
-
padding: ${
|
|
593
|
-
background-color: ${
|
|
595
|
+
border-radius: ${nr.borderRadius};
|
|
596
|
+
padding: ${nr.verticalPadding} ${nr.horizontalPadding};
|
|
597
|
+
background-color: ${nr.backgroundColor};
|
|
594
598
|
color: var(--ft-button-internal-color);
|
|
595
599
|
-webkit-mask-image: radial-gradient(white, black);
|
|
596
600
|
}
|
|
597
601
|
|
|
598
602
|
.ft-button.ft-button--outlined {
|
|
599
603
|
border: 1px solid var(--ft-button-internal-color);
|
|
600
|
-
padding: calc(${
|
|
604
|
+
padding: calc(${nr.verticalPadding} - 1px) calc(${nr.horizontalPadding} - 1px);
|
|
601
605
|
}
|
|
602
606
|
|
|
603
607
|
.ft-button.ft-button--dense {
|
|
604
|
-
padding: ${
|
|
605
|
-
border-radius: ${
|
|
606
|
-
gap: ${
|
|
608
|
+
padding: ${cr} ${pr};
|
|
609
|
+
border-radius: ${lr};
|
|
610
|
+
gap: ${hr};
|
|
607
611
|
}
|
|
608
612
|
|
|
609
613
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
610
|
-
padding: calc(${
|
|
614
|
+
padding: calc(${cr} - 1px) calc(${pr} - 1px);
|
|
611
615
|
}
|
|
612
616
|
|
|
613
617
|
.ft-button:not([disabled]):hover {
|
|
@@ -615,22 +619,22 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
615
619
|
}
|
|
616
620
|
|
|
617
621
|
.ft-button--round {
|
|
618
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
622
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${nr.verticalPadding});
|
|
619
623
|
}
|
|
620
624
|
|
|
621
625
|
.ft-button--round.ft-button--dense {
|
|
622
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
626
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${cr});
|
|
623
627
|
}
|
|
624
628
|
|
|
625
629
|
.ft-button[disabled] {
|
|
626
630
|
filter: grayscale(1);
|
|
627
|
-
opacity: ${
|
|
631
|
+
opacity: ${nr.opacityDisabled};
|
|
628
632
|
}
|
|
629
633
|
|
|
630
634
|
.ft-button.ft-button--primary {
|
|
631
|
-
background-color: ${
|
|
632
|
-
--ft-button-internal-color: ${
|
|
633
|
-
${
|
|
635
|
+
background-color: ${sr.backgroundColor};
|
|
636
|
+
--ft-button-internal-color: ${sr.color};
|
|
637
|
+
${Oo(Zi.color,sr.rippleColor)};
|
|
634
638
|
}
|
|
635
639
|
|
|
636
640
|
.ft-button:focus {
|
|
@@ -643,13 +647,13 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
643
647
|
white-space: nowrap;
|
|
644
648
|
text-overflow: ellipsis;
|
|
645
649
|
display: block;
|
|
646
|
-
margin: 0 ${
|
|
647
|
-
${
|
|
648
|
-
${
|
|
650
|
+
margin: 0 ${nr.iconPadding};
|
|
651
|
+
${Oo(si.fontSize,"1em")};
|
|
652
|
+
${Oo(si.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
649
653
|
}
|
|
650
654
|
|
|
651
655
|
.ft-button--dense .ft-button--label {
|
|
652
|
-
margin: 0 ${
|
|
656
|
+
margin: 0 ${hr};
|
|
653
657
|
}
|
|
654
658
|
|
|
655
659
|
.ft-button--label[hidden] {
|
|
@@ -662,13 +666,13 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
662
666
|
}
|
|
663
667
|
|
|
664
668
|
.ft-button--label[hidden] + ft-icon {
|
|
665
|
-
margin: 0 calc(${
|
|
666
|
-
padding: 0 ${
|
|
669
|
+
margin: 0 calc(${nr.horizontalPadding} * -1);
|
|
670
|
+
padding: 0 ${nr.verticalPadding};
|
|
667
671
|
}
|
|
668
672
|
|
|
669
673
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
670
|
-
margin: 0 calc(${
|
|
671
|
-
padding: 0 ${
|
|
674
|
+
margin: 0 calc(${pr} * -1);
|
|
675
|
+
padding: 0 ${cr};
|
|
672
676
|
}
|
|
673
677
|
|
|
674
678
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -677,26 +681,26 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
677
681
|
}
|
|
678
682
|
|
|
679
683
|
ft-loader {
|
|
680
|
-
${
|
|
681
|
-
${
|
|
684
|
+
${Oo(er.size,nr.iconSize)};
|
|
685
|
+
${Oo(er.color,"var(--ft-button-internal-color)")};
|
|
682
686
|
}
|
|
683
|
-
`,
|
|
687
|
+
`,Fo];class dr extends zo{render(){return Qt`
|
|
684
688
|
<div class="ft-loader">
|
|
685
689
|
<div></div>
|
|
686
690
|
<div></div>
|
|
687
691
|
<div></div>
|
|
688
692
|
<div></div>
|
|
689
693
|
</div>
|
|
690
|
-
`}}
|
|
694
|
+
`}}dr.styles=ir,k("ft-loader")(dr);var ur=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yr extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[_o].form}constructor(...t){super(t),this[_o]=this.attachInternals(),this[_o].role=o}setFormValue(t){this[_o].setFormValue(t)}}}(zo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(Qt`
|
|
691
695
|
<button part="button"
|
|
692
|
-
class="${
|
|
696
|
+
class="${Ki(this.buttonClasses)}"
|
|
693
697
|
aria-label="${this.getLabel()}"
|
|
694
698
|
?disabled=${this.isDisabled()}>
|
|
695
699
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
696
700
|
<ft-typography part="label"
|
|
697
701
|
variant=${this.typographyVariant}
|
|
698
702
|
element="span"
|
|
699
|
-
class="ft-button--label ${
|
|
703
|
+
class="ft-button--label ${Jo?"ft-safari-ellipsis-fix":""}"
|
|
700
704
|
?hidden=${!this.hasTextContent()}>
|
|
701
705
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
702
706
|
</ft-typography>
|
|
@@ -710,7 +714,7 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
710
714
|
</ft-tooltip>
|
|
711
715
|
`:t}resolveIcon(){return this.loading?Qt`
|
|
712
716
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?Qt`
|
|
713
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:oo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
717
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:oo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}yr.elementDefinitions={"ft-ripple":_i,"ft-tooltip":ki,"ft-typography":vi,"ft-icon":or,"ft-loader":dr},ur([C({type:String,reflect:!0})],yr.prototype,"role",void 0),ur([C()],yr.prototype,"type",void 0),ur([C({type:Boolean})],yr.prototype,"disabled",void 0),ur([C()],yr.prototype,"label",void 0),ur([C()],yr.prototype,"icon",void 0),ur([C()],yr.prototype,"iconVariant",void 0),ur([C({type:Boolean})],yr.prototype,"trailingIcon",void 0),ur([C({type:Boolean})],yr.prototype,"loading",void 0),ur([C()],yr.prototype,"tooltipPosition",void 0),ur([C({type:Boolean})],yr.prototype,"hideTooltip",void 0),ur([C({type:Boolean})],yr.prototype,"forceTooltip",void 0),ur([R(".ft-button")],yr.prototype,"button",void 0),ur([R(".ft-button--label slot")],yr.prototype,"slottedContent",void 0);var gr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class br extends yr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}br.styles=[Zo,fr],gr([C({type:Boolean})],br.prototype,"primary",void 0),gr([C({type:Boolean})],br.prototype,"outlined",void 0),gr([C({type:Boolean})],br.prototype,"dense",void 0),gr([C({type:Boolean})],br.prototype,"round",void 0);const mr=[bt`
|
|
714
718
|
:host {
|
|
715
719
|
display: inline-block;
|
|
716
720
|
max-width: 100%;
|
|
@@ -789,13 +793,13 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
789
793
|
/** Primary styles **/
|
|
790
794
|
|
|
791
795
|
.ft-button--primary {
|
|
792
|
-
${
|
|
796
|
+
${Oo(er.color,wo.primaryIconColor)};
|
|
793
797
|
|
|
794
|
-
${
|
|
795
|
-
${
|
|
796
|
-
${
|
|
797
|
-
${
|
|
798
|
-
${
|
|
798
|
+
${Oo(Zi.color,wo.primaryStateLayerColor)};
|
|
799
|
+
${Oo(Zi.opacityContentOnSurfaceHover,wo.primaryStateLayerOpacityHover)};
|
|
800
|
+
${Oo(Zi.opacityContentOnSurfaceFocused,wo.primaryStateLayerOpacityFocus)};
|
|
801
|
+
${Oo(Zi.opacityContentOnSurfaceSelected,wo.primaryStateLayerOpacityActive)};
|
|
802
|
+
${Oo(Zi.opacityContentOnSurfacePressed,wo.primaryStateLayerOpacityActive)};
|
|
799
803
|
|
|
800
804
|
background-color: ${wo.primaryBackgroundColor};
|
|
801
805
|
color: ${wo.primaryColor};
|
|
@@ -813,13 +817,13 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
813
817
|
/** Secondary styles **/
|
|
814
818
|
|
|
815
819
|
.ft-button--secondary {
|
|
816
|
-
${
|
|
820
|
+
${Oo(er.color,wo.secondaryIconColor)};
|
|
817
821
|
|
|
818
|
-
${
|
|
819
|
-
${
|
|
820
|
-
${
|
|
821
|
-
${
|
|
822
|
-
${
|
|
822
|
+
${Oo(Zi.color,wo.secondaryStateLayerColor)};
|
|
823
|
+
${Oo(Zi.opacityContentOnSurfaceHover,wo.secondaryStateLayerOpacityHover)};
|
|
824
|
+
${Oo(Zi.opacityContentOnSurfaceFocused,wo.secondaryStateLayerOpacityFocus)};
|
|
825
|
+
${Oo(Zi.opacityContentOnSurfaceSelected,wo.secondaryStateLayerOpacityActive)};
|
|
826
|
+
${Oo(Zi.opacityContentOnSurfacePressed,wo.secondaryStateLayerOpacityActive)};
|
|
823
827
|
|
|
824
828
|
background-color: ${wo.secondaryBackgroundColor};
|
|
825
829
|
color: ${wo.secondaryColor};
|
|
@@ -838,13 +842,13 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
838
842
|
/** Tertiary styles **/
|
|
839
843
|
|
|
840
844
|
.ft-button--tertiary {
|
|
841
|
-
${
|
|
845
|
+
${Oo(er.color,wo.tertiaryIconColor)};
|
|
842
846
|
|
|
843
|
-
${
|
|
844
|
-
${
|
|
845
|
-
${
|
|
846
|
-
${
|
|
847
|
-
${
|
|
847
|
+
${Oo(Zi.color,wo.tertiaryStateLayerColor)};
|
|
848
|
+
${Oo(Zi.opacityContentOnSurfaceHover,wo.tertiaryStateLayerOpacityHover)};
|
|
849
|
+
${Oo(Zi.opacityContentOnSurfaceFocused,wo.tertiaryStateLayerOpacityFocus)};
|
|
850
|
+
${Oo(Zi.opacityContentOnSurfaceSelected,wo.tertiaryStateLayerOpacityActive)};
|
|
851
|
+
${Oo(Zi.opacityContentOnSurfacePressed,wo.tertiaryStateLayerOpacityActive)};
|
|
848
852
|
|
|
849
853
|
background-color: ${wo.tertiaryBackgroundColor};
|
|
850
854
|
color: ${wo.tertiaryColor};
|
|
@@ -862,13 +866,13 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
862
866
|
/** Neutral styles **/
|
|
863
867
|
|
|
864
868
|
.ft-button--neutral {
|
|
865
|
-
${
|
|
869
|
+
${Oo(er.color,wo.neutralIconColor)};
|
|
866
870
|
|
|
867
|
-
${
|
|
868
|
-
${
|
|
869
|
-
${
|
|
870
|
-
${
|
|
871
|
-
${
|
|
871
|
+
${Oo(Zi.backgroundColor,wo.neutralStateLayerColor)};
|
|
872
|
+
${Oo(Zi.opacityContentOnSurfaceHover,wo.neutralStateLayerOpacityHover)};
|
|
873
|
+
${Oo(Zi.opacityContentOnSurfaceFocused,wo.neutralStateLayerOpacityFocus)};
|
|
874
|
+
${Oo(Zi.opacityContentOnSurfaceSelected,wo.neutralStateLayerOpacityActive)};
|
|
875
|
+
${Oo(Zi.opacityContentOnSurfacePressed,wo.neutralStateLayerOpacityActive)};
|
|
872
876
|
|
|
873
877
|
background-color: ${wo.neutralBackgroundColor};
|
|
874
878
|
color: ${wo.neutralColor};
|
|
@@ -886,8 +890,8 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
886
890
|
/** Large styles **/
|
|
887
891
|
|
|
888
892
|
.ft-button--large {
|
|
889
|
-
${
|
|
890
|
-
${
|
|
893
|
+
${Oo(qi.size,wo.largeIconSize)};
|
|
894
|
+
${Oo(er.size,wo.largeIconSize)};
|
|
891
895
|
|
|
892
896
|
height: ${wo.largeHeight};
|
|
893
897
|
padding: 0 ${wo.largeHorizontalPadding};
|
|
@@ -909,8 +913,8 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
909
913
|
/** Small styles **/
|
|
910
914
|
|
|
911
915
|
.ft-button--small {
|
|
912
|
-
${
|
|
913
|
-
${
|
|
916
|
+
${Oo(qi.size,wo.smallIconSize)};
|
|
917
|
+
${Oo(er.size,wo.smallIconSize)};
|
|
914
918
|
|
|
915
919
|
height: ${wo.smallHeight};
|
|
916
920
|
padding: 0 ${wo.smallHorizontalPadding};
|
|
@@ -928,7 +932,7 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
928
932
|
width: ${wo.smallIconOnlyWidth};
|
|
929
933
|
padding: unset;
|
|
930
934
|
}
|
|
931
|
-
`,
|
|
935
|
+
`,Fo];var xr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Or extends yr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?le.caption1medium:le.body2medium}}Or.styles=[Zo,mr],xr([C({type:Boolean})],Or.prototype,"primary",void 0),xr([C({type:Boolean})],Or.prototype,"secondary",void 0),xr([C({type:Boolean})],Or.prototype,"tertiary",void 0),xr([C({type:Boolean})],Or.prototype,"neutral",void 0),xr([C({type:Boolean})],Or.prototype,"small",void 0),k("ft-button")(br),k("ftds-button")(Or);const vr=xo.extend("--ft-chip-color","",Co.colorOnSurface),Nr={backgroundColor:xo.extend("--ft-chip-background-color","",Co.colorSurface),color:vr,fontSize:xo.extend("--ft-chip-font-size","",Pe.fontSize),iconSize:xo.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:xo.extend("--ft-chip-ripple-color","",vr),horizontalPadding:xo.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:xo.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:xo.external(Co.colorOutline,"Design system"),opacityDisabled:xo.external(Co.colorOpacityDisabled,"Design system")},Sr=xo.extend("--ft-chip-highlighted-color","",xo.extend("--ft-chip-color","",Co.colorOnPrimary)),wr={backgroundColor:xo.extend("--ft-chip-highlighted-background-color","",xo.extend("--ft-chip-background-color","",Co.colorPrimary)),color:Sr,rippleColor:xo.extend("--ft-chip-highlighted-ripple-color","",Sr)},Cr=xo.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),$r=xo.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Er=[Fo,bt`
|
|
932
936
|
:host {
|
|
933
937
|
display: inline-block;
|
|
934
938
|
max-width: 100%;
|
|
@@ -944,20 +948,20 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
944
948
|
box-sizing: border-box;
|
|
945
949
|
pointer-events: auto;
|
|
946
950
|
|
|
947
|
-
--ft-chip-internal-font-size: ${
|
|
951
|
+
--ft-chip-internal-font-size: ${Nr.fontSize};
|
|
948
952
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
949
|
-
${
|
|
950
|
-
--ft-chip-internal-vertical-padding: ${
|
|
951
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
953
|
+
${Oo(qi.size,Nr.iconSize)};
|
|
954
|
+
--ft-chip-internal-vertical-padding: ${Nr.verticalPadding};
|
|
955
|
+
--ft-chip-internal-horizontal-padding: ${Nr.horizontalPadding};
|
|
952
956
|
--ft-chip-internal-icon-padding: 3px;
|
|
953
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
957
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Nr.iconSize});
|
|
954
958
|
|
|
955
|
-
border: 1px solid ${
|
|
956
|
-
color: ${
|
|
957
|
-
${
|
|
959
|
+
border: 1px solid ${Nr.colorOutline};
|
|
960
|
+
color: ${Nr.color};
|
|
961
|
+
${Oo(Zi.color,Nr.rippleColor)};
|
|
958
962
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
959
963
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
960
|
-
background-color: ${
|
|
964
|
+
background-color: ${Nr.backgroundColor};
|
|
961
965
|
line-height: var(--ft-chip-internal-content-height);
|
|
962
966
|
}
|
|
963
967
|
|
|
@@ -967,8 +971,8 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
967
971
|
|
|
968
972
|
.ft-chip--dense {
|
|
969
973
|
--ft-chip-internal-icon-padding: 3px;
|
|
970
|
-
--ft-chip-internal-vertical-padding: ${
|
|
971
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
974
|
+
--ft-chip-internal-vertical-padding: ${$r};
|
|
975
|
+
--ft-chip-internal-horizontal-padding: ${Cr};
|
|
972
976
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
973
977
|
}
|
|
974
978
|
|
|
@@ -980,15 +984,15 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
980
984
|
cursor: default;
|
|
981
985
|
pointer-events: none;
|
|
982
986
|
filter: grayscale(1);
|
|
983
|
-
opacity: ${
|
|
987
|
+
opacity: ${Nr.opacityDisabled};
|
|
984
988
|
}
|
|
985
989
|
|
|
986
990
|
.ft-chip--highlighted {
|
|
987
991
|
border: none;
|
|
988
992
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
989
|
-
background-color: ${
|
|
990
|
-
${
|
|
991
|
-
color: ${
|
|
993
|
+
background-color: ${wr.backgroundColor};
|
|
994
|
+
${Oo(Zi.color,wr.rippleColor)};
|
|
995
|
+
color: ${wr.color};
|
|
992
996
|
}
|
|
993
997
|
|
|
994
998
|
.ft-chip--clickable {
|
|
@@ -1018,9 +1022,9 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
1018
1022
|
}
|
|
1019
1023
|
|
|
1020
1024
|
.ft-chip--icon-button {
|
|
1021
|
-
${
|
|
1022
|
-
${
|
|
1023
|
-
${
|
|
1025
|
+
${Oo(nr.iconSize,Nr.iconSize)};
|
|
1026
|
+
${Oo(nr.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1027
|
+
${Oo(nr.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1024
1028
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
1025
1029
|
}
|
|
1026
1030
|
|
|
@@ -1028,8 +1032,8 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
1028
1032
|
vertical-align: bottom;
|
|
1029
1033
|
display: block;
|
|
1030
1034
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
1031
|
-
${
|
|
1032
|
-
${
|
|
1035
|
+
${Oo(Pe.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
1036
|
+
${Oo(Pe.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
1033
1037
|
}
|
|
1034
1038
|
|
|
1035
1039
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -1065,8 +1069,8 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
1065
1069
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1066
1070
|
order: -1;
|
|
1067
1071
|
}
|
|
1068
|
-
`];var
|
|
1069
|
-
<div class="${
|
|
1072
|
+
`];var Rr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ur extends CustomEvent{constructor(){super("icon-click")}}class kr extends zo{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Jo};return Qt`
|
|
1073
|
+
<div class="${Ki(t)}"
|
|
1070
1074
|
aria-label="${this.getLabel()}"
|
|
1071
1075
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
1072
1076
|
@keyup=${this.onKeyUp}>
|
|
@@ -1088,7 +1092,7 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
1088
1092
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
1089
1093
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
1090
1094
|
</div>
|
|
1091
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
1095
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ur))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ur))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}kr.elementDefinitions={"ft-ripple":_i,"ft-typography":vi,"ft-icon":or,"ft-button":br},kr.styles=Er,Rr([C({type:Boolean})],kr.prototype,"highlighted",void 0),Rr([C({type:Boolean})],kr.prototype,"removable",void 0),Rr([C({type:Boolean})],kr.prototype,"disabled",void 0),Rr([C({type:Boolean})],kr.prototype,"clickable",void 0),Rr([C({type:Boolean})],kr.prototype,"iconClickable",void 0),Rr([C({type:Boolean})],kr.prototype,"dense",void 0),Rr([C({type:Boolean})],kr.prototype,"multiLine",void 0),Rr([C()],kr.prototype,"label",void 0),Rr([C()],kr.prototype,"iconLabel",void 0),Rr([C()],kr.prototype,"icon",void 0),Rr([C()],kr.prototype,"iconVariant",void 0),Rr([C({type:Boolean})],kr.prototype,"trailingIcon",void 0),Rr([R("ft-typography slot")],kr.prototype,"slottedContent",void 0),k("ft-chip")(kr);var Ir=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Lr extends ee{constructor(){super(...arguments),this.editorMode=!1}render(){return Qt`
|
|
1092
1096
|
<ft-tooltip text="${this.tooltipText}">
|
|
1093
1097
|
<ft-chip>
|
|
1094
1098
|
${this.renderContent()}
|
|
@@ -1101,4 +1105,4 @@ class _i extends Wi{constructor(t){if(super(t),this.et=X,t.type!==Ii)throw Error
|
|
|
1101
1105
|
display: none !important;
|
|
1102
1106
|
}
|
|
1103
1107
|
</style>
|
|
1104
|
-
`}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}}
|
|
1108
|
+
`}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}}Lr.elementDefinitions={"ft-tooltip":ki,"ft-chip":kr},Lr.styles=qo,Ir([C(),(t,o)=>{const e=t;e.reduxReactiveProperties=e.reduxReactiveProperties||[],e.reduxReactiveProperties.push(o)}],Lr.prototype,"key",void 0),Ir([C({attribute:!1})],Lr.prototype,"editorMode",void 0),Ir([(t=>{const o=null!=t?t:{};return(t,e)=>{var i;const r={hasChanged:(t,o)=>!U(t,o),attribute:!1,...o};C(r)(t,e);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(e,{selector:null!==(i=o.selector)&&void 0!==i?i:t=>t[e],store:o.store})}})({selector:(t,o)=>{var e,i;return null===(i=null===(e=t.map)||void 0===e?void 0:e.metadata)||void 0===i?void 0:i.find((t=>t.key===o.key))}})],Lr.prototype,"metadata",void 0),k("ft-reader-metadata")(Lr),t.FtReaderMetadata=Lr,t.FtReaderMetadataCssVariables={},t.styles=qo}({});
|