@fluid-topics/ft-reader-metadata 1.1.27 → 1.1.29
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.css.js +13 -0
- package/build/ft-reader-metadata.d.ts +14 -1
- package/build/ft-reader-metadata.js +122 -7
- package/build/ft-reader-metadata.light.js +355 -193
- package/build/ft-reader-metadata.min.js +451 -275
- package/package.json +8 -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||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(en){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:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let
|
|
25
|
+
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...f(t),...h(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[m("elementProperties")]=new Map,S[m("finalized")]=new Map,b?.({ReactiveElement:S}),(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
|
|
31
|
+
const N={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=N,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
|
|
@@ -51,48 +51,46 @@ const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,o,
|
|
|
51
51
|
*/;function U(t,o){return(e,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof i?e:r??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return R(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return R(0,0,{get(){return n(this)}})}}
|
|
52
52
|
/**
|
|
53
53
|
* @license
|
|
54
|
-
* Copyright
|
|
54
|
+
* Copyright 2021 Google LLC
|
|
55
55
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
-
*/function I(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!I(t[i],o[i]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;for(i of t.entries())if(!I(i[1],o.get(i[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(r=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(i=e;0!=i--;)if(!Object.prototype.hasOwnProperty.call(o,r[i]))return!1;for(i=e;0!=i--;){var n=r[i];if(!I(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const k=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
|
|
56
|
+
*/function I(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!I(t[i],o[i]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;for(i of t.entries())if(!I(i[1],o.get(i[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(r=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(i=e;0!=i--;)if(!Object.prototype.hasOwnProperty.call(o,r[i]))return!1;for(i=e;0!=i--;){var n=r[i];if(!I(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const k=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function L(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)=>!I(t,o),...null!=o?o:{}})}
|
|
57
57
|
/**
|
|
58
58
|
* @license
|
|
59
59
|
* Copyright 2017 Google LLC
|
|
60
60
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
-
*/
|
|
62
|
-
const W=globalThis,L=W.trustedTypes,z=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,F="?"+Z,D=`<${F}>`,B=document,A=()=>B.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,H="[ \t\n\f\r]",j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,_=/>/g,G=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,V=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),X=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),tt=new WeakMap,ot=B.createTreeWalker(B,129);function et(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==z?z.createHTML(o):o}let it=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=j;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===j?"!--"===l[1]?a=T:void 0!==l[1]?a=_:void 0!==l[2]?(J.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=G):void 0!==l[3]&&(a=G):a===G?">"===l[0]?(a=r??j,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?G:'"'===l[3]?V:Y):a===V||a===Y?a=G:a===T||a===_?a=j:(a=G,r=void 0);const f=a===G&&t[o+1].startsWith("/>")?" ":"";n+=a===j?e+D:c>=0?(i.push(s),e.slice(0,c)+K+e.slice(c)+Z+f):e+Z+(-2===c?o:f)}return[et(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]})(o,e);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(K)){const o=p[a++],e=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?st:"?"===i[1]?lt:"@"===i[1]?ct:at}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(J.test(r.tagName)){const t=r.textContent.split(Z),o=t.length-1;if(o>0){r.textContent=L?L.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],A()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[o],A())}}}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(Z,t+1));)l.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}};function rt(t,o,e=t,i){if(o===X)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=M(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=rt(t,r._$AS(t,o.values),r,i)),o}let nt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=Q,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=rt(this,t,o),M(t)?t===Q||null==t||""===t?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>P(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!==Q&&M(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=it.createElement(et(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);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new nt(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new pt(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.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=tt.get(t.strings);return void 0===o&&tt.set(t.strings,o=new it(t)),o}T(o){P(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(A()),this.k(A()),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))}},at=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=Q,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=Q}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=rt(this,t,o,0),n=!M(t)||t!==this._$AH&&t!==X,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=rt(this,i[e+a],o,a),s===X&&(s=this._$AH[a]),n||=!M(s)||s!==this._$AH[a],s===Q?t=Q:t!==Q&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends at{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Q?void 0:t}},lt=class extends at{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Q)}},ct=class extends at{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=rt(this,t,o,0)??Q)===X)return;const e=this._$AH,i=t===Q&&e!==Q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==Q&&(e===Q||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)}},pt=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){rt(this,t)}};const ft=W.litHtmlPolyfillSupport;ft?.(it,nt),(W.litHtmlVersions??=[]).push("3.1.0");
|
|
61
|
+
*/const W=globalThis,A=W.trustedTypes,K=A?A.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,D="?"+z,B=`<${D}>`,Z=document,M=()=>Z.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,H=t=>T(t)||"function"==typeof t?.[Symbol.iterator],_="[ \t\n\f\r]",j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,V=/>/g,Y=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,q=/"/g,J=/^(?:script|style|textarea|title)$/i,Q=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),tt=Symbol.for("lit-noChange"),ot=Symbol.for("lit-nothing"),et=new WeakMap,it=Z.createTreeWalker(Z,129);function rt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(o):o}const nt=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=j;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===j?"!--"===l[1]?a=G:void 0!==l[1]?a=V:void 0!==l[2]?(J.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===l[0]?(a=r??j,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Y:'"'===l[3]?q:X):a===q||a===X?a=Y:a===G||a===V?a=j:(a=Y,r=void 0);const f=a===Y&&t[o+1].startsWith("/>")?" ":"";n+=a===j?e+B:c>=0?(i.push(s),e.slice(0,c)+F+e.slice(c)+z+f):e+z+(-2===c?o:f)}return[rt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};let at=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]=nt(o,e);if(this.el=t.createElement(c,i),it.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=it.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(F)){const o=p[a++],e=r.getAttribute(t).split(z),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?ft:"?"===i[1]?ht:"@"===i[1]?dt:pt}),r.removeAttribute(t)}else t.startsWith(z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(J.test(r.tagName)){const t=r.textContent.split(z),o=t.length-1;if(o>0){r.textContent=A?A.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],M()),it.nextNode(),l.push({type:2,index:++n});r.append(t[o],M())}}}else if(8===r.nodeType)if(r.data===D)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(z,t+1));)l.push({type:7,index:n}),t+=z.length-1}n++}}static createElement(t,o){const e=Z.createElement("template");return e.innerHTML=t,e}};function st(t,o,e=t,i){if(o===tt)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=P(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=st(t,r._$AS(t,o.values),r,i)),o}let lt=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??Z).importNode(o,!0);it.currentNode=i;let r=it.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new ct(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new ut(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=it.nextNode(),n++)}return it.currentNode=Z,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++}},ct=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=ot,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=st(this,t,o),P(t)?t===ot||null==t||""===t?(this._$AH!==ot&&this._$AR(),this._$AH=ot):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):H(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ot&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(Z.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=at.createElement(rt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new lt(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=et.get(t.strings);return void 0===o&&et.set(t.strings,o=new at(t)),o}T(o){T(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))}},pt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=ot,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=ot}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=st(this,t,o,0),n=!P(t)||t!==this._$AH&&t!==tt,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=st(this,i[e+a],o,a),s===tt&&(s=this._$AH[a]),n||=!P(s)||s!==this._$AH[a],s===ot?t=ot:t!==ot&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ot?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends pt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ot?void 0:t}},ht=class extends pt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ot)}},dt=class extends pt{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=st(this,t,o,0)??ot)===tt)return;const e=this._$AH,i=t===ot&&e!==ot||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==ot&&(e===ot||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)}},ut=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){st(this,t)}};const yt={j:F,P:z,A:D,C:1,M:nt,L:lt,R:H,V:st,D:ct,I:pt,H:ht,N:dt,U:ft,B:ut},gt=W.litHtmlPolyfillSupport;gt?.(at,ct),(W.litHtmlVersions??=[]).push("3.1.0");
|
|
63
62
|
/**
|
|
64
63
|
* @license
|
|
65
64
|
* Copyright 2019 Google LLC
|
|
66
65
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
66
|
*/
|
|
68
|
-
const
|
|
67
|
+
const bt=globalThis,mt=bt.ShadowRoot&&(void 0===bt.ShadyCSS||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xt=Symbol(),vt=new WeakMap;let Ot=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==xt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(mt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=vt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&vt.set(o,t))}return t}toString(){return this.cssText}};const St=t=>new Ot("string"==typeof t?t:t+"",void 0,xt),Nt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,i)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[i+1]),t[0]);return new Ot(e,t,xt)},wt=mt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return St(o)})(t):t
|
|
69
68
|
/**
|
|
70
69
|
* @license
|
|
71
70
|
* Copyright 2017 Google LLC
|
|
72
71
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
-
*/,{is:
|
|
72
|
+
*/,{is:Ct,defineProperty:$t,getOwnPropertyDescriptor:Et,getOwnPropertyNames:Rt,getOwnPropertySymbols:Ut,getPrototypeOf:It}=Object,kt=globalThis,Lt=kt.trustedTypes,Wt=Lt?Lt.emptyScript:"",At=kt.reactiveElementPolyfillSupport,Kt=(t,o)=>t,Ft={toAttribute(t,o){switch(o){case Boolean:t=t?Wt: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}},zt=(t,o)=>!Ct(t,o),Dt={attribute:!0,type:String,converter:Ft,reflect:!1,hasChanged:zt};Symbol.metadata??=Symbol("metadata"),kt.litPropertyMetadata??=new WeakMap;class Bt 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=Dt){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&&$t(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=Et(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)??Dt}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=It(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,o=[...Rt(t),...Ut(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(wt(t))}else void 0!==t&&o.push(wt(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(mt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=bt.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:Ft).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:Ft;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??zt)(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){}}Bt.elementStyles=[],Bt.shadowRootOptions={mode:"open"},Bt[Kt("elementProperties")]=new Map,Bt[Kt("finalized")]=new Map,At?.({ReactiveElement:Bt}),(kt.reactiveElementVersions??=[]).push("2.0.2");
|
|
74
73
|
/**
|
|
75
74
|
* @license
|
|
76
75
|
* Copyright 2017 Google LLC
|
|
77
76
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
77
|
*/
|
|
79
|
-
const
|
|
78
|
+
const Zt=globalThis,Mt=Zt.trustedTypes,Pt=Mt?Mt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Tt="$lit$",Ht=`lit$${(Math.random()+"").slice(9)}$`,_t="?"+Ht,jt=`<${_t}>`,Gt=document,Vt=()=>Gt.createComment(""),Yt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Xt=Array.isArray,qt="[ \t\n\f\r]",Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qt=/-->/g,to=/>/g,oo=RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),eo=/'/g,io=/"/g,ro=/^(?:script|style|textarea|title)$/i,no=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ao=Symbol.for("lit-noChange"),so=Symbol.for("lit-nothing"),lo=new WeakMap,co=Gt.createTreeWalker(Gt,129);function po(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Pt?Pt.createHTML(o):o}const fo=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Jt;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===Jt?"!--"===l[1]?a=Qt:void 0!==l[1]?a=to:void 0!==l[2]?(ro.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=oo):void 0!==l[3]&&(a=oo):a===oo?">"===l[0]?(a=r??Jt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?oo:'"'===l[3]?io:eo):a===io||a===eo?a=oo:a===Qt||a===to?a=Jt:(a=oo,r=void 0);const f=a===oo&&t[o+1].startsWith("/>")?" ":"";n+=a===Jt?e+jt:c>=0?(i.push(s),e.slice(0,c)+Tt+e.slice(c)+Ht+f):e+Ht+(-2===c?o:f)}return[po(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class ho{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]=fo(t,o);if(this.el=ho.createElement(l,e),co.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=co.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Tt)){const o=c[n++],e=i.getAttribute(t).split(Ht),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?bo:"?"===a[1]?mo:"@"===a[1]?xo:go}),i.removeAttribute(t)}else t.startsWith(Ht)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(ro.test(i.tagName)){const t=i.textContent.split(Ht),o=t.length-1;if(o>0){i.textContent=Mt?Mt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Vt()),co.nextNode(),s.push({type:2,index:++r});i.append(t[o],Vt())}}}else if(8===i.nodeType)if(i.data===_t)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Ht,t+1));)s.push({type:7,index:r}),t+=Ht.length-1}r++}}static createElement(t,o){const e=Gt.createElement("template");return e.innerHTML=t,e}}function uo(t,o,e=t,i){if(o===ao)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Yt(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=uo(t,r._$AS(t,o.values),r,i)),o}class yo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=so,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=uo(this,t,o),Yt(t)?t===so||null==t||""===t?(this._$AH!==so&&this._$AR(),this._$AH=so):t!==this._$AH&&t!==ao&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Xt(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!==so&&Yt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Gt.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=ho.createElement(po(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??Gt).importNode(o,!0);co.currentNode=i;let r=co.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new yo(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new vo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=co.nextNode(),n++)}return co.currentNode=Gt,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=lo.get(t.strings);return void 0===o&&lo.set(t.strings,o=new ho(t)),o}T(t){Xt(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 yo(this.k(Vt()),this.k(Vt()),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 go{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=so,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=so}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=uo(this,t,o,0),n=!Yt(t)||t!==this._$AH&&t!==ao,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=uo(this,i[e+a],o,a),s===ao&&(s=this._$AH[a]),n||=!Yt(s)||s!==this._$AH[a],s===so?t=so:t!==so&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===so?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class bo extends go{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===so?void 0:t}}class mo extends go{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==so)}}class xo extends go{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=uo(this,t,o,0)??so)===ao)return;const e=this._$AH,i=t===so&&e!==so||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==so&&(e===so||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 vo{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){uo(this,t)}}const Oo=Zt.litHtmlPolyfillSupport;Oo?.(ho,yo),(Zt.litHtmlVersions??=[]).push("3.1.0");
|
|
80
79
|
/**
|
|
81
80
|
* @license
|
|
82
81
|
* Copyright 2017 Google LLC
|
|
83
82
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
83
|
*/
|
|
85
|
-
class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new co(o.insertBefore(Ht(),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 oo}}bo._$litElement$=!0,bo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:bo});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:bo}),(globalThis.litElementVersions??=[]).push("4.0.2");const xo=t=>"string"==typeof t?bt(t):t;class vo{static create(t,o,e,i){const r=t=>xo(null!=t?t:i),n=mt`var(${xo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>mt`var(${xo(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=mt`var(${xo(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=>mt`var(${xo(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):xo(null!=o?o:t.lastResortDefaultValue()),i=mt`var(${xo(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=>mt`var(${xo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Oo(t,o){return xo(`${t.name}: ${o}`)}const No={colorWhite:vo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:vo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:vo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:vo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:vo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:vo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:vo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:vo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:vo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:vo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:vo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:vo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:vo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:vo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:vo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:vo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:vo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:vo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:vo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:vo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:vo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:vo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:vo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:vo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:vo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:vo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:vo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:vo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:vo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:vo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:vo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:vo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:vo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:vo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:vo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:vo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:vo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:vo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:vo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:vo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:vo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:vo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:vo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:vo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:vo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:vo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:vo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:vo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:vo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:vo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:vo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:vo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:vo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:vo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:vo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:vo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:vo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:vo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:vo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:vo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:vo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:vo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:vo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:vo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:vo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:vo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:vo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:vo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:vo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:vo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:vo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:vo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:vo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:vo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:vo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:vo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:vo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:vo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:vo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:vo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:vo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:vo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:vo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:vo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:vo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:vo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:vo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:vo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:vo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:vo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:vo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:vo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:vo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:vo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:vo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:vo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:vo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:vo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:vo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:vo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:vo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:vo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:vo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:vo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:vo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:vo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:vo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:vo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:vo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:vo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:vo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:vo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:vo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:vo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:vo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:vo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:vo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:vo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:vo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:vo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:vo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:vo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:vo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:vo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:vo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:vo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:vo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:vo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:vo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:vo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:vo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:vo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:vo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:vo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:vo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:vo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:vo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:vo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:vo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:vo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:vo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:vo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:vo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:vo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:vo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:vo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:vo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:vo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:vo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:vo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:vo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:vo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:vo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:vo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:vo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:vo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:vo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:vo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:vo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:vo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:vo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:vo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:vo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:vo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:vo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:vo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:vo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:vo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:vo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:vo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:vo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:vo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:vo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:vo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:vo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:vo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:vo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:vo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:vo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:vo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:vo.create("--ft-opacity-0","","NUMBER","0"),opacity8:vo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:vo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:vo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:vo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:vo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:vo.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:vo.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:vo.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:vo.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:vo.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:vo.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:vo.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:vo.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:vo.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},So={display:{fontFamily:vo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:vo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:vo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:vo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:vo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:vo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:vo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:vo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:vo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:vo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:vo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:vo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:vo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:vo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:vo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:vo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:vo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:vo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:vo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:vo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:vo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:vo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:vo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:vo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:vo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:vo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:vo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:vo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:vo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:vo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:vo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:vo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:vo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:vo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:vo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},wo={backgroundActionPrimary:vo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",No.colorBrand0),backgroundErrorPrimary:vo.extend("--ft-background-error-primary","Used as background of error components.",No.colorRed0),backgroundErrorSubtle:vo.extend("--ft-background-error-subtle","Used as background of subtle error components.",No.colorRed10),backgroundInfoPrimary:vo.extend("--ft-background-info-primary","Used as background of information components.",No.colorCyan200),backgroundInfoSubtle:vo.extend("--ft-background-info-subtle","Used as background of subtle information components.",No.colorCyan10),backgroundWarningPrimary:vo.extend("--ft-background-warning-primary","Used as background of warning components.",No.colorOrange300),backgroundWarningSubtle:vo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",No.colorOrange10),backgroundSuccessPrimary:vo.extend("--ft-background-success-primary","Used as background of success components.",No.colorGreen200),backgroundSuccessSubtle:vo.extend("--ft-background-success-subtle","Used as background of subtle success components.",No.colorGreen10),backgroundGlobalSurface:vo.extend("--ft-background-global-surface","Used as app background.",No.colorWhite),backgroundGlobalOnSurface:vo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",No.colorGray10),backgroundGlobalOnSurfaceDark:vo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",No.colorGray30),contentActionPrimary:vo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",No.colorBrand0),contentWarningPrimary:vo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",No.colorOrange300),contentWarningIconOnly:vo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",No.colorOrange0),contentErrorPrimary:vo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",No.colorRed0),contentErrorIconOnly:vo.extend("--ft-content-error-icon-only","Used on error status icons alone",No.colorRed0),contentInfoPrimary:vo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",No.colorCyan200),contentInfoIconOnly:vo.extend("--ft-content-info-icon-only","Used on info status icons alone",No.colorCyan0),contentSuccessPrimary:vo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",No.colorGreen200),contentSuccessIconOnly:vo.extend("--ft-content-success-icon-only","Used on success status icons alone",No.colorGreen0),contentGlobalPrimary:vo.extend("--ft-content-global-primary","Used for main content on the page.",No.colorGray500),contentGlobalSecondary:vo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",No.colorGray200),contentGlobalSubtle:vo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",No.colorGray0),contentGlobalOnColor:vo.extend("--ft-content-global-on-color","Used for content on a dominant color.",No.colorWhite),borderActionPrimary:vo.extend("--ft-border-action-primary","Used as border for primary action components.",No.colorBrand0),borderActionFocusRing:vo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",No.colorCyan0),borderWarningPrimary:vo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",No.colorOrange300),borderWarningSubtle:vo.extend("--ft-border-warning-subtle","Used as border for warning components.",No.colorOrange30),borderSuccessPrimary:vo.extend("--ft-border-success-primary","Used as border for success buttons.",No.colorGreen200),borderSuccessSubtle:vo.extend("--ft-border-success-subtle","Used as border for success components.",No.colorGreen30),borderErrorPrimary:vo.extend("--ft-border-error-primary","Used as border for text fields in error states.",No.colorRed0),borderErrorSubtle:vo.extend("--ft-border-error-subtle","Used as border for error components.",No.colorRed30),borderInfoPrimary:vo.extend("--ft-border-info-primary","Used as border for buttons in info color.",No.colorCyan200),borderInfoSubtle:vo.extend("--ft-border-info-subtle","Used as border for information components.",No.colorCyan30),borderGlobalPrimary:vo.extend("--ft-border-global-primary","Used as border for element like input.",No.colorGray50),borderGlobalSubtle:vo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",No.colorGray30),borderInputPrimary:vo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",No.colorGray80)},Co={largeHeight:vo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:vo.extend("--ft-button-large-horizontal-padding","",No.spacing4),largeGap:vo.extend("--ft-button-large-gap","",No.spacing2),largeBorderRadius:vo.extend("--ft-button-large-border-radius","",No.borderRadiusS),largeIconSize:vo.extend("--ft-button-large-icon-size","",No.iconSize3),largeBorderWidth:vo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:vo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:vo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:vo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:vo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:vo.extend("--ft-button-small-horizontal-padding","",No.spacing3),smallGap:vo.extend("--ft-button-small-gap","",No.spacing2),smallBorderRadius:vo.extend("--ft-button-small-border-radius","",No.borderRadiusS),smallIconSize:vo.extend("--ft-button-small-icon-size","",No.iconSize2),smallBorderWidth:vo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:vo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:vo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:vo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:vo.extend("--ft-button-primary-background-color","",wo.backgroundActionPrimary),primaryColor:vo.extend("--ft-button-primary-color","",wo.contentGlobalOnColor),primaryIconColor:vo.extend("--ft-button-primary-icon-color","",wo.contentGlobalOnColor),primaryStateLayerColor:vo.extend("--ft-button-primary-state-layer-color","",wo.contentGlobalOnColor),primaryStateLayerOpacityHover:vo.extend("--ft-button-primary-state-layer-opacity-hover","",No.opacity16),primaryStateLayerOpacityFocus:vo.extend("--ft-button-primary-state-layer-opacity-focus","",No.opacity16),primaryStateLayerOpacityActive:vo.extend("--ft-button-primary-state-layer-opacity-active","",No.opacity24),primaryComponentOpacityDisabled:vo.extend("--ft-button-primary-component-opacity-disabled","",No.opacity40),focusFocusRingColor:vo.extend("--ft-button-focus-focus-ring-color","",wo.borderActionFocusRing),tertiaryBackgroundColor:vo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:vo.extend("--ft-button-tertiary-color","",wo.contentActionPrimary),tertiaryIconColor:vo.extend("--ft-button-tertiary-icon-color","",wo.contentActionPrimary),tertiaryStateLayerColor:vo.extend("--ft-button-tertiary-state-layer-color","",wo.contentActionPrimary),tertiaryStateLayerOpacityHover:vo.extend("--ft-button-tertiary-state-layer-opacity-hover","",No.opacity8),tertiaryStateLayerOpacityFocus:vo.extend("--ft-button-tertiary-state-layer-opacity-focus","",No.opacity8),tertiaryStateLayerOpacityActive:vo.extend("--ft-button-tertiary-state-layer-opacity-active","",No.opacity16),tertiaryComponentOpacityDisabled:vo.extend("--ft-button-tertiary-component-opacity-disabled","",No.opacity40),secondaryBackgroundColor:vo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:vo.extend("--ft-button-secondary-color","",wo.contentActionPrimary),secondaryIconColor:vo.extend("--ft-button-secondary-icon-color","",wo.contentActionPrimary),secondaryStateLayerColor:vo.extend("--ft-button-secondary-state-layer-color","",wo.contentActionPrimary),secondaryStateLayerOpacityHover:vo.extend("--ft-button-secondary-state-layer-opacity-hover","",No.opacity8),secondaryStateLayerOpacityFocus:vo.extend("--ft-button-secondary-state-layer-opacity-focus","",No.opacity8),secondaryStateLayerOpacityActive:vo.extend("--ft-button-secondary-state-layer-opacity-active","",No.opacity16),secondaryComponentOpacityDisabled:vo.extend("--ft-button-secondary-component-opacity-disabled","",No.opacity40),secondaryBorderColor:vo.extend("--ft-button-secondary-border-color","",wo.borderActionPrimary),neutralBackgroundColor:vo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:vo.extend("--ft-button-neutral-icon-color","",wo.contentGlobalSecondary),neutralColor:vo.extend("--ft-button-neutral-color","",wo.contentGlobalSecondary),neutralStateLayerColor:vo.extend("--ft-button-neutral-state-layer-color","",wo.contentGlobalSecondary),neutralStateLayerOpacityHover:vo.extend("--ft-button-neutral-state-layer-opacity-hover","",No.opacity8),neutralStateLayerOpacityFocus:vo.extend("--ft-button-neutral-state-layer-opacity-focus","",No.opacity8),neutralStateLayerOpacityActive:vo.extend("--ft-button-neutral-state-layer-opacity-active","",No.opacity16),neutralComponentOpacityDisabled:vo.extend("--ft-button-neutral-component-opacity-disabled","",No.opacity40)};vo.extend("--ft-floating-menu-horizontal-padding","",No.spacing4),vo.extend("--ft-floating-menu-vertical-padding","",No.spacing4),vo.extend("--ft-floating-menu-off-icon-color","",wo.contentGlobalPrimary),vo.extend("--ft-floating-menu-off-color","",wo.contentGlobalPrimary),vo.extend("--ft-floating-menu-on-color","",wo.contentActionPrimary),vo.extend("--ft-floating-menu-on-icon-color","",wo.contentActionPrimary),vo.extend("--ft-floating-menu-on-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-floating-menu-gap","",No.spacing3),vo.extend("--ft-floating-menu-focus-focus-ring-color","",wo.borderActionFocusRing),vo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),vo.extend("--ft-floating-menu-state-layer-opacity-hover","",No.opacity8),vo.extend("--ft-floating-menu-state-layer-opacity-active","",No.opacity16),vo.extend("--ft-floating-menu-state-layer-opacity-focus","",No.opacity8),vo.extend("--ft-floating-menu-component-opacity-disabled","",No.opacity40),vo.extend("--ft-floating-menu-icon-size","",No.iconSize3),vo.extend("--ft-floating-menu-background-color","",wo.backgroundGlobalOnSurface),vo.extend("--ft-tabs-top-left-border-radius","",No.borderRadiusS),vo.extend("--ft-tabs-top-right-border-radius","",No.borderRadiusS),vo.extend("--ft-tabs-label-horizontal-padding","",No.spacing4),vo.extend("--ft-tabs-label-vertical-padding","",No.spacing3),vo.extend("--ft-tabs-label-gap","",No.spacing1),vo.extend("--ft-tabs-icon-horizontal-padding","",No.spacing1),vo.extend("--ft-tabs-icon-vertical-padding","",No.spacing4),vo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),vo.extend("--ft-tabs-focus-focus-ring-color","",wo.borderActionFocusRing),vo.extend("--ft-tabs-off-state-layer-opacity-hover","",No.opacity8),vo.extend("--ft-tabs-off-state-layer-opacity-focus","",No.opacity8),vo.extend("--ft-tabs-off-state-layer-opacity-active","",No.opacity16),vo.extend("--ft-tabs-off-component-opacity-disabled","",No.opacity40),vo.extend("--ft-tabs-off-color","",wo.contentGlobalSubtle),vo.extend("--ft-tabs-off-state-layer-color","",wo.contentGlobalSubtle),vo.extend("--ft-tabs-on-state-layer-opacity-hover","",No.opacity8),vo.extend("--ft-tabs-on-state-layer-opacity-focus","",No.opacity8),vo.extend("--ft-tabs-on-state-layer-opacity-active","",No.opacity16),vo.extend("--ft-tabs-on-component-opacity-disabled","",No.opacity40),vo.extend("--ft-tabs-on-color","",wo.contentActionPrimary),vo.extend("--ft-tabs-on-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-collapsible-state-layer-opacity-hover","",No.opacity8),vo.extend("--ft-collapsible-state-layer-opacity-focus","",No.opacity8),vo.extend("--ft-collapsible-state-layer-opacity-active","",No.opacity16),vo.extend("--ft-collapsible-component-opacity-disabled","",No.opacity40),vo.extend("--ft-collapsible-horizontal-padding","",No.spacing4),vo.extend("--ft-collapsible-vertical-padding","",No.spacing3),vo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),vo.extend("--ft-collapsible-focus-focus-ring-color","",wo.borderActionFocusRing),vo.extend("--ft-collapsible-color","",wo.contentGlobalPrimary),vo.extend("--ft-collapsible-state-layer-color","",wo.contentGlobalPrimary),vo.extend("--ft-collapsible-background-color","",wo.backgroundGlobalOnSurface),vo.extend("--ft-collapsible-border-color","",wo.borderGlobalSubtle),vo.extend("--ft-collapsible-icon-size","",No.iconSize3),vo.extend("--ft-switch-group-horizontal-padding","",No.spacing1),vo.extend("--ft-switch-group-vertical-padding","",No.spacing1),vo.extend("--ft-switch-group-gap","",No.spacing1),vo.extend("--ft-switch-group-background-color","",wo.backgroundGlobalSurface),vo.extend("--ft-switch-group-border-color","",wo.borderGlobalSubtle),vo.create("--ft-switch-group-border-radius","","SIZE","6px"),vo.extend("--ft-switch-label-horizontal-padding","",No.spacing2),vo.extend("--ft-switch-label-vertical-padding","",No.spacing1),vo.extend("--ft-switch-icon-horizontal-padding","",No.spacing1),vo.extend("--ft-switch-icon-vertical-padding","",No.spacing1),vo.create("--ft-switch-focus-outline-width","","SIZE","2px"),vo.extend("--ft-switch-focus-focus-ring-color","",wo.borderActionFocusRing),vo.extend("--ft-switch-option-border-radius","",No.borderRadiusS),vo.extend("--ft-switch-off-state-layer-opacity-hover","",No.opacity8),vo.extend("--ft-switch-off-state-layer-opacity-focus","",No.opacity8),vo.extend("--ft-switch-off-state-layer-opacity-active","",No.opacity16),vo.extend("--ft-switch-off-component-opacity-disabled","",No.opacity40),vo.extend("--ft-switch-off-color","",wo.contentGlobalSubtle),vo.extend("--ft-switch-off-state-layer-color","",wo.contentGlobalSubtle),vo.extend("--ft-switch-on-state-layer-opacity-hover","",No.opacity8),vo.extend("--ft-switch-on-state-layer-opacity-focus","",No.opacity8),vo.extend("--ft-switch-on-state-layer-opacity-active","",No.opacity16),vo.extend("--ft-switch-on-component-opacity-disabled","",No.opacity40),vo.extend("--ft-switch-on-color","",wo.contentActionPrimary),vo.extend("--ft-switch-on-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-chart-1-light","for area color charts",No.colorBrand40),vo.extend("--ft-chart-1-base","for line charts",No.colorBrand0),vo.extend("--ft-chart-2-light","for area color charts",No.colorYellow60),vo.extend("--ft-chart-2-base","for line charts",No.colorYellow100),vo.extend("--ft-chart-3-light","",No.colorUltramarine40),vo.extend("--ft-chart-3-base","",No.colorUltramarine70),vo.extend("--ft-chart-4-light","",No.colorCyan50),vo.extend("--ft-chart-4-base","",No.colorCyan100),vo.extend("--ft-chart-5-light","",No.colorRed40),vo.extend("--ft-chart-5-base","",No.colorRed60),vo.extend("--ft-chart-6-light","",No.colorGreen40),vo.extend("--ft-chart-6-base","",No.colorGreen70),vo.extend("--ft-chart-7-light","",No.colorOrange70),vo.extend("--ft-chart-7-base","",No.colorOrange100),vo.extend("--ft-chart-8-light","",No.colorAvocado70),vo.extend("--ft-chart-8-base","",No.colorAvocado200),vo.extend("--ft-chart-9-light","",No.colorBrown50),vo.extend("--ft-chart-9-base","",No.colorBrown200),vo.extend("--ft-chart-10-light","",No.colorGray50),vo.extend("--ft-chart-10-base","",No.colorGray80),vo.extend("--ft-chart-monochrome-10","",No.colorBrand10),vo.extend("--ft-chart-monochrome-20","",No.colorBrand20),vo.extend("--ft-chart-monochrome-30","",No.colorBrand40),vo.extend("--ft-chart-monochrome-40","",No.colorBrand60),vo.extend("--ft-chart-monochrome-50","",No.colorBrand0),vo.extend("--ft-chart-monochrome-60","",No.colorBrand200),vo.extend("--ft-chip-large-horizontal-padding","",No.spacing4),vo.extend("--ft-chip-large-vertical-padding","",No.spacing2),vo.extend("--ft-chip-large-gap","",No.spacing1),vo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-large-border-radius","",No.borderRadiusPill),vo.create("--ft-chip-large-border-width","","SIZE","1px"),vo.extend("--ft-chip-large-icon-size","",No.iconSize3),vo.extend("--ft-chip-medium-horizontal-padding","",No.spacing3),vo.extend("--ft-chip-medium-vertical-padding","",No.spacing1),vo.extend("--ft-chip-medium-gap","",No.spacing1),vo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-medium-border-radius","",No.borderRadiusPill),vo.create("--ft-chip-medium-border-width","","SIZE","1px"),vo.extend("--ft-chip-medium-icon-size","",No.iconSize2),vo.extend("--ft-chip-small-horizontal-padding","",No.spacing2),vo.extend("--ft-chip-small-vertical-padding","",No.spacing05),vo.extend("--ft-chip-small-gap","",No.spacing1),vo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-small-border-radius","",No.borderRadiusPill),vo.create("--ft-chip-small-border-width","","SIZE","1px"),vo.extend("--ft-chip-small-icon-size","",No.iconSize1),vo.extend("--ft-chip-neutral-background-color","",wo.backgroundGlobalOnSurface),vo.extend("--ft-chip-neutral-color","",wo.contentGlobalPrimary),vo.extend("--ft-chip-neutral-border-color","",wo.borderGlobalSubtle),vo.extend("--ft-chip-info-background-color","",wo.backgroundInfoSubtle),vo.extend("--ft-chip-info-color","",wo.contentInfoPrimary),vo.extend("--ft-chip-info-border-color","",wo.borderInfoSubtle),vo.extend("--ft-chip-success-background-color","",wo.backgroundSuccessSubtle),vo.extend("--ft-chip-success-color","",wo.contentSuccessPrimary),vo.extend("--ft-chip-success-border-color","",wo.borderSuccessSubtle),vo.extend("--ft-chip-warning-background-color","",wo.backgroundWarningSubtle),vo.extend("--ft-chip-warning-color","",wo.contentWarningPrimary),vo.extend("--ft-chip-warning-border-color","",wo.borderWarningSubtle),vo.extend("--ft-chip-error-background-color","",wo.backgroundErrorSubtle),vo.extend("--ft-chip-error-color","",wo.contentErrorPrimary),vo.extend("--ft-chip-error-border-color","",wo.borderErrorSubtle),vo.create("--ft-notice-border-width","","SIZE","1px"),vo.extend("--ft-notice-horizontal-padding","",No.spacing2),vo.extend("--ft-notice-vertical-padding","",No.spacing1),vo.extend("--ft-notice-border-radius","",No.borderRadiusS),vo.extend("--ft-notice-gap","",No.spacing2),vo.extend("--ft-notice-icon-size","",No.iconSize3),vo.extend("--ft-notice-info-background-color","",wo.backgroundInfoSubtle),vo.extend("--ft-notice-info-border-color","",wo.borderInfoSubtle),vo.extend("--ft-notice-info-color","",wo.contentInfoPrimary),vo.extend("--ft-notice-warning-background-color","",wo.backgroundWarningSubtle),vo.extend("--ft-notice-warning-border-color","",wo.borderWarningSubtle),vo.extend("--ft-notice-warning-color","",wo.contentWarningPrimary),vo.extend("--ft-checkbox-label-color","",wo.contentGlobalPrimary),vo.extend("--ft-checkbox-checked-background-color","",wo.contentActionPrimary),vo.extend("--ft-checkbox-checked-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-checkbox-checked-color","",wo.contentGlobalOnColor),vo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",No.opacity16),vo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",No.opacity16),vo.extend("--ft-checkbox-checked-state-layer-opacity-active","",No.opacity24),vo.extend("--ft-checkbox-checked-component-opacity-disabled","",No.opacity40),vo.extend("--ft-checkbox-unchecked-border-color","",No.colorGray80),vo.extend("--ft-checkbox-unchecked-state-layer-color","",No.colorGray80),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",No.opacity16),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",No.opacity16),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",No.opacity24),vo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",No.opacity40),vo.extend("--ft-checkbox-focus-focus-ring-color","",wo.borderActionFocusRing),vo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),vo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),vo.extend("--ft-checkbox-gap","",No.spacing3),vo.extend("--ft-toggle-off-state-layer-opacity-hover","",No.opacity16),vo.extend("--ft-toggle-off-state-layer-opacity-focus","",No.opacity16),vo.extend("--ft-toggle-off-state-layer-opacity-active","",No.opacity24),vo.extend("--ft-toggle-off-component-opacity-disabled","",No.opacity40),vo.extend("--ft-toggle-off-background-color","",wo.contentGlobalSubtle),vo.extend("--ft-toggle-off-icon-color","",wo.contentGlobalSubtle),vo.extend("--ft-toggle-off-state-layer-color","",wo.contentGlobalSubtle),vo.extend("--ft-toggle-on-state-layer-opacity-hover","",No.opacity16),vo.extend("--ft-toggle-on-state-layer-opacity-focus","",No.opacity16),vo.extend("--ft-toggle-on-state-layer-opacity-active","",No.opacity24),vo.extend("--ft-toggle-on-component-opacity-disabled","",No.opacity40),vo.extend("--ft-toggle-on-background-color","",wo.contentActionPrimary),vo.extend("--ft-toggle-on-icon-color","",wo.contentActionPrimary),vo.extend("--ft-toggle-on-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-toggle-label-color","",wo.contentGlobalPrimary),vo.extend("--ft-toggle-focus-focus-ring-color","",wo.borderActionFocusRing),vo.extend("--ft-toggle-gap","",No.spacing3),vo.extend("--ft-radio-label-color","",wo.contentGlobalPrimary),vo.extend("--ft-radio-selected-color","",wo.contentActionPrimary),vo.extend("--ft-radio-selected-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-radio-selected-state-layer-opacity-hover","",No.opacity16),vo.extend("--ft-radio-selected-state-layer-opacity-focus","",No.opacity16),vo.extend("--ft-radio-selected-state-layer-opacity-active","",No.opacity24),vo.extend("--ft-radio-selected-component-opacity-disabled","",No.opacity40),vo.extend("--ft-radio-unselected-state-layer-color","",No.colorGray80),vo.extend("--ft-radio-unselected-state-layer-opacity-hover","",No.opacity16),vo.extend("--ft-radio-unselected-state-layer-opacity-focus","",No.opacity16),vo.extend("--ft-radio-unselected-state-layer-opacity-active","",No.opacity24),vo.extend("--ft-radio-unselected-component-opacity-disabled","",No.opacity40),vo.extend("--ft-radio-focus-focus-ring-color","",wo.borderActionFocusRing),vo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),vo.create("--ft-radio-focus-outline-width","","SIZE","2px"),vo.extend("--ft-radio-gap","",No.spacing3),vo.extend("--ft-notification-icon-size","",No.iconSize4),vo.extend("--ft-notification-horizontal-padding","",No.spacing4),vo.extend("--ft-notification-vertical-padding","",No.spacing4),vo.extend("--ft-notification-info-background-color","",wo.backgroundInfoSubtle),vo.extend("--ft-notification-info-color","",wo.contentInfoPrimary),vo.extend("--ft-notification-info-border-color","",wo.borderInfoSubtle),vo.extend("--ft-notification-success-background-color","",wo.backgroundSuccessSubtle),vo.extend("--ft-notification-success-color","",wo.contentSuccessPrimary),vo.extend("--ft-notification-success-border-color","",wo.borderSuccessSubtle),vo.extend("--ft-notification-warning-background-color","",wo.backgroundWarningSubtle),vo.extend("--ft-notification-warning-color","",wo.contentWarningPrimary),vo.extend("--ft-notification-warning-border-color","",wo.borderWarningSubtle),vo.extend("--ft-notification-error-background-color","",wo.backgroundErrorSubtle),vo.extend("--ft-notification-error-color","",wo.contentErrorPrimary),vo.extend("--ft-notification-error-border-color","",wo.borderErrorSubtle),vo.extend("--ft-notification-border-radius","",No.borderRadiusPill),vo.create("--ft-notification-border-width","","SIZE","1px"),vo.extend("--ft-notification-gap-leading","",No.spacing2),vo.extend("--ft-notification-gap-trailing","",No.spacing8),vo.extend("--ft-tooltip-horizontal-padding","",No.spacing2),vo.extend("--ft-tooltip-vertical-padding","",No.spacing2),vo.extend("--ft-tooltip-border-radius","",No.borderRadiusS),vo.extend("--ft-tooltip-label","",wo.contentGlobalOnColor),vo.extend("--ft-tooltip-background","",wo.contentGlobalPrimary),vo.extend("--ft-tooltip-background-opacity","",No.opacity80),vo.extend("--ft-tooltip-shadow","",No.shadowElevation03);const $o={colorPrimary:vo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:vo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:vo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:vo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:vo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:vo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:vo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:vo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:vo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:vo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:vo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:vo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:vo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:vo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:vo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:vo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:vo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:vo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:vo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:vo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:vo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:vo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:vo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:vo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:vo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:vo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:vo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:vo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:vo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:vo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:vo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:vo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:vo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:vo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:vo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:vo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:vo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:vo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:vo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:vo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:vo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:vo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:vo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:vo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:vo.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:vo.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:vo.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:vo.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:vo.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:vo.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:vo.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:vo.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:vo.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:vo.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:vo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:vo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:vo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:vo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:vo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:vo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:vo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:vo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Eo=["start","end"],Ro=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Eo[0],o+"-"+Eo[1])),[]),Uo=Math.min,Io=Math.max,ko=Math.round,Wo=t=>({x:t,y:t}),Lo={left:"right",right:"left",bottom:"top",top:"bottom"},zo={start:"end",end:"start"};function Ko(t,o,e){return Io(t,Uo(o,e))}function Zo(t,o){return"function"==typeof t?t(o):t}function Fo(t){return t.split("-")[0]}function Do(t){return t.split("-")[1]}function Bo(t){return"x"===t?"y":"x"}function Ao(t){return"y"===t?"height":"width"}function Mo(t){return["top","bottom"].includes(Fo(t))?"y":"x"}function Po(t){return Bo(Mo(t))}function Ho(t){return t.replace(/left|right|bottom|top/g,(t=>Lo[t]))}function jo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function To(t,o,e){let{reference:i,floating:r}=t;const n=Mo(o),a=Po(o),s=Ao(a),l=Fo(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Do(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function _o(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Zo(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=jo(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=jo(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Go(t,o,e){return(t?[...e.filter((o=>Do(o)===t)),...e.filter((o=>Do(o)!==t))]:e.filter((t=>Fo(t)===t))).filter((e=>!t||(Do(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>zo[t]))}(e)!==e)))}const Yo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Ro,autoAlignment:d=!0,...u}=Zo(t,o),y=void 0!==f||h===Ro?Go(f||null,d,h):h,g=await _o(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Do(t),r=Po(t),n=Ao(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Ho(a)),[a,Ho(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Fo(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=Do(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,Do(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Vo(t){return Xo(t)?(t.nodeName||"").toLowerCase():"#document"}function Jo(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function qo(t){var o;return null==(o=(Xo(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Xo(t){return t instanceof Node||t instanceof Jo(t).Node}function Qo(t){return t instanceof Element||t instanceof Jo(t).Element}function te(t){return t instanceof HTMLElement||t instanceof Jo(t).HTMLElement}function oe(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Jo(t).ShadowRoot)}function ee(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=se(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function ie(t){return["table","td","th"].includes(Vo(t))}function re(t){const o=ne(),e=se(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ne(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ae(t){return["html","body","#document"].includes(Vo(t))}function se(t){return Jo(t).getComputedStyle(t)}function le(t){return Qo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ce(t){if("html"===Vo(t))return t;const o=t.assignedSlot||t.parentNode||oe(t)&&t.host||qo(t);return oe(o)?o.host:o}function pe(t){const o=ce(t);return ae(o)?t.ownerDocument?t.ownerDocument.body:t.body:te(o)&&ee(o)?o:pe(o)}function fe(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=pe(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Jo(r);return n?o.concat(a,a.visualViewport||[],ee(r)?r:[],a.frameElement&&e?fe(a.frameElement):[]):o.concat(r,fe(r,[],e))}function he(t){const o=se(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=te(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=ko(e)!==n||ko(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function de(t){return Qo(t)?t:t.contextElement}function ue(t){const o=de(t);if(!te(o))return Wo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=he(o);let a=(n?ko(e.width):e.width)/i,s=(n?ko(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ye=Wo(0);function ge(t){const o=Jo(t);return ne()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ye}function be(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=de(t);let a=Wo(1);o&&(i?Qo(i)&&(a=ue(i)):a=ue(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Jo(t))&&o}(n,e,i)?ge(n):Wo(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=Jo(n),o=i&&Qo(i)?Jo(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ue(e),o=e.getBoundingClientRect(),i=se(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=Jo(e).frameElement}}return jo({width:p,height:f,x:l,y:c})}function me(t){return be(qo(t)).left+le(t).scrollLeft}function xe(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=Jo(t),i=qo(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=ne();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=qo(t),e=le(t),i=t.ownerDocument.body,r=Io(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Io(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+me(t);const s=-e.scrollTop;return"rtl"===se(i).direction&&(a+=Io(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(qo(t));else if(Qo(o))i=function(t,o){const e=be(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=te(t)?ue(t):Wo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=ge(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return jo(i)}function ve(t,o){const e=ce(t);return!(e===o||!Qo(e)||ae(e))&&("fixed"===se(e).position||ve(e,o))}function Oe(t,o,e){const i=te(o),r=qo(o),n="fixed"===e,a=be(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Wo(0);if(i||!i&&!n)if(("body"!==Vo(o)||ee(r))&&(s=le(o)),i){const t=be(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=me(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ne(t,o){return te(t)&&"fixed"!==se(t).position?o?o(t):t.offsetParent:null}function Se(t,o){const e=Jo(t);if(!te(t))return e;let i=Ne(t,o);for(;i&&ie(i)&&"static"===se(i).position;)i=Ne(i,o);return i&&("html"===Vo(i)||"body"===Vo(i)&&"static"===se(i).position&&!re(i))?e:i||function(t){let o=ce(t);for(;te(o)&&!ae(o);){if(re(o))return o;o=ce(o)}return null}(t)||e}const we={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=te(e),n=qo(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Wo(1);const l=Wo(0);if((r||!r&&"fixed"!==i)&&(("body"!==Vo(e)||ee(n))&&(a=le(e)),te(e))){const t=be(e);s=ue(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:qo,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=fe(t,[],!1).filter((t=>Qo(t)&&"body"!==Vo(t))),r=null;const n="fixed"===se(t).position;let a=n?ce(t):t;for(;Qo(a)&&!ae(a);){const o=se(a),e=re(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||ee(a)&&!e&&ve(t,a))?i=i.filter((t=>t!==a)):r=o,a=ce(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=xe(o,e,r);return t.top=Io(i.top,t.top),t.right=Uo(i.right,t.right),t.bottom=Uo(i.bottom,t.bottom),t.left=Io(i.left,t.left),t}),xe(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Se,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Se,n=this.getDimensions;return{reference:Oe(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return he(t)},getScale:ue,isElement:Qo,isRTL:function(t){return"rtl"===se(t).direction}},Ce=(t,o,e)=>{const i=new Map,r={platform:we,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=To(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=To(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function $e(t){return function(t){for(let o=t;o;o=Ee(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ee(t);o;o=Ee(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ee(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
84
|
+
let So=class extends Bt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const 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 yo(o.insertBefore(Vt(),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 ao}};So._$litElement$=!0,So.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:So});const No=globalThis.litElementPolyfillSupport;No?.({LitElement:So}),(globalThis.litElementVersions??=[]).push("4.0.2");const wo=t=>"string"==typeof t?St(t):t;class Co{static create(t,o,e,i){const r=t=>wo(null!=t?t:i),n=Nt`var(${wo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>Nt`var(${wo(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=Nt`var(${wo(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=>Nt`var(${wo(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):wo(null!=o?o:t.lastResortDefaultValue()),i=Nt`var(${wo(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=>Nt`var(${wo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function $o(t,o){return wo(`${t.name}: ${o}`)}const Eo={colorWhite:Co.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Co.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Co.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Co.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Co.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Co.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Co.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Co.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Co.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Co.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Co.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Co.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Co.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Co.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Co.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Co.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Co.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Co.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Co.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Co.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Co.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Co.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Co.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Co.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Co.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Co.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Co.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Co.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Co.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Co.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Co.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Co.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Co.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Co.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Co.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Co.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Co.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Co.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Co.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Co.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Co.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Co.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Co.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Co.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Co.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Co.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Co.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Co.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Co.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Co.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Co.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Co.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Co.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Co.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Co.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Co.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Co.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Co.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Co.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Co.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Co.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Co.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Co.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Co.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Co.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Co.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Co.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Co.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Co.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Co.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Co.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Co.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Co.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Co.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Co.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Co.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Co.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Co.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Co.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Co.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Co.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Co.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Co.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Co.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Co.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Co.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Co.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Co.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Co.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Co.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Co.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Co.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Co.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Co.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Co.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Co.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Co.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Co.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Co.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Co.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Co.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Co.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Co.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Co.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Co.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Co.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Co.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Co.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Co.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Co.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Co.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Co.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Co.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Co.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Co.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Co.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Co.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Co.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Co.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Co.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Co.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Co.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Co.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Co.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Co.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Co.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Co.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Co.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Co.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Co.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Co.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Co.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Co.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Co.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Co.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Co.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Co.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Co.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Co.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Co.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Co.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Co.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Co.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Co.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Co.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Co.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Co.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Co.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Co.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Co.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Co.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Co.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Co.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Co.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Co.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Co.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Co.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Co.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Co.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Co.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Co.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Co.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Co.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Co.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Co.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Co.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Co.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Co.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Co.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Co.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Co.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Co.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Co.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Co.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Co.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Co.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Co.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Co.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Co.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Co.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Co.create("--ft-opacity-0","","NUMBER","0"),opacity8:Co.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Co.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Co.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Co.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Co.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Co.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Co.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Co.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Co.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Co.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Co.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Co.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Co.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Co.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ro={display:{fontFamily:Co.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Co.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Co.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Co.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Co.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Co.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Co.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Co.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Co.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Co.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Co.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Co.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Co.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Co.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Co.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Co.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Co.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Co.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Co.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Co.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Co.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Co.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Co.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Co.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Co.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Co.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Co.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Co.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Co.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Co.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Co.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Co.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Co.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Co.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Co.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Uo={backgroundActionPrimary:Co.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Eo.colorBrand0),backgroundErrorPrimary:Co.extend("--ft-background-error-primary","Used as background of error components.",Eo.colorRed0),backgroundErrorSubtle:Co.extend("--ft-background-error-subtle","Used as background of subtle error components.",Eo.colorRed10),backgroundInfoPrimary:Co.extend("--ft-background-info-primary","Used as background of information components.",Eo.colorCyan200),backgroundInfoSubtle:Co.extend("--ft-background-info-subtle","Used as background of subtle information components.",Eo.colorCyan10),backgroundWarningPrimary:Co.extend("--ft-background-warning-primary","Used as background of warning components.",Eo.colorOrange300),backgroundWarningSubtle:Co.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Eo.colorOrange10),backgroundSuccessPrimary:Co.extend("--ft-background-success-primary","Used as background of success components.",Eo.colorGreen200),backgroundSuccessSubtle:Co.extend("--ft-background-success-subtle","Used as background of subtle success components.",Eo.colorGreen10),backgroundGlobalSurface:Co.extend("--ft-background-global-surface","Used as app background.",Eo.colorWhite),backgroundGlobalOnSurface:Co.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Eo.colorGray10),backgroundGlobalOnSurfaceDark:Co.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Eo.colorGray30),contentActionPrimary:Co.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Eo.colorBrand0),contentWarningPrimary:Co.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Eo.colorOrange300),contentWarningIconOnly:Co.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Eo.colorOrange0),contentErrorPrimary:Co.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Eo.colorRed0),contentErrorIconOnly:Co.extend("--ft-content-error-icon-only","Used on error status icons alone",Eo.colorRed0),contentInfoPrimary:Co.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Eo.colorCyan200),contentInfoIconOnly:Co.extend("--ft-content-info-icon-only","Used on info status icons alone",Eo.colorCyan0),contentSuccessPrimary:Co.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Eo.colorGreen200),contentSuccessIconOnly:Co.extend("--ft-content-success-icon-only","Used on success status icons alone",Eo.colorGreen0),contentGlobalPrimary:Co.extend("--ft-content-global-primary","Used for main content on the page.",Eo.colorGray500),contentGlobalSecondary:Co.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Eo.colorGray200),contentGlobalSubtle:Co.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Eo.colorGray0),contentGlobalOnColor:Co.extend("--ft-content-global-on-color","Used for content on a dominant color.",Eo.colorWhite),borderActionPrimary:Co.extend("--ft-border-action-primary","Used as border for primary action components.",Eo.colorBrand0),borderActionFocusRing:Co.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Eo.colorCyan0),borderWarningPrimary:Co.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Eo.colorOrange300),borderWarningSubtle:Co.extend("--ft-border-warning-subtle","Used as border for warning components.",Eo.colorOrange30),borderSuccessPrimary:Co.extend("--ft-border-success-primary","Used as border for success buttons.",Eo.colorGreen200),borderSuccessSubtle:Co.extend("--ft-border-success-subtle","Used as border for success components.",Eo.colorGreen30),borderErrorPrimary:Co.extend("--ft-border-error-primary","Used as border for text fields in error states.",Eo.colorRed0),borderErrorSubtle:Co.extend("--ft-border-error-subtle","Used as border for error components.",Eo.colorRed30),borderInfoPrimary:Co.extend("--ft-border-info-primary","Used as border for buttons in info color.",Eo.colorCyan200),borderInfoSubtle:Co.extend("--ft-border-info-subtle","Used as border for information components.",Eo.colorCyan30),borderGlobalPrimary:Co.extend("--ft-border-global-primary","Used as border for element like input.",Eo.colorGray50),borderGlobalSubtle:Co.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Eo.colorGray30),borderInputPrimary:Co.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Eo.colorGray80)},Io={largeHeight:Co.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Co.extend("--ft-button-large-horizontal-padding","",Eo.spacing4),largeGap:Co.extend("--ft-button-large-gap","",Eo.spacing2),largeBorderRadius:Co.extend("--ft-button-large-border-radius","",Eo.borderRadiusS),largeIconSize:Co.extend("--ft-button-large-icon-size","",Eo.iconSize3),largeBorderWidth:Co.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Co.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Co.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Co.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Co.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Co.extend("--ft-button-small-horizontal-padding","",Eo.spacing3),smallGap:Co.extend("--ft-button-small-gap","",Eo.spacing2),smallBorderRadius:Co.extend("--ft-button-small-border-radius","",Eo.borderRadiusS),smallIconSize:Co.extend("--ft-button-small-icon-size","",Eo.iconSize2),smallBorderWidth:Co.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Co.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Co.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Co.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Co.extend("--ft-button-primary-background-color","",Uo.backgroundActionPrimary),primaryColor:Co.extend("--ft-button-primary-color","",Uo.contentGlobalOnColor),primaryIconColor:Co.extend("--ft-button-primary-icon-color","",Uo.contentGlobalOnColor),primaryStateLayerColor:Co.extend("--ft-button-primary-state-layer-color","",Uo.contentGlobalOnColor),primaryStateLayerOpacityHover:Co.extend("--ft-button-primary-state-layer-opacity-hover","",Eo.opacity16),primaryStateLayerOpacityFocus:Co.extend("--ft-button-primary-state-layer-opacity-focus","",Eo.opacity16),primaryStateLayerOpacityActive:Co.extend("--ft-button-primary-state-layer-opacity-active","",Eo.opacity24),primaryComponentOpacityDisabled:Co.extend("--ft-button-primary-component-opacity-disabled","",Eo.opacity40),focusFocusRingColor:Co.extend("--ft-button-focus-focus-ring-color","",Uo.borderActionFocusRing),tertiaryBackgroundColor:Co.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Co.extend("--ft-button-tertiary-color","",Uo.contentActionPrimary),tertiaryIconColor:Co.extend("--ft-button-tertiary-icon-color","",Uo.contentActionPrimary),tertiaryStateLayerColor:Co.extend("--ft-button-tertiary-state-layer-color","",Uo.contentActionPrimary),tertiaryStateLayerOpacityHover:Co.extend("--ft-button-tertiary-state-layer-opacity-hover","",Eo.opacity8),tertiaryStateLayerOpacityFocus:Co.extend("--ft-button-tertiary-state-layer-opacity-focus","",Eo.opacity8),tertiaryStateLayerOpacityActive:Co.extend("--ft-button-tertiary-state-layer-opacity-active","",Eo.opacity16),tertiaryComponentOpacityDisabled:Co.extend("--ft-button-tertiary-component-opacity-disabled","",Eo.opacity40),secondaryBackgroundColor:Co.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Co.extend("--ft-button-secondary-color","",Uo.contentActionPrimary),secondaryIconColor:Co.extend("--ft-button-secondary-icon-color","",Uo.contentActionPrimary),secondaryStateLayerColor:Co.extend("--ft-button-secondary-state-layer-color","",Uo.contentActionPrimary),secondaryStateLayerOpacityHover:Co.extend("--ft-button-secondary-state-layer-opacity-hover","",Eo.opacity8),secondaryStateLayerOpacityFocus:Co.extend("--ft-button-secondary-state-layer-opacity-focus","",Eo.opacity8),secondaryStateLayerOpacityActive:Co.extend("--ft-button-secondary-state-layer-opacity-active","",Eo.opacity16),secondaryComponentOpacityDisabled:Co.extend("--ft-button-secondary-component-opacity-disabled","",Eo.opacity40),secondaryBorderColor:Co.extend("--ft-button-secondary-border-color","",Uo.borderActionPrimary),neutralBackgroundColor:Co.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Co.extend("--ft-button-neutral-icon-color","",Uo.contentGlobalSecondary),neutralColor:Co.extend("--ft-button-neutral-color","",Uo.contentGlobalSecondary),neutralStateLayerColor:Co.extend("--ft-button-neutral-state-layer-color","",Uo.contentGlobalSecondary),neutralStateLayerOpacityHover:Co.extend("--ft-button-neutral-state-layer-opacity-hover","",Eo.opacity8),neutralStateLayerOpacityFocus:Co.extend("--ft-button-neutral-state-layer-opacity-focus","",Eo.opacity8),neutralStateLayerOpacityActive:Co.extend("--ft-button-neutral-state-layer-opacity-active","",Eo.opacity16),neutralComponentOpacityDisabled:Co.extend("--ft-button-neutral-component-opacity-disabled","",Eo.opacity40)};Co.extend("--ft-floating-menu-horizontal-padding","",Eo.spacing4),Co.extend("--ft-floating-menu-vertical-padding","",Eo.spacing4),Co.extend("--ft-floating-menu-off-icon-color","",Uo.contentGlobalPrimary),Co.extend("--ft-floating-menu-off-color","",Uo.contentGlobalPrimary),Co.extend("--ft-floating-menu-on-color","",Uo.contentActionPrimary),Co.extend("--ft-floating-menu-on-icon-color","",Uo.contentActionPrimary),Co.extend("--ft-floating-menu-on-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-floating-menu-gap","",Eo.spacing3),Co.extend("--ft-floating-menu-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Co.extend("--ft-floating-menu-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-floating-menu-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-floating-menu-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-floating-menu-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-floating-menu-icon-size","",Eo.iconSize3),Co.extend("--ft-floating-menu-background-color","",Uo.backgroundGlobalOnSurface),Co.extend("--ft-tabs-top-left-border-radius","",Eo.borderRadiusS),Co.extend("--ft-tabs-top-right-border-radius","",Eo.borderRadiusS),Co.extend("--ft-tabs-label-horizontal-padding","",Eo.spacing4),Co.extend("--ft-tabs-label-vertical-padding","",Eo.spacing3),Co.extend("--ft-tabs-label-gap","",Eo.spacing1),Co.extend("--ft-tabs-icon-horizontal-padding","",Eo.spacing1),Co.extend("--ft-tabs-icon-vertical-padding","",Eo.spacing4),Co.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Co.extend("--ft-tabs-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.extend("--ft-tabs-off-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-tabs-off-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-tabs-off-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-tabs-off-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-tabs-off-color","",Uo.contentGlobalSubtle),Co.extend("--ft-tabs-off-state-layer-color","",Uo.contentGlobalSubtle),Co.extend("--ft-tabs-on-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-tabs-on-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-tabs-on-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-tabs-on-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-tabs-on-color","",Uo.contentActionPrimary),Co.extend("--ft-tabs-on-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-collapsible-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-collapsible-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-collapsible-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-collapsible-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-collapsible-horizontal-padding","",Eo.spacing4),Co.extend("--ft-collapsible-vertical-padding","",Eo.spacing3),Co.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Co.extend("--ft-collapsible-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.extend("--ft-collapsible-color","",Uo.contentGlobalPrimary),Co.extend("--ft-collapsible-state-layer-color","",Uo.contentGlobalPrimary),Co.extend("--ft-collapsible-background-color","",Uo.backgroundGlobalOnSurface),Co.extend("--ft-collapsible-border-color","",Uo.borderGlobalSubtle),Co.extend("--ft-collapsible-icon-size","",Eo.iconSize3),Co.extend("--ft-switch-group-horizontal-padding","",Eo.spacing1),Co.extend("--ft-switch-group-vertical-padding","",Eo.spacing1),Co.extend("--ft-switch-group-gap","",Eo.spacing1),Co.extend("--ft-switch-group-background-color","",Uo.backgroundGlobalSurface),Co.extend("--ft-switch-group-border-color","",Uo.borderGlobalSubtle),Co.create("--ft-switch-group-border-radius","","SIZE","6px"),Co.extend("--ft-switch-label-horizontal-padding","",Eo.spacing2),Co.extend("--ft-switch-label-vertical-padding","",Eo.spacing1),Co.extend("--ft-switch-icon-horizontal-padding","",Eo.spacing1),Co.extend("--ft-switch-icon-vertical-padding","",Eo.spacing1),Co.create("--ft-switch-focus-outline-width","","SIZE","2px"),Co.extend("--ft-switch-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.extend("--ft-switch-option-border-radius","",Eo.borderRadiusS),Co.extend("--ft-switch-off-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-switch-off-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-switch-off-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-switch-off-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-switch-off-color","",Uo.contentGlobalSubtle),Co.extend("--ft-switch-off-state-layer-color","",Uo.contentGlobalSubtle),Co.extend("--ft-switch-on-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-switch-on-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-switch-on-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-switch-on-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-switch-on-color","",Uo.contentActionPrimary),Co.extend("--ft-switch-on-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-chart-1-light","for area color charts",Eo.colorBrand40),Co.extend("--ft-chart-1-base","for line charts",Eo.colorBrand0),Co.extend("--ft-chart-2-light","for area color charts",Eo.colorYellow60),Co.extend("--ft-chart-2-base","for line charts",Eo.colorYellow100),Co.extend("--ft-chart-3-light","",Eo.colorUltramarine40),Co.extend("--ft-chart-3-base","",Eo.colorUltramarine70),Co.extend("--ft-chart-4-light","",Eo.colorCyan50),Co.extend("--ft-chart-4-base","",Eo.colorCyan100),Co.extend("--ft-chart-5-light","",Eo.colorRed40),Co.extend("--ft-chart-5-base","",Eo.colorRed60),Co.extend("--ft-chart-6-light","",Eo.colorGreen40),Co.extend("--ft-chart-6-base","",Eo.colorGreen70),Co.extend("--ft-chart-7-light","",Eo.colorOrange70),Co.extend("--ft-chart-7-base","",Eo.colorOrange100),Co.extend("--ft-chart-8-light","",Eo.colorAvocado70),Co.extend("--ft-chart-8-base","",Eo.colorAvocado200),Co.extend("--ft-chart-9-light","",Eo.colorBrown50),Co.extend("--ft-chart-9-base","",Eo.colorBrown200),Co.extend("--ft-chart-10-light","",Eo.colorGray50),Co.extend("--ft-chart-10-base","",Eo.colorGray80),Co.extend("--ft-chart-monochrome-10","",Eo.colorBrand10),Co.extend("--ft-chart-monochrome-20","",Eo.colorBrand20),Co.extend("--ft-chart-monochrome-30","",Eo.colorBrand40),Co.extend("--ft-chart-monochrome-40","",Eo.colorBrand60),Co.extend("--ft-chart-monochrome-50","",Eo.colorBrand0),Co.extend("--ft-chart-monochrome-60","",Eo.colorBrand200),Co.extend("--ft-chip-large-horizontal-padding","",Eo.spacing4),Co.extend("--ft-chip-large-vertical-padding","",Eo.spacing2),Co.extend("--ft-chip-large-gap","",Eo.spacing1),Co.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-large-border-radius","",Eo.borderRadiusPill),Co.create("--ft-chip-large-border-width","","SIZE","1px"),Co.extend("--ft-chip-large-icon-size","",Eo.iconSize3),Co.extend("--ft-chip-medium-horizontal-padding","",Eo.spacing3),Co.extend("--ft-chip-medium-vertical-padding","",Eo.spacing1),Co.extend("--ft-chip-medium-gap","",Eo.spacing1),Co.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-medium-border-radius","",Eo.borderRadiusPill),Co.create("--ft-chip-medium-border-width","","SIZE","1px"),Co.extend("--ft-chip-medium-icon-size","",Eo.iconSize2),Co.extend("--ft-chip-small-horizontal-padding","",Eo.spacing2),Co.extend("--ft-chip-small-vertical-padding","",Eo.spacing05),Co.extend("--ft-chip-small-gap","",Eo.spacing1),Co.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-small-border-radius","",Eo.borderRadiusPill),Co.create("--ft-chip-small-border-width","","SIZE","1px"),Co.extend("--ft-chip-small-icon-size","",Eo.iconSize1),Co.extend("--ft-chip-neutral-background-color","",Uo.backgroundGlobalOnSurface),Co.extend("--ft-chip-neutral-color","",Uo.contentGlobalPrimary),Co.extend("--ft-chip-neutral-border-color","",Uo.borderGlobalSubtle),Co.extend("--ft-chip-info-background-color","",Uo.backgroundInfoSubtle),Co.extend("--ft-chip-info-color","",Uo.contentInfoPrimary),Co.extend("--ft-chip-info-border-color","",Uo.borderInfoSubtle),Co.extend("--ft-chip-success-background-color","",Uo.backgroundSuccessSubtle),Co.extend("--ft-chip-success-color","",Uo.contentSuccessPrimary),Co.extend("--ft-chip-success-border-color","",Uo.borderSuccessSubtle),Co.extend("--ft-chip-warning-background-color","",Uo.backgroundWarningSubtle),Co.extend("--ft-chip-warning-color","",Uo.contentWarningPrimary),Co.extend("--ft-chip-warning-border-color","",Uo.borderWarningSubtle),Co.extend("--ft-chip-error-background-color","",Uo.backgroundErrorSubtle),Co.extend("--ft-chip-error-color","",Uo.contentErrorPrimary),Co.extend("--ft-chip-error-border-color","",Uo.borderErrorSubtle),Co.create("--ft-notice-border-width","","SIZE","1px"),Co.extend("--ft-notice-horizontal-padding","",Eo.spacing2),Co.extend("--ft-notice-vertical-padding","",Eo.spacing1),Co.extend("--ft-notice-border-radius","",Eo.borderRadiusS),Co.extend("--ft-notice-gap","",Eo.spacing2),Co.extend("--ft-notice-icon-size","",Eo.iconSize3),Co.extend("--ft-notice-info-background-color","",Uo.backgroundInfoSubtle),Co.extend("--ft-notice-info-border-color","",Uo.borderInfoSubtle),Co.extend("--ft-notice-info-color","",Uo.contentInfoPrimary),Co.extend("--ft-notice-warning-background-color","",Uo.backgroundWarningSubtle),Co.extend("--ft-notice-warning-border-color","",Uo.borderWarningSubtle),Co.extend("--ft-notice-warning-color","",Uo.contentWarningPrimary),Co.extend("--ft-checkbox-label-color","",Uo.contentGlobalPrimary),Co.extend("--ft-checkbox-checked-background-color","",Uo.contentActionPrimary),Co.extend("--ft-checkbox-checked-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-checkbox-checked-color","",Uo.contentGlobalOnColor),Co.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-checkbox-checked-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-checkbox-checked-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-checkbox-unchecked-border-color","",Eo.colorGray80),Co.extend("--ft-checkbox-unchecked-state-layer-color","",Eo.colorGray80),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-checkbox-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Co.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Co.extend("--ft-checkbox-gap","",Eo.spacing3),Co.extend("--ft-toggle-off-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-toggle-off-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-toggle-off-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-toggle-off-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-toggle-off-background-color","",Uo.contentGlobalSubtle),Co.extend("--ft-toggle-off-icon-color","",Uo.contentGlobalSubtle),Co.extend("--ft-toggle-off-state-layer-color","",Uo.contentGlobalSubtle),Co.extend("--ft-toggle-on-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-toggle-on-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-toggle-on-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-toggle-on-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-toggle-on-background-color","",Uo.contentActionPrimary),Co.extend("--ft-toggle-on-icon-color","",Uo.contentActionPrimary),Co.extend("--ft-toggle-on-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-toggle-label-color","",Uo.contentGlobalPrimary),Co.extend("--ft-toggle-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.extend("--ft-toggle-gap","",Eo.spacing3),Co.extend("--ft-radio-label-color","",Uo.contentGlobalPrimary),Co.extend("--ft-radio-selected-color","",Uo.contentActionPrimary),Co.extend("--ft-radio-selected-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-radio-selected-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-radio-selected-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-radio-selected-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-radio-selected-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-radio-unselected-state-layer-color","",Eo.colorGray80),Co.extend("--ft-radio-unselected-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-radio-unselected-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-radio-unselected-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-radio-unselected-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-radio-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Co.create("--ft-radio-focus-outline-width","","SIZE","2px"),Co.extend("--ft-radio-gap","",Eo.spacing3),Co.extend("--ft-notification-icon-size","",Eo.iconSize4),Co.extend("--ft-notification-horizontal-padding","",Eo.spacing4),Co.extend("--ft-notification-vertical-padding","",Eo.spacing4),Co.extend("--ft-notification-info-background-color","",Uo.backgroundInfoSubtle),Co.extend("--ft-notification-info-color","",Uo.contentInfoPrimary),Co.extend("--ft-notification-info-border-color","",Uo.borderInfoSubtle),Co.extend("--ft-notification-success-background-color","",Uo.backgroundSuccessSubtle),Co.extend("--ft-notification-success-color","",Uo.contentSuccessPrimary),Co.extend("--ft-notification-success-border-color","",Uo.borderSuccessSubtle),Co.extend("--ft-notification-warning-background-color","",Uo.backgroundWarningSubtle),Co.extend("--ft-notification-warning-color","",Uo.contentWarningPrimary),Co.extend("--ft-notification-warning-border-color","",Uo.borderWarningSubtle),Co.extend("--ft-notification-error-background-color","",Uo.backgroundErrorSubtle),Co.extend("--ft-notification-error-color","",Uo.contentErrorPrimary),Co.extend("--ft-notification-error-border-color","",Uo.borderErrorSubtle),Co.extend("--ft-notification-border-radius","",Eo.borderRadiusPill),Co.create("--ft-notification-border-width","","SIZE","1px"),Co.extend("--ft-notification-gap-leading","",Eo.spacing2),Co.extend("--ft-notification-gap-trailing","",Eo.spacing8),Co.extend("--ft-tooltip-horizontal-padding","",Eo.spacing2),Co.extend("--ft-tooltip-vertical-padding","",Eo.spacing2),Co.extend("--ft-tooltip-border-radius","",Eo.borderRadiusS),Co.extend("--ft-tooltip-label","",Uo.contentGlobalOnColor),Co.extend("--ft-tooltip-background","",Uo.contentGlobalPrimary),Co.extend("--ft-tooltip-background-opacity","",Eo.opacity80),Co.extend("--ft-tooltip-shadow","",Eo.shadowElevation03);const ko={colorPrimary:Co.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Co.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Co.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Co.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Co.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Co.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Co.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Co.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Co.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Co.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Co.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Co.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Co.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Co.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Co.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Co.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Co.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Co.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Co.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Co.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Co.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Co.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Co.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Co.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Co.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Co.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Co.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Co.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Co.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Co.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Co.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Co.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Co.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Co.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Co.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Co.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Co.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Co.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Co.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Co.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Co.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Co.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Co.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Co.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Co.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Co.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Co.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Co.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Co.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Co.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Co.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Lo=["start","end"],Wo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Lo[0],o+"-"+Lo[1])),[]),Ao=Math.min,Ko=Math.max,Fo=Math.round,zo=t=>({x:t,y:t}),Do={left:"right",right:"left",bottom:"top",top:"bottom"},Bo={start:"end",end:"start"};function Zo(t,o,e){return Ko(t,Ao(o,e))}function Mo(t,o){return"function"==typeof t?t(o):t}function Po(t){return t.split("-")[0]}function To(t){return t.split("-")[1]}function Ho(t){return"x"===t?"y":"x"}function _o(t){return"y"===t?"height":"width"}function jo(t){return["top","bottom"].includes(Po(t))?"y":"x"}function Go(t){return Ho(jo(t))}function Vo(t){return t.replace(/left|right|bottom|top/g,(t=>Do[t]))}function Yo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Xo(t,o,e){let{reference:i,floating:r}=t;const n=jo(o),a=Go(o),s=_o(a),l=Po(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(To(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function qo(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Mo(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Yo(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Yo(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Jo(t,o,e){return(t?[...e.filter((o=>To(o)===t)),...e.filter((o=>To(o)!==t))]:e.filter((t=>Po(t)===t))).filter((e=>!t||(To(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Bo[t]))}(e)!==e)))}const Qo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Wo,autoAlignment:d=!0,...u}=Mo(t,o),y=void 0!==f||h===Wo?Jo(f||null,d,h):h,g=await qo(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=To(t),r=Go(t),n=_o(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Vo(a)),[a,Vo(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Po(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const N=O.map((t=>{const o=To(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=N.filter((t=>t[2].slice(0,To(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function te(t){return ie(t)?(t.nodeName||"").toLowerCase():"#document"}function oe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ee(t){var o;return null==(o=(ie(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ie(t){return t instanceof Node||t instanceof oe(t).Node}function re(t){return t instanceof Element||t instanceof oe(t).Element}function ne(t){return t instanceof HTMLElement||t instanceof oe(t).HTMLElement}function ae(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof oe(t).ShadowRoot)}function se(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=he(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function le(t){return["table","td","th"].includes(te(t))}function ce(t){const o=pe(),e=he(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function pe(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function fe(t){return["html","body","#document"].includes(te(t))}function he(t){return oe(t).getComputedStyle(t)}function de(t){return re(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(t){if("html"===te(t))return t;const o=t.assignedSlot||t.parentNode||ae(t)&&t.host||ee(t);return ae(o)?o.host:o}function ye(t){const o=ue(t);return fe(o)?t.ownerDocument?t.ownerDocument.body:t.body:ne(o)&&se(o)?o:ye(o)}function ge(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=ye(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=oe(r);return n?o.concat(a,a.visualViewport||[],se(r)?r:[],a.frameElement&&e?ge(a.frameElement):[]):o.concat(r,ge(r,[],e))}function be(t){const o=he(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=ne(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=Fo(e)!==n||Fo(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function me(t){return re(t)?t:t.contextElement}function xe(t){const o=me(t);if(!ne(o))return zo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=be(o);let a=(n?Fo(e.width):e.width)/i,s=(n?Fo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ve=zo(0);function Oe(t){const o=oe(t);return pe()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ve}function Se(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=me(t);let a=zo(1);o&&(i?re(i)&&(a=xe(i)):a=xe(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==oe(t))&&o}(n,e,i)?Oe(n):zo(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=oe(n),o=i&&re(i)?oe(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=xe(e),o=e.getBoundingClientRect(),i=he(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=oe(e).frameElement}}return Yo({width:p,height:f,x:l,y:c})}function Ne(t){return Se(ee(t)).left+de(t).scrollLeft}function we(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=oe(t),i=ee(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=pe();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=ee(t),e=de(t),i=t.ownerDocument.body,r=Ko(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Ko(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+Ne(t);const s=-e.scrollTop;return"rtl"===he(i).direction&&(a+=Ko(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(ee(t));else if(re(o))i=function(t,o){const e=Se(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=ne(t)?xe(t):zo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Oe(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Yo(i)}function Ce(t,o){const e=ue(t);return!(e===o||!re(e)||fe(e))&&("fixed"===he(e).position||Ce(e,o))}function $e(t,o,e){const i=ne(o),r=ee(o),n="fixed"===e,a=Se(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=zo(0);if(i||!i&&!n)if(("body"!==te(o)||se(r))&&(s=de(o)),i){const t=Se(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=Ne(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ee(t,o){return ne(t)&&"fixed"!==he(t).position?o?o(t):t.offsetParent:null}function Re(t,o){const e=oe(t);if(!ne(t))return e;let i=Ee(t,o);for(;i&&le(i)&&"static"===he(i).position;)i=Ee(i,o);return i&&("html"===te(i)||"body"===te(i)&&"static"===he(i).position&&!ce(i))?e:i||function(t){let o=ue(t);for(;ne(o)&&!fe(o);){if(ce(o))return o;o=ue(o)}return null}(t)||e}const Ue={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=ne(e),n=ee(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=zo(1);const l=zo(0);if((r||!r&&"fixed"!==i)&&(("body"!==te(e)||se(n))&&(a=de(e)),ne(e))){const t=Se(e);s=xe(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:ee,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=ge(t,[],!1).filter((t=>re(t)&&"body"!==te(t))),r=null;const n="fixed"===he(t).position;let a=n?ue(t):t;for(;re(a)&&!fe(a);){const o=he(a),e=ce(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||se(a)&&!e&&Ce(t,a))?i=i.filter((t=>t!==a)):r=o,a=ue(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=we(o,e,r);return t.top=Ko(i.top,t.top),t.right=Ao(i.right,t.right),t.bottom=Ao(i.bottom,t.bottom),t.left=Ko(i.left,t.left),t}),we(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Re,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Re,n=this.getDimensions;return{reference:$e(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return be(t)},getScale:xe,isElement:re,isRTL:function(t){return"rtl"===he(t).direction}},Ie=(t,o,e)=>{const i=new Map,r={platform:Ue,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=Xo(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=Xo(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function ke(t){return function(t){for(let o=t;o;o=Le(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Le(t);o;o=Le(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Le(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function We(t,o,e){return Ie(t,o,{platform:{...Ue,getOffsetParent:t=>Ue.getOffsetParent(t,ke)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Mo(i,t),c={x:o,y:e},p=await qo(t,l),f=jo(Po(r)),h=Ho(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Zo(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Zo(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...t,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Qo({allowedPlacements:[e]})]});var i}
|
|
86
85
|
/**
|
|
87
86
|
* @license
|
|
88
87
|
* Copyright 2019 Google LLC
|
|
89
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
|
-
*/
|
|
91
|
-
const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ie extends bo{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)=>{Ue?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Re.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var ke,We=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 Le=Symbol("constructorPrototype"),ze=Symbol("constructorName"),Ke=Symbol("exportpartsDebouncer");class Ze extends Ie{constructor(){super(),this[ke]=new o(5),this[ze]=this.constructor.name,this[Le]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ze]&&Object.setPrototypeOf(this,this[Le])}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[Ke].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(", "))}}ke=Ke,We([C()],Ze.prototype,"exportpartsPrefix",void 0),We([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)=>!I(t,o),...null!=o?o:{}})}([])],Ze.prototype,"exportpartsPrefixes",void 0),We([C()],Ze.prototype,"customStylesheet",void 0);const Fe=vo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");mt`
|
|
89
|
+
*/const Ae=window,Ke=Ae.ShadowRoot&&(void 0===Ae.ShadyCSS||Ae.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Fe extends So{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)=>{Ke?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Ae.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var ze,De=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 Be=Symbol("constructorPrototype"),Ze=Symbol("constructorName"),Me=Symbol("exportpartsDebouncer");class Pe extends Fe{constructor(){super(),this[ze]=new o(5),this[Ze]=this.constructor.name,this[Be]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ze]&&Object.setPrototypeOf(this,this[Be])}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[Me].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(", "))}}ze=Me,De([C()],Pe.prototype,"exportpartsPrefix",void 0),De([L([])],Pe.prototype,"exportpartsPrefixes",void 0),De([C()],Pe.prototype,"customStylesheet",void 0);const Te=Co.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Nt`
|
|
92
90
|
.highlight-html-match {
|
|
93
|
-
background: ${
|
|
91
|
+
background: ${Te};
|
|
94
92
|
}
|
|
95
|
-
`;const
|
|
93
|
+
`;const He=Nt`
|
|
96
94
|
.ft-no-text-select {
|
|
97
95
|
-webkit-touch-callout: none;
|
|
98
96
|
-webkit-user-select: none;
|
|
@@ -101,7 +99,7 @@ const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShado
|
|
|
101
99
|
-ms-user-select: none;
|
|
102
100
|
user-select: none;
|
|
103
101
|
}
|
|
104
|
-
`;
|
|
102
|
+
`;Nt`
|
|
105
103
|
.ft-word-wrap {
|
|
106
104
|
white-space: normal;
|
|
107
105
|
word-wrap: break-word;
|
|
@@ -113,7 +111,7 @@ const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShado
|
|
|
113
111
|
-webkit-hyphens: auto;
|
|
114
112
|
hyphens: auto
|
|
115
113
|
}
|
|
116
|
-
`;const
|
|
114
|
+
`;const _e=Nt`
|
|
117
115
|
.ft-safari-ellipsis-fix {
|
|
118
116
|
margin-right: 0;
|
|
119
117
|
|
|
@@ -124,112 +122,125 @@ const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShado
|
|
|
124
122
|
display: inline-block;
|
|
125
123
|
width: 0;
|
|
126
124
|
}
|
|
127
|
-
|
|
125
|
+
`,je=t=>{const o=null!=t?t:{};return(t,e)=>{var i;const r={hasChanged:(t,o)=>!I(t,o),attribute:!1,...o};C(r)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(i=o.selector)&&void 0!==i?i:t=>t[e],store:o.store})}};function Ge(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Ve,Ye,Xe;const qe=Symbol("internalReduxEventsUnsubscribers"),Je=Symbol("internalStoresUnsubscribers"),Qe=Symbol("internalStores");class ti extends Pe{constructor(){super(...arguments),this[Ve]=new Map,this[Ye]=new Map,this[Xe]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Qe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qe].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Qe].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ge(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[Qe].delete(o)}setupStore(t,o){this[Qe].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Qe].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Je].has(t.store):this[Je].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Je].set(t,o.subscribe((()=>this.updateFromStores()))),Ge(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[qe].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Je].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[qe].forEach((t=>t())),this[qe]=[]}unsubscribeFromStore(t){this[Je].has(t)&&this[Je].get(t)(),this[Je].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Ve=Je,Ye=Qe,Xe=qe,ti.reduxProperties=new Map,ti.reduxReactiveProperties=new Set,ti.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const oi=Symbol("elementInternals");var ei,ii,ri;const ni=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ri=null===(ii=null===(ei=window.safari)||void 0===ei?void 0:ei.pushNotification)||void 0===ii?void 0:ii.toString())&&void 0!==ri?ri:""),ai=Nt`
|
|
128
126
|
:host {
|
|
129
127
|
display: inline-block;
|
|
130
128
|
}
|
|
131
|
-
|
|
129
|
+
|
|
130
|
+
.ft-reader-metadata--container {
|
|
131
|
+
position: relative;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.ft-reader-metadata--container ft-chip {
|
|
135
|
+
cursor: pointer;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
a {
|
|
139
|
+
all: unset;
|
|
140
|
+
position: relative;
|
|
141
|
+
}
|
|
142
|
+
`;var si;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(si||(si={}));var li=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 ci extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const pi=Symbol("registerInterval");class fi 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[pi]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[pi]):this.dispatchEvent(new ci)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=pi,li([$()],e.prototype,"stateManager",void 0),e}(ti)){}
|
|
132
143
|
/**
|
|
133
144
|
* @license
|
|
134
145
|
* Copyright 2020 Google LLC
|
|
135
146
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
136
|
-
*/const
|
|
147
|
+
*/const hi=Symbol.for(""),di=t=>{if(t?.r===hi)return t?._$litStatic$},ui=t=>({_$litStatic$:t,r:hi}),yi=new Map,gi=(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=di(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=yi.get(t))&&(a.raw=a,yi.set(t,o=a)),e=s}return t(o,...e)})(Q);var bi;!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"}(bi||(bi={}));const mi=Co.extend("--ft-typography-font-family","",ko.titleFont),xi=Co.extend("--ft-typography-font-family","",ko.contentFont),vi={fontFamily:xi,fontSize:Co.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Co.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Co.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Co.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Co.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Oi=Co.extend("--ft-typography-title-font-family","",mi),Si=Co.extend("--ft-typography-title-font-size","",vi.fontSize,"20px"),Ni=Co.extend("--ft-typography-title-font-weight","",vi.fontWeight,"normal"),wi=Co.extend("--ft-typography-title-letter-spacing","",vi.letterSpacing,"0.15px"),Ci=Co.extend("--ft-typography-title-line-height","",vi.lineHeight,"1.2"),$i=Co.extend("--ft-typography-title-text-transform","",vi.textTransform,"inherit"),Ei=Co.extend("--ft-typography-title-dense-font-family","",mi),Ri=Co.extend("--ft-typography-title-dense-font-size","",vi.fontSize,"14px"),Ui=Co.extend("--ft-typography-title-dense-font-weight","",vi.fontWeight,"normal"),Ii=Co.extend("--ft-typography-title-dense-letter-spacing","",vi.letterSpacing,"0.105px"),ki=Co.extend("--ft-typography-title-dense-line-height","",vi.lineHeight,"1.7"),Li=Co.extend("--ft-typography-title-dense-text-transform","",vi.textTransform,"inherit"),Wi=Co.extend("--ft-typography-subtitle1-font-family","",xi),Ai=Co.extend("--ft-typography-subtitle1-font-size","",vi.fontSize,"16px"),Ki=Co.extend("--ft-typography-subtitle1-font-weight","",vi.fontWeight,"600"),Fi=Co.extend("--ft-typography-subtitle1-letter-spacing","",vi.letterSpacing,"0.144px"),zi=Co.extend("--ft-typography-subtitle1-line-height","",vi.lineHeight,"1.5"),Di=Co.extend("--ft-typography-subtitle1-text-transform","",vi.textTransform,"inherit"),Bi=Co.extend("--ft-typography-subtitle2-font-family","",xi),Zi=Co.extend("--ft-typography-subtitle2-font-size","",vi.fontSize,"14px"),Mi=Co.extend("--ft-typography-subtitle2-font-weight","",vi.fontWeight,"normal"),Pi=Co.extend("--ft-typography-subtitle2-letter-spacing","",vi.letterSpacing,"0.098px"),Ti=Co.extend("--ft-typography-subtitle2-line-height","",vi.lineHeight,"1.7"),Hi=Co.extend("--ft-typography-subtitle2-text-transform","",vi.textTransform,"inherit"),_i=Co.extend("--ft-typography-body1-font-family","",xi),ji=Co.extend("--ft-typography-body1-font-size","",vi.fontSize,"16px"),Gi=Co.extend("--ft-typography-body1-font-weight","",vi.fontWeight,"normal"),Vi=Co.extend("--ft-typography-body1-letter-spacing","",vi.letterSpacing,"0.496px"),Yi=Co.extend("--ft-typography-body1-line-height","",vi.lineHeight,"1.5"),Xi=Co.extend("--ft-typography-body1-text-transform","",vi.textTransform,"inherit"),qi={fontFamily:Co.extend("--ft-typography-body2-font-family","",xi),fontSize:Co.extend("--ft-typography-body2-font-size","",vi.fontSize,"14px"),fontWeight:Co.extend("--ft-typography-body2-font-weight","",vi.fontWeight,"normal"),letterSpacing:Co.extend("--ft-typography-body2-letter-spacing","",vi.letterSpacing,"0.252px"),lineHeight:Co.extend("--ft-typography-body2-line-height","",vi.lineHeight,"1.4"),textTransform:Co.extend("--ft-typography-body2-text-transform","",vi.textTransform,"inherit")},Ji=Co.extend("--ft-typography-caption-font-family","",xi),Qi=Co.extend("--ft-typography-caption-font-size","",vi.fontSize,"12px"),tr=Co.extend("--ft-typography-caption-font-weight","",vi.fontWeight,"normal"),or=Co.extend("--ft-typography-caption-letter-spacing","",vi.letterSpacing,"0.396px"),er=Co.extend("--ft-typography-caption-line-height","",vi.lineHeight,"1.33"),ir=Co.extend("--ft-typography-caption-text-transform","",vi.textTransform,"inherit"),rr=Co.extend("--ft-typography-breadcrumb-font-family","",xi),nr=Co.extend("--ft-typography-breadcrumb-font-size","",vi.fontSize,"10px"),ar=Co.extend("--ft-typography-breadcrumb-font-weight","",vi.fontWeight,"normal"),sr=Co.extend("--ft-typography-breadcrumb-letter-spacing","",vi.letterSpacing,"0.33px"),lr=Co.extend("--ft-typography-breadcrumb-line-height","",vi.lineHeight,"1.6"),cr=Co.extend("--ft-typography-breadcrumb-text-transform","",vi.textTransform,"inherit"),pr=Co.extend("--ft-typography-overline-font-family","",xi),fr=Co.extend("--ft-typography-overline-font-size","",vi.fontSize,"10px"),hr=Co.extend("--ft-typography-overline-font-weight","",vi.fontWeight,"normal"),dr=Co.extend("--ft-typography-overline-letter-spacing","",vi.letterSpacing,"1.5px"),ur=Co.extend("--ft-typography-overline-line-height","",vi.lineHeight,"1.6"),yr=Co.extend("--ft-typography-overline-text-transform","",vi.textTransform,"uppercase"),gr={fontFamily:Co.extend("--ft-typography-button-font-family","",xi),fontSize:Co.extend("--ft-typography-button-font-size","",vi.fontSize,"14px"),fontWeight:Co.extend("--ft-typography-button-font-weight","",vi.fontWeight,"600"),letterSpacing:Co.extend("--ft-typography-button-letter-spacing","",vi.letterSpacing,"1.246px"),lineHeight:Co.extend("--ft-typography-button-line-height","",vi.lineHeight,"1.15"),textTransform:Co.extend("--ft-typography-button-text-transform","",vi.textTransform,"uppercase")},br=Nt`
|
|
137
148
|
.ft-typography--title {
|
|
138
|
-
font-family: ${
|
|
139
|
-
font-size: ${
|
|
140
|
-
font-weight: ${gi};
|
|
141
|
-
letter-spacing: ${bi};
|
|
142
|
-
line-height: ${mi};
|
|
143
|
-
text-transform: ${xi};
|
|
144
|
-
}
|
|
145
|
-
`,fr=mt`
|
|
146
|
-
.ft-typography--title-dense {
|
|
147
|
-
font-family: ${vi};
|
|
148
|
-
font-size: ${Oi};
|
|
149
|
+
font-family: ${Oi};
|
|
150
|
+
font-size: ${Si};
|
|
149
151
|
font-weight: ${Ni};
|
|
150
|
-
letter-spacing: ${
|
|
151
|
-
line-height: ${
|
|
152
|
-
text-transform: ${
|
|
152
|
+
letter-spacing: ${wi};
|
|
153
|
+
line-height: ${Ci};
|
|
154
|
+
text-transform: ${$i};
|
|
153
155
|
}
|
|
154
|
-
`,
|
|
156
|
+
`,mr=Nt`
|
|
157
|
+
.ft-typography--title-dense {
|
|
158
|
+
font-family: ${Ei};
|
|
159
|
+
font-size: ${Ri};
|
|
160
|
+
font-weight: ${Ui};
|
|
161
|
+
letter-spacing: ${Ii};
|
|
162
|
+
line-height: ${ki};
|
|
163
|
+
text-transform: ${Li};
|
|
164
|
+
}
|
|
165
|
+
`,xr=Nt`
|
|
155
166
|
.ft-typography--subtitle1 {
|
|
156
|
-
font-family: ${$i};
|
|
157
|
-
font-size: ${Ei};
|
|
158
|
-
font-weight: ${Ri};
|
|
159
|
-
letter-spacing: ${Ui};
|
|
160
|
-
line-height: ${Ii};
|
|
161
|
-
text-transform: ${ki};
|
|
162
|
-
}
|
|
163
|
-
`,dr=mt`
|
|
164
|
-
.ft-typography--subtitle2 {
|
|
165
167
|
font-family: ${Wi};
|
|
166
|
-
font-size: ${
|
|
167
|
-
font-weight: ${
|
|
168
|
-
letter-spacing: ${
|
|
169
|
-
line-height: ${
|
|
170
|
-
text-transform: ${
|
|
168
|
+
font-size: ${Ai};
|
|
169
|
+
font-weight: ${Ki};
|
|
170
|
+
letter-spacing: ${Fi};
|
|
171
|
+
line-height: ${zi};
|
|
172
|
+
text-transform: ${Di};
|
|
173
|
+
}
|
|
174
|
+
`,vr=Nt`
|
|
175
|
+
.ft-typography--subtitle2 {
|
|
176
|
+
font-family: ${Bi};
|
|
177
|
+
font-size: ${Zi};
|
|
178
|
+
font-weight: ${Mi};
|
|
179
|
+
letter-spacing: ${Pi};
|
|
180
|
+
line-height: ${Ti};
|
|
181
|
+
text-transform: ${Hi};
|
|
171
182
|
}
|
|
172
183
|
|
|
173
|
-
`,
|
|
184
|
+
`,Or=Nt`
|
|
174
185
|
.ft-typography--body1 {
|
|
175
|
-
font-family: ${
|
|
176
|
-
font-size: ${
|
|
177
|
-
font-weight: ${
|
|
178
|
-
letter-spacing: ${
|
|
179
|
-
line-height: ${
|
|
180
|
-
text-transform: ${
|
|
186
|
+
font-family: ${_i};
|
|
187
|
+
font-size: ${ji};
|
|
188
|
+
font-weight: ${Gi};
|
|
189
|
+
letter-spacing: ${Vi};
|
|
190
|
+
line-height: ${Yi};
|
|
191
|
+
text-transform: ${Xi};
|
|
181
192
|
}
|
|
182
|
-
`,
|
|
193
|
+
`,Sr=Nt`
|
|
183
194
|
.ft-typography--body2 {
|
|
184
|
-
font-family: ${
|
|
185
|
-
font-size: ${
|
|
186
|
-
font-weight: ${
|
|
187
|
-
letter-spacing: ${
|
|
188
|
-
line-height: ${
|
|
189
|
-
text-transform: ${
|
|
190
|
-
}
|
|
191
|
-
`,
|
|
195
|
+
font-family: ${qi.fontFamily};
|
|
196
|
+
font-size: ${qi.fontSize};
|
|
197
|
+
font-weight: ${qi.fontWeight};
|
|
198
|
+
letter-spacing: ${qi.letterSpacing};
|
|
199
|
+
line-height: ${qi.lineHeight};
|
|
200
|
+
text-transform: ${qi.textTransform};
|
|
201
|
+
}
|
|
202
|
+
`,Nr=Nt`
|
|
192
203
|
.ft-typography--caption {
|
|
193
|
-
font-family: ${
|
|
194
|
-
font-size: ${
|
|
195
|
-
font-weight: ${
|
|
196
|
-
letter-spacing: ${
|
|
197
|
-
line-height: ${
|
|
198
|
-
text-transform: ${
|
|
204
|
+
font-family: ${Ji};
|
|
205
|
+
font-size: ${Qi};
|
|
206
|
+
font-weight: ${tr};
|
|
207
|
+
letter-spacing: ${or};
|
|
208
|
+
line-height: ${er};
|
|
209
|
+
text-transform: ${ir};
|
|
199
210
|
}
|
|
200
|
-
`,
|
|
211
|
+
`,wr=Nt`
|
|
201
212
|
.ft-typography--breadcrumb {
|
|
202
|
-
font-family: ${
|
|
203
|
-
font-size: ${
|
|
204
|
-
font-weight: ${
|
|
205
|
-
letter-spacing: ${
|
|
206
|
-
line-height: ${
|
|
207
|
-
text-transform: ${
|
|
208
|
-
}
|
|
209
|
-
`,
|
|
213
|
+
font-family: ${rr};
|
|
214
|
+
font-size: ${nr};
|
|
215
|
+
font-weight: ${ar};
|
|
216
|
+
letter-spacing: ${sr};
|
|
217
|
+
line-height: ${lr};
|
|
218
|
+
text-transform: ${cr};
|
|
219
|
+
}
|
|
220
|
+
`,Cr=Nt`
|
|
210
221
|
.ft-typography--overline {
|
|
211
|
-
font-family: ${
|
|
212
|
-
font-size: ${
|
|
213
|
-
font-weight: ${
|
|
214
|
-
letter-spacing: ${
|
|
215
|
-
line-height: ${
|
|
216
|
-
text-transform: ${
|
|
217
|
-
}
|
|
218
|
-
|
|
222
|
+
font-family: ${pr};
|
|
223
|
+
font-size: ${fr};
|
|
224
|
+
font-weight: ${hr};
|
|
225
|
+
letter-spacing: ${dr};
|
|
226
|
+
line-height: ${ur};
|
|
227
|
+
text-transform: ${yr};
|
|
228
|
+
}
|
|
229
|
+
`,$r=Nt`
|
|
219
230
|
.ft-typography--button {
|
|
220
|
-
font-family: ${
|
|
221
|
-
font-size: ${
|
|
222
|
-
font-weight: ${
|
|
223
|
-
letter-spacing: ${
|
|
224
|
-
line-height: ${
|
|
225
|
-
text-transform: ${
|
|
226
|
-
}
|
|
227
|
-
`,
|
|
231
|
+
font-family: ${gr.fontFamily};
|
|
232
|
+
font-size: ${gr.fontSize};
|
|
233
|
+
font-weight: ${gr.fontWeight};
|
|
234
|
+
letter-spacing: ${gr.letterSpacing};
|
|
235
|
+
line-height: ${gr.lineHeight};
|
|
236
|
+
text-transform: ${gr.textTransform};
|
|
237
|
+
}
|
|
238
|
+
`,Er=Nt`
|
|
228
239
|
.ft-typography {
|
|
229
240
|
vertical-align: inherit;
|
|
230
241
|
}
|
|
231
|
-
`,
|
|
232
|
-
.ft-typography--${
|
|
242
|
+
`,Rr=[Object.keys(Ro).map((t=>function(t){const o=Ro[t];return Nt`
|
|
243
|
+
.ft-typography--${St(t)} {
|
|
233
244
|
font-family: ${o.fontFamily};
|
|
234
245
|
font-size: ${o.fontSize};
|
|
235
246
|
font-weight: ${o.fontWeight};
|
|
@@ -237,14 +248,14 @@ const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShado
|
|
|
237
248
|
line-height: ${o.lineHeight};
|
|
238
249
|
text-transform: ${o.textCase};
|
|
239
250
|
}
|
|
240
|
-
`}(t)))];var
|
|
241
|
-
<${
|
|
251
|
+
`}(t)))];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 Ir extends Pe{constructor(){super(...arguments),this.variant=bi.body1}render(){return this.element?gi`
|
|
252
|
+
<${ui(this.element)}
|
|
242
253
|
class="ft-typography ft-typography--${this.variant}">
|
|
243
254
|
<slot></slot>
|
|
244
|
-
</${
|
|
245
|
-
`:
|
|
255
|
+
</${ui(this.element)}>
|
|
256
|
+
`:gi`
|
|
246
257
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
247
|
-
`}}
|
|
258
|
+
`}}Ir.styles=[br,mr,xr,vr,Or,Sr,Nr,wr,Cr,$r,Er,...Rr],Ur([C()],Ir.prototype,"element",void 0),Ur([C()],Ir.prototype,"variant",void 0),k("ft-typography")(Ir);const kr=Co.create("--ft-tooltip-distance","","SIZE","4px"),Lr=Co.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Wr=Co.create("--ft-tooltip-background-color","","COLOR","#666666"),Ar=Co.create("--ft-tooltip-z-index","","NUMBER","100"),Kr=Co.external(ko.borderRadiusS,"Design system"),Fr=Co.create("--ft-tooltip-max-width","","SIZE","150px"),zr=Nt`
|
|
248
259
|
.ft-tooltip--container {
|
|
249
260
|
display: block;
|
|
250
261
|
}
|
|
@@ -259,21 +270,21 @@ const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShado
|
|
|
259
270
|
box-sizing: border-box;
|
|
260
271
|
overflow: hidden;
|
|
261
272
|
width: max-content;
|
|
262
|
-
max-width: ${
|
|
273
|
+
max-width: ${Fr};
|
|
263
274
|
text-align: center;
|
|
264
|
-
padding: ${
|
|
265
|
-
z-index: ${
|
|
275
|
+
padding: ${kr};
|
|
276
|
+
z-index: ${Ar};
|
|
266
277
|
}
|
|
267
278
|
|
|
268
279
|
.ft-tooltip--content {
|
|
269
280
|
padding: 4px 8px;
|
|
270
|
-
border-radius: ${
|
|
271
|
-
background-color: ${
|
|
272
|
-
color: ${
|
|
281
|
+
border-radius: ${Kr};
|
|
282
|
+
background-color: ${Wr};
|
|
283
|
+
color: ${Lr};
|
|
273
284
|
position: relative;
|
|
274
285
|
word-break: break-word;
|
|
275
286
|
}
|
|
276
|
-
`;var
|
|
287
|
+
`;var Dr=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 Pe{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 no`
|
|
277
288
|
<div part="container"
|
|
278
289
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
279
290
|
@mouseenter=${this.onHover}
|
|
@@ -291,18 +302,24 @@ const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShado
|
|
|
291
302
|
</div>
|
|
292
303
|
</div>
|
|
293
304
|
</div>
|
|
294
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",
|
|
305
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",We(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Br.elementDefinitions={"ft-typography":Ir},Br.styles=zr,Dr([C()],Br.prototype,"text",void 0),Dr([C({type:Boolean})],Br.prototype,"manual",void 0),Dr([C({type:Boolean})],Br.prototype,"inline",void 0),Dr([C({type:Number})],Br.prototype,"delay",void 0),Dr([C()],Br.prototype,"position",void 0),Dr([
|
|
306
|
+
/**
|
|
307
|
+
* @license
|
|
308
|
+
* Copyright 2017 Google LLC
|
|
309
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
310
|
+
*/
|
|
311
|
+
function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],Br.prototype,"slotNodes",void 0),Dr([U(".ft-tooltip--container")],Br.prototype,"container",void 0),Dr([U(".ft-tooltip")],Br.prototype,"tooltip",void 0),Dr([U(".ft-tooltip--content")],Br.prototype,"tooltipContent",void 0),Dr([$()],Br.prototype,"visible",void 0),Dr([E({passive:!0})],Br.prototype,"onTouch",null),Dr([E({passive:!0})],Br.prototype,"onHover",null),Dr([E({passive:!0})],Br.prototype,"onOut",null),Dr([E({passive:!0})],Br.prototype,"onClick",null),k("ft-tooltip")(Br);
|
|
295
312
|
/**
|
|
296
313
|
* @license
|
|
297
314
|
* Copyright 2017 Google LLC
|
|
298
315
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
299
316
|
*/
|
|
300
|
-
const
|
|
317
|
+
const Zr=1,Mr=2,Pr=t=>(...o)=>({_$litDirective$:t,values:o});class Tr{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)}}
|
|
301
318
|
/**
|
|
302
319
|
* @license
|
|
303
320
|
* Copyright 2018 Google LLC
|
|
304
321
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
305
|
-
*/const
|
|
322
|
+
*/const Hr=Pr(class extends Tr{constructor(t){if(super(t),t.type!==Zr||"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 tt}}),_r=Co.extend("--ft-ripple-color","",ko.colorContent),jr={color:_r,backgroundColor:Co.extend("--ft-ripple-background-color","",_r),opacityContentOnSurfacePressed:Co.external(ko.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Co.external(ko.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Co.external(ko.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Co.external(ko.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Co.create("--ft-ripple-border-radius","","SIZE","0px")},Gr=Co.extend("--ft-ripple-color","",ko.colorPrimary),Vr=Gr,Yr=Co.extend("--ft-ripple-background-color","",Gr),Xr=Co.extend("--ft-ripple-color","",ko.colorSecondary),qr=Xr,Jr=Co.extend("--ft-ripple-background-color","",Xr),Qr=Nt`
|
|
306
323
|
:host {
|
|
307
324
|
display: contents;
|
|
308
325
|
}
|
|
@@ -315,7 +332,7 @@ const Lr=1,zr=2,Kr=t=>(...o)=>({_$litDirective$:t,values:o});class Zr{constructo
|
|
|
315
332
|
|
|
316
333
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
317
334
|
overflow: hidden;
|
|
318
|
-
border-radius: ${
|
|
335
|
+
border-radius: ${jr.borderRadius};
|
|
319
336
|
}
|
|
320
337
|
|
|
321
338
|
.ft-ripple .ft-ripple--background,
|
|
@@ -349,27 +366,27 @@ const Lr=1,zr=2,Kr=t=>(...o)=>({_$litDirective$:t,values:o});class Zr{constructo
|
|
|
349
366
|
}
|
|
350
367
|
|
|
351
368
|
.ft-ripple .ft-ripple--background {
|
|
352
|
-
background-color: ${
|
|
369
|
+
background-color: ${jr.backgroundColor};
|
|
353
370
|
}
|
|
354
371
|
|
|
355
372
|
.ft-ripple .ft-ripple--effect {
|
|
356
|
-
background-color: ${
|
|
373
|
+
background-color: ${jr.color};
|
|
357
374
|
}
|
|
358
375
|
|
|
359
376
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
360
|
-
background-color: ${
|
|
377
|
+
background-color: ${Jr};
|
|
361
378
|
}
|
|
362
379
|
|
|
363
380
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
364
|
-
background-color: ${
|
|
381
|
+
background-color: ${qr};
|
|
365
382
|
}
|
|
366
383
|
|
|
367
384
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
368
|
-
background-color: ${
|
|
385
|
+
background-color: ${Yr};
|
|
369
386
|
}
|
|
370
387
|
|
|
371
388
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
372
|
-
background-color: ${
|
|
389
|
+
background-color: ${Vr};
|
|
373
390
|
}
|
|
374
391
|
|
|
375
392
|
.ft-ripple .ft-ripple--background {
|
|
@@ -399,39 +416,39 @@ const Lr=1,zr=2,Kr=t=>(...o)=>({_$litDirective$:t,values:o});class Zr{constructo
|
|
|
399
416
|
}
|
|
400
417
|
|
|
401
418
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
402
|
-
opacity: ${
|
|
419
|
+
opacity: ${jr.opacityContentOnSurfaceHover};
|
|
403
420
|
}
|
|
404
421
|
|
|
405
422
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
406
|
-
opacity: ${
|
|
423
|
+
opacity: ${jr.opacityContentOnSurfaceSelected};
|
|
407
424
|
}
|
|
408
425
|
|
|
409
426
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
410
|
-
opacity: ${
|
|
427
|
+
opacity: ${jr.opacityContentOnSurfaceFocused};
|
|
411
428
|
}
|
|
412
429
|
|
|
413
430
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
414
|
-
opacity: ${
|
|
431
|
+
opacity: ${jr.opacityContentOnSurfacePressed};
|
|
415
432
|
transform: translate(-50%, -50%) scale(1);
|
|
416
433
|
}
|
|
417
|
-
`;var
|
|
434
|
+
`;var tn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class on extends Pe{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 no`
|
|
418
435
|
<style>
|
|
419
436
|
.ft-ripple .ft-ripple--effect {
|
|
420
437
|
left: ${this.originX}px;
|
|
421
438
|
top: ${this.originY}px;
|
|
422
439
|
}
|
|
423
440
|
</style>
|
|
424
|
-
<div class="${
|
|
441
|
+
<div class="${Hr(t)}">
|
|
425
442
|
<div class="ft-ripple--background"></div>
|
|
426
443
|
<div class="ft-ripple--effect"></div>
|
|
427
444
|
</div>
|
|
428
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
445
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}on.elementDefinitions={},on.styles=Qr,tn([C({type:Boolean})],on.prototype,"primary",void 0),tn([C({type:Boolean})],on.prototype,"secondary",void 0),tn([C({type:Boolean})],on.prototype,"unbounded",void 0),tn([C({type:Boolean})],on.prototype,"activated",void 0),tn([C({type:Boolean})],on.prototype,"selected",void 0),tn([C({type:Boolean})],on.prototype,"disabled",void 0),tn([$()],on.prototype,"hovered",void 0),tn([$()],on.prototype,"focused",void 0),tn([$()],on.prototype,"pressed",void 0),tn([$()],on.prototype,"rippling",void 0),tn([$()],on.prototype,"originX",void 0),tn([$()],on.prototype,"originY",void 0),tn([U(".ft-ripple")],on.prototype,"ripple",void 0),tn([U(".ft-ripple--effect")],on.prototype,"rippleEffect",void 0),k("ft-ripple")(on);
|
|
429
446
|
/**
|
|
430
447
|
* @license
|
|
431
448
|
* Copyright 2017 Google LLC
|
|
432
449
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
433
450
|
*/
|
|
434
|
-
class
|
|
451
|
+
class en extends Tr{constructor(t){if(super(t),this.et=ot,t.type!==Mr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.vt=void 0,this.et=t;if(t===tt)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:[]}}}en.directiveName="unsafeHTML",en.resultType=1;const rn=Pr(en);var nn,an;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(nn||(nn={})),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=""}(an||(an={})),new Map([...["abw"].map((t=>[t,an.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,an.AUDIO])),...["avi"].map((t=>[t,an.AVI])),...["chm","xhs"].map((t=>[t,an.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,an.CODE])),...["csv"].map((t=>[t,an.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,an.DITA])),...["epub"].map((t=>[t,an.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,an.EXCEL])),...["flac"].map((t=>[t,an.FLAC])),...["gif"].map((t=>[t,an.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,an.GZIP])),...["html","htm","xhtml"].map((t=>[t,an.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,an.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,an.JPEG])),...["json"].map((t=>[t,an.JSON])),...["m4a","m4p"].map((t=>[t,an.M4A])),...["mov","qt"].map((t=>[t,an.MOV])),...["mp3"].map((t=>[t,an.MP3])),...["mp4","m4v"].map((t=>[t,an.MP4])),...["ogg","oga"].map((t=>[t,an.OGG])),...["pdf","ps"].map((t=>[t,an.PDF])),...["png"].map((t=>[t,an.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,an.POWERPOINT])),...["rar"].map((t=>[t,an.RAR])),...["stp"].map((t=>[t,an.STP])),...["txt","rtf","md","mdown"].map((t=>[t,an.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,an.VIDEO])),...["wav"].map((t=>[t,an.WAV])),...["wma"].map((t=>[t,an.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,an.WORD])),...["xml","xsl","rdf"].map((t=>[t,an.XML])),...["yaml","yml","x-yaml"].map((t=>[t,an.YAML])),...["zip"].map((t=>[t,an.ZIP]))]),an.ABW,an.AUDIO,an.AVI,an.CHM,an.CODE,an.CSV,an.DITA,an.EPUB,an.EXCEL,an.FLAC,an.GIF,an.GZIP,an.HTML,an.IMAGE,an.JPEG,an.JSON,an.M4A,an.MOV,an.MP3,an.MP4,an.OGG,an.PDF,an.PNG,an.POWERPOINT,an.RAR,an.STP,an.TEXT,an.UNKNOWN,an.VIDEO,an.WAV,an.WMA,an.WORD,an.XML,an.YAML,an.ZIP;const sn={size:Co.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Co.extend("--ft-icon-fluid-topics-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Co.extend("--ft-icon-file-format-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Co.extend("--ft-icon-material-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Co.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ln=Nt`
|
|
435
452
|
:host, i.ft-icon {
|
|
436
453
|
display: inline-flex;
|
|
437
454
|
align-items: center;
|
|
@@ -440,14 +457,14 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
440
457
|
}
|
|
441
458
|
|
|
442
459
|
:host {
|
|
443
|
-
width: ${
|
|
444
|
-
height: ${
|
|
460
|
+
width: ${sn.size};
|
|
461
|
+
height: ${sn.size};
|
|
445
462
|
}
|
|
446
463
|
|
|
447
464
|
i.ft-icon {
|
|
448
465
|
width: 100%;
|
|
449
466
|
height: 100%;
|
|
450
|
-
font-size: ${
|
|
467
|
+
font-size: ${sn.size};
|
|
451
468
|
line-height: 1;
|
|
452
469
|
font-weight: normal;
|
|
453
470
|
text-transform: none;
|
|
@@ -458,33 +475,33 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
458
475
|
text-rendering: auto;
|
|
459
476
|
-webkit-font-smoothing: antialiased;
|
|
460
477
|
-moz-osx-font-smoothing: grayscale;
|
|
461
|
-
vertical-align: ${
|
|
478
|
+
vertical-align: ${sn.verticalAlign};
|
|
462
479
|
}
|
|
463
480
|
|
|
464
481
|
i.ft-icon.ft-icon--fluid-topics {
|
|
465
|
-
font-family: ${
|
|
482
|
+
font-family: ${sn.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
466
483
|
|
|
467
484
|
/* Ugly fix because font is broken */
|
|
468
|
-
font-size: calc(0.75 * ${
|
|
469
|
-
line-height: ${
|
|
485
|
+
font-size: calc(0.75 * ${sn.size});
|
|
486
|
+
line-height: ${sn.size};
|
|
470
487
|
position: relative;
|
|
471
488
|
top: -4%;
|
|
472
489
|
justify-content: center;
|
|
473
490
|
}
|
|
474
491
|
|
|
475
492
|
.ft-icon--file-format {
|
|
476
|
-
font-family: ${
|
|
493
|
+
font-family: ${sn.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
477
494
|
}
|
|
478
495
|
|
|
479
496
|
.ft-icon--material {
|
|
480
|
-
font-family: ${
|
|
497
|
+
font-family: ${sn.materialFontFamily}, "Material Icons", sans-serif;
|
|
481
498
|
}
|
|
482
|
-
`;var
|
|
499
|
+
`;var cn;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(cn||(cn={}));var pn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fn extends Pe{constructor(){super(...arguments),this.resolvedIcon=so}render(){const t=this.variant&&Object.values(cn).includes(this.variant)?this.variant:cn.fluid_topics,o=t!==cn.material||!!this.value;return no`
|
|
483
500
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
484
|
-
${
|
|
501
|
+
${rn(this.resolvedIcon)}
|
|
485
502
|
<slot ?hidden=${o}></slot>
|
|
486
503
|
</i>
|
|
487
|
-
`}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
|
|
504
|
+
`}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 cn.file_format:this.resolvedIcon=null!==(t=an[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case cn.material:this.resolvedIcon=this.value||so;break;default:this.resolvedIcon=null!==(o=nn[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}fn.elementDefinitions={},fn.styles=ln,pn([C()],fn.prototype,"variant",void 0),pn([C()],fn.prototype,"value",void 0),pn([$()],fn.prototype,"resolvedIcon",void 0),pn([U("slot")],fn.prototype,"slottedContent",void 0),k("ft-icon")(fn);const hn={color:Co.extend("--ft-loader-color","",ko.colorPrimary),size:Co.create("--ft-loader-size","","SIZE","80px")},dn=Nt`
|
|
488
505
|
:host {
|
|
489
506
|
line-height: 0;
|
|
490
507
|
}
|
|
@@ -493,8 +510,8 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
493
510
|
display: inline-block;
|
|
494
511
|
position: relative;
|
|
495
512
|
|
|
496
|
-
width: ${
|
|
497
|
-
height: ${
|
|
513
|
+
width: ${hn.size};
|
|
514
|
+
height: ${hn.size};
|
|
498
515
|
}
|
|
499
516
|
|
|
500
517
|
.ft-loader div {
|
|
@@ -503,7 +520,7 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
503
520
|
width: 25%;
|
|
504
521
|
height: 25%;
|
|
505
522
|
border-radius: 50%;
|
|
506
|
-
background: ${
|
|
523
|
+
background: ${hn.color};
|
|
507
524
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
508
525
|
}
|
|
509
526
|
|
|
@@ -550,10 +567,10 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
550
567
|
transform: translate(0, 0);
|
|
551
568
|
}
|
|
552
569
|
100% {
|
|
553
|
-
transform: translate(calc(0.35 * ${
|
|
570
|
+
transform: translate(calc(0.35 * ${hn.size}), 0);
|
|
554
571
|
}
|
|
555
572
|
}
|
|
556
|
-
`,
|
|
573
|
+
`,un=Co.extend("--ft-button-color","",ko.colorPrimary),yn={backgroundColor:Co.extend("--ft-button-background-color","",ko.colorSurface),borderRadius:Co.extend("--ft-button-border-radius","",ko.borderRadiusL),color:un,fontSize:Co.extend("--ft-button-font-size","",gr.fontSize),iconSize:Co.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Co.extend("--ft-button-ripple-color","",un),verticalPadding:Co.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Co.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Co.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Co.external(ko.colorOpacityDisabled,"Design system")},gn=Co.extend("--ft-button-primary-color","",Co.extend("--ft-button-color","",ko.colorOnPrimary)),bn={backgroundColor:Co.extend("--ft-button-primary-background-color","",Co.extend("--ft-button-background-color","",ko.colorPrimary)),color:gn,rippleColor:Co.extend("--ft-button-primary-ripple-color","",gn)},mn=Co.extend("--ft-button-dense-border-radius","",Co.extend("--ft-button-border-radius","",ko.borderRadiusM)),xn=Co.create("--ft-button-dense-vertical-padding","","SIZE","2px"),vn=Co.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),On=Co.create("--ft-button-dense-icon-padding","","SIZE","4px"),Sn=[Nt`
|
|
557
574
|
:host {
|
|
558
575
|
display: inline-block;
|
|
559
576
|
max-width: 100%;
|
|
@@ -564,7 +581,7 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
564
581
|
box-shadow: 0px 0px 0px transparent;
|
|
565
582
|
border: 0px solid transparent;
|
|
566
583
|
text-shadow: 0px 0px 0px transparent;
|
|
567
|
-
font-size: ${
|
|
584
|
+
font-size: ${yn.fontSize};
|
|
568
585
|
}
|
|
569
586
|
|
|
570
587
|
button:hover {
|
|
@@ -593,31 +610,31 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
593
610
|
border: none;
|
|
594
611
|
pointer-events: auto;
|
|
595
612
|
|
|
596
|
-
--ft-button-internal-line-height: max(calc(${
|
|
597
|
-
--ft-button-internal-color: ${
|
|
598
|
-
${
|
|
599
|
-
${
|
|
613
|
+
--ft-button-internal-line-height: max(calc(${yn.fontSize} + 2px), ${yn.iconSize});
|
|
614
|
+
--ft-button-internal-color: ${yn.color};
|
|
615
|
+
${$o(sn.size,yn.iconSize)};
|
|
616
|
+
${$o(jr.color,yn.rippleColor)};
|
|
600
617
|
|
|
601
|
-
border-radius: ${
|
|
602
|
-
padding: ${
|
|
603
|
-
background-color: ${
|
|
618
|
+
border-radius: ${yn.borderRadius};
|
|
619
|
+
padding: ${yn.verticalPadding} ${yn.horizontalPadding};
|
|
620
|
+
background-color: ${yn.backgroundColor};
|
|
604
621
|
color: var(--ft-button-internal-color);
|
|
605
622
|
-webkit-mask-image: radial-gradient(white, black);
|
|
606
623
|
}
|
|
607
624
|
|
|
608
625
|
.ft-button.ft-button--outlined {
|
|
609
626
|
border: 1px solid var(--ft-button-internal-color);
|
|
610
|
-
padding: calc(${
|
|
627
|
+
padding: calc(${yn.verticalPadding} - 1px) calc(${yn.horizontalPadding} - 1px);
|
|
611
628
|
}
|
|
612
629
|
|
|
613
630
|
.ft-button.ft-button--dense {
|
|
614
|
-
padding: ${
|
|
615
|
-
border-radius: ${
|
|
616
|
-
gap: ${
|
|
631
|
+
padding: ${xn} ${vn};
|
|
632
|
+
border-radius: ${mn};
|
|
633
|
+
gap: ${On};
|
|
617
634
|
}
|
|
618
635
|
|
|
619
636
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
620
|
-
padding: calc(${
|
|
637
|
+
padding: calc(${xn} - 1px) calc(${vn} - 1px);
|
|
621
638
|
}
|
|
622
639
|
|
|
623
640
|
.ft-button:not([disabled]):hover {
|
|
@@ -625,22 +642,22 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
625
642
|
}
|
|
626
643
|
|
|
627
644
|
.ft-button--round {
|
|
628
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
645
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${yn.verticalPadding});
|
|
629
646
|
}
|
|
630
647
|
|
|
631
648
|
.ft-button--round.ft-button--dense {
|
|
632
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
649
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${xn});
|
|
633
650
|
}
|
|
634
651
|
|
|
635
652
|
.ft-button[disabled] {
|
|
636
653
|
filter: grayscale(1);
|
|
637
|
-
opacity: ${
|
|
654
|
+
opacity: ${yn.opacityDisabled};
|
|
638
655
|
}
|
|
639
656
|
|
|
640
657
|
.ft-button.ft-button--primary {
|
|
641
|
-
background-color: ${
|
|
642
|
-
--ft-button-internal-color: ${
|
|
643
|
-
${
|
|
658
|
+
background-color: ${bn.backgroundColor};
|
|
659
|
+
--ft-button-internal-color: ${bn.color};
|
|
660
|
+
${$o(jr.color,bn.rippleColor)};
|
|
644
661
|
}
|
|
645
662
|
|
|
646
663
|
.ft-button:focus {
|
|
@@ -653,13 +670,13 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
653
670
|
white-space: nowrap;
|
|
654
671
|
text-overflow: ellipsis;
|
|
655
672
|
display: block;
|
|
656
|
-
margin: 0 ${
|
|
657
|
-
${
|
|
658
|
-
${
|
|
673
|
+
margin: 0 ${yn.iconPadding};
|
|
674
|
+
${$o(gr.fontSize,"1em")};
|
|
675
|
+
${$o(gr.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
659
676
|
}
|
|
660
677
|
|
|
661
678
|
.ft-button--dense .ft-button--label {
|
|
662
|
-
margin: 0 ${
|
|
679
|
+
margin: 0 ${On};
|
|
663
680
|
}
|
|
664
681
|
|
|
665
682
|
.ft-button--label[hidden] {
|
|
@@ -672,13 +689,13 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
672
689
|
}
|
|
673
690
|
|
|
674
691
|
.ft-button--label[hidden] + ft-icon {
|
|
675
|
-
margin: 0 calc(${
|
|
676
|
-
padding: 0 ${
|
|
692
|
+
margin: 0 calc(${yn.horizontalPadding} * -1);
|
|
693
|
+
padding: 0 ${yn.verticalPadding};
|
|
677
694
|
}
|
|
678
695
|
|
|
679
696
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
680
|
-
margin: 0 calc(${
|
|
681
|
-
padding: 0 ${
|
|
697
|
+
margin: 0 calc(${vn} * -1);
|
|
698
|
+
padding: 0 ${xn};
|
|
682
699
|
}
|
|
683
700
|
|
|
684
701
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -687,40 +704,40 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
687
704
|
}
|
|
688
705
|
|
|
689
706
|
ft-loader {
|
|
690
|
-
${
|
|
691
|
-
${
|
|
707
|
+
${$o(hn.size,yn.iconSize)};
|
|
708
|
+
${$o(hn.color,"var(--ft-button-internal-color)")};
|
|
692
709
|
}
|
|
693
|
-
`,
|
|
710
|
+
`,He];class Nn extends Pe{render(){return no`
|
|
694
711
|
<div class="ft-loader">
|
|
695
712
|
<div></div>
|
|
696
713
|
<div></div>
|
|
697
714
|
<div></div>
|
|
698
715
|
<div></div>
|
|
699
716
|
</div>
|
|
700
|
-
`}}
|
|
717
|
+
`}}Nn.styles=dn,k("ft-loader")(Nn);var wn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Cn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[oi].form}constructor(...t){super(t),this[oi]=this.attachInternals(),this[oi].role=o}setFormValue(t){this[oi].setFormValue(t)}}}(Pe,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(no`
|
|
701
718
|
<button part="button"
|
|
702
|
-
class="${
|
|
719
|
+
class="${Hr(this.buttonClasses)}"
|
|
703
720
|
aria-label="${this.getLabel()}"
|
|
704
721
|
?disabled=${this.isDisabled()}>
|
|
705
722
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
706
723
|
<ft-typography part="label"
|
|
707
724
|
variant=${this.typographyVariant}
|
|
708
725
|
element="span"
|
|
709
|
-
class="ft-button--label ${
|
|
726
|
+
class="ft-button--label ${ni?"ft-safari-ellipsis-fix":""}"
|
|
710
727
|
?hidden=${!this.hasTextContent()}>
|
|
711
728
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
712
729
|
</ft-typography>
|
|
713
730
|
${this.resolveIcon()}
|
|
714
731
|
</button>
|
|
715
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
732
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?no`
|
|
716
733
|
<ft-tooltip part="tooltip"
|
|
717
734
|
text="${this.getLabel()}"
|
|
718
735
|
position="${this.tooltipPosition}">
|
|
719
736
|
${t}
|
|
720
737
|
</ft-tooltip>
|
|
721
|
-
`:t}resolveIcon(){return this.loading?
|
|
722
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
723
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
738
|
+
`:t}resolveIcon(){return this.loading?no`
|
|
739
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?no`
|
|
740
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:so}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}}Cn.elementDefinitions={"ft-ripple":on,"ft-tooltip":Br,"ft-typography":Ir,"ft-icon":fn,"ft-loader":Nn},wn([C({type:String,reflect:!0})],Cn.prototype,"role",void 0),wn([C()],Cn.prototype,"type",void 0),wn([C({type:Boolean})],Cn.prototype,"disabled",void 0),wn([C()],Cn.prototype,"label",void 0),wn([C()],Cn.prototype,"icon",void 0),wn([C()],Cn.prototype,"iconVariant",void 0),wn([C({type:Boolean})],Cn.prototype,"trailingIcon",void 0),wn([C({type:Boolean})],Cn.prototype,"loading",void 0),wn([C()],Cn.prototype,"tooltipPosition",void 0),wn([C({type:Boolean})],Cn.prototype,"hideTooltip",void 0),wn([C({type:Boolean})],Cn.prototype,"forceTooltip",void 0),wn([U(".ft-button")],Cn.prototype,"button",void 0),wn([U(".ft-button--label slot")],Cn.prototype,"slottedContent",void 0);var $n=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 En extends Cn{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"}}En.styles=[_e,Sn],$n([C({type:Boolean})],En.prototype,"primary",void 0),$n([C({type:Boolean})],En.prototype,"outlined",void 0),$n([C({type:Boolean})],En.prototype,"dense",void 0),$n([C({type:Boolean})],En.prototype,"round",void 0);const Rn=[Nt`
|
|
724
741
|
:host {
|
|
725
742
|
display: inline-block;
|
|
726
743
|
max-width: 100%;
|
|
@@ -770,7 +787,7 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
770
787
|
}
|
|
771
788
|
|
|
772
789
|
.ft-button:focus-visible {
|
|
773
|
-
outline-color: ${
|
|
790
|
+
outline-color: ${Io.focusFocusRingColor};
|
|
774
791
|
outline-style: solid;
|
|
775
792
|
}
|
|
776
793
|
|
|
@@ -799,146 +816,146 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
799
816
|
/** Primary styles **/
|
|
800
817
|
|
|
801
818
|
.ft-button--primary {
|
|
802
|
-
${
|
|
819
|
+
${$o(hn.color,Io.primaryIconColor)};
|
|
803
820
|
|
|
804
|
-
${
|
|
805
|
-
${
|
|
806
|
-
${
|
|
807
|
-
${
|
|
808
|
-
${
|
|
821
|
+
${$o(jr.color,Io.primaryStateLayerColor)};
|
|
822
|
+
${$o(jr.opacityContentOnSurfaceHover,Io.primaryStateLayerOpacityHover)};
|
|
823
|
+
${$o(jr.opacityContentOnSurfaceFocused,Io.primaryStateLayerOpacityFocus)};
|
|
824
|
+
${$o(jr.opacityContentOnSurfaceSelected,Io.primaryStateLayerOpacityActive)};
|
|
825
|
+
${$o(jr.opacityContentOnSurfacePressed,Io.primaryStateLayerOpacityActive)};
|
|
809
826
|
|
|
810
|
-
background-color: ${
|
|
811
|
-
color: ${
|
|
827
|
+
background-color: ${Io.primaryBackgroundColor};
|
|
828
|
+
color: ${Io.primaryColor};
|
|
812
829
|
border-style: none;
|
|
813
830
|
}
|
|
814
831
|
|
|
815
832
|
.ft-button--primary[disabled] {
|
|
816
|
-
opacity: ${
|
|
833
|
+
opacity: ${Io.primaryComponentOpacityDisabled};
|
|
817
834
|
}
|
|
818
835
|
|
|
819
836
|
.ft-button--primary ft-icon {
|
|
820
|
-
color: ${
|
|
837
|
+
color: ${Io.primaryIconColor};
|
|
821
838
|
}
|
|
822
839
|
|
|
823
840
|
/** Secondary styles **/
|
|
824
841
|
|
|
825
842
|
.ft-button--secondary {
|
|
826
|
-
${
|
|
843
|
+
${$o(hn.color,Io.secondaryIconColor)};
|
|
827
844
|
|
|
828
|
-
${
|
|
829
|
-
${
|
|
830
|
-
${
|
|
831
|
-
${
|
|
832
|
-
${
|
|
845
|
+
${$o(jr.color,Io.secondaryStateLayerColor)};
|
|
846
|
+
${$o(jr.opacityContentOnSurfaceHover,Io.secondaryStateLayerOpacityHover)};
|
|
847
|
+
${$o(jr.opacityContentOnSurfaceFocused,Io.secondaryStateLayerOpacityFocus)};
|
|
848
|
+
${$o(jr.opacityContentOnSurfaceSelected,Io.secondaryStateLayerOpacityActive)};
|
|
849
|
+
${$o(jr.opacityContentOnSurfacePressed,Io.secondaryStateLayerOpacityActive)};
|
|
833
850
|
|
|
834
|
-
background-color: ${
|
|
835
|
-
color: ${
|
|
836
|
-
border-color: ${
|
|
851
|
+
background-color: ${Io.secondaryBackgroundColor};
|
|
852
|
+
color: ${Io.secondaryColor};
|
|
853
|
+
border-color: ${Io.secondaryBorderColor};
|
|
837
854
|
border-style: solid;
|
|
838
855
|
}
|
|
839
856
|
|
|
840
857
|
.ft-button--secondary[disabled] {
|
|
841
|
-
opacity: ${
|
|
858
|
+
opacity: ${Io.secondaryComponentOpacityDisabled};
|
|
842
859
|
}
|
|
843
860
|
|
|
844
861
|
.ft-button--secondary ft-icon {
|
|
845
|
-
color: ${
|
|
862
|
+
color: ${Io.secondaryIconColor};
|
|
846
863
|
}
|
|
847
864
|
|
|
848
865
|
/** Tertiary styles **/
|
|
849
866
|
|
|
850
867
|
.ft-button--tertiary {
|
|
851
|
-
${
|
|
868
|
+
${$o(hn.color,Io.tertiaryIconColor)};
|
|
852
869
|
|
|
853
|
-
${
|
|
854
|
-
${
|
|
855
|
-
${
|
|
856
|
-
${
|
|
857
|
-
${
|
|
870
|
+
${$o(jr.color,Io.tertiaryStateLayerColor)};
|
|
871
|
+
${$o(jr.opacityContentOnSurfaceHover,Io.tertiaryStateLayerOpacityHover)};
|
|
872
|
+
${$o(jr.opacityContentOnSurfaceFocused,Io.tertiaryStateLayerOpacityFocus)};
|
|
873
|
+
${$o(jr.opacityContentOnSurfaceSelected,Io.tertiaryStateLayerOpacityActive)};
|
|
874
|
+
${$o(jr.opacityContentOnSurfacePressed,Io.tertiaryStateLayerOpacityActive)};
|
|
858
875
|
|
|
859
|
-
background-color: ${
|
|
860
|
-
color: ${
|
|
876
|
+
background-color: ${Io.tertiaryBackgroundColor};
|
|
877
|
+
color: ${Io.tertiaryColor};
|
|
861
878
|
border-style: none;
|
|
862
879
|
}
|
|
863
880
|
|
|
864
881
|
.ft-button--tertiary[disabled] {
|
|
865
|
-
opacity: ${
|
|
882
|
+
opacity: ${Io.tertiaryComponentOpacityDisabled};
|
|
866
883
|
}
|
|
867
884
|
|
|
868
885
|
.ft-button--tertiary ft-icon {
|
|
869
|
-
color: ${
|
|
886
|
+
color: ${Io.tertiaryIconColor};
|
|
870
887
|
}
|
|
871
888
|
|
|
872
889
|
/** Neutral styles **/
|
|
873
890
|
|
|
874
891
|
.ft-button--neutral {
|
|
875
|
-
${
|
|
892
|
+
${$o(hn.color,Io.neutralIconColor)};
|
|
876
893
|
|
|
877
|
-
${
|
|
878
|
-
${
|
|
879
|
-
${
|
|
880
|
-
${
|
|
881
|
-
${
|
|
894
|
+
${$o(jr.backgroundColor,Io.neutralStateLayerColor)};
|
|
895
|
+
${$o(jr.opacityContentOnSurfaceHover,Io.neutralStateLayerOpacityHover)};
|
|
896
|
+
${$o(jr.opacityContentOnSurfaceFocused,Io.neutralStateLayerOpacityFocus)};
|
|
897
|
+
${$o(jr.opacityContentOnSurfaceSelected,Io.neutralStateLayerOpacityActive)};
|
|
898
|
+
${$o(jr.opacityContentOnSurfacePressed,Io.neutralStateLayerOpacityActive)};
|
|
882
899
|
|
|
883
|
-
background-color: ${
|
|
884
|
-
color: ${
|
|
900
|
+
background-color: ${Io.neutralBackgroundColor};
|
|
901
|
+
color: ${Io.neutralColor};
|
|
885
902
|
border-style: none;
|
|
886
903
|
}
|
|
887
904
|
|
|
888
905
|
.ft-button--neutral[disabled] {
|
|
889
|
-
opacity: ${
|
|
906
|
+
opacity: ${Io.neutralComponentOpacityDisabled};
|
|
890
907
|
}
|
|
891
908
|
|
|
892
909
|
.ft-button--neutral ft-icon {
|
|
893
|
-
color: ${
|
|
910
|
+
color: ${Io.neutralIconColor};
|
|
894
911
|
}
|
|
895
912
|
|
|
896
913
|
/** Large styles **/
|
|
897
914
|
|
|
898
915
|
.ft-button--large {
|
|
899
|
-
${
|
|
900
|
-
${
|
|
916
|
+
${$o(sn.size,Io.largeIconSize)};
|
|
917
|
+
${$o(hn.size,Io.largeIconSize)};
|
|
901
918
|
|
|
902
|
-
height: ${
|
|
903
|
-
padding: 0 ${
|
|
904
|
-
gap: ${
|
|
905
|
-
border-radius: ${
|
|
906
|
-
border-width: ${
|
|
919
|
+
height: ${Io.largeHeight};
|
|
920
|
+
padding: 0 ${Io.largeHorizontalPadding};
|
|
921
|
+
gap: ${Io.largeGap};
|
|
922
|
+
border-radius: ${Io.largeBorderRadius};
|
|
923
|
+
border-width: ${Io.largeBorderWidth};
|
|
907
924
|
}
|
|
908
925
|
|
|
909
926
|
.ft-button--large:focus-visible {
|
|
910
|
-
outline-width: ${
|
|
911
|
-
outline-offset: ${
|
|
927
|
+
outline-width: ${Io.largeFocusOutlineWidth};
|
|
928
|
+
outline-offset: ${Io.largeFocusOutlineOffset};
|
|
912
929
|
}
|
|
913
930
|
|
|
914
931
|
.ft-button--large.ft-button--icon-only {
|
|
915
|
-
width: ${
|
|
932
|
+
width: ${Io.largeIconOnlyWidth};
|
|
916
933
|
padding: unset;
|
|
917
934
|
}
|
|
918
935
|
|
|
919
936
|
/** Small styles **/
|
|
920
937
|
|
|
921
938
|
.ft-button--small {
|
|
922
|
-
${
|
|
923
|
-
${
|
|
939
|
+
${$o(sn.size,Io.smallIconSize)};
|
|
940
|
+
${$o(hn.size,Io.smallIconSize)};
|
|
924
941
|
|
|
925
|
-
height: ${
|
|
926
|
-
padding: 0 ${
|
|
927
|
-
gap: ${
|
|
928
|
-
border-radius: ${
|
|
929
|
-
border-width: ${
|
|
942
|
+
height: ${Io.smallHeight};
|
|
943
|
+
padding: 0 ${Io.smallHorizontalPadding};
|
|
944
|
+
gap: ${Io.smallGap};
|
|
945
|
+
border-radius: ${Io.smallBorderRadius};
|
|
946
|
+
border-width: ${Io.smallBorderWidth};
|
|
930
947
|
}
|
|
931
948
|
|
|
932
949
|
.ft-button--small:focus-visible {
|
|
933
|
-
outline-width: ${
|
|
934
|
-
outline-offset: ${
|
|
950
|
+
outline-width: ${Io.smallFocusOutlineWidth};
|
|
951
|
+
outline-offset: ${Io.smallFocusOutlineOffset};
|
|
935
952
|
}
|
|
936
953
|
|
|
937
954
|
.ft-button--small.ft-button--icon-only {
|
|
938
|
-
width: ${
|
|
955
|
+
width: ${Io.smallIconOnlyWidth};
|
|
939
956
|
padding: unset;
|
|
940
957
|
}
|
|
941
|
-
`,
|
|
958
|
+
`,He];var Un=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class In extends Cn{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?bi.caption1medium:bi.body2medium}}In.styles=[_e,Rn],Un([C({type:Boolean})],In.prototype,"primary",void 0),Un([C({type:Boolean})],In.prototype,"secondary",void 0),Un([C({type:Boolean})],In.prototype,"tertiary",void 0),Un([C({type:Boolean})],In.prototype,"neutral",void 0),Un([C({type:Boolean})],In.prototype,"small",void 0),k("ft-button")(En),k("ftds-button")(In);const kn=Co.extend("--ft-chip-color","",ko.colorOnSurface),Ln={backgroundColor:Co.extend("--ft-chip-background-color","",ko.colorSurface),color:kn,fontSize:Co.extend("--ft-chip-font-size","",qi.fontSize),iconSize:Co.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Co.extend("--ft-chip-ripple-color","",kn),horizontalPadding:Co.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Co.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:Co.external(ko.colorOutline,"Design system"),opacityDisabled:Co.external(ko.colorOpacityDisabled,"Design system")},Wn=Co.extend("--ft-chip-highlighted-color","",Co.extend("--ft-chip-color","",ko.colorOnPrimary)),An={backgroundColor:Co.extend("--ft-chip-highlighted-background-color","",Co.extend("--ft-chip-background-color","",ko.colorPrimary)),color:Wn,rippleColor:Co.extend("--ft-chip-highlighted-ripple-color","",Wn)},Kn=Co.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Fn=Co.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),zn=[He,Nt`
|
|
942
959
|
:host {
|
|
943
960
|
display: inline-block;
|
|
944
961
|
max-width: 100%;
|
|
@@ -954,20 +971,20 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
954
971
|
box-sizing: border-box;
|
|
955
972
|
pointer-events: auto;
|
|
956
973
|
|
|
957
|
-
--ft-chip-internal-font-size: ${
|
|
974
|
+
--ft-chip-internal-font-size: ${Ln.fontSize};
|
|
958
975
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
959
|
-
${
|
|
960
|
-
--ft-chip-internal-vertical-padding: ${
|
|
961
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
976
|
+
${$o(sn.size,Ln.iconSize)};
|
|
977
|
+
--ft-chip-internal-vertical-padding: ${Ln.verticalPadding};
|
|
978
|
+
--ft-chip-internal-horizontal-padding: ${Ln.horizontalPadding};
|
|
962
979
|
--ft-chip-internal-icon-padding: 3px;
|
|
963
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
980
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ln.iconSize});
|
|
964
981
|
|
|
965
|
-
border: 1px solid ${
|
|
966
|
-
color: ${
|
|
967
|
-
${
|
|
982
|
+
border: 1px solid ${Ln.colorOutline};
|
|
983
|
+
color: ${Ln.color};
|
|
984
|
+
${$o(jr.color,Ln.rippleColor)};
|
|
968
985
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
969
986
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
970
|
-
background-color: ${
|
|
987
|
+
background-color: ${Ln.backgroundColor};
|
|
971
988
|
line-height: var(--ft-chip-internal-content-height);
|
|
972
989
|
}
|
|
973
990
|
|
|
@@ -977,8 +994,8 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
977
994
|
|
|
978
995
|
.ft-chip--dense {
|
|
979
996
|
--ft-chip-internal-icon-padding: 3px;
|
|
980
|
-
--ft-chip-internal-vertical-padding: ${
|
|
981
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
997
|
+
--ft-chip-internal-vertical-padding: ${Fn};
|
|
998
|
+
--ft-chip-internal-horizontal-padding: ${Kn};
|
|
982
999
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
983
1000
|
}
|
|
984
1001
|
|
|
@@ -990,15 +1007,15 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
990
1007
|
cursor: default;
|
|
991
1008
|
pointer-events: none;
|
|
992
1009
|
filter: grayscale(1);
|
|
993
|
-
opacity: ${
|
|
1010
|
+
opacity: ${Ln.opacityDisabled};
|
|
994
1011
|
}
|
|
995
1012
|
|
|
996
1013
|
.ft-chip--highlighted {
|
|
997
1014
|
border: none;
|
|
998
1015
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
999
|
-
background-color: ${
|
|
1000
|
-
${
|
|
1001
|
-
color: ${
|
|
1016
|
+
background-color: ${An.backgroundColor};
|
|
1017
|
+
${$o(jr.color,An.rippleColor)};
|
|
1018
|
+
color: ${An.color};
|
|
1002
1019
|
}
|
|
1003
1020
|
|
|
1004
1021
|
.ft-chip--clickable {
|
|
@@ -1028,9 +1045,9 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
1028
1045
|
}
|
|
1029
1046
|
|
|
1030
1047
|
.ft-chip--icon-button {
|
|
1031
|
-
${
|
|
1032
|
-
${
|
|
1033
|
-
${
|
|
1048
|
+
${$o(yn.iconSize,Ln.iconSize)};
|
|
1049
|
+
${$o(yn.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1050
|
+
${$o(yn.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1034
1051
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
1035
1052
|
}
|
|
1036
1053
|
|
|
@@ -1038,8 +1055,8 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
1038
1055
|
vertical-align: bottom;
|
|
1039
1056
|
display: block;
|
|
1040
1057
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
1041
|
-
${
|
|
1042
|
-
${
|
|
1058
|
+
${$o(qi.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
1059
|
+
${$o(qi.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
1043
1060
|
}
|
|
1044
1061
|
|
|
1045
1062
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -1075,8 +1092,8 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
1075
1092
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1076
1093
|
order: -1;
|
|
1077
1094
|
}
|
|
1078
|
-
`];var
|
|
1079
|
-
<div class="${
|
|
1095
|
+
`];var Dn=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 Bn extends CustomEvent{constructor(){super("icon-click")}}class Zn extends Pe{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":ni};return no`
|
|
1096
|
+
<div class="${Hr(t)}"
|
|
1080
1097
|
aria-label="${this.getLabel()}"
|
|
1081
1098
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
1082
1099
|
@keyup=${this.onKeyUp}>
|
|
@@ -1086,7 +1103,7 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
1086
1103
|
</ft-typography>
|
|
1087
1104
|
${this.internalIcon?this.renderIcon():null}
|
|
1088
1105
|
</div>
|
|
1089
|
-
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?
|
|
1106
|
+
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?no`
|
|
1090
1107
|
<ft-button round
|
|
1091
1108
|
class="ft-chip--icon-button"
|
|
1092
1109
|
@click=${this.onIconClick}
|
|
@@ -1094,21 +1111,180 @@ class Vr extends Zr{constructor(t){if(super(t),this.et=Q,t.type!==zr)throw Error
|
|
|
1094
1111
|
icon="${this.internalIcon}"
|
|
1095
1112
|
label="${this.iconLabel}"
|
|
1096
1113
|
></ft-button>
|
|
1097
|
-
`:
|
|
1114
|
+
`:no`
|
|
1098
1115
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
1099
1116
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
1100
1117
|
</div>
|
|
1101
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
1118
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Bn))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Bn))}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)}}Zn.elementDefinitions={"ft-ripple":on,"ft-typography":Ir,"ft-icon":fn,"ft-button":En},Zn.styles=zn,Dn([C({type:Boolean})],Zn.prototype,"highlighted",void 0),Dn([C({type:Boolean})],Zn.prototype,"removable",void 0),Dn([C({type:Boolean})],Zn.prototype,"disabled",void 0),Dn([C({type:Boolean})],Zn.prototype,"clickable",void 0),Dn([C({type:Boolean})],Zn.prototype,"iconClickable",void 0),Dn([C({type:Boolean})],Zn.prototype,"dense",void 0),Dn([C({type:Boolean})],Zn.prototype,"multiLine",void 0),Dn([C()],Zn.prototype,"label",void 0),Dn([C()],Zn.prototype,"iconLabel",void 0),Dn([C()],Zn.prototype,"icon",void 0),Dn([C()],Zn.prototype,"iconVariant",void 0),Dn([C({type:Boolean})],Zn.prototype,"trailingIcon",void 0),Dn([U("ft-typography slot")],Zn.prototype,"slottedContent",void 0),k("ft-chip")(Zn);const Mn=Co.create("--ft-floating-menu-z-index","","NUMBER","8"),Pn=Co.create("--ft-floating-menu-max-width","","SIZE","300px"),Tn=Co.create("--ft-floating-menu-max-height","","SIZE","500px"),Hn=Co.extend("--ft-floating-menu-text-color","",ko.colorOnSurfaceHigh),_n=Co.external(ko.colorSurface,"Design system"),jn=Co.external(ko.elevation02,"Design system"),Gn=Co.external(ko.borderRadiusS,"Design system"),Vn=Nt`
|
|
1119
|
+
.ft-floating-menu {
|
|
1120
|
+
color: ${Hn};
|
|
1121
|
+
display: inline-block;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
.ft-floating-menu--wrapper {
|
|
1125
|
+
position: absolute;
|
|
1126
|
+
visibility: hidden;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
.ft-floating-menu--wrapper.ft-floating-menu--wrapper-positioned {
|
|
1130
|
+
visibility: visible;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.ft-floating-menu--options {
|
|
1134
|
+
display: none;
|
|
1135
|
+
position: relative;
|
|
1136
|
+
overflow: auto;
|
|
1137
|
+
max-width: ${Pn};
|
|
1138
|
+
max-height: ${Tn};
|
|
1139
|
+
box-shadow: ${jn};
|
|
1140
|
+
background-color: ${_n};
|
|
1141
|
+
border-radius: ${Gn};
|
|
1142
|
+
color: ${Hn};
|
|
1143
|
+
z-index: ${Mn};
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
.ft-floating-menu--open .ft-floating-menu--options {
|
|
1147
|
+
display: block;
|
|
1148
|
+
}
|
|
1149
|
+
`,Yn=Co.extend("--ft-floating-menu-icon-color","",ko.colorOnSurfaceMedium),Xn=Nt`
|
|
1150
|
+
.ft-floating-menu-item {
|
|
1151
|
+
cursor: pointer;
|
|
1152
|
+
display: flex;
|
|
1153
|
+
position: relative;
|
|
1154
|
+
align-items: center;
|
|
1155
|
+
justify-content: flex-start;
|
|
1156
|
+
overflow: hidden;
|
|
1157
|
+
padding: 4px 16px;
|
|
1158
|
+
outline: none;
|
|
1159
|
+
min-height: 48px;
|
|
1160
|
+
gap: 16px;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
.ft-floating-menu-item ft-icon {
|
|
1164
|
+
color: ${Yn};
|
|
1165
|
+
margin-left: 0;
|
|
1166
|
+
flex-shrink: 0;
|
|
1167
|
+
flex-grow: 0;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
.ft-floating-menu-item ft-typography {
|
|
1171
|
+
flex-shrink: 1;
|
|
1172
|
+
flex-grow: 1;
|
|
1173
|
+
width: max-content;
|
|
1174
|
+
text-overflow: ellipsis;
|
|
1175
|
+
overflow: hidden;
|
|
1176
|
+
word-break: break-word;
|
|
1177
|
+
hyphens: auto;
|
|
1178
|
+
}
|
|
1179
|
+
`;var qn=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 Jn extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class Qn extends Pe{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return no`
|
|
1180
|
+
<div class="ft-floating-menu-item"
|
|
1181
|
+
tabindex=${this.notFocusable?"-1":"0"}
|
|
1182
|
+
@keydown=${t=>this.onKeyDown(t)}
|
|
1183
|
+
@click=${this.onClick}>
|
|
1184
|
+
<ft-ripple></ft-ripple>
|
|
1185
|
+
${this.icon?no`
|
|
1186
|
+
<ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
1187
|
+
`:so}
|
|
1188
|
+
<ft-typography variant="body2">
|
|
1189
|
+
<slot></slot>
|
|
1190
|
+
</ft-typography>
|
|
1191
|
+
</div>
|
|
1192
|
+
`}onClick(t){this.dispatchEvent(new Jn(this.value))}onKeyDown(t){"Enter"!=t.key&&" "!=t.key||(t.preventDefault(),this.dispatchEvent(new Jn(this.value)))}}Qn.elementDefinitions={"ft-icon":fn,"ft-ripple":on,"ft-typography":Ir},Qn.styles=Xn,qn([C()],Qn.prototype,"iconVariant",void 0),qn([C()],Qn.prototype,"icon",void 0),qn([C()],Qn.prototype,"value",void 0),qn([C({type:Boolean})],Qn.prototype,"notFocusable",void 0);var ta=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 oa extends Pe{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=cn.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return no`
|
|
1193
|
+
<div class="${Hr(t)}">
|
|
1194
|
+
|
|
1195
|
+
<slot name="toggle"
|
|
1196
|
+
part="toggle"
|
|
1197
|
+
@click=${this.toggleMenu}>
|
|
1198
|
+
<ft-or-ftds-button id="actions-button"
|
|
1199
|
+
part="button"
|
|
1200
|
+
?primary=${this.primary}
|
|
1201
|
+
?secondary=${this.secondary}
|
|
1202
|
+
?tertiary=${this.tertiary}
|
|
1203
|
+
?neutral=${this.neutral}
|
|
1204
|
+
?small=${this.small}
|
|
1205
|
+
dense round
|
|
1206
|
+
icon="${this.icon}"
|
|
1207
|
+
.iconVariant=${this.iconVariant}
|
|
1208
|
+
.label=${this.label}
|
|
1209
|
+
.tooltipPosition=${this.tooltipPosition}
|
|
1210
|
+
?disabled=${this.disabled}
|
|
1211
|
+
aria-controls="ft-floating-menu-options"
|
|
1212
|
+
aria-expanded="${this.forceMenuOpen||this.menuOpen}">
|
|
1213
|
+
${this.text}
|
|
1214
|
+
</ft-or-ftds-button>
|
|
1215
|
+
</slot>
|
|
1216
|
+
<div class="ft-floating-menu--wrapper">
|
|
1217
|
+
<div id="ft-floating-menu-options"
|
|
1218
|
+
class="ft-floating-menu--options"
|
|
1219
|
+
part="options"
|
|
1220
|
+
@select="${this.closeMenu}">
|
|
1221
|
+
<slot id="ft-floating-menu-content"
|
|
1222
|
+
@click=${this.onContentClick}
|
|
1223
|
+
@close-ft-floating-menu=${this.onCloseEvent}
|
|
1224
|
+
></slot>
|
|
1225
|
+
</div>
|
|
1226
|
+
</div>
|
|
1227
|
+
</div>
|
|
1228
|
+
`}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,o,e=window.document.body){if(o.length>0){const i=t.composedPath();for(let t of i){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1})(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:e}=await We(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${e}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}oa.elementDefinitions={"ft-floating-menu-item":Qn},ta([$()],oa.prototype,"menuOpen",void 0),ta([$()],oa.prototype,"forceMenuOpen",void 0),ta([U(".ft-floating-menu")],oa.prototype,"container",void 0),ta([U(".ft-floating-menu--wrapper")],oa.prototype,"menuWrapper",void 0),ta([U("#actions-button")],oa.prototype,"actionButton",void 0),ta([function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(n),e=o?.assignedElements(t)??[];return void 0===r?e:e.filter((t=>t.matches(r)))}})}}({slot:"toggle"})],oa.prototype,"customToggle",void 0),ta([C({type:Boolean})],oa.prototype,"primary",void 0),ta([C({type:Boolean})],oa.prototype,"secondary",void 0),ta([C({type:Boolean})],oa.prototype,"tertiary",void 0),ta([C({type:Boolean})],oa.prototype,"neutral",void 0),ta([C({type:Boolean})],oa.prototype,"small",void 0),ta([C()],oa.prototype,"label",void 0),ta([C()],oa.prototype,"tooltipPosition",void 0),ta([C()],oa.prototype,"iconVariant",void 0),ta([C()],oa.prototype,"icon",void 0),ta([C()],oa.prototype,"text",void 0),ta([C()],oa.prototype,"horizontalAlignment",void 0),ta([C()],oa.prototype,"verticalAlignment",void 0),ta([C({type:Boolean})],oa.prototype,"disabled",void 0),ta([L([])],oa.prototype,"closeMenuMatchers",void 0);class ea extends oa{}ea.elementDefinitions={"ft-or-ftds-button":En},ea.styles=Vn;class ia extends oa{}ia.elementDefinitions={"ft-or-ftds-button":In},ia.styles=Vn;const ra=Co.extend("--ft-floating-menu-label-color","",ko.colorOnSurfaceMedium),na=Nt`
|
|
1229
|
+
.ft-floating-menu-label {
|
|
1230
|
+
padding: 4px 8px;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
.ft-floating-menu-label ft-typography {
|
|
1234
|
+
flex-shrink: 1;
|
|
1235
|
+
flex-grow: 1;
|
|
1236
|
+
width: max-content;
|
|
1237
|
+
text-overflow: ellipsis;
|
|
1238
|
+
overflow: hidden;
|
|
1239
|
+
color: ${ra}
|
|
1240
|
+
}
|
|
1241
|
+
`;class aa extends Pe{render(){return no`
|
|
1242
|
+
<div class="ft-floating-menu-label">
|
|
1243
|
+
<ft-typography variant="caption">
|
|
1244
|
+
<slot></slot>
|
|
1245
|
+
</ft-typography>
|
|
1246
|
+
</div>
|
|
1247
|
+
`}}var sa,la,ca,pa,fa,ha,da,ua,ya,ga,ba,ma,xa,va,Oa,Sa,Na,wa;function Ca(t){var o,e,i,r,n,a,s,l,c,p;if("EXTERNAL"===(null!==(r=null!==(e=null===(o=t.map)||void 0===o?void 0:o.openMode)&&void 0!==e?e:null===(i=t.topic)||void 0===i?void 0:i.openMode)&&void 0!==r?r:null===(n=t.document)||void 0===n?void 0:n.openMode))return null!==(c=null!==(s=null===(a=t.map)||void 0===a?void 0:a.originUrl)&&void 0!==s?s:null===(l=t.topic)||void 0===l?void 0:l.originUrl)&&void 0!==c?c:null===(p=t.document)||void 0===p?void 0:p.originUrl;switch(t.type){case Oa.MAP:return t.map.readerUrl;case Oa.DOCUMENT:return t.document.viewerUrl;case Oa.TOPIC:return t.topic.readerUrl}return""}
|
|
1248
|
+
/**
|
|
1249
|
+
* @license
|
|
1250
|
+
* Copyright 2020 Google LLC
|
|
1251
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1252
|
+
*/aa.elementDefinitions={"ft-typography":Ir},aa.styles=na,k("ft-floating-menu")(ea),k("ftds-floating-menu")(ia),k("ft-floating-menu-item")(Qn),k("ft-floating-menu-label")(aa),function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function l(t){this.map={},t instanceof l?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,o){this.map[n(t)]=a(o)},l.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),s(t)},e.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,i,r=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new l(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),u.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new l(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function x(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,o,e={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",o=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new b(i,e))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&e.blob&&(s.responseType="blob"),a.headers.forEach((function(t,o){s.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=l,t.Request=y,t.Response=b),o.Headers=l,o.Request=y,o.Response=b,o.fetch=x,Object.defineProperty(o,"i",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(sa||(sa={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(la||(la={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(ca||(ca={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(pa||(pa={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(fa||(fa={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(ha||(ha={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(da||(da={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(ua||(ua={})),function(t){t.ASC="ASC",t.DESC="DESC"}(ya||(ya={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(ga||(ga={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(ba||(ba={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ma||(ma={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(xa||(xa={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(va||(va={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Oa||(Oa={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Sa||(Sa={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Na||(Na={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(wa||(wa={})),Na.PERSONAL_BOOK_SHARE_USER,Na.PERSONAL_BOOK_USER,Na.HTML_EXPORT_USER,Na.PERSONAL_BOOK_USER,Na.PDF_EXPORT_USER,Na.PERSONAL_BOOK_USER,Na.KHUB_ADMIN,Na.CONTENT_PUBLISHER,Na.ADMIN,Na.KHUB_ADMIN,Na.USERS_ADMIN,Na.PORTAL_ADMIN,Na.DEVELOPER,Na.BETA_USER,Na.DEBUG_USER;const{D:$a}=yt,Ea=()=>document.createComment(""),Ra=(t,o,e)=>{const i=t._$AA.parentNode,r=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(Ea(),r),n=i.insertBefore(Ea(),r);e=new $a(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==r||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;i.insertBefore(t,r),t=o}}}return e},Ua=(t,o,e=t)=>(t._$AI(o,e),t),Ia={},ka=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},La=(t,o,e)=>{const i=new Map;for(let r=o;r<=e;r++)i.set(t[r],r);return i},Wa=Pr(class extends Tr{constructor(t){if(super(t),t.type!==Mr)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let i;void 0===e?e=o:void 0!==o&&(i=o);const r=[],n=[];let a=0;for(const o of t)r[a]=i?i(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:r}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,p,f=0,h=r.length-1,d=0,u=n.length-1;for(;f<=h&&d<=u;)if(null===r[f])f++;else if(null===r[h])h--;else if(s[f]===a[d])l[d]=Ua(r[f],n[d]),f++,d++;else if(s[h]===a[u])l[u]=Ua(r[h],n[u]),h--,u--;else if(s[f]===a[u])l[u]=Ua(r[f],n[u]),Ra(t,l[u+1],r[f]),f++,u--;else if(s[h]===a[d])l[d]=Ua(r[h],n[d]),Ra(t,r[f],r[h]),h--,d++;else if(void 0===c&&(c=La(a,d,u),p=La(s,f,h)),c.has(s[f]))if(c.has(s[h])){const o=p.get(a[d]),e=void 0!==o?r[o]:null;if(null===e){const o=Ra(t,r[f]);Ua(o,n[d]),l[d]=o}else l[d]=Ua(e,n[d]),Ra(t,r[f],e),r[o]=null;d++}else ka(r[h]),h--;else ka(r[f]),f++;for(;d<=u;){const o=Ra(t,l[u+1]);Ua(o,n[d]),l[d++]=o}for(;f<=h;){const t=r[f++];null!==t&&ka(t)}return this.dt=a,((t,o=Ia)=>{t._$AH=o})(t,l),tt}});
|
|
1253
|
+
/**
|
|
1254
|
+
* @license
|
|
1255
|
+
* Copyright 2017 Google LLC
|
|
1256
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1257
|
+
*/var Aa=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 Ka extends fi{constructor(){super(...arguments),this.useForSwitchingToRelatives=!1,this.editorMode=!1,this.relatives=[]}setReaderStateManager(t){var o;super.setReaderStateManager(t),this.key&&this.useForSwitchingToRelatives&&t.registerMetadataForSwitchToRelatives(this.key),null===(o=this.stateManager)||void 0===o||o.store.eventBus.addEventListener("clustering-helper-created",this.setRelatives)}render(){return no`
|
|
1102
1258
|
<ft-tooltip text="${this.tooltipText}">
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1259
|
+
${this.useForSwitchingToRelatives&&this.metadata&&this.metadata.values.length>0?this.renderSwitchToRelatives():no`
|
|
1260
|
+
<ft-chip>
|
|
1261
|
+
${this.renderContent()}
|
|
1262
|
+
</ft-chip>
|
|
1263
|
+
`}
|
|
1106
1264
|
</ft-tooltip>
|
|
1107
1265
|
${this.hideIfEmpty()}
|
|
1108
|
-
`}renderContent(){return this.metadata?
|
|
1266
|
+
`}renderContent(){return this.metadata&&this.metadata.values.length>0?no`${this.valueText}`:this.editorMode?this.key?no`no value for ${this.key}`:no`no metadata selected`:so}renderSwitchToRelatives(){return no`
|
|
1267
|
+
<div class="ft-reader-metadata--container">
|
|
1268
|
+
<ft-floating-menu text="Toggle collapsible" trailingIcon>
|
|
1269
|
+
<ft-chip trailingIcon icon="thin_arrow" slot="toggle" clickable>
|
|
1270
|
+
${this.renderContent()}
|
|
1271
|
+
</ft-chip>
|
|
1272
|
+
|
|
1273
|
+
${Wa(this.relatives,(t=>t.metadata.value),(t=>this.renderRelativeItem(t.result,t.metadata)))}
|
|
1274
|
+
</ft-floating-menu>
|
|
1275
|
+
</div>
|
|
1276
|
+
`}renderRelativeItem(t,o){return no`
|
|
1277
|
+
<a href=${Ca(t)} @click=${o=>this.addTopicPivotParam(o,t)}>
|
|
1278
|
+
<ft-ripple></ft-ripple>
|
|
1279
|
+
<ft-floating-menu-item value="${o.value}" notFocusable>
|
|
1280
|
+
${this.renderRelativeItemValue(o.value,o.displayValue)}
|
|
1281
|
+
</ft-floating-menu-item>
|
|
1282
|
+
</a>
|
|
1283
|
+
`}renderRelativeItemValue(t,o){return t===o?t:no`
|
|
1284
|
+
<ft-tooltip text="${t}">${o}</ft-tooltip>`}hideIfEmpty(){return this.editorMode||this.metadata&&0!=this.metadata.values.length?so:no`
|
|
1109
1285
|
<style>
|
|
1110
1286
|
:host {
|
|
1111
1287
|
display: none !important;
|
|
1112
1288
|
}
|
|
1113
1289
|
</style>
|
|
1114
|
-
`}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}`:""}}
|
|
1290
|
+
`}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}`:""}addTopicPivotParam(t,o){var e,i;const r=this.stateManager.store.getState().visibleTopics[0];if(r&&"MAP"==o.type){t.stopPropagation(),t.preventDefault();const n=null===(e=this.service)||void 0===e?void 0:e.getTocNodeNow(r);null===(i=this.service)||void 0===i||i.getTopicInfo(n).then((e=>{const i=null==e?void 0:e.metadata.find((t=>t.key==this.relativeTopicPivotMetadata));let r=new URL(Ca(o));i&&i.values.forEach((t=>r.searchParams.append("topicPivot",t)));const n=document.createElement("a");n.href=r.toString(),(t.ctrlKey||t.metaKey)&&(n.target="_blank"),this.append(n),n.click()}))}}setRelatives(){var t;this.metadata&&this.mapRelatives&&(this.relatives=this.stateManager.clusteringHelper.computeClustersItemsForMetadata(this.key,(null===(t=this.map)||void 0===t?void 0:t.lang)||"en"))}update(t){var o,e,i,r;super.update(t),(t.has("metadata")||t.has("mapRelatives"))&&this.setRelatives(),t.has("key")&&this.useForSwitchingToRelatives&&(t.get("key")&&(null===(o=this.stateManager)||void 0===o||o.unregisterMetadataForSwitchToRelatives(t.get("key"))),this.key&&(null===(e=this.stateManager)||void 0===e||e.registerMetadataForSwitchToRelatives(this.key))),t.has("useForSwitchingToRelatives")&&this.key&&(this.useForSwitchingToRelatives?null===(i=this.stateManager)||void 0===i||i.registerMetadataForSwitchToRelatives(this.key):null===(r=this.stateManager)||void 0===r||r.unregisterMetadataForSwitchToRelatives(this.key))}}Ka.elementDefinitions={"ft-chip":Zn,"ft-floating-menu":ea,"ft-floating-menu-item":Qn,"ft-ripple":on,"ft-tooltip":Br},Ka.styles=ai,Aa([C(),(t,o)=>{var e;const i=t.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),null===(e=i.reduxReactiveProperties)||void 0===e||e.add(o)}],Ka.prototype,"key",void 0),Aa([C({type:Boolean})],Ka.prototype,"useForSwitchingToRelatives",void 0),Aa([C({attribute:!1})],Ka.prototype,"editorMode",void 0),Aa([je({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))}})],Ka.prototype,"metadata",void 0),Aa([je({selector:t=>t.relatives})],Ka.prototype,"mapRelatives",void 0),Aa([je()],Ka.prototype,"map",void 0),Aa([je({selector:t=>{var o;return null===(o=t.configuration)||void 0===o?void 0:o.relativeTopicPivotMetadata}})],Ka.prototype,"relativeTopicPivotMetadata",void 0),Aa([$()],Ka.prototype,"relatives",void 0),k("ft-reader-metadata")(Ka),t.FtReaderMetadata=Ka,t.FtReaderMetadataCssVariables={},t.styles=ai}({});
|