@fluid-topics/ft-reader-toc 1.0.63 → 1.1.0
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-toc.light.js +228 -228
- package/build/ft-reader-toc.min.js +356 -342
- package/package.json +8 -8
|
@@ -1,67 +1,87 @@
|
|
|
1
1
|
!function(t){
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
*/
|
|
17
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=i.prototype.attributeChangedCallback,s=new Set(i.observedAttributes||[]);d(i,s,l);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(a.set(i,c),c.standInClass=p);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,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 r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=s;if(o)return s=void 0,o;const e=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),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)})},h=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):h(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),s=t;try{new o.elementClass}catch(t){h(o.elementClass),new o.elementClass}o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},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 r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&l.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 r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0!==i.get(e).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...o)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const 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=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(_e){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
5
|
+
* This code may only be used under the BSD style license found at
|
|
6
|
+
* http://polymer.github.io/LICENSE.txt
|
|
7
|
+
* The complete set of authors may be found at
|
|
8
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
9
|
+
* The complete set of contributors may be found at
|
|
10
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
11
|
+
* Code distributed by Google as part of the polymer project is also
|
|
12
|
+
* subject to an additional IP rights grant found at
|
|
13
|
+
* http://polymer.github.io/PATENTS.txt
|
|
14
|
+
*/
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=h(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},h=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(qi){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}}
|
|
18
16
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
* @license
|
|
18
|
+
* Copyright 2019 Google LLC
|
|
19
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
+
*/const e=globalThis,i=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)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(i&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=n.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return a(o)})(t):t
|
|
23
21
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
* @license
|
|
23
|
+
* Copyright 2017 Google LLC
|
|
24
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
+
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:h,getOwnPropertySymbols:f,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},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 N=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=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=[...h(t),...f(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??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){}};N.elementStyles=[],N.shadowRootOptions={mode:"open"},N[m("elementProperties")]=new Map,N[m("finalized")]=new Map,b?.({ReactiveElement:N}),(u.reactiveElementVersions??=[]).push("2.0.2");
|
|
28
26
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright 2017 Google LLC
|
|
29
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
+
*/
|
|
31
|
+
const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,o,e)=>{const{kind:i,metadata:r}=e;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(e.name,t),"accessor"===i){const{name:i}=e;return{set(e){const r=o.get.call(this);o.set.call(this,e),this.requestUpdate(i,r,t)},init(o){return void 0!==o&&this.C(i,void 0,t),o}}}if("setter"===i){const{name:i}=e;return function(e){const r=this[i];o.call(this,e),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function C(t){return(o,e)=>"object"==typeof e?w(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
33
32
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
* @license
|
|
34
|
+
* Copyright 2017 Google LLC
|
|
35
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
+
*/}function $(t){return C({...t,state:!0,attribute:!1})}
|
|
38
37
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
* @license
|
|
39
|
+
* Copyright 2017 Google LLC
|
|
40
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
+
*/const E=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
43
42
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
* @license
|
|
44
|
+
* Copyright 2017 Google LLC
|
|
45
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
+
*/;function R(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 E(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 E(0,0,{get(){return n(this)}})}}
|
|
48
47
|
/**
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
* @license
|
|
49
|
+
* Copyright 2017 Google LLC
|
|
50
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
+
*/function U(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(!U(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(!U(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(!U(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 I(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!U(t,o),...null!=o?o:{}})}
|
|
53
52
|
/**
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
var k;I.finalized=!0,I.elementProperties=new Map,I.elementStyles=[],I.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:I}),(null!==(O=N.reactiveElementVersions)&&void 0!==O?O:N.reactiveElementVersions=[]).push("1.6.1");const U=window,L=U.trustedTypes,W=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,F="?"+K,Z=`<${F}>`,B=document,A=()=>B.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,H=t=>M(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),j="[ \t\n\f\r]",P=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,G=/>/g,_=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,Y=/"/g,X=/^(?:script|style|textarea|title)$/i,J=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),q=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),tt=new WeakMap,ot=B.createTreeWalker(B,129,null,!1),et=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=P;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,s=a.exec(e),null!==s);)p=a.lastIndex,a===P?"!--"===s[1]?a=T:void 0!==s[1]?a=G:void 0!==s[2]?(X.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=_):void 0!==s[3]&&(a=_):a===_?">"===s[0]?(a=null!=i?i:P,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?_:'"'===s[3]?Y:V):a===Y||a===V?a=_:a===T||a===G?a=P:(a=_,i=void 0);const f=a===_&&t[o+1].startsWith("/>")?" ":"";n+=a===P?e+Z:c>=0?(r.push(l),e.slice(0,c)+z+e.slice(c)+K+f):e+K+(-2===c?(r.push(void 0),o):f)}const l=n+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==W?W.createHTML(l):l,r]};class rt{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[s,c]=et(t,o);if(this.el=rt.createElement(s,e),ot.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(z)||o.startsWith(K)){const e=c[n++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+z).split(K),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?st:"?"===o[1]?pt:"@"===o[1]?ft:lt})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(X.test(r.tagName)){const t=r.textContent.split(K),o=t.length-1;if(o>0){r.textContent=L?L.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],A()),ot.nextNode(),l.push({type:2,index:++i});r.append(t[o],A())}}}else if(8===r.nodeType)if(r.data===F)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(K,t+1));)l.push({type:7,index:i}),t+=K.length-1}i++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}}function it(t,o,e=t,r){var i,n,a,l;if(o===q)return o;let s=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const c=D(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(n=null==s?void 0:s._$AO)||void 0===n||n.call(s,!1),void 0===c?s=void 0:(s=new c(t),s._$AT(t,e,r)),void 0!==r?(null!==(a=(l=e)._$Co)&&void 0!==a?a:l._$Co=[])[r]=s:e._$Cl=s),void 0!==s&&(o=it(t,s._$AS(t,o.values),s,r)),o}class nt{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:B).importNode(e,!0);ot.currentNode=i;let n=ot.nextNode(),a=0,l=0,s=r[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new at(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new dt(n,this,t)),this._$AV.push(o),s=r[++l]}a!==(null==s?void 0:s.index)&&(n=ot.nextNode(),a++)}return i}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class at{constructor(t,o,e,r){var i;this.type=2,this._$AH=Q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=it(this,t,o),D(t)?t===Q||null==t||""===t?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==q&&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!==Q&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=rt.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new nt(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=tt.get(t.strings);return void 0===o&&tt.set(t.strings,o=new rt(t)),o}T(t){M(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new at(this.k(A()),this.k(A()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class lt{constructor(t,o,e,r,i){this.type=1,this._$AH=Q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=it(this,t,o,0),n=!D(t)||t!==this._$AH&&t!==q,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=it(this,r[e+a],o,a),l===q&&(l=this._$AH[a]),n||(n=!D(l)||l!==this._$AH[a]),l===Q?t=Q:t!==Q&&(t+=(null!=l?l:"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.j(t)}j(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class st extends lt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Q?void 0:t}}const ct=L?L.emptyScript:"";class pt extends lt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Q?this.element.setAttribute(this.name,ct):this.element.removeAttribute(this.name)}}class ft extends lt{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=it(this,t,o,0))&&void 0!==e?e:Q)===q)return;const r=this._$AH,i=t===Q&&r!==Q||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==Q&&(r===Q||i);i&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class dt{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){it(this,t)}}const ht={O:z,P:K,A:F,C:1,M:et,L:nt,D:H,R:it,I:at,V:lt,H:pt,N:ft,U:st,F:dt},ut=U.litHtmlPolyfillSupport;null==ut||ut(rt,at),(null!==(k=U.litHtmlVersions)&&void 0!==k?k:U.litHtmlVersions=[]).push("2.7.3");
|
|
53
|
+
* @license
|
|
54
|
+
* Copyright 2017 Google LLC
|
|
55
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
+
*/const L=globalThis,W=L.trustedTypes,z=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+F,A=`<${Z}>`,B=document,M=()=>B.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,H=t=>P(t)||"function"==typeof t?.[Symbol.iterator],j="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,V=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,X=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),ot=new WeakMap,et=B.createTreeWalker(B,129);function it(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==z?z.createHTML(o):o}const rt=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=T;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===T?"!--"===l[1]?a=_:void 0!==l[1]?a=G:void 0!==l[2]?(J.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=V):void 0!==l[3]&&(a=V):a===V?">"===l[0]?(a=r??T,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?V:'"'===l[3]?X:Y):a===X||a===Y?a=V:a===_||a===G?a=T:(a=V,r=void 0);const h=a===V&&t[o+1].startsWith("/>")?" ":"";n+=a===T?e+A:c>=0?(i.push(s),e.slice(0,c)+K+e.slice(c)+F+h):e+F+(-2===c?o:h)}return[it(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};let nt=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]=rt(o,e);if(this.el=t.createElement(c,i),et.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=et.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(F),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?pt:"?"===i[1]?ht:"@"===i[1]?ft:ct}),r.removeAttribute(t)}else t.startsWith(F)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(J.test(r.tagName)){const t=r.textContent.split(F),o=t.length-1;if(o>0){r.textContent=W?W.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],M()),et.nextNode(),l.push({type:2,index:++n});r.append(t[o],M())}}}else if(8===r.nodeType)if(r.data===Z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(F,t+1));)l.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}};function at(t,o,e=t,i){if(o===Q)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=D(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=at(t,r._$AS(t,o.values),r,i)),o}let st=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);et.currentNode=i;let r=et.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new lt(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new dt(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=et.nextNode(),n++)}return et.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++}},lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=tt,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=at(this,t,o),D(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&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!==tt&&D(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=nt.createElement(it(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new st(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=ot.get(t.strings);return void 0===o&&ot.set(t.strings,o=new nt(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(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))}},ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=tt,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=tt}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=at(this,t,o,0),n=!D(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=at(this,i[e+a],o,a),s===Q&&(s=this._$AH[a]),n||=!D(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pt=class extends ct{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},ht=class extends ct{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},ft=class extends ct{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=at(this,t,o,0)??tt)===Q)return;const e=this._$AH,i=t===tt&&e!==tt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==tt&&(e===tt||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)}},dt=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){at(this,t)}};const ut={j:K,P:F,A:Z,C:1,M:rt,L:st,R:H,V:at,D:lt,I:ct,H:ht,N:ft,U:pt,B:dt},yt=L.litHtmlPolyfillSupport;yt?.(nt,lt),(L.litHtmlVersions??=[]).push("3.1.0");
|
|
59
57
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
var yt,gt;let bt=class extends I{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var r,i;const n=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let a=n._$litPart$;if(void 0===a){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;n._$litPart$=a=new at(o.insertBefore(A(),t),t,void 0,null!=e?e:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return q}};bt.finalized=!0,bt._$litElement$=!0,null===(yt=globalThis.litElementHydrateSupport)||void 0===yt||yt.call(globalThis,{LitElement:bt});const mt=globalThis.litElementPolyfillSupport;null==mt||mt({LitElement:bt}),(null!==(gt=globalThis.litElementVersions)&&void 0!==gt?gt:globalThis.litElementVersions=[]).push("3.3.2");const vt=t=>"string"==typeof t?b(t):t;class xt{static create(t,o,e,r){const i=t=>vt(null!=t?t:r),n=m`var(${vt(t)}, ${i(r)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>m`var(${vt(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=m`var(${vt(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>m`var(${vt(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):vt(null!=o?o:t.lastResortDefaultValue()),r=m`var(${vt(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>m`var(${vt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Ot(t,o){return vt(`${t.name}: ${o}`)}const Nt={colorWhite:xt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xt.create("--ft-opacity-0","","NUMBER","0"),opacity8:xt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xt.create("--ft-opacity-80","","NUMBER","0.8")},St={display:{fontFamily:xt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:xt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:xt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:xt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:xt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:xt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:xt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:xt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:xt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:xt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:xt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:xt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:xt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:xt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:xt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:xt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:xt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:xt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:xt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:xt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:xt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:xt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:xt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:xt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:xt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},wt={backgroundActionPrimary:xt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Nt.colorBrand0),backgroundErrorPrimary:xt.extend("--ft-background-error-primary","Used as background of error components.",Nt.colorRed0),backgroundErrorSubtle:xt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Nt.colorRed10),backgroundInfoPrimary:xt.extend("--ft-background-info-primary","Used as background of information components.",Nt.colorCyan200),backgroundInfoSubtle:xt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Nt.colorCyan10),backgroundWarningPrimary:xt.extend("--ft-background-warning-primary","Used as background of warning components.",Nt.colorOrange300),backgroundWarningSubtle:xt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Nt.colorOrange10),backgroundSuccessPrimary:xt.extend("--ft-background-success-primary","Used as background of success components.",Nt.colorGreen200),backgroundSuccessSubtle:xt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Nt.colorGreen10),backgroundGlobalSurface:xt.extend("--ft-background-global-surface","Used as app background.",Nt.colorWhite),backgroundGlobalOnSurface:xt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Nt.colorGray10),backgroundGlobalOnSurfaceDark:xt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Nt.colorGray30),contentActionPrimary:xt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Nt.colorBrand0),contentWarningPrimary:xt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Nt.colorOrange300),contentWarningIconOnly:xt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Nt.colorOrange0),contentErrorPrimary:xt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Nt.colorRed0),contentErrorIconOnly:xt.extend("--ft-content-error-icon-only","Used on error status icons alone",Nt.colorRed0),contentInfoPrimary:xt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Nt.colorCyan200),contentInfoIconOnly:xt.extend("--ft-content-info-icon-only","Used on info status icons alone",Nt.colorCyan0),contentSuccessIconOnly:xt.extend("--ft-content-success-icon-only","Used on success status icons alone",Nt.colorGreen0),contentSuccessPrimary:xt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Nt.colorGreen200),contentGlobalPrimary:xt.extend("--ft-content-global-primary","Used for main content on the page.",Nt.colorGray500),contentGlobalSecondary:xt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Nt.colorGray200),contentGlobalSubtle:xt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Nt.colorGray0),contentGlobalOnColor:xt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Nt.colorWhite),borderActionPrimary:xt.extend("--ft-border-action-primary","Used as border for primary action components.",Nt.colorBrand0),borderActionFocusRing:xt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Nt.colorCyan0),borderWarningPrimary:xt.extend("--ft-border-warning-primary","Used as border for warning components.",Nt.colorOrange30),borderSuccessPrimary:xt.extend("--ft-border-success-primary","Used as border for success components.",Nt.colorGreen30),borderErrorPrimary:xt.extend("--ft-border-error-primary","Used as border for error components.",Nt.colorRed30),borderInfoPrimary:xt.extend("--ft-border-info-primary","Used as border for information components.",Nt.colorCyan30),borderGlobalSubtle:xt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Nt.colorGray30),borderGlobalPrimary:xt.extend("--ft-border-global-primary","Used as border for element like input.",Nt.colorGray50),borderInputPrimary:xt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Nt.colorGray80)},Ct={largeHeight:xt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:xt.extend("--ft-button-large-horizontal-padding","",Nt.spacing4),largeGap:xt.extend("--ft-button-large-gap","",Nt.spacing2),largeBorderRadius:xt.extend("--ft-button-large-border-radius","",Nt.borderRadiusS),largeIconSize:xt.extend("--ft-button-large-icon-size","",Nt.iconSize3),largeBorderWidth:xt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:xt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:xt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:xt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:xt.extend("--ft-button-small-horizontal-padding","",Nt.spacing3),smallGap:xt.extend("--ft-button-small-gap","",Nt.spacing2),smallBorderRadius:xt.extend("--ft-button-small-border-radius","",Nt.borderRadiusS),smallIconSize:xt.extend("--ft-button-small-icon-size","",Nt.iconSize2),smallBorderWidth:xt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:xt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:xt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:xt.extend("--ft-button-primary-background-color","",wt.backgroundActionPrimary),primaryColor:xt.extend("--ft-button-primary-color","",wt.contentGlobalOnColor),primaryIconColor:xt.extend("--ft-button-primary-icon-color","",wt.contentGlobalOnColor),primaryStateLayerColor:xt.extend("--ft-button-primary-state-layer-color","",wt.contentGlobalOnColor),primaryStateLayerOpacityHover:xt.extend("--ft-button-primary-state-layer-opacity-hover","",Nt.opacity16),primaryStateLayerOpacityFocus:xt.extend("--ft-button-primary-state-layer-opacity-focus","",Nt.opacity16),primaryStateLayerOpacityActive:xt.extend("--ft-button-primary-state-layer-opacity-active","",Nt.opacity24),primaryComponentOpacityDisabled:xt.extend("--ft-button-primary-component-opacity-disabled","",Nt.opacity40),focusFocusRingColor:xt.extend("--ft-button-focus-focus-ring-color","",wt.borderActionFocusRing),tertiaryBackgroundColor:xt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:xt.extend("--ft-button-tertiary-color","",wt.contentActionPrimary),tertiaryIconColor:xt.extend("--ft-button-tertiary-icon-color","",wt.contentActionPrimary),tertiaryStateLayerColor:xt.extend("--ft-button-tertiary-state-layer-color","",wt.contentActionPrimary),tertiaryStateLayerOpacityHover:xt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Nt.opacity8),tertiaryStateLayerOpacityFocus:xt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Nt.opacity8),tertiaryStateLayerOpacityActive:xt.extend("--ft-button-tertiary-state-layer-opacity-active","",Nt.opacity16),tertiaryComponentOpacityDisabled:xt.extend("--ft-button-tertiary-component-opacity-disabled","",Nt.opacity40),secondaryBackgroundColor:xt.extend("--ft-button-secondary-background-color","",Nt.colorWhite),secondaryColor:xt.extend("--ft-button-secondary-color","",wt.contentActionPrimary),secondaryIconColor:xt.extend("--ft-button-secondary-icon-color","",wt.contentActionPrimary),secondaryStateLayerColor:xt.extend("--ft-button-secondary-state-layer-color","",wt.contentActionPrimary),secondaryStateLayerOpacityHover:xt.extend("--ft-button-secondary-state-layer-opacity-hover","",Nt.opacity8),secondaryStateLayerOpacityFocus:xt.extend("--ft-button-secondary-state-layer-opacity-focus","",Nt.opacity8),secondaryStateLayerOpacityActive:xt.extend("--ft-button-secondary-state-layer-opacity-active","",Nt.opacity16),secondaryComponentOpacityDisabled:xt.extend("--ft-button-secondary-component-opacity-disabled","",Nt.opacity40),secondaryBorderColor:xt.extend("--ft-button-secondary-border-color","",wt.borderActionPrimary),neutralBackgroundColor:xt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:xt.extend("--ft-button-neutral-icon-color","",wt.contentGlobalSecondary),neutralColor:xt.extend("--ft-button-neutral-color","",wt.contentGlobalSecondary),neutralStateLayerColor:xt.extend("--ft-button-neutral-state-layer-color","",wt.contentGlobalSecondary),neutralStateLayerOpacityHover:xt.extend("--ft-button-neutral-state-layer-opacity-hover","",Nt.opacity8),neutralStateLayerOpacityFocus:xt.extend("--ft-button-neutral-state-layer-opacity-focus","",Nt.opacity8),neutralStateLayerOpacityActive:xt.extend("--ft-button-neutral-state-layer-opacity-active","",Nt.opacity16),neutralComponentOpacityDisabled:xt.extend("--ft-button-neutral-component-opacity-disabled","",Nt.opacity40)};xt.extend("--ft-tabs-top-left-border-radius","",Nt.borderRadiusS),xt.extend("--ft-tabs-top-right-border-radius","",Nt.borderRadiusS),xt.extend("--ft-tabs-label-horizontal-padding","",Nt.spacing4),xt.extend("--ft-tabs-label-vertical-padding","",Nt.spacing3),xt.extend("--ft-tabs-label-gap","",Nt.spacing1),xt.extend("--ft-switch-group-horizontal-padding","",Nt.spacing1),xt.extend("--ft-switch-group-vertical-padding","",Nt.spacing1),xt.extend("--ft-switch-group-gap","",Nt.spacing1),xt.extend("--ft-switch-group-background-color","",wt.backgroundGlobalSurface),xt.extend("--ft-switch-group-border-color","",wt.borderGlobalSubtle),xt.create("--ft-switch-group-border-radius","","SIZE","6px"),xt.extend("--ft-switch-label-horizontal-padding","",Nt.spacing2),xt.extend("--ft-switch-label-vertical-padding","",Nt.spacing1),xt.extend("--ft-switch-icon-horizontal-padding","",Nt.spacing1),xt.extend("--ft-switch-icon-vertical-padding","",Nt.spacing1),xt.create("--ft-switch-focus-outline-width","","SIZE","2px"),xt.extend("--ft-switch-focus-focus-ring-color","",wt.borderActionFocusRing),xt.extend("--ft-switch-option-border-radius","",Nt.borderRadiusS),xt.extend("--ft-switch-off-state-layer-opacity-hover","",Nt.opacity8),xt.extend("--ft-switch-off-state-layer-opacity-focus","",Nt.opacity8),xt.extend("--ft-switch-off-state-layer-opacity-active","",Nt.opacity16),xt.extend("--ft-switch-off-component-opacity-disabled","",Nt.opacity40),xt.extend("--ft-switch-off-color","",wt.contentGlobalSubtle),xt.extend("--ft-switch-off-state-layer-color","",wt.contentGlobalSubtle),xt.extend("--ft-chart-1-light","for area color charts",Nt.colorBrand40),xt.extend("--ft-chart-1-base","for line charts",Nt.colorBrand0),xt.extend("--ft-chart-2-light","for area color charts",Nt.colorYellow60),xt.extend("--ft-chart-2-base","for line charts",Nt.colorYellow100),xt.extend("--ft-chart-3-light","",Nt.colorUltramarine40),xt.extend("--ft-chart-3-base","",Nt.colorUltramarine70),xt.extend("--ft-chart-4-light","",Nt.colorCyan50),xt.extend("--ft-chart-4-base","",Nt.colorCyan100),xt.extend("--ft-chart-5-light","",Nt.colorRed40),xt.extend("--ft-chart-5-base","",Nt.colorRed60),xt.extend("--ft-chart-6-light","",Nt.colorGreen40),xt.extend("--ft-chart-6-base","",Nt.colorGreen70),xt.extend("--ft-chart-7-light","",Nt.colorOrange70),xt.extend("--ft-chart-7-base","",Nt.colorOrange100),xt.extend("--ft-chart-8-light","",Nt.colorAvocado70),xt.extend("--ft-chart-8-base","",Nt.colorAvocado200),xt.extend("--ft-chart-9-light","",Nt.colorBrown50),xt.extend("--ft-chart-9-base","",Nt.colorBrown200),xt.extend("--ft-chart-10-light","",Nt.colorGray50),xt.extend("--ft-chart-10-base","",Nt.colorGray80),xt.extend("--ft-chart-monochrome-10","",Nt.colorBrand10),xt.extend("--ft-chart-monochrome-20","",Nt.colorBrand20),xt.extend("--ft-chart-monochrome-30","",Nt.colorBrand40),xt.extend("--ft-chart-monochrome-40","",Nt.colorBrand60),xt.extend("--ft-chart-monochrome-50","",Nt.colorBrand0),xt.extend("--ft-chart-monochrome-60","",Nt.colorBrand200),xt.extend("--ft-chip-large-horizontal-padding","",Nt.spacing4),xt.extend("--ft-chip-large-vertical-padding","",Nt.spacing2),xt.extend("--ft-chip-large-gap","",Nt.spacing1),xt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xt.extend("--ft-chip-large-border-radius","",Nt.borderRadiusPill),xt.create("--ft-chip-large-border-width","","SIZE","1px"),xt.extend("--ft-chip-large-icon-size","",Nt.iconSize3),xt.extend("--ft-chip-medium-horizontal-padding","",Nt.spacing3),xt.extend("--ft-chip-medium-vertical-padding","",Nt.spacing1),xt.extend("--ft-chip-medium-gap","",Nt.spacing1),xt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xt.extend("--ft-chip-medium-border-radius","",Nt.borderRadiusPill),xt.create("--ft-chip-medium-border-width","","SIZE","1px"),xt.extend("--ft-chip-medium-icon-size","",Nt.iconSize2),xt.extend("--ft-chip-small-horizontal-padding","",Nt.spacing2),xt.extend("--ft-chip-small-vertical-padding","",Nt.spacing05),xt.extend("--ft-chip-small-gap","",Nt.spacing1),xt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xt.extend("--ft-chip-small-border-radius","",Nt.borderRadiusPill),xt.create("--ft-chip-small-border-width","","SIZE","1px"),xt.extend("--ft-chip-small-icon-size","",Nt.iconSize1),xt.extend("--ft-chip-neutral-background-color","",wt.backgroundGlobalOnSurface),xt.extend("--ft-chip-neutral-color","",wt.contentGlobalPrimary),xt.extend("--ft-chip-neutral-border-color","",wt.borderGlobalSubtle),xt.extend("--ft-chip-info-background-color","",wt.backgroundInfoSubtle),xt.extend("--ft-chip-info-color","",wt.contentInfoPrimary),xt.extend("--ft-chip-info-border-color","",wt.borderInfoPrimary),xt.extend("--ft-chip-success-background-color","",wt.backgroundSuccessSubtle),xt.extend("--ft-chip-success-color","",wt.contentSuccessPrimary),xt.extend("--ft-chip-success-border-color","",wt.borderSuccessPrimary),xt.extend("--ft-chip-warning-background-color","",wt.backgroundWarningSubtle),xt.extend("--ft-chip-warning-color","",wt.contentWarningPrimary),xt.extend("--ft-chip-warning-border-color","",wt.borderWarningPrimary),xt.extend("--ft-chip-error-background-color","",wt.backgroundErrorSubtle),xt.extend("--ft-chip-error-color","",wt.contentErrorPrimary),xt.extend("--ft-chip-error-border-color","",wt.borderErrorPrimary),xt.create("--ft-notice-border-width","","SIZE","1px"),xt.extend("--ft-notice-horizontal-padding","",Nt.spacing2),xt.extend("--ft-notice-vertical-padding","",Nt.spacing1),xt.extend("--ft-notice-border-radius","",Nt.borderRadiusS),xt.extend("--ft-notice-gap","",Nt.spacing2),xt.extend("--ft-notice-icon-size","",Nt.iconSize3),xt.extend("--ft-notice-info-background-color","",wt.backgroundInfoSubtle),xt.extend("--ft-notice-info-border-color","",wt.borderInfoPrimary),xt.extend("--ft-notice-info-color","",wt.contentInfoPrimary),xt.extend("--ft-notice-warning-background-color","",wt.backgroundWarningSubtle),xt.extend("--ft-notice-warning-border-color","",wt.borderWarningPrimary),xt.extend("--ft-notice-warning-color","",wt.contentWarningPrimary),xt.extend("--ft-checkbox-label-color","",wt.contentGlobalPrimary),xt.extend("--ft-checkbox-checked-background-color","",wt.contentActionPrimary),xt.extend("--ft-checkbox-checked-state-layer-color","",wt.contentActionPrimary),xt.extend("--ft-checkbox-checked-color","",wt.contentGlobalOnColor),xt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Nt.opacity16),xt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Nt.opacity16),xt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Nt.opacity24),xt.extend("--ft-checkbox-checked-component-opacity-disabled","",Nt.opacity40),xt.extend("--ft-checkbox-unchecked-border-color","",Nt.colorGray80),xt.extend("--ft-checkbox-unchecked-state-layer-color","",Nt.colorGray80),xt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Nt.opacity16),xt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Nt.opacity16),xt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Nt.opacity24),xt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Nt.opacity40),xt.extend("--ft-checkbox-focus-focus-ring-color","",wt.borderActionFocusRing),xt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xt.extend("--ft-checkbox-gap","",Nt.spacing3),xt.extend("--ft-toggle-off-state-layer-opacity-hover","",Nt.opacity16),xt.extend("--ft-toggle-off-state-layer-opacity-focus","",Nt.opacity16),xt.extend("--ft-toggle-off-state-layer-opacity-active","",Nt.opacity24),xt.extend("--ft-toggle-off-component-opacity-disabled","",Nt.opacity40),xt.extend("--ft-toggle-off-background-color","",wt.contentGlobalSubtle),xt.extend("--ft-toggle-off-icon-color","",wt.contentGlobalSubtle),xt.extend("--ft-toggle-off-state-layer-color","",wt.contentGlobalSubtle),xt.extend("--ft-toggle-on-state-layer-opacity-hover","",Nt.opacity16),xt.extend("--ft-toggle-on-state-layer-opacity-focus","",Nt.opacity16),xt.extend("--ft-toggle-on-state-layer-opacity-active","",Nt.opacity24),xt.extend("--ft-toggle-on-component-opacity-disabled","",Nt.opacity40),xt.extend("--ft-toggle-on-background-color","",wt.contentActionPrimary),xt.extend("--ft-toggle-on-icon-color","",wt.contentActionPrimary),xt.extend("--ft-toggle-on-state-layer-color","",wt.contentActionPrimary),xt.extend("--ft-toggle-label-color","",wt.contentGlobalPrimary),xt.extend("--ft-toggle-focus-focus-ring-color","",wt.borderActionFocusRing),xt.extend("--ft-toggle-gap","",Nt.spacing3),xt.extend("--ft-radio-label-color","",wt.contentGlobalPrimary),xt.extend("--ft-radio-selected-color","",wt.contentActionPrimary),xt.extend("--ft-radio-selected-state-layer-color","",wt.contentActionPrimary),xt.extend("--ft-radio-selected-state-layer-opacity-hover","",Nt.opacity16),xt.extend("--ft-radio-selected-state-layer-opacity-focus","",Nt.opacity16),xt.extend("--ft-radio-selected-state-layer-opacity-active","",Nt.opacity24),xt.extend("--ft-radio-selected-component-opacity-disabled","",Nt.opacity40),xt.extend("--ft-radio-unselected-state-layer-color","",Nt.colorGray80),xt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Nt.opacity16),xt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Nt.opacity16),xt.extend("--ft-radio-unselected-state-layer-opacity-active","",Nt.opacity24),xt.extend("--ft-radio-unselected-component-opacity-disabled","",Nt.opacity40),xt.extend("--ft-radio-focus-focus-ring-color","",wt.borderActionFocusRing),xt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xt.create("--ft-radio-focus-outline-width","","SIZE","2px"),xt.extend("--ft-radio-gap","",Nt.spacing3),xt.extend("--ft-notification-icon-size","",Nt.iconSize4),xt.extend("--ft-notification-horizontal-padding","",Nt.spacing4),xt.extend("--ft-notification-vertical-padding","",Nt.spacing4),xt.extend("--ft-notification-info-background-color","",wt.backgroundInfoSubtle),xt.extend("--ft-notification-info-color","",wt.contentInfoPrimary),xt.extend("--ft-notification-info-border-color","",wt.borderInfoPrimary),xt.extend("--ft-notification-success-background-color","",wt.backgroundSuccessSubtle),xt.extend("--ft-notification-success-color","",wt.contentSuccessPrimary),xt.extend("--ft-notification-success-border-color","",wt.borderSuccessPrimary),xt.extend("--ft-notification-warning-background-color","",wt.backgroundWarningSubtle),xt.extend("--ft-notification-warning-color","",wt.contentWarningPrimary),xt.extend("--ft-notification-warning-border-color","",wt.borderWarningPrimary),xt.extend("--ft-notification-error-background-color","",wt.backgroundErrorSubtle),xt.extend("--ft-notification-error-color","",wt.contentErrorPrimary),xt.extend("--ft-notification-error-border-color","",wt.borderErrorPrimary),xt.extend("--ft-notification-border-radius","",Nt.borderRadiusPill),xt.create("--ft-notification-border-width","","SIZE","1px"),xt.extend("--ft-notification-gap-leading","",Nt.spacing2),xt.extend("--ft-notification-gap-trailing","",Nt.spacing8);const $t={colorPrimary:xt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Rt extends bt{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 v(e,t.elementStyles),e}}var Et,It=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const kt=Symbol("constructorPrototype"),Ut=Symbol("constructorName"),Lt=Symbol("exportpartsDebouncer");class Wt extends Rt{constructor(){super(),this[Et]=new o(5),this[Ut]=this.constructor.name,this[kt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ut]&&Object.setPrototypeOf(this,this[kt])}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[Lt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(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(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Et=Lt,It([r()],Wt.prototype,"exportpartsPrefix",void 0),It([f([])],Wt.prototype,"exportpartsPrefixes",void 0),It([r()],Wt.prototype,"customStylesheet",void 0);const zt=m`
|
|
58
|
+
* @license
|
|
59
|
+
* Copyright 2019 Google LLC
|
|
60
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
+
*/
|
|
62
|
+
const gt=globalThis,bt=gt.ShadowRoot&&(void 0===gt.ShadyCSS||gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),xt=new WeakMap;let vt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==mt)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(bt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=xt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&xt.set(o,t))}return t}toString(){return this.cssText}};const Ot=t=>new vt("string"==typeof t?t:t+"",void 0,mt),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 vt(e,t,mt)},St=bt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return Ot(o)})(t):t
|
|
63
|
+
/**
|
|
64
|
+
* @license
|
|
65
|
+
* Copyright 2017 Google LLC
|
|
66
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
|
+
*/,{is:wt,defineProperty:Ct,getOwnPropertyDescriptor:$t,getOwnPropertyNames:Et,getOwnPropertySymbols:Rt,getPrototypeOf:Ut}=Object,kt=globalThis,It=kt.trustedTypes,Lt=It?It.emptyScript:"",Wt=kt.reactiveElementPolyfillSupport,zt=(t,o)=>t,Kt={toAttribute(t,o){switch(o){case Boolean:t=t?Lt: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}},Ft=(t,o)=>!wt(t,o),Zt={attribute:!0,type:String,converter:Kt,reflect:!1,hasChanged:Ft};Symbol.metadata??=Symbol("metadata"),kt.litPropertyMetadata??=new WeakMap;class At extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Zt){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&&Ct(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=$t(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)??Zt}static _$Ei(){if(this.hasOwnProperty(zt("elementProperties")))return;const t=Ut(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(zt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(zt("properties"))){const t=this.properties,o=[...Et(t),...Rt(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(St(t))}else void 0!==t&&o.push(St(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(bt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=gt.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:Kt).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Kt;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Ft)(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){}}At.elementStyles=[],At.shadowRootOptions={mode:"open"},At[zt("elementProperties")]=new Map,At[zt("finalized")]=new Map,Wt?.({ReactiveElement:At}),(kt.reactiveElementVersions??=[]).push("2.0.2");
|
|
68
|
+
/**
|
|
69
|
+
* @license
|
|
70
|
+
* Copyright 2017 Google LLC
|
|
71
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
|
+
*/
|
|
73
|
+
const Bt=globalThis,Mt=Bt.trustedTypes,Dt=Mt?Mt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pt="$lit$",Ht=`lit$${(Math.random()+"").slice(9)}$`,jt="?"+Ht,Tt=`<${jt}>`,_t=document,Gt=()=>_t.createComment(""),Vt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Yt=Array.isArray,Xt="[ \t\n\f\r]",Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,qt=/-->/g,Qt=/>/g,to=RegExp(`>|${Xt}(?:([^\\s"'>=/]+)(${Xt}*=${Xt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oo=/'/g,eo=/"/g,io=/^(?:script|style|textarea|title)$/i,ro=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),no=Symbol.for("lit-noChange"),ao=Symbol.for("lit-nothing"),so=new WeakMap,lo=_t.createTreeWalker(_t,129);function co(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Dt?Dt.createHTML(o):o}const po=(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=Qt:void 0!==l[2]?(io.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=to):void 0!==l[3]&&(a=to):a===to?">"===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]?to:'"'===l[3]?eo:oo):a===eo||a===oo?a=to:a===qt||a===Qt?a=Jt:(a=to,r=void 0);const h=a===to&&t[o+1].startsWith("/>")?" ":"";n+=a===Jt?e+Tt:c>=0?(i.push(s),e.slice(0,c)+Pt+e.slice(c)+Ht+h):e+Ht+(-2===c?o:h)}return[co(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]=po(t,o);if(this.el=ho.createElement(l,e),lo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=lo.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Pt)){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]?go:"?"===a[1]?bo:"@"===a[1]?mo:yo}),i.removeAttribute(t)}else t.startsWith(Ht)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(io.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],Gt()),lo.nextNode(),s.push({type:2,index:++r});i.append(t[o],Gt())}}}else if(8===i.nodeType)if(i.data===jt)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=_t.createElement("template");return e.innerHTML=t,e}}function fo(t,o,e=t,i){if(o===no)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Vt(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=fo(t,r._$AS(t,o.values),r,i)),o}class uo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=ao,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=fo(this,t,o),Vt(t)?t===ao||null==t||""===t?(this._$AH!==ao&&this._$AR(),this._$AH=ao):t!==this._$AH&&t!==no&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Yt(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!==ao&&Vt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.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(co(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??_t).importNode(o,!0);lo.currentNode=i;let r=lo.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new uo(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new xo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=lo.nextNode(),n++)}return lo.currentNode=_t,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=so.get(t.strings);return void 0===o&&so.set(t.strings,o=new ho(t)),o}T(t){Yt(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 uo(this.k(Gt()),this.k(Gt()),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 yo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=ao,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=ao}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=fo(this,t,o,0),n=!Vt(t)||t!==this._$AH&&t!==no,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=fo(this,i[e+a],o,a),s===no&&(s=this._$AH[a]),n||=!Vt(s)||s!==this._$AH[a],s===ao?t=ao:t!==ao&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ao?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class go extends yo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ao?void 0:t}}class bo extends yo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ao)}}class mo extends yo{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=fo(this,t,o,0)??ao)===no)return;const e=this._$AH,i=t===ao&&e!==ao||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==ao&&(e===ao||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 xo{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){fo(this,t)}}const vo=Bt.litHtmlPolyfillSupport;vo?.(ho,uo),(Bt.litHtmlVersions??=[]).push("3.1.0");
|
|
74
|
+
/**
|
|
75
|
+
* @license
|
|
76
|
+
* Copyright 2017 Google LLC
|
|
77
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
+
*/
|
|
79
|
+
let Oo=class extends At{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const 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 uo(o.insertBefore(Gt(),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 no}};Oo._$litElement$=!0,Oo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oo});const No=globalThis.litElementPolyfillSupport;No?.({LitElement:Oo}),(globalThis.litElementVersions??=[]).push("4.0.2");const So=t=>"string"==typeof t?Ot(t):t;class wo{static create(t,o,e,i){const r=t=>So(null!=t?t:i),n=Nt`var(${So(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>Nt`var(${So(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(${So(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(${So(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):So(null!=o?o:t.lastResortDefaultValue()),i=Nt`var(${So(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(${So(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Co(t,o){return So(`${t.name}: ${o}`)}const $o={colorWhite:wo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:wo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:wo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:wo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:wo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:wo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:wo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:wo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:wo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:wo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:wo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:wo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:wo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:wo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:wo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:wo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:wo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:wo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:wo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:wo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:wo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:wo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:wo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:wo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:wo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:wo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:wo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:wo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:wo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:wo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:wo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:wo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:wo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:wo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:wo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:wo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:wo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:wo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:wo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:wo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:wo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:wo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:wo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:wo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:wo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:wo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:wo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:wo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:wo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:wo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:wo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:wo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:wo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:wo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:wo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:wo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:wo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:wo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:wo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:wo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:wo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:wo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:wo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:wo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:wo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:wo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:wo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:wo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:wo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:wo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:wo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:wo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:wo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:wo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:wo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:wo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:wo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:wo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:wo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:wo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:wo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:wo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:wo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:wo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:wo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:wo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:wo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:wo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:wo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:wo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:wo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:wo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:wo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:wo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:wo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:wo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:wo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:wo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:wo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:wo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:wo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:wo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:wo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:wo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:wo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:wo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:wo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:wo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:wo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:wo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:wo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:wo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:wo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:wo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:wo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:wo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:wo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:wo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:wo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:wo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:wo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:wo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:wo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:wo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:wo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:wo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:wo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:wo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:wo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:wo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:wo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:wo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:wo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:wo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:wo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:wo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:wo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:wo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:wo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:wo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:wo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:wo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:wo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:wo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:wo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:wo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:wo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:wo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:wo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:wo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:wo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:wo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:wo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:wo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:wo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:wo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:wo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:wo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:wo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:wo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:wo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:wo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:wo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:wo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:wo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:wo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:wo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:wo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:wo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:wo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:wo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:wo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:wo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:wo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:wo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:wo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:wo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:wo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:wo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:wo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:wo.create("--ft-opacity-0","","NUMBER","0"),opacity8:wo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:wo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:wo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:wo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:wo.create("--ft-opacity-80","","NUMBER","0.8")},Eo={display:{fontFamily:wo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:wo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:wo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:wo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:wo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:wo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:wo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:wo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:wo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:wo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:wo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:wo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:wo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:wo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:wo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:wo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:wo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:wo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:wo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:wo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:wo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:wo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:wo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:wo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:wo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:wo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:wo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:wo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:wo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ro={backgroundActionPrimary:wo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",$o.colorBrand0),backgroundErrorPrimary:wo.extend("--ft-background-error-primary","Used as background of error components.",$o.colorRed0),backgroundErrorSubtle:wo.extend("--ft-background-error-subtle","Used as background of subtle error components.",$o.colorRed10),backgroundInfoPrimary:wo.extend("--ft-background-info-primary","Used as background of information components.",$o.colorCyan200),backgroundInfoSubtle:wo.extend("--ft-background-info-subtle","Used as background of subtle information components.",$o.colorCyan10),backgroundWarningPrimary:wo.extend("--ft-background-warning-primary","Used as background of warning components.",$o.colorOrange300),backgroundWarningSubtle:wo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",$o.colorOrange10),backgroundSuccessPrimary:wo.extend("--ft-background-success-primary","Used as background of success components.",$o.colorGreen200),backgroundSuccessSubtle:wo.extend("--ft-background-success-subtle","Used as background of subtle success components.",$o.colorGreen10),backgroundGlobalSurface:wo.extend("--ft-background-global-surface","Used as app background.",$o.colorWhite),backgroundGlobalOnSurface:wo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",$o.colorGray10),backgroundGlobalOnSurfaceDark:wo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",$o.colorGray30),contentActionPrimary:wo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",$o.colorBrand0),contentWarningPrimary:wo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",$o.colorOrange300),contentWarningIconOnly:wo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",$o.colorOrange0),contentErrorPrimary:wo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",$o.colorRed0),contentErrorIconOnly:wo.extend("--ft-content-error-icon-only","Used on error status icons alone",$o.colorRed0),contentInfoPrimary:wo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",$o.colorCyan200),contentInfoIconOnly:wo.extend("--ft-content-info-icon-only","Used on info status icons alone",$o.colorCyan0),contentSuccessIconOnly:wo.extend("--ft-content-success-icon-only","Used on success status icons alone",$o.colorGreen0),contentSuccessPrimary:wo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",$o.colorGreen200),contentGlobalPrimary:wo.extend("--ft-content-global-primary","Used for main content on the page.",$o.colorGray500),contentGlobalSecondary:wo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",$o.colorGray200),contentGlobalSubtle:wo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",$o.colorGray0),contentGlobalOnColor:wo.extend("--ft-content-global-on-color","Used for content on a dominant color.",$o.colorWhite),borderActionPrimary:wo.extend("--ft-border-action-primary","Used as border for primary action components.",$o.colorBrand0),borderActionFocusRing:wo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",$o.colorCyan0),borderWarningPrimary:wo.extend("--ft-border-warning-primary","Used as border for warning components.",$o.colorOrange30),borderSuccessPrimary:wo.extend("--ft-border-success-primary","Used as border for success components.",$o.colorGreen30),borderErrorPrimary:wo.extend("--ft-border-error-primary","Used as border for error components.",$o.colorRed30),borderInfoPrimary:wo.extend("--ft-border-info-primary","Used as border for information components.",$o.colorCyan30),borderGlobalSubtle:wo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",$o.colorGray30),borderGlobalPrimary:wo.extend("--ft-border-global-primary","Used as border for element like input.",$o.colorGray50),borderInputPrimary:wo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",$o.colorGray80)},Uo={largeHeight:wo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:wo.extend("--ft-button-large-horizontal-padding","",$o.spacing4),largeGap:wo.extend("--ft-button-large-gap","",$o.spacing2),largeBorderRadius:wo.extend("--ft-button-large-border-radius","",$o.borderRadiusS),largeIconSize:wo.extend("--ft-button-large-icon-size","",$o.iconSize3),largeBorderWidth:wo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:wo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:wo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:wo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:wo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:wo.extend("--ft-button-small-horizontal-padding","",$o.spacing3),smallGap:wo.extend("--ft-button-small-gap","",$o.spacing2),smallBorderRadius:wo.extend("--ft-button-small-border-radius","",$o.borderRadiusS),smallIconSize:wo.extend("--ft-button-small-icon-size","",$o.iconSize2),smallBorderWidth:wo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:wo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:wo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:wo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:wo.extend("--ft-button-primary-background-color","",Ro.backgroundActionPrimary),primaryColor:wo.extend("--ft-button-primary-color","",Ro.contentGlobalOnColor),primaryIconColor:wo.extend("--ft-button-primary-icon-color","",Ro.contentGlobalOnColor),primaryStateLayerColor:wo.extend("--ft-button-primary-state-layer-color","",Ro.contentGlobalOnColor),primaryStateLayerOpacityHover:wo.extend("--ft-button-primary-state-layer-opacity-hover","",$o.opacity16),primaryStateLayerOpacityFocus:wo.extend("--ft-button-primary-state-layer-opacity-focus","",$o.opacity16),primaryStateLayerOpacityActive:wo.extend("--ft-button-primary-state-layer-opacity-active","",$o.opacity24),primaryComponentOpacityDisabled:wo.extend("--ft-button-primary-component-opacity-disabled","",$o.opacity40),focusFocusRingColor:wo.extend("--ft-button-focus-focus-ring-color","",Ro.borderActionFocusRing),tertiaryBackgroundColor:wo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:wo.extend("--ft-button-tertiary-color","",Ro.contentActionPrimary),tertiaryIconColor:wo.extend("--ft-button-tertiary-icon-color","",Ro.contentActionPrimary),tertiaryStateLayerColor:wo.extend("--ft-button-tertiary-state-layer-color","",Ro.contentActionPrimary),tertiaryStateLayerOpacityHover:wo.extend("--ft-button-tertiary-state-layer-opacity-hover","",$o.opacity8),tertiaryStateLayerOpacityFocus:wo.extend("--ft-button-tertiary-state-layer-opacity-focus","",$o.opacity8),tertiaryStateLayerOpacityActive:wo.extend("--ft-button-tertiary-state-layer-opacity-active","",$o.opacity16),tertiaryComponentOpacityDisabled:wo.extend("--ft-button-tertiary-component-opacity-disabled","",$o.opacity40),secondaryBackgroundColor:wo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:wo.extend("--ft-button-secondary-color","",Ro.contentActionPrimary),secondaryIconColor:wo.extend("--ft-button-secondary-icon-color","",Ro.contentActionPrimary),secondaryStateLayerColor:wo.extend("--ft-button-secondary-state-layer-color","",Ro.contentActionPrimary),secondaryStateLayerOpacityHover:wo.extend("--ft-button-secondary-state-layer-opacity-hover","",$o.opacity8),secondaryStateLayerOpacityFocus:wo.extend("--ft-button-secondary-state-layer-opacity-focus","",$o.opacity8),secondaryStateLayerOpacityActive:wo.extend("--ft-button-secondary-state-layer-opacity-active","",$o.opacity16),secondaryComponentOpacityDisabled:wo.extend("--ft-button-secondary-component-opacity-disabled","",$o.opacity40),secondaryBorderColor:wo.extend("--ft-button-secondary-border-color","",Ro.borderActionPrimary),neutralBackgroundColor:wo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:wo.extend("--ft-button-neutral-icon-color","",Ro.contentGlobalSecondary),neutralColor:wo.extend("--ft-button-neutral-color","",Ro.contentGlobalSecondary),neutralStateLayerColor:wo.extend("--ft-button-neutral-state-layer-color","",Ro.contentGlobalSecondary),neutralStateLayerOpacityHover:wo.extend("--ft-button-neutral-state-layer-opacity-hover","",$o.opacity8),neutralStateLayerOpacityFocus:wo.extend("--ft-button-neutral-state-layer-opacity-focus","",$o.opacity8),neutralStateLayerOpacityActive:wo.extend("--ft-button-neutral-state-layer-opacity-active","",$o.opacity16),neutralComponentOpacityDisabled:wo.extend("--ft-button-neutral-component-opacity-disabled","",$o.opacity40)};wo.extend("--ft-tabs-top-left-border-radius","",$o.borderRadiusS),wo.extend("--ft-tabs-top-right-border-radius","",$o.borderRadiusS),wo.extend("--ft-tabs-label-horizontal-padding","",$o.spacing4),wo.extend("--ft-tabs-label-vertical-padding","",$o.spacing3),wo.extend("--ft-tabs-label-gap","",$o.spacing1),wo.extend("--ft-switch-group-horizontal-padding","",$o.spacing1),wo.extend("--ft-switch-group-vertical-padding","",$o.spacing1),wo.extend("--ft-switch-group-gap","",$o.spacing1),wo.extend("--ft-switch-group-background-color","",Ro.backgroundGlobalSurface),wo.extend("--ft-switch-group-border-color","",Ro.borderGlobalSubtle),wo.create("--ft-switch-group-border-radius","","SIZE","6px"),wo.extend("--ft-switch-label-horizontal-padding","",$o.spacing2),wo.extend("--ft-switch-label-vertical-padding","",$o.spacing1),wo.extend("--ft-switch-icon-horizontal-padding","",$o.spacing1),wo.extend("--ft-switch-icon-vertical-padding","",$o.spacing1),wo.create("--ft-switch-focus-outline-width","","SIZE","2px"),wo.extend("--ft-switch-focus-focus-ring-color","",Ro.borderActionFocusRing),wo.extend("--ft-switch-option-border-radius","",$o.borderRadiusS),wo.extend("--ft-switch-off-state-layer-opacity-hover","",$o.opacity8),wo.extend("--ft-switch-off-state-layer-opacity-focus","",$o.opacity8),wo.extend("--ft-switch-off-state-layer-opacity-active","",$o.opacity16),wo.extend("--ft-switch-off-component-opacity-disabled","",$o.opacity40),wo.extend("--ft-switch-off-color","",Ro.contentGlobalSubtle),wo.extend("--ft-switch-off-state-layer-color","",Ro.contentGlobalSubtle),wo.extend("--ft-chart-1-light","for area color charts",$o.colorBrand40),wo.extend("--ft-chart-1-base","for line charts",$o.colorBrand0),wo.extend("--ft-chart-2-light","for area color charts",$o.colorYellow60),wo.extend("--ft-chart-2-base","for line charts",$o.colorYellow100),wo.extend("--ft-chart-3-light","",$o.colorUltramarine40),wo.extend("--ft-chart-3-base","",$o.colorUltramarine70),wo.extend("--ft-chart-4-light","",$o.colorCyan50),wo.extend("--ft-chart-4-base","",$o.colorCyan100),wo.extend("--ft-chart-5-light","",$o.colorRed40),wo.extend("--ft-chart-5-base","",$o.colorRed60),wo.extend("--ft-chart-6-light","",$o.colorGreen40),wo.extend("--ft-chart-6-base","",$o.colorGreen70),wo.extend("--ft-chart-7-light","",$o.colorOrange70),wo.extend("--ft-chart-7-base","",$o.colorOrange100),wo.extend("--ft-chart-8-light","",$o.colorAvocado70),wo.extend("--ft-chart-8-base","",$o.colorAvocado200),wo.extend("--ft-chart-9-light","",$o.colorBrown50),wo.extend("--ft-chart-9-base","",$o.colorBrown200),wo.extend("--ft-chart-10-light","",$o.colorGray50),wo.extend("--ft-chart-10-base","",$o.colorGray80),wo.extend("--ft-chart-monochrome-10","",$o.colorBrand10),wo.extend("--ft-chart-monochrome-20","",$o.colorBrand20),wo.extend("--ft-chart-monochrome-30","",$o.colorBrand40),wo.extend("--ft-chart-monochrome-40","",$o.colorBrand60),wo.extend("--ft-chart-monochrome-50","",$o.colorBrand0),wo.extend("--ft-chart-monochrome-60","",$o.colorBrand200),wo.extend("--ft-chip-large-horizontal-padding","",$o.spacing4),wo.extend("--ft-chip-large-vertical-padding","",$o.spacing2),wo.extend("--ft-chip-large-gap","",$o.spacing1),wo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),wo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),wo.extend("--ft-chip-large-border-radius","",$o.borderRadiusPill),wo.create("--ft-chip-large-border-width","","SIZE","1px"),wo.extend("--ft-chip-large-icon-size","",$o.iconSize3),wo.extend("--ft-chip-medium-horizontal-padding","",$o.spacing3),wo.extend("--ft-chip-medium-vertical-padding","",$o.spacing1),wo.extend("--ft-chip-medium-gap","",$o.spacing1),wo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),wo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),wo.extend("--ft-chip-medium-border-radius","",$o.borderRadiusPill),wo.create("--ft-chip-medium-border-width","","SIZE","1px"),wo.extend("--ft-chip-medium-icon-size","",$o.iconSize2),wo.extend("--ft-chip-small-horizontal-padding","",$o.spacing2),wo.extend("--ft-chip-small-vertical-padding","",$o.spacing05),wo.extend("--ft-chip-small-gap","",$o.spacing1),wo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),wo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),wo.extend("--ft-chip-small-border-radius","",$o.borderRadiusPill),wo.create("--ft-chip-small-border-width","","SIZE","1px"),wo.extend("--ft-chip-small-icon-size","",$o.iconSize1),wo.extend("--ft-chip-neutral-background-color","",Ro.backgroundGlobalOnSurface),wo.extend("--ft-chip-neutral-color","",Ro.contentGlobalPrimary),wo.extend("--ft-chip-neutral-border-color","",Ro.borderGlobalSubtle),wo.extend("--ft-chip-info-background-color","",Ro.backgroundInfoSubtle),wo.extend("--ft-chip-info-color","",Ro.contentInfoPrimary),wo.extend("--ft-chip-info-border-color","",Ro.borderInfoPrimary),wo.extend("--ft-chip-success-background-color","",Ro.backgroundSuccessSubtle),wo.extend("--ft-chip-success-color","",Ro.contentSuccessPrimary),wo.extend("--ft-chip-success-border-color","",Ro.borderSuccessPrimary),wo.extend("--ft-chip-warning-background-color","",Ro.backgroundWarningSubtle),wo.extend("--ft-chip-warning-color","",Ro.contentWarningPrimary),wo.extend("--ft-chip-warning-border-color","",Ro.borderWarningPrimary),wo.extend("--ft-chip-error-background-color","",Ro.backgroundErrorSubtle),wo.extend("--ft-chip-error-color","",Ro.contentErrorPrimary),wo.extend("--ft-chip-error-border-color","",Ro.borderErrorPrimary),wo.create("--ft-notice-border-width","","SIZE","1px"),wo.extend("--ft-notice-horizontal-padding","",$o.spacing2),wo.extend("--ft-notice-vertical-padding","",$o.spacing1),wo.extend("--ft-notice-border-radius","",$o.borderRadiusS),wo.extend("--ft-notice-gap","",$o.spacing2),wo.extend("--ft-notice-icon-size","",$o.iconSize3),wo.extend("--ft-notice-info-background-color","",Ro.backgroundInfoSubtle),wo.extend("--ft-notice-info-border-color","",Ro.borderInfoPrimary),wo.extend("--ft-notice-info-color","",Ro.contentInfoPrimary),wo.extend("--ft-notice-warning-background-color","",Ro.backgroundWarningSubtle),wo.extend("--ft-notice-warning-border-color","",Ro.borderWarningPrimary),wo.extend("--ft-notice-warning-color","",Ro.contentWarningPrimary),wo.extend("--ft-checkbox-label-color","",Ro.contentGlobalPrimary),wo.extend("--ft-checkbox-checked-background-color","",Ro.contentActionPrimary),wo.extend("--ft-checkbox-checked-state-layer-color","",Ro.contentActionPrimary),wo.extend("--ft-checkbox-checked-color","",Ro.contentGlobalOnColor),wo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",$o.opacity16),wo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",$o.opacity16),wo.extend("--ft-checkbox-checked-state-layer-opacity-active","",$o.opacity24),wo.extend("--ft-checkbox-checked-component-opacity-disabled","",$o.opacity40),wo.extend("--ft-checkbox-unchecked-border-color","",$o.colorGray80),wo.extend("--ft-checkbox-unchecked-state-layer-color","",$o.colorGray80),wo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",$o.opacity16),wo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",$o.opacity16),wo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",$o.opacity24),wo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",$o.opacity40),wo.extend("--ft-checkbox-focus-focus-ring-color","",Ro.borderActionFocusRing),wo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),wo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),wo.extend("--ft-checkbox-gap","",$o.spacing3),wo.extend("--ft-toggle-off-state-layer-opacity-hover","",$o.opacity16),wo.extend("--ft-toggle-off-state-layer-opacity-focus","",$o.opacity16),wo.extend("--ft-toggle-off-state-layer-opacity-active","",$o.opacity24),wo.extend("--ft-toggle-off-component-opacity-disabled","",$o.opacity40),wo.extend("--ft-toggle-off-background-color","",Ro.contentGlobalSubtle),wo.extend("--ft-toggle-off-icon-color","",Ro.contentGlobalSubtle),wo.extend("--ft-toggle-off-state-layer-color","",Ro.contentGlobalSubtle),wo.extend("--ft-toggle-on-state-layer-opacity-hover","",$o.opacity16),wo.extend("--ft-toggle-on-state-layer-opacity-focus","",$o.opacity16),wo.extend("--ft-toggle-on-state-layer-opacity-active","",$o.opacity24),wo.extend("--ft-toggle-on-component-opacity-disabled","",$o.opacity40),wo.extend("--ft-toggle-on-background-color","",Ro.contentActionPrimary),wo.extend("--ft-toggle-on-icon-color","",Ro.contentActionPrimary),wo.extend("--ft-toggle-on-state-layer-color","",Ro.contentActionPrimary),wo.extend("--ft-toggle-label-color","",Ro.contentGlobalPrimary),wo.extend("--ft-toggle-focus-focus-ring-color","",Ro.borderActionFocusRing),wo.extend("--ft-toggle-gap","",$o.spacing3),wo.extend("--ft-radio-label-color","",Ro.contentGlobalPrimary),wo.extend("--ft-radio-selected-color","",Ro.contentActionPrimary),wo.extend("--ft-radio-selected-state-layer-color","",Ro.contentActionPrimary),wo.extend("--ft-radio-selected-state-layer-opacity-hover","",$o.opacity16),wo.extend("--ft-radio-selected-state-layer-opacity-focus","",$o.opacity16),wo.extend("--ft-radio-selected-state-layer-opacity-active","",$o.opacity24),wo.extend("--ft-radio-selected-component-opacity-disabled","",$o.opacity40),wo.extend("--ft-radio-unselected-state-layer-color","",$o.colorGray80),wo.extend("--ft-radio-unselected-state-layer-opacity-hover","",$o.opacity16),wo.extend("--ft-radio-unselected-state-layer-opacity-focus","",$o.opacity16),wo.extend("--ft-radio-unselected-state-layer-opacity-active","",$o.opacity24),wo.extend("--ft-radio-unselected-component-opacity-disabled","",$o.opacity40),wo.extend("--ft-radio-focus-focus-ring-color","",Ro.borderActionFocusRing),wo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),wo.create("--ft-radio-focus-outline-width","","SIZE","2px"),wo.extend("--ft-radio-gap","",$o.spacing3),wo.extend("--ft-notification-icon-size","",$o.iconSize4),wo.extend("--ft-notification-horizontal-padding","",$o.spacing4),wo.extend("--ft-notification-vertical-padding","",$o.spacing4),wo.extend("--ft-notification-info-background-color","",Ro.backgroundInfoSubtle),wo.extend("--ft-notification-info-color","",Ro.contentInfoPrimary),wo.extend("--ft-notification-info-border-color","",Ro.borderInfoPrimary),wo.extend("--ft-notification-success-background-color","",Ro.backgroundSuccessSubtle),wo.extend("--ft-notification-success-color","",Ro.contentSuccessPrimary),wo.extend("--ft-notification-success-border-color","",Ro.borderSuccessPrimary),wo.extend("--ft-notification-warning-background-color","",Ro.backgroundWarningSubtle),wo.extend("--ft-notification-warning-color","",Ro.contentWarningPrimary),wo.extend("--ft-notification-warning-border-color","",Ro.borderWarningPrimary),wo.extend("--ft-notification-error-background-color","",Ro.backgroundErrorSubtle),wo.extend("--ft-notification-error-color","",Ro.contentErrorPrimary),wo.extend("--ft-notification-error-border-color","",Ro.borderErrorPrimary),wo.extend("--ft-notification-border-radius","",$o.borderRadiusPill),wo.create("--ft-notification-border-width","","SIZE","1px"),wo.extend("--ft-notification-gap-leading","",$o.spacing2),wo.extend("--ft-notification-gap-trailing","",$o.spacing8);const ko={colorPrimary:wo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:wo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:wo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:wo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:wo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:wo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:wo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:wo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:wo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:wo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:wo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:wo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:wo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:wo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:wo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:wo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:wo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:wo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:wo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:wo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:wo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:wo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:wo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:wo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:wo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:wo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:wo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:wo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:wo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:wo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:wo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:wo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:wo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:wo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:wo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:wo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:wo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:wo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:wo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:wo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:wo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:wo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:wo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:wo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:wo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:wo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:wo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:wo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:wo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:wo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:wo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Io=window,Lo=Io.ShadowRoot&&(void 0===Io.ShadyCSS||Io.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
80
|
+
/**
|
|
81
|
+
* @license
|
|
82
|
+
* Copyright 2019 Google LLC
|
|
83
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
|
+
*/class Wo extends Oo{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)=>{Lo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Io.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var zo,Ko=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Fo=Symbol("constructorPrototype"),Zo=Symbol("constructorName"),Ao=Symbol("exportpartsDebouncer");class Bo extends Wo{constructor(){super(),this[zo]=new o(5),this[Zo]=this.constructor.name,this[Fo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Zo]&&Object.setPrototypeOf(this,this[Fo])}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[Ao].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(", "))}}zo=Ao,Ko([C()],Bo.prototype,"exportpartsPrefix",void 0),Ko([I([])],Bo.prototype,"exportpartsPrefixes",void 0),Ko([C()],Bo.prototype,"customStylesheet",void 0);const Mo=Nt`
|
|
65
85
|
.ft-no-text-select {
|
|
66
86
|
-webkit-touch-callout: none;
|
|
67
87
|
-webkit-user-select: none;
|
|
@@ -70,7 +90,7 @@ var yt,gt;let bt=class extends I{constructor(){super(...arguments),this.renderOp
|
|
|
70
90
|
-ms-user-select: none;
|
|
71
91
|
user-select: none;
|
|
72
92
|
}
|
|
73
|
-
`;
|
|
93
|
+
`;Nt`
|
|
74
94
|
.ft-word-wrap {
|
|
75
95
|
white-space: normal;
|
|
76
96
|
word-wrap: break-word;
|
|
@@ -82,7 +102,7 @@ var yt,gt;let bt=class extends I{constructor(){super(...arguments),this.renderOp
|
|
|
82
102
|
-webkit-hyphens: auto;
|
|
83
103
|
hyphens: auto
|
|
84
104
|
}
|
|
85
|
-
`;const
|
|
105
|
+
`;const Do=Nt`
|
|
86
106
|
.ft-safari-ellipsis-fix {
|
|
87
107
|
margin-right: 0;
|
|
88
108
|
|
|
@@ -93,123 +113,123 @@ var yt,gt;let bt=class extends I{constructor(){super(...arguments),this.renderOp
|
|
|
93
113
|
display: inline-block;
|
|
94
114
|
width: 0;
|
|
95
115
|
}
|
|
96
|
-
`;class
|
|
116
|
+
`;class Po{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,i;t=this.resolvePluralKey(t,o);let r=null!==(i=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==i?i:"";return o.forEach(((t,o)=>r=r.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),r}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}function Ho(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var jo,To,_o;const Go=Symbol("internalReduxEventsUnsubscribers"),Vo=Symbol("internalStoresUnsubscribers"),Yo=Symbol("internalStores");class Xo extends Bo{constructor(){super(...arguments),this[jo]=new Map,this[To]=new Map,this[_o]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Yo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Yo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Yo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ho(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[Yo].delete(o)}setupStore(t,o){this[Yo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Yo].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Vo].has(t.store):this[Vo].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Vo].set(t,o.subscribe((()=>this.updateFromStores()))),Ho(o)&&o.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[Go].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Vo].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Go].forEach((t=>t())),this[Go]=[]}unsubscribeFromStore(t){this[Vo].has(t)&&this[Vo].get(t)(),this[Vo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}jo=Vo,To=Yo,_o=Go,window.ftReduxStores||(window.ftReduxStores={});const Jo=t=>{const o=null!=t?t:{};return(t,e)=>{var i;const r={hasChanged:(t,o)=>!U(t,o),attribute:!1,...o};C(r)(t,e);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(e,{selector:null!==(i=o.selector)&&void 0!==i?i:t=>t[e],store:o.store})}},qo=Symbol("elementInternals");var Qo,te,oe;const ee=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(oe=null===(te=null===(Qo=window.safari)||void 0===Qo?void 0:Qo.pushNotification)||void 0===te?void 0:te.toString())&&void 0!==oe?oe:""),ie=1,re=2,ne=t=>(...o)=>({_$litDirective$:t,values:o});
|
|
97
117
|
/**
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
118
|
+
* @license
|
|
119
|
+
* Copyright 2017 Google LLC
|
|
120
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
121
|
+
*/let ae=class{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)}};
|
|
102
122
|
/**
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
123
|
+
* @license
|
|
124
|
+
* Copyright 2020 Google LLC
|
|
125
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
126
|
+
*/const{D:se}=ut,le=()=>document.createComment(""),ce=(t,o,e)=>{const i=t._$AA.parentNode,r=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(le(),r),n=i.insertBefore(le(),r);e=new se(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},pe=(t,o,e=t)=>(t._$AI(o,e),t),he={},fe=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}},de=(t,o,e)=>{const i=new Map;for(let r=o;r<=e;r++)i.set(t[r],r);return i},ue=ne(class extends ae{constructor(t){if(super(t),t.type!==re)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,h=0,f=r.length-1,d=0,u=n.length-1;for(;h<=f&&d<=u;)if(null===r[h])h++;else if(null===r[f])f--;else if(s[h]===a[d])l[d]=pe(r[h],n[d]),h++,d++;else if(s[f]===a[u])l[u]=pe(r[f],n[u]),f--,u--;else if(s[h]===a[u])l[u]=pe(r[h],n[u]),ce(t,l[u+1],r[h]),h++,u--;else if(s[f]===a[d])l[d]=pe(r[f],n[d]),ce(t,r[h],r[f]),f--,d++;else if(void 0===c&&(c=de(a,d,u),p=de(s,h,f)),c.has(s[h]))if(c.has(s[f])){const o=p.get(a[d]),e=void 0!==o?r[o]:null;if(null===e){const o=ce(t,r[h]);pe(o,n[d]),l[d]=o}else l[d]=pe(e,n[d]),ce(t,r[h],e),r[o]=null;d++}else fe(r[f]),f--;else fe(r[h]),h++;for(;d<=u;){const o=ce(t,l[u+1]);pe(o,n[d]),l[d++]=o}for(;h<=f;){const t=r[h++];null!==t&&fe(t)}return this.dt=a,((t,o=he)=>{t._$AH=o})(t,l),Q}}),ye=ne(class extends ae{constructor(t){if(super(t),t.type!==ie||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return Q}}),ge="important",be=" !"+ge,me=ne(class extends ae{constructor(t){if(super(t),t.type!==ie||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((o,e)=>{const i=t[e];return null==i?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const i=o[t];if(null!=i){this.ut.add(t);const o="string"==typeof i&&i.endsWith(be);t.includes("-")||o?e.setProperty(t,o?i.slice(0,-11):i,o?ge:""):e[t]=i}}return Q}});
|
|
107
127
|
/**
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
128
|
+
* @license
|
|
129
|
+
* Copyright 2017 Google LLC
|
|
130
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
131
|
+
*/var xe;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(xe||(xe={}));var ve=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 Oe extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Ne=Symbol("registerInterval");class Se 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[Ne]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ne]):this.dispatchEvent(new Oe)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Ne,ve([$()],e.prototype,"stateManager",void 0),e}(Xo)){}
|
|
112
132
|
/**
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
133
|
+
* @license
|
|
134
|
+
* Copyright 2020 Google LLC
|
|
135
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
136
|
+
*/const we=Symbol.for(""),Ce=t=>{if(t?.r===we)return t?._$litStatic$},$e=t=>({_$litStatic$:t,r:we}),Ee=new Map,Re=(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=Ce(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=Ee.get(t))&&(a.raw=a,Ee.set(t,o=a)),e=s}return t(o,...e)})(q);var Ue;!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"}(Ue||(Ue={}));const ke=wo.extend("--ft-typography-font-family","",ko.titleFont),Ie=wo.extend("--ft-typography-font-family","",ko.contentFont),Le={fontFamily:Ie,fontSize:wo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:wo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:wo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:wo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:wo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},We=wo.extend("--ft-typography-title-font-family","",ke),ze=wo.extend("--ft-typography-title-font-size","",Le.fontSize,"20px"),Ke=wo.extend("--ft-typography-title-font-weight","",Le.fontWeight,"normal"),Fe=wo.extend("--ft-typography-title-letter-spacing","",Le.letterSpacing,"0.15px"),Ze=wo.extend("--ft-typography-title-line-height","",Le.lineHeight,"1.2"),Ae=wo.extend("--ft-typography-title-text-transform","",Le.textTransform,"inherit"),Be=wo.extend("--ft-typography-title-dense-font-family","",ke),Me=wo.extend("--ft-typography-title-dense-font-size","",Le.fontSize,"14px"),De=wo.extend("--ft-typography-title-dense-font-weight","",Le.fontWeight,"normal"),Pe=wo.extend("--ft-typography-title-dense-letter-spacing","",Le.letterSpacing,"0.105px"),He=wo.extend("--ft-typography-title-dense-line-height","",Le.lineHeight,"1.7"),je=wo.extend("--ft-typography-title-dense-text-transform","",Le.textTransform,"inherit"),Te=wo.extend("--ft-typography-subtitle1-font-family","",Ie),_e=wo.extend("--ft-typography-subtitle1-font-size","",Le.fontSize,"16px"),Ge=wo.extend("--ft-typography-subtitle1-font-weight","",Le.fontWeight,"600"),Ve=wo.extend("--ft-typography-subtitle1-letter-spacing","",Le.letterSpacing,"0.144px"),Ye=wo.extend("--ft-typography-subtitle1-line-height","",Le.lineHeight,"1.5"),Xe=wo.extend("--ft-typography-subtitle1-text-transform","",Le.textTransform,"inherit"),Je=wo.extend("--ft-typography-subtitle2-font-family","",Ie),qe=wo.extend("--ft-typography-subtitle2-font-size","",Le.fontSize,"14px"),Qe=wo.extend("--ft-typography-subtitle2-font-weight","",Le.fontWeight,"normal"),ti=wo.extend("--ft-typography-subtitle2-letter-spacing","",Le.letterSpacing,"0.098px"),oi=wo.extend("--ft-typography-subtitle2-line-height","",Le.lineHeight,"1.7"),ei=wo.extend("--ft-typography-subtitle2-text-transform","",Le.textTransform,"inherit"),ii=wo.extend("--ft-typography-body1-font-family","",Ie),ri=wo.extend("--ft-typography-body1-font-size","",Le.fontSize,"16px"),ni=wo.extend("--ft-typography-body1-font-weight","",Le.fontWeight,"normal"),ai=wo.extend("--ft-typography-body1-letter-spacing","",Le.letterSpacing,"0.496px"),si=wo.extend("--ft-typography-body1-line-height","",Le.lineHeight,"1.5"),li=wo.extend("--ft-typography-body1-text-transform","",Le.textTransform,"inherit"),ci=wo.extend("--ft-typography-body2-font-family","",Ie),pi=wo.extend("--ft-typography-body2-font-size","",Le.fontSize,"14px"),hi=wo.extend("--ft-typography-body2-font-weight","",Le.fontWeight,"normal"),fi=wo.extend("--ft-typography-body2-letter-spacing","",Le.letterSpacing,"0.252px"),di=wo.extend("--ft-typography-body2-line-height","",Le.lineHeight,"1.4"),ui=wo.extend("--ft-typography-body2-text-transform","",Le.textTransform,"inherit"),yi=wo.extend("--ft-typography-caption-font-family","",Ie),gi=wo.extend("--ft-typography-caption-font-size","",Le.fontSize,"12px"),bi=wo.extend("--ft-typography-caption-font-weight","",Le.fontWeight,"normal"),mi=wo.extend("--ft-typography-caption-letter-spacing","",Le.letterSpacing,"0.396px"),xi=wo.extend("--ft-typography-caption-line-height","",Le.lineHeight,"1.33"),vi=wo.extend("--ft-typography-caption-text-transform","",Le.textTransform,"inherit"),Oi=wo.extend("--ft-typography-breadcrumb-font-family","",Ie),Ni=wo.extend("--ft-typography-breadcrumb-font-size","",Le.fontSize,"10px"),Si=wo.extend("--ft-typography-breadcrumb-font-weight","",Le.fontWeight,"normal"),wi=wo.extend("--ft-typography-breadcrumb-letter-spacing","",Le.letterSpacing,"0.33px"),Ci=wo.extend("--ft-typography-breadcrumb-line-height","",Le.lineHeight,"1.6"),$i=wo.extend("--ft-typography-breadcrumb-text-transform","",Le.textTransform,"inherit"),Ei=wo.extend("--ft-typography-overline-font-family","",Ie),Ri=wo.extend("--ft-typography-overline-font-size","",Le.fontSize,"10px"),Ui=wo.extend("--ft-typography-overline-font-weight","",Le.fontWeight,"normal"),ki=wo.extend("--ft-typography-overline-letter-spacing","",Le.letterSpacing,"1.5px"),Ii=wo.extend("--ft-typography-overline-line-height","",Le.lineHeight,"1.6"),Li=wo.extend("--ft-typography-overline-text-transform","",Le.textTransform,"uppercase"),Wi={fontFamily:wo.extend("--ft-typography-button-font-family","",Ie),fontSize:wo.extend("--ft-typography-button-font-size","",Le.fontSize,"14px"),fontWeight:wo.extend("--ft-typography-button-font-weight","",Le.fontWeight,"600"),letterSpacing:wo.extend("--ft-typography-button-letter-spacing","",Le.letterSpacing,"1.246px"),lineHeight:wo.extend("--ft-typography-button-line-height","",Le.lineHeight,"1.15"),textTransform:wo.extend("--ft-typography-button-text-transform","",Le.textTransform,"uppercase")},zi=Nt`
|
|
117
137
|
.ft-typography--title {
|
|
118
|
-
font-family: ${
|
|
119
|
-
font-size: ${
|
|
120
|
-
font-weight: ${
|
|
121
|
-
letter-spacing: ${
|
|
122
|
-
line-height: ${
|
|
123
|
-
text-transform: ${
|
|
124
|
-
}
|
|
125
|
-
`,
|
|
138
|
+
font-family: ${We};
|
|
139
|
+
font-size: ${ze};
|
|
140
|
+
font-weight: ${Ke};
|
|
141
|
+
letter-spacing: ${Fe};
|
|
142
|
+
line-height: ${Ze};
|
|
143
|
+
text-transform: ${Ae};
|
|
144
|
+
}
|
|
145
|
+
`,Ki=Nt`
|
|
126
146
|
.ft-typography--title-dense {
|
|
127
|
-
font-family: ${
|
|
128
|
-
font-size: ${
|
|
129
|
-
font-weight: ${
|
|
130
|
-
letter-spacing: ${
|
|
131
|
-
line-height: ${
|
|
132
|
-
text-transform: ${
|
|
133
|
-
}
|
|
134
|
-
`,
|
|
147
|
+
font-family: ${Be};
|
|
148
|
+
font-size: ${Me};
|
|
149
|
+
font-weight: ${De};
|
|
150
|
+
letter-spacing: ${Pe};
|
|
151
|
+
line-height: ${He};
|
|
152
|
+
text-transform: ${je};
|
|
153
|
+
}
|
|
154
|
+
`,Fi=Nt`
|
|
135
155
|
.ft-typography--subtitle1 {
|
|
136
|
-
font-family: ${
|
|
137
|
-
font-size: ${
|
|
138
|
-
font-weight: ${
|
|
139
|
-
letter-spacing: ${
|
|
140
|
-
line-height: ${
|
|
141
|
-
text-transform: ${
|
|
142
|
-
}
|
|
143
|
-
`,
|
|
156
|
+
font-family: ${Te};
|
|
157
|
+
font-size: ${_e};
|
|
158
|
+
font-weight: ${Ge};
|
|
159
|
+
letter-spacing: ${Ve};
|
|
160
|
+
line-height: ${Ye};
|
|
161
|
+
text-transform: ${Xe};
|
|
162
|
+
}
|
|
163
|
+
`,Zi=Nt`
|
|
144
164
|
.ft-typography--subtitle2 {
|
|
145
|
-
font-family: ${
|
|
146
|
-
font-size: ${
|
|
147
|
-
font-weight: ${
|
|
148
|
-
letter-spacing: ${
|
|
149
|
-
line-height: ${
|
|
150
|
-
text-transform: ${
|
|
165
|
+
font-family: ${Je};
|
|
166
|
+
font-size: ${qe};
|
|
167
|
+
font-weight: ${Qe};
|
|
168
|
+
letter-spacing: ${ti};
|
|
169
|
+
line-height: ${oi};
|
|
170
|
+
text-transform: ${ei};
|
|
151
171
|
}
|
|
152
172
|
|
|
153
|
-
`,
|
|
173
|
+
`,Ai=Nt`
|
|
154
174
|
.ft-typography--body1 {
|
|
155
|
-
font-family: ${
|
|
156
|
-
font-size: ${
|
|
157
|
-
font-weight: ${
|
|
158
|
-
letter-spacing: ${
|
|
159
|
-
line-height: ${
|
|
160
|
-
text-transform: ${
|
|
161
|
-
}
|
|
162
|
-
`,
|
|
175
|
+
font-family: ${ii};
|
|
176
|
+
font-size: ${ri};
|
|
177
|
+
font-weight: ${ni};
|
|
178
|
+
letter-spacing: ${ai};
|
|
179
|
+
line-height: ${si};
|
|
180
|
+
text-transform: ${li};
|
|
181
|
+
}
|
|
182
|
+
`,Bi=Nt`
|
|
163
183
|
.ft-typography--body2 {
|
|
164
|
-
font-family: ${
|
|
165
|
-
font-size: ${
|
|
166
|
-
font-weight: ${
|
|
167
|
-
letter-spacing: ${
|
|
168
|
-
line-height: ${
|
|
169
|
-
text-transform: ${
|
|
170
|
-
}
|
|
171
|
-
`,
|
|
184
|
+
font-family: ${ci};
|
|
185
|
+
font-size: ${pi};
|
|
186
|
+
font-weight: ${hi};
|
|
187
|
+
letter-spacing: ${fi};
|
|
188
|
+
line-height: ${di};
|
|
189
|
+
text-transform: ${ui};
|
|
190
|
+
}
|
|
191
|
+
`,Mi=Nt`
|
|
172
192
|
.ft-typography--caption {
|
|
173
|
-
font-family: ${
|
|
174
|
-
font-size: ${
|
|
175
|
-
font-weight: ${
|
|
176
|
-
letter-spacing: ${
|
|
177
|
-
line-height: ${
|
|
178
|
-
text-transform: ${
|
|
179
|
-
}
|
|
180
|
-
`,
|
|
193
|
+
font-family: ${yi};
|
|
194
|
+
font-size: ${gi};
|
|
195
|
+
font-weight: ${bi};
|
|
196
|
+
letter-spacing: ${mi};
|
|
197
|
+
line-height: ${xi};
|
|
198
|
+
text-transform: ${vi};
|
|
199
|
+
}
|
|
200
|
+
`,Di=Nt`
|
|
181
201
|
.ft-typography--breadcrumb {
|
|
182
|
-
font-family: ${
|
|
183
|
-
font-size: ${
|
|
184
|
-
font-weight: ${
|
|
185
|
-
letter-spacing: ${
|
|
186
|
-
line-height: ${
|
|
187
|
-
text-transform: ${
|
|
188
|
-
}
|
|
189
|
-
`,
|
|
202
|
+
font-family: ${Oi};
|
|
203
|
+
font-size: ${Ni};
|
|
204
|
+
font-weight: ${Si};
|
|
205
|
+
letter-spacing: ${wi};
|
|
206
|
+
line-height: ${Ci};
|
|
207
|
+
text-transform: ${$i};
|
|
208
|
+
}
|
|
209
|
+
`,Pi=Nt`
|
|
190
210
|
.ft-typography--overline {
|
|
191
|
-
font-family: ${
|
|
192
|
-
font-size: ${
|
|
193
|
-
font-weight: ${
|
|
194
|
-
letter-spacing: ${
|
|
195
|
-
line-height: ${
|
|
196
|
-
text-transform: ${
|
|
197
|
-
}
|
|
198
|
-
`,
|
|
211
|
+
font-family: ${Ei};
|
|
212
|
+
font-size: ${Ri};
|
|
213
|
+
font-weight: ${Ui};
|
|
214
|
+
letter-spacing: ${ki};
|
|
215
|
+
line-height: ${Ii};
|
|
216
|
+
text-transform: ${Li};
|
|
217
|
+
}
|
|
218
|
+
`,Hi=Nt`
|
|
199
219
|
.ft-typography--button {
|
|
200
|
-
font-family: ${
|
|
201
|
-
font-size: ${
|
|
202
|
-
font-weight: ${
|
|
203
|
-
letter-spacing: ${
|
|
204
|
-
line-height: ${
|
|
205
|
-
text-transform: ${
|
|
206
|
-
}
|
|
207
|
-
`,
|
|
220
|
+
font-family: ${Wi.fontFamily};
|
|
221
|
+
font-size: ${Wi.fontSize};
|
|
222
|
+
font-weight: ${Wi.fontWeight};
|
|
223
|
+
letter-spacing: ${Wi.letterSpacing};
|
|
224
|
+
line-height: ${Wi.lineHeight};
|
|
225
|
+
text-transform: ${Wi.textTransform};
|
|
226
|
+
}
|
|
227
|
+
`,ji=Nt`
|
|
208
228
|
.ft-typography {
|
|
209
229
|
vertical-align: inherit;
|
|
210
230
|
}
|
|
211
|
-
`,
|
|
212
|
-
.ft-typography--${
|
|
231
|
+
`,Ti=[Object.keys(Eo).map((t=>function(t){const o=Eo[t];return Nt`
|
|
232
|
+
.ft-typography--${Ot(t)} {
|
|
213
233
|
font-family: ${o.fontFamily};
|
|
214
234
|
font-size: ${o.fontSize};
|
|
215
235
|
font-weight: ${o.fontWeight};
|
|
@@ -217,39 +237,39 @@ var yt,gt;let bt=class extends I{constructor(){super(...arguments),this.renderOp
|
|
|
217
237
|
line-height: ${o.lineHeight};
|
|
218
238
|
text-transform: ${o.textCase};
|
|
219
239
|
}
|
|
220
|
-
`}(t)))];var
|
|
221
|
-
<${
|
|
240
|
+
`}(t)))];var _i=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 Gi extends Bo{constructor(){super(...arguments),this.variant=Ue.body1}render(){return this.element?Re`
|
|
241
|
+
<${$e(this.element)}
|
|
222
242
|
class="ft-typography ft-typography--${this.variant}">
|
|
223
243
|
<slot></slot>
|
|
224
|
-
</${
|
|
225
|
-
`:
|
|
244
|
+
</${$e(this.element)}>
|
|
245
|
+
`:Re`
|
|
226
246
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
227
|
-
`}}
|
|
247
|
+
`}}Gi.styles=[zi,Ki,Fi,Zi,Ai,Bi,Mi,Di,Pi,Hi,ji,...Ti],_i([C()],Gi.prototype,"element",void 0),_i([C()],Gi.prototype,"variant",void 0),k("ft-typography")(Gi);const Vi=wo.extend("--ft-reader-internal-link-outline-color","",ko.colorPrimary),Yi=Nt`
|
|
228
248
|
:host {
|
|
229
249
|
display: contents;
|
|
230
250
|
}
|
|
231
251
|
|
|
232
252
|
a:focus {
|
|
233
|
-
outline-color: ${
|
|
253
|
+
outline-color: ${Vi};
|
|
234
254
|
}
|
|
235
255
|
|
|
236
256
|
.ft-reader-link--remove-style {
|
|
237
257
|
text-decoration: none;
|
|
238
258
|
color: inherit;
|
|
239
259
|
}
|
|
240
|
-
`;var
|
|
260
|
+
`;var Xi=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 Ji extends Se{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let o=ye({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return ro`
|
|
241
261
|
<a class=${o}
|
|
242
262
|
href="${null===(t=this.service)||void 0===t?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
|
|
243
263
|
@click=${t=>this.onLinkClick(t)}>
|
|
244
264
|
<slot></slot>
|
|
245
265
|
</a>
|
|
246
|
-
`}onLinkClick(t){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(o=this.stateManager)||void 0===o||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}
|
|
266
|
+
`}onLinkClick(t){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(o=this.stateManager)||void 0===o||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}Ji.styles=Yi,Xi([C()],Ji.prototype,"tocId",void 0),Xi([C()],Ji.prototype,"section",void 0),Xi([C({type:Number})],Ji.prototype,"pageNumber",void 0),Xi([C({type:Boolean})],Ji.prototype,"removeStyle",void 0),k("ft-reader-internal-link")(Ji);
|
|
247
267
|
/**
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
class
|
|
268
|
+
* @license
|
|
269
|
+
* Copyright 2017 Google LLC
|
|
270
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
271
|
+
*/
|
|
272
|
+
class qi extends ae{constructor(t){if(super(t),this.et=tt,t.type!==re)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}qi.directiveName="unsafeHTML",qi.resultType=1;const Qi=ne(qi);var tr,or;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(tr||(tr={})),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=""}(or||(or={})),new Map([...["abw"].map((t=>[t,or.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,or.AUDIO])),...["avi"].map((t=>[t,or.AVI])),...["chm","xhs"].map((t=>[t,or.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,or.CODE])),...["csv"].map((t=>[t,or.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,or.DITA])),...["epub"].map((t=>[t,or.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,or.EXCEL])),...["flac"].map((t=>[t,or.FLAC])),...["gif"].map((t=>[t,or.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,or.GZIP])),...["html","htm","xhtml"].map((t=>[t,or.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,or.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,or.JPEG])),...["json"].map((t=>[t,or.JSON])),...["m4a","m4p"].map((t=>[t,or.M4A])),...["mov","qt"].map((t=>[t,or.MOV])),...["mp3"].map((t=>[t,or.MP3])),...["mp4","m4v"].map((t=>[t,or.MP4])),...["ogg","oga"].map((t=>[t,or.OGG])),...["pdf","ps"].map((t=>[t,or.PDF])),...["png"].map((t=>[t,or.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,or.POWERPOINT])),...["rar"].map((t=>[t,or.RAR])),...["stp"].map((t=>[t,or.STP])),...["txt","rtf","md","mdown"].map((t=>[t,or.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,or.VIDEO])),...["wav"].map((t=>[t,or.WAV])),...["wma"].map((t=>[t,or.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,or.WORD])),...["xml","xsl","rdf"].map((t=>[t,or.XML])),...["yaml","yml","x-yaml"].map((t=>[t,or.YAML])),...["zip"].map((t=>[t,or.ZIP]))]);const er={size:wo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:wo.extend("--ft-icon-fluid-topics-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:wo.extend("--ft-icon-file-format-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:wo.extend("--ft-icon-material-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:wo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ir=Nt`
|
|
253
273
|
:host, i.ft-icon {
|
|
254
274
|
display: inline-flex;
|
|
255
275
|
align-items: center;
|
|
@@ -258,14 +278,14 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
258
278
|
}
|
|
259
279
|
|
|
260
280
|
:host {
|
|
261
|
-
width: ${
|
|
262
|
-
height: ${
|
|
281
|
+
width: ${er.size};
|
|
282
|
+
height: ${er.size};
|
|
263
283
|
}
|
|
264
284
|
|
|
265
285
|
i.ft-icon {
|
|
266
286
|
width: 100%;
|
|
267
287
|
height: 100%;
|
|
268
|
-
font-size: ${
|
|
288
|
+
font-size: ${er.size};
|
|
269
289
|
line-height: 1;
|
|
270
290
|
font-weight: normal;
|
|
271
291
|
text-transform: none;
|
|
@@ -276,33 +296,33 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
276
296
|
text-rendering: auto;
|
|
277
297
|
-webkit-font-smoothing: antialiased;
|
|
278
298
|
-moz-osx-font-smoothing: grayscale;
|
|
279
|
-
vertical-align: ${
|
|
299
|
+
vertical-align: ${er.verticalAlign};
|
|
280
300
|
}
|
|
281
301
|
|
|
282
302
|
i.ft-icon.ft-icon--fluid-topics {
|
|
283
|
-
font-family: ${
|
|
303
|
+
font-family: ${er.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
284
304
|
|
|
285
305
|
/* Ugly fix because font is broken */
|
|
286
|
-
font-size: calc(0.75 * ${
|
|
287
|
-
line-height: ${
|
|
306
|
+
font-size: calc(0.75 * ${er.size});
|
|
307
|
+
line-height: ${er.size};
|
|
288
308
|
position: relative;
|
|
289
309
|
top: -4%;
|
|
290
310
|
justify-content: center;
|
|
291
311
|
}
|
|
292
312
|
|
|
293
313
|
.ft-icon--file-format {
|
|
294
|
-
font-family: ${
|
|
314
|
+
font-family: ${er.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
295
315
|
}
|
|
296
316
|
|
|
297
317
|
.ft-icon--material {
|
|
298
|
-
font-family: ${
|
|
318
|
+
font-family: ${er.materialFontFamily}, "Material Icons", sans-serif;
|
|
299
319
|
}
|
|
300
|
-
`;var
|
|
320
|
+
`;var rr;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(rr||(rr={}));var nr=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 ar extends Bo{constructor(){super(...arguments),this.resolvedIcon=ao}render(){const t=this.variant&&Object.values(rr).includes(this.variant)?this.variant:rr.fluid_topics,o=t!==rr.material||!!this.value;return ro`
|
|
301
321
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
302
|
-
${
|
|
322
|
+
${Qi(this.resolvedIcon)}
|
|
303
323
|
<slot ?hidden=${o}></slot>
|
|
304
324
|
</i>
|
|
305
|
-
`}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
|
|
325
|
+
`}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 rr.file_format:this.resolvedIcon=null!==(t=or[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case rr.material:this.resolvedIcon=this.value||ao;break;default:this.resolvedIcon=null!==(o=tr[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ar.elementDefinitions={},ar.styles=ir,nr([C()],ar.prototype,"variant",void 0),nr([C()],ar.prototype,"value",void 0),nr([$()],ar.prototype,"resolvedIcon",void 0),nr([R("slot")],ar.prototype,"slottedContent",void 0),k("ft-icon")(ar);const sr=wo.extend("--ft-ripple-color","",ko.colorContent),lr={color:sr,backgroundColor:wo.extend("--ft-ripple-background-color","",sr),opacityContentOnSurfacePressed:wo.external(ko.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:wo.external(ko.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:wo.external(ko.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:wo.external(ko.opacityContentOnSurfaceSelected,"Design system"),borderRadius:wo.create("--ft-ripple-border-radius","","SIZE","0px")},cr=wo.extend("--ft-ripple-color","",ko.colorPrimary),pr=cr,hr=wo.extend("--ft-ripple-background-color","",cr),fr=wo.extend("--ft-ripple-color","",ko.colorSecondary),dr=fr,ur=wo.extend("--ft-ripple-background-color","",fr),yr=Nt`
|
|
306
326
|
:host {
|
|
307
327
|
display: contents;
|
|
308
328
|
}
|
|
@@ -315,7 +335,7 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
315
335
|
|
|
316
336
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
317
337
|
overflow: hidden;
|
|
318
|
-
border-radius: ${
|
|
338
|
+
border-radius: ${lr.borderRadius};
|
|
319
339
|
}
|
|
320
340
|
|
|
321
341
|
.ft-ripple .ft-ripple--background,
|
|
@@ -349,27 +369,27 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
349
369
|
}
|
|
350
370
|
|
|
351
371
|
.ft-ripple .ft-ripple--background {
|
|
352
|
-
background-color: ${
|
|
372
|
+
background-color: ${lr.backgroundColor};
|
|
353
373
|
}
|
|
354
374
|
|
|
355
375
|
.ft-ripple .ft-ripple--effect {
|
|
356
|
-
background-color: ${
|
|
376
|
+
background-color: ${lr.color};
|
|
357
377
|
}
|
|
358
378
|
|
|
359
379
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
360
|
-
background-color: ${
|
|
380
|
+
background-color: ${ur};
|
|
361
381
|
}
|
|
362
382
|
|
|
363
383
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
364
|
-
background-color: ${
|
|
384
|
+
background-color: ${dr};
|
|
365
385
|
}
|
|
366
386
|
|
|
367
387
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
368
|
-
background-color: ${
|
|
388
|
+
background-color: ${hr};
|
|
369
389
|
}
|
|
370
390
|
|
|
371
391
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
372
|
-
background-color: ${
|
|
392
|
+
background-color: ${pr};
|
|
373
393
|
}
|
|
374
394
|
|
|
375
395
|
.ft-ripple .ft-ripple--background {
|
|
@@ -399,22 +419,22 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
399
419
|
}
|
|
400
420
|
|
|
401
421
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
402
|
-
opacity: ${
|
|
422
|
+
opacity: ${lr.opacityContentOnSurfaceHover};
|
|
403
423
|
}
|
|
404
424
|
|
|
405
425
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
406
|
-
opacity: ${
|
|
426
|
+
opacity: ${lr.opacityContentOnSurfaceSelected};
|
|
407
427
|
}
|
|
408
428
|
|
|
409
429
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
410
|
-
opacity: ${
|
|
430
|
+
opacity: ${lr.opacityContentOnSurfaceFocused};
|
|
411
431
|
}
|
|
412
432
|
|
|
413
433
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
414
|
-
opacity: ${
|
|
434
|
+
opacity: ${lr.opacityContentOnSurfacePressed};
|
|
415
435
|
transform: translate(-50%, -50%) scale(1);
|
|
416
436
|
}
|
|
417
|
-
`,
|
|
437
|
+
`,gr={color:wo.extend("--ft-loader-color","",ko.colorPrimary),size:wo.create("--ft-loader-size","","SIZE","80px")},br=Nt`
|
|
418
438
|
:host {
|
|
419
439
|
line-height: 0;
|
|
420
440
|
}
|
|
@@ -423,8 +443,8 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
423
443
|
display: inline-block;
|
|
424
444
|
position: relative;
|
|
425
445
|
|
|
426
|
-
width: ${
|
|
427
|
-
height: ${
|
|
446
|
+
width: ${gr.size};
|
|
447
|
+
height: ${gr.size};
|
|
428
448
|
}
|
|
429
449
|
|
|
430
450
|
.ft-loader div {
|
|
@@ -433,7 +453,7 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
433
453
|
width: 25%;
|
|
434
454
|
height: 25%;
|
|
435
455
|
border-radius: 50%;
|
|
436
|
-
background: ${
|
|
456
|
+
background: ${gr.color};
|
|
437
457
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
438
458
|
}
|
|
439
459
|
|
|
@@ -480,10 +500,10 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
480
500
|
transform: translate(0, 0);
|
|
481
501
|
}
|
|
482
502
|
100% {
|
|
483
|
-
transform: translate(calc(0.35 * ${
|
|
503
|
+
transform: translate(calc(0.35 * ${gr.size}), 0);
|
|
484
504
|
}
|
|
485
505
|
}
|
|
486
|
-
`,
|
|
506
|
+
`,mr=wo.extend("--ft-button-color","",ko.colorPrimary),xr={backgroundColor:wo.extend("--ft-button-background-color","",ko.colorSurface),borderRadius:wo.extend("--ft-button-border-radius","",ko.borderRadiusL),color:mr,fontSize:wo.extend("--ft-button-font-size","",Wi.fontSize),iconSize:wo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:wo.extend("--ft-button-ripple-color","",mr),verticalPadding:wo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:wo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:wo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:wo.external(ko.colorOpacityDisabled,"Design system")},vr=wo.extend("--ft-button-primary-color","",wo.extend("--ft-button-color","",ko.colorOnPrimary)),Or={backgroundColor:wo.extend("--ft-button-primary-background-color","",wo.extend("--ft-button-background-color","",ko.colorPrimary)),color:vr,rippleColor:wo.extend("--ft-button-primary-ripple-color","",vr)},Nr=wo.extend("--ft-button-dense-border-radius","",wo.extend("--ft-button-border-radius","",ko.borderRadiusM)),Sr=wo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),wr=wo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Cr=wo.create("--ft-button-dense-icon-padding","","SIZE","4px"),$r=[Nt`
|
|
487
507
|
:host {
|
|
488
508
|
display: inline-block;
|
|
489
509
|
max-width: 100%;
|
|
@@ -494,7 +514,7 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
494
514
|
box-shadow: 0px 0px 0px transparent;
|
|
495
515
|
border: 0px solid transparent;
|
|
496
516
|
text-shadow: 0px 0px 0px transparent;
|
|
497
|
-
font-size: ${
|
|
517
|
+
font-size: ${xr.fontSize};
|
|
498
518
|
}
|
|
499
519
|
|
|
500
520
|
button:hover {
|
|
@@ -523,31 +543,31 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
523
543
|
border: none;
|
|
524
544
|
pointer-events: auto;
|
|
525
545
|
|
|
526
|
-
--ft-button-internal-line-height: max(calc(${
|
|
527
|
-
--ft-button-internal-color: ${
|
|
528
|
-
${
|
|
529
|
-
${
|
|
546
|
+
--ft-button-internal-line-height: max(calc(${xr.fontSize} + 2px), ${xr.iconSize});
|
|
547
|
+
--ft-button-internal-color: ${xr.color};
|
|
548
|
+
${Co(er.size,xr.iconSize)};
|
|
549
|
+
${Co(lr.color,xr.rippleColor)};
|
|
530
550
|
|
|
531
|
-
border-radius: ${
|
|
532
|
-
padding: ${
|
|
533
|
-
background-color: ${
|
|
551
|
+
border-radius: ${xr.borderRadius};
|
|
552
|
+
padding: ${xr.verticalPadding} ${xr.horizontalPadding};
|
|
553
|
+
background-color: ${xr.backgroundColor};
|
|
534
554
|
color: var(--ft-button-internal-color);
|
|
535
555
|
-webkit-mask-image: radial-gradient(white, black);
|
|
536
556
|
}
|
|
537
557
|
|
|
538
558
|
.ft-button.ft-button--outlined {
|
|
539
559
|
border: 1px solid var(--ft-button-internal-color);
|
|
540
|
-
padding: calc(${
|
|
560
|
+
padding: calc(${xr.verticalPadding} - 1px) calc(${xr.horizontalPadding} - 1px);
|
|
541
561
|
}
|
|
542
562
|
|
|
543
563
|
.ft-button.ft-button--dense {
|
|
544
|
-
padding: ${
|
|
545
|
-
border-radius: ${
|
|
546
|
-
gap: ${
|
|
564
|
+
padding: ${Sr} ${wr};
|
|
565
|
+
border-radius: ${Nr};
|
|
566
|
+
gap: ${Cr};
|
|
547
567
|
}
|
|
548
568
|
|
|
549
569
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
550
|
-
padding: calc(${
|
|
570
|
+
padding: calc(${Sr} - 1px) calc(${wr} - 1px);
|
|
551
571
|
}
|
|
552
572
|
|
|
553
573
|
.ft-button:not([disabled]):hover {
|
|
@@ -555,22 +575,22 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
555
575
|
}
|
|
556
576
|
|
|
557
577
|
.ft-button--round {
|
|
558
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
578
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${xr.verticalPadding});
|
|
559
579
|
}
|
|
560
580
|
|
|
561
581
|
.ft-button--round.ft-button--dense {
|
|
562
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
582
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Sr});
|
|
563
583
|
}
|
|
564
584
|
|
|
565
585
|
.ft-button[disabled] {
|
|
566
586
|
filter: grayscale(1);
|
|
567
|
-
opacity: ${
|
|
587
|
+
opacity: ${xr.opacityDisabled};
|
|
568
588
|
}
|
|
569
589
|
|
|
570
590
|
.ft-button.ft-button--primary {
|
|
571
|
-
background-color: ${
|
|
572
|
-
--ft-button-internal-color: ${
|
|
573
|
-
${
|
|
591
|
+
background-color: ${Or.backgroundColor};
|
|
592
|
+
--ft-button-internal-color: ${Or.color};
|
|
593
|
+
${Co(lr.color,Or.rippleColor)};
|
|
574
594
|
}
|
|
575
595
|
|
|
576
596
|
.ft-button:focus {
|
|
@@ -583,13 +603,13 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
583
603
|
white-space: nowrap;
|
|
584
604
|
text-overflow: ellipsis;
|
|
585
605
|
display: block;
|
|
586
|
-
margin: 0 ${
|
|
587
|
-
${
|
|
588
|
-
${
|
|
606
|
+
margin: 0 ${xr.iconPadding};
|
|
607
|
+
${Co(Wi.fontSize,"1em")};
|
|
608
|
+
${Co(Wi.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
589
609
|
}
|
|
590
610
|
|
|
591
611
|
.ft-button--dense .ft-button--label {
|
|
592
|
-
margin: 0 ${
|
|
612
|
+
margin: 0 ${Cr};
|
|
593
613
|
}
|
|
594
614
|
|
|
595
615
|
.ft-button--label[hidden] {
|
|
@@ -602,13 +622,13 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
602
622
|
}
|
|
603
623
|
|
|
604
624
|
.ft-button--label[hidden] + ft-icon {
|
|
605
|
-
margin: 0 calc(${
|
|
606
|
-
padding: 0 ${
|
|
625
|
+
margin: 0 calc(${xr.horizontalPadding} * -1);
|
|
626
|
+
padding: 0 ${xr.verticalPadding};
|
|
607
627
|
}
|
|
608
628
|
|
|
609
629
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
610
|
-
margin: 0 calc(${
|
|
611
|
-
padding: 0 ${
|
|
630
|
+
margin: 0 calc(${wr} * -1);
|
|
631
|
+
padding: 0 ${Sr};
|
|
612
632
|
}
|
|
613
633
|
|
|
614
634
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -617,21 +637,21 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
617
637
|
}
|
|
618
638
|
|
|
619
639
|
ft-loader {
|
|
620
|
-
${
|
|
621
|
-
${
|
|
640
|
+
${Co(gr.size,xr.iconSize)};
|
|
641
|
+
${Co(gr.color,"var(--ft-button-internal-color)")};
|
|
622
642
|
}
|
|
623
|
-
`,
|
|
643
|
+
`,Mo];var Er=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 Rr extends Bo{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 ro`
|
|
624
644
|
<style>
|
|
625
645
|
.ft-ripple .ft-ripple--effect {
|
|
626
646
|
left: ${this.originX}px;
|
|
627
647
|
top: ${this.originY}px;
|
|
628
648
|
}
|
|
629
649
|
</style>
|
|
630
|
-
<div class="${
|
|
650
|
+
<div class="${ye(t)}">
|
|
631
651
|
<div class="ft-ripple--background"></div>
|
|
632
652
|
<div class="ft-ripple--effect"></div>
|
|
633
653
|
</div>
|
|
634
|
-
`}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"),
|
|
654
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Rr.elementDefinitions={},Rr.styles=yr,Er([C({type:Boolean})],Rr.prototype,"primary",void 0),Er([C({type:Boolean})],Rr.prototype,"secondary",void 0),Er([C({type:Boolean})],Rr.prototype,"unbounded",void 0),Er([C({type:Boolean})],Rr.prototype,"activated",void 0),Er([C({type:Boolean})],Rr.prototype,"selected",void 0),Er([C({type:Boolean})],Rr.prototype,"disabled",void 0),Er([$()],Rr.prototype,"hovered",void 0),Er([$()],Rr.prototype,"focused",void 0),Er([$()],Rr.prototype,"pressed",void 0),Er([$()],Rr.prototype,"rippling",void 0),Er([$()],Rr.prototype,"originX",void 0),Er([$()],Rr.prototype,"originY",void 0),Er([R(".ft-ripple")],Rr.prototype,"ripple",void 0),Er([R(".ft-ripple--effect")],Rr.prototype,"rippleEffect",void 0),k("ft-ripple")(Rr);const Ur=wo.create("--ft-tooltip-distance","","SIZE","4px"),kr=wo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Ir=wo.create("--ft-tooltip-background-color","","COLOR","#666666"),Lr=wo.create("--ft-tooltip-z-index","","NUMBER","100"),Wr=wo.external(ko.borderRadiusS,"Design system"),zr=wo.create("--ft-tooltip-max-width","","SIZE","150px"),Kr=Nt`
|
|
635
655
|
.ft-tooltip--container {
|
|
636
656
|
display: block;
|
|
637
657
|
}
|
|
@@ -646,21 +666,21 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
646
666
|
box-sizing: border-box;
|
|
647
667
|
overflow: hidden;
|
|
648
668
|
width: max-content;
|
|
649
|
-
max-width: ${
|
|
669
|
+
max-width: ${zr};
|
|
650
670
|
text-align: center;
|
|
651
|
-
padding: ${
|
|
652
|
-
z-index: ${
|
|
671
|
+
padding: ${Ur};
|
|
672
|
+
z-index: ${Lr};
|
|
653
673
|
}
|
|
654
674
|
|
|
655
675
|
.ft-tooltip--content {
|
|
656
676
|
padding: 4px 8px;
|
|
657
|
-
border-radius: ${
|
|
658
|
-
background-color: ${
|
|
659
|
-
color: ${
|
|
677
|
+
border-radius: ${Wr};
|
|
678
|
+
background-color: ${Ir};
|
|
679
|
+
color: ${kr};
|
|
660
680
|
position: relative;
|
|
661
681
|
word-break: break-word;
|
|
662
682
|
}
|
|
663
|
-
`;var
|
|
683
|
+
`;var Fr=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 Zr extends Bo{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 ro`
|
|
664
684
|
<div part="container"
|
|
665
685
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
666
686
|
@mouseenter=${this.onHover}
|
|
@@ -678,43 +698,37 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
|
|
|
678
698
|
</div>
|
|
679
699
|
</div>
|
|
680
700
|
</div>
|
|
681
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,
|
|
682
|
-
/**
|
|
683
|
-
* @license
|
|
684
|
-
* Copyright 2017 Google LLC
|
|
685
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
686
|
-
*/
|
|
687
|
-
function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},e?function(t){const{slot:o,selector:e}=null!=t?t:{};return n({descriptor:r=>({get(){var r;const i="slot"+(o?`[name=${o}]`:":not([name])"),n=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(i),a=null!=n?s(n,t):[];return e?a.filter((t=>t.matches(e))):a},enumerable:!0,configurable:!0})})}({slot:i,flatten:o,selector:e}):n({descriptor:t=>({get(){var t,o;const e="slot"+(i?`[name=${i}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(o=null==n?void 0:n.assignedNodes(r))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}("",!0)],Lr.prototype,"slotNodes",void 0),Ur([a(".ft-tooltip--container")],Lr.prototype,"container",void 0),Ur([a(".ft-tooltip")],Lr.prototype,"tooltip",void 0),Ur([a(".ft-tooltip--content")],Lr.prototype,"tooltipContent",void 0),Ur([i()],Lr.prototype,"visible",void 0),p("ft-tooltip")(Lr);class Wr extends Wt{render(){return J`
|
|
701
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,p=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let h=-l.y,f=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,f))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${zr})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Zr.elementDefinitions={"ft-typography":Gi},Zr.styles=Kr,Fr([C()],Zr.prototype,"text",void 0),Fr([C({type:Boolean})],Zr.prototype,"manual",void 0),Fr([C({type:Boolean})],Zr.prototype,"inline",void 0),Fr([C({type:Number})],Zr.prototype,"delay",void 0),Fr([C()],Zr.prototype,"position",void 0),Fr([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],Zr.prototype,"slotNodes",void 0),Fr([R(".ft-tooltip--container")],Zr.prototype,"container",void 0),Fr([R(".ft-tooltip")],Zr.prototype,"tooltip",void 0),Fr([R(".ft-tooltip--content")],Zr.prototype,"tooltipContent",void 0),Fr([$()],Zr.prototype,"visible",void 0),k("ft-tooltip")(Zr);class Ar extends Bo{render(){return ro`
|
|
688
702
|
<div class="ft-loader">
|
|
689
703
|
<div></div>
|
|
690
704
|
<div></div>
|
|
691
705
|
<div></div>
|
|
692
706
|
<div></div>
|
|
693
707
|
</div>
|
|
694
|
-
`}}
|
|
708
|
+
`}}Ar.styles=br,k("ft-loader")(Ar);var Br=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 Mr extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[qo].form}constructor(...t){super(t),this[qo]=this.attachInternals(),this[qo].role=o}setFormValue(t){this[qo].setFormValue(t)}}}(Bo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(ro`
|
|
695
709
|
<button part="button"
|
|
696
|
-
class="${
|
|
710
|
+
class="${ye(this.buttonClasses)}"
|
|
697
711
|
aria-label="${this.getLabel()}"
|
|
698
712
|
?disabled=${this.isDisabled()}>
|
|
699
713
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
700
714
|
<ft-typography part="label"
|
|
701
715
|
variant=${this.typographyVariant}
|
|
702
716
|
element="span"
|
|
703
|
-
class="ft-button--label ${
|
|
717
|
+
class="ft-button--label ${ee?"ft-safari-ellipsis-fix":""}"
|
|
704
718
|
?hidden=${!this.hasTextContent()}>
|
|
705
719
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
706
720
|
</ft-typography>
|
|
707
721
|
${this.resolveIcon()}
|
|
708
722
|
</button>
|
|
709
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
723
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ro`
|
|
710
724
|
<ft-tooltip part="tooltip"
|
|
711
725
|
text="${this.getLabel()}"
|
|
712
726
|
position="${this.tooltipPosition}">
|
|
713
727
|
${t}
|
|
714
728
|
</ft-tooltip>
|
|
715
|
-
`:t}resolveIcon(){return this.loading?
|
|
716
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
717
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
729
|
+
`:t}resolveIcon(){return this.loading?ro`
|
|
730
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?ro`
|
|
731
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ao}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}}Mr.elementDefinitions={"ft-ripple":Rr,"ft-tooltip":Zr,"ft-typography":Gi,"ft-icon":ar,"ft-loader":Ar},Br([C({type:String,reflect:!0})],Mr.prototype,"role",void 0),Br([C()],Mr.prototype,"type",void 0),Br([C({type:Boolean})],Mr.prototype,"disabled",void 0),Br([C()],Mr.prototype,"label",void 0),Br([C()],Mr.prototype,"icon",void 0),Br([C()],Mr.prototype,"iconVariant",void 0),Br([C({type:Boolean})],Mr.prototype,"trailingIcon",void 0),Br([C({type:Boolean})],Mr.prototype,"loading",void 0),Br([C()],Mr.prototype,"tooltipPosition",void 0),Br([C({type:Boolean})],Mr.prototype,"hideTooltip",void 0),Br([C({type:Boolean})],Mr.prototype,"forceTooltip",void 0),Br([R(".ft-button")],Mr.prototype,"button",void 0),Br([R(".ft-button--label slot")],Mr.prototype,"slottedContent",void 0);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 Pr extends Mr{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"}}Pr.styles=[Do,$r],Dr([C({type:Boolean})],Pr.prototype,"primary",void 0),Dr([C({type:Boolean})],Pr.prototype,"outlined",void 0),Dr([C({type:Boolean})],Pr.prototype,"dense",void 0),Dr([C({type:Boolean})],Pr.prototype,"round",void 0);const Hr=[Nt`
|
|
718
732
|
:host {
|
|
719
733
|
display: inline-block;
|
|
720
734
|
max-width: 100%;
|
|
@@ -764,7 +778,7 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
|
|
|
764
778
|
}
|
|
765
779
|
|
|
766
780
|
.ft-button:focus-visible {
|
|
767
|
-
outline-color: ${
|
|
781
|
+
outline-color: ${Uo.focusFocusRingColor};
|
|
768
782
|
outline-style: solid;
|
|
769
783
|
}
|
|
770
784
|
|
|
@@ -793,146 +807,146 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
|
|
|
793
807
|
/** Primary styles **/
|
|
794
808
|
|
|
795
809
|
.ft-button--primary {
|
|
796
|
-
${
|
|
810
|
+
${Co(gr.color,Uo.primaryIconColor)};
|
|
797
811
|
|
|
798
|
-
${
|
|
799
|
-
${
|
|
800
|
-
${
|
|
801
|
-
${
|
|
802
|
-
${
|
|
812
|
+
${Co(lr.color,Uo.primaryStateLayerColor)};
|
|
813
|
+
${Co(lr.opacityContentOnSurfaceHover,Uo.primaryStateLayerOpacityHover)};
|
|
814
|
+
${Co(lr.opacityContentOnSurfaceFocused,Uo.primaryStateLayerOpacityFocus)};
|
|
815
|
+
${Co(lr.opacityContentOnSurfaceSelected,Uo.primaryStateLayerOpacityActive)};
|
|
816
|
+
${Co(lr.opacityContentOnSurfacePressed,Uo.primaryStateLayerOpacityActive)};
|
|
803
817
|
|
|
804
|
-
background-color: ${
|
|
805
|
-
color: ${
|
|
818
|
+
background-color: ${Uo.primaryBackgroundColor};
|
|
819
|
+
color: ${Uo.primaryColor};
|
|
806
820
|
border-style: none;
|
|
807
821
|
}
|
|
808
822
|
|
|
809
823
|
.ft-button--primary[disabled] {
|
|
810
|
-
opacity: ${
|
|
824
|
+
opacity: ${Uo.primaryComponentOpacityDisabled};
|
|
811
825
|
}
|
|
812
826
|
|
|
813
827
|
.ft-button--primary ft-icon {
|
|
814
|
-
color: ${
|
|
828
|
+
color: ${Uo.primaryIconColor};
|
|
815
829
|
}
|
|
816
830
|
|
|
817
831
|
/** Secondary styles **/
|
|
818
832
|
|
|
819
833
|
.ft-button--secondary {
|
|
820
|
-
${
|
|
834
|
+
${Co(gr.color,Uo.secondaryIconColor)};
|
|
821
835
|
|
|
822
|
-
${
|
|
823
|
-
${
|
|
824
|
-
${
|
|
825
|
-
${
|
|
826
|
-
${
|
|
836
|
+
${Co(lr.color,Uo.secondaryStateLayerColor)};
|
|
837
|
+
${Co(lr.opacityContentOnSurfaceHover,Uo.secondaryStateLayerOpacityHover)};
|
|
838
|
+
${Co(lr.opacityContentOnSurfaceFocused,Uo.secondaryStateLayerOpacityFocus)};
|
|
839
|
+
${Co(lr.opacityContentOnSurfaceSelected,Uo.secondaryStateLayerOpacityActive)};
|
|
840
|
+
${Co(lr.opacityContentOnSurfacePressed,Uo.secondaryStateLayerOpacityActive)};
|
|
827
841
|
|
|
828
|
-
background-color: ${
|
|
829
|
-
color: ${
|
|
830
|
-
border-color: ${
|
|
842
|
+
background-color: ${Uo.secondaryBackgroundColor};
|
|
843
|
+
color: ${Uo.secondaryColor};
|
|
844
|
+
border-color: ${Uo.secondaryBorderColor};
|
|
831
845
|
border-style: solid;
|
|
832
846
|
}
|
|
833
847
|
|
|
834
848
|
.ft-button--secondary[disabled] {
|
|
835
|
-
opacity: ${
|
|
849
|
+
opacity: ${Uo.secondaryComponentOpacityDisabled};
|
|
836
850
|
}
|
|
837
851
|
|
|
838
852
|
.ft-button--secondary ft-icon {
|
|
839
|
-
color: ${
|
|
853
|
+
color: ${Uo.secondaryIconColor};
|
|
840
854
|
}
|
|
841
855
|
|
|
842
856
|
/** Tertiary styles **/
|
|
843
857
|
|
|
844
858
|
.ft-button--tertiary {
|
|
845
|
-
${
|
|
859
|
+
${Co(gr.color,Uo.tertiaryIconColor)};
|
|
846
860
|
|
|
847
|
-
${
|
|
848
|
-
${
|
|
849
|
-
${
|
|
850
|
-
${
|
|
851
|
-
${
|
|
861
|
+
${Co(lr.color,Uo.tertiaryStateLayerColor)};
|
|
862
|
+
${Co(lr.opacityContentOnSurfaceHover,Uo.tertiaryStateLayerOpacityHover)};
|
|
863
|
+
${Co(lr.opacityContentOnSurfaceFocused,Uo.tertiaryStateLayerOpacityFocus)};
|
|
864
|
+
${Co(lr.opacityContentOnSurfaceSelected,Uo.tertiaryStateLayerOpacityActive)};
|
|
865
|
+
${Co(lr.opacityContentOnSurfacePressed,Uo.tertiaryStateLayerOpacityActive)};
|
|
852
866
|
|
|
853
|
-
background-color: ${
|
|
854
|
-
color: ${
|
|
867
|
+
background-color: ${Uo.tertiaryBackgroundColor};
|
|
868
|
+
color: ${Uo.tertiaryColor};
|
|
855
869
|
border-style: none;
|
|
856
870
|
}
|
|
857
871
|
|
|
858
872
|
.ft-button--tertiary[disabled] {
|
|
859
|
-
opacity: ${
|
|
873
|
+
opacity: ${Uo.tertiaryComponentOpacityDisabled};
|
|
860
874
|
}
|
|
861
875
|
|
|
862
876
|
.ft-button--tertiary ft-icon {
|
|
863
|
-
color: ${
|
|
877
|
+
color: ${Uo.tertiaryIconColor};
|
|
864
878
|
}
|
|
865
879
|
|
|
866
880
|
/** Neutral styles **/
|
|
867
881
|
|
|
868
882
|
.ft-button--neutral {
|
|
869
|
-
${
|
|
883
|
+
${Co(gr.color,Uo.neutralIconColor)};
|
|
870
884
|
|
|
871
|
-
${
|
|
872
|
-
${
|
|
873
|
-
${
|
|
874
|
-
${
|
|
875
|
-
${
|
|
885
|
+
${Co(lr.backgroundColor,Uo.neutralStateLayerColor)};
|
|
886
|
+
${Co(lr.opacityContentOnSurfaceHover,Uo.neutralStateLayerOpacityHover)};
|
|
887
|
+
${Co(lr.opacityContentOnSurfaceFocused,Uo.neutralStateLayerOpacityFocus)};
|
|
888
|
+
${Co(lr.opacityContentOnSurfaceSelected,Uo.neutralStateLayerOpacityActive)};
|
|
889
|
+
${Co(lr.opacityContentOnSurfacePressed,Uo.neutralStateLayerOpacityActive)};
|
|
876
890
|
|
|
877
|
-
background-color: ${
|
|
878
|
-
color: ${
|
|
891
|
+
background-color: ${Uo.neutralBackgroundColor};
|
|
892
|
+
color: ${Uo.neutralColor};
|
|
879
893
|
border-style: none;
|
|
880
894
|
}
|
|
881
895
|
|
|
882
896
|
.ft-button--neutral[disabled] {
|
|
883
|
-
opacity: ${
|
|
897
|
+
opacity: ${Uo.neutralComponentOpacityDisabled};
|
|
884
898
|
}
|
|
885
899
|
|
|
886
900
|
.ft-button--neutral ft-icon {
|
|
887
|
-
color: ${
|
|
901
|
+
color: ${Uo.neutralIconColor};
|
|
888
902
|
}
|
|
889
903
|
|
|
890
904
|
/** Large styles **/
|
|
891
905
|
|
|
892
906
|
.ft-button--large {
|
|
893
|
-
${
|
|
894
|
-
${
|
|
895
|
-
|
|
896
|
-
height: ${
|
|
897
|
-
padding: 0 ${
|
|
898
|
-
gap: ${
|
|
899
|
-
border-radius: ${
|
|
900
|
-
border-width: ${
|
|
907
|
+
${Co(er.size,Uo.largeIconSize)};
|
|
908
|
+
${Co(gr.size,Uo.largeIconSize)};
|
|
909
|
+
|
|
910
|
+
height: ${Uo.largeHeight};
|
|
911
|
+
padding: 0 ${Uo.largeHorizontalPadding};
|
|
912
|
+
gap: ${Uo.largeGap};
|
|
913
|
+
border-radius: ${Uo.largeBorderRadius};
|
|
914
|
+
border-width: ${Uo.largeBorderWidth};
|
|
901
915
|
}
|
|
902
916
|
|
|
903
917
|
.ft-button--large:focus-visible {
|
|
904
|
-
outline-width: ${
|
|
905
|
-
outline-offset: ${
|
|
918
|
+
outline-width: ${Uo.largeFocusOutlineWidth};
|
|
919
|
+
outline-offset: ${Uo.largeFocusOutlineOffset};
|
|
906
920
|
}
|
|
907
921
|
|
|
908
922
|
.ft-button--large.ft-button--icon-only {
|
|
909
|
-
width: ${
|
|
923
|
+
width: ${Uo.largeIconOnlyWidth};
|
|
910
924
|
padding: unset;
|
|
911
925
|
}
|
|
912
926
|
|
|
913
927
|
/** Small styles **/
|
|
914
928
|
|
|
915
929
|
.ft-button--small {
|
|
916
|
-
${
|
|
917
|
-
${
|
|
918
|
-
|
|
919
|
-
height: ${
|
|
920
|
-
padding: 0 ${
|
|
921
|
-
gap: ${
|
|
922
|
-
border-radius: ${
|
|
923
|
-
border-width: ${
|
|
930
|
+
${Co(er.size,Uo.smallIconSize)};
|
|
931
|
+
${Co(gr.size,Uo.smallIconSize)};
|
|
932
|
+
|
|
933
|
+
height: ${Uo.smallHeight};
|
|
934
|
+
padding: 0 ${Uo.smallHorizontalPadding};
|
|
935
|
+
gap: ${Uo.smallGap};
|
|
936
|
+
border-radius: ${Uo.smallBorderRadius};
|
|
937
|
+
border-width: ${Uo.smallBorderWidth};
|
|
924
938
|
}
|
|
925
939
|
|
|
926
940
|
.ft-button--small:focus-visible {
|
|
927
|
-
outline-width: ${
|
|
928
|
-
outline-offset: ${
|
|
941
|
+
outline-width: ${Uo.smallFocusOutlineWidth};
|
|
942
|
+
outline-offset: ${Uo.smallFocusOutlineOffset};
|
|
929
943
|
}
|
|
930
944
|
|
|
931
945
|
.ft-button--small.ft-button--icon-only {
|
|
932
|
-
width: ${
|
|
946
|
+
width: ${Uo.smallIconOnlyWidth};
|
|
933
947
|
padding: unset;
|
|
934
948
|
}
|
|
935
|
-
`,
|
|
949
|
+
`,Mo];var jr,Tr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class _r extends Mr{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?Ue.caption1medium:Ue.body2medium}}_r.styles=[Do,Hr],Tr([C({type:Boolean})],_r.prototype,"primary",void 0),Tr([C({type:Boolean})],_r.prototype,"secondary",void 0),Tr([C({type:Boolean})],_r.prototype,"tertiary",void 0),Tr([C({type:Boolean})],_r.prototype,"neutral",void 0),Tr([C({type:Boolean})],_r.prototype,"small",void 0),k("ft-button")(Pr),k("ftds-button")(_r),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(jr||(jr={}));const Gr=Nt`
|
|
936
950
|
.ft-size-watcher--pixel {
|
|
937
951
|
width: 0;
|
|
938
952
|
height: 0;
|
|
@@ -951,34 +965,34 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
|
|
|
951
965
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
952
966
|
width: 100%;
|
|
953
967
|
}
|
|
954
|
-
`;var
|
|
968
|
+
`;var Vr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Yr extends CustomEvent{constructor(t,o){super("change",{detail:{size:t,category:o}})}}class Xr extends Bo{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=jr.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new o}render(){return ro`
|
|
955
969
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
956
970
|
<div class="ft-size-watcher--watcher"></div>
|
|
957
971
|
</div>
|
|
958
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=
|
|
972
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=jr.S:this.size<976?this.category=jr.M:this.size<1024?this.category=jr.L:this.size<1440?this.category=jr.XL:this.category=jr.XXL,this.dispatchEvent(new Yr(this.size,this.category)))}),this.debounceTimeout)}}Xr.elementDefinitions={},Xr.styles=Gr,Vr([C({type:Number})],Xr.prototype,"debounceTimeout",void 0),Vr([C({type:Boolean})],Xr.prototype,"local",void 0),Vr([C({type:Number,reflect:!0})],Xr.prototype,"size",void 0),Vr([C({type:String,reflect:!0})],Xr.prototype,"category",void 0),Vr([R(".ft-size-watcher--watcher")],Xr.prototype,"watcher",void 0),k("ft-size-watcher")(Xr);const Jr={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},qr={tabulationSize:wo.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:wo.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:wo.extend("--ft-reader-toc-text-color","",ko.colorOnSurface),hoverColor:wo.extend("--ft-reader-toc-hover-color","",ko.colorPrimary),highlightedTextColor:wo.extend("--ft-reader-toc-highlighted-text-color","",ko.colorPrimary),highlightedFontWeight:wo.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:wo.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:wo.create("--ft-reader-toc-icon-font-size","","SIZE","16px")},Qr=Nt`
|
|
959
973
|
.ft-reader-toc {
|
|
960
|
-
color: ${
|
|
974
|
+
color: ${qr.textColor};
|
|
961
975
|
}
|
|
962
976
|
|
|
963
977
|
.ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
|
|
964
|
-
background-color: ${
|
|
965
|
-
color: ${
|
|
966
|
-
${
|
|
978
|
+
background-color: ${qr.highlightedBackgroundColor};
|
|
979
|
+
color: ${qr.highlightedTextColor};
|
|
980
|
+
${Co(Le.fontWeight,qr.highlightedFontWeight)}
|
|
967
981
|
}
|
|
968
982
|
|
|
969
983
|
.ft-reader-toc--link-container {
|
|
970
984
|
display: flex;
|
|
971
985
|
gap: 4px;
|
|
972
|
-
padding: ${
|
|
986
|
+
padding: ${qr.verticalSpacing} 4px; /* left padding is override on inline style */
|
|
973
987
|
align-items: center;
|
|
974
988
|
}
|
|
975
989
|
|
|
976
990
|
.ft-reader-toc--link-container ft-reader-internal-link:hover {
|
|
977
|
-
color: ${
|
|
991
|
+
color: ${qr.hoverColor};
|
|
978
992
|
}
|
|
979
993
|
|
|
980
994
|
ft-button {
|
|
981
|
-
${
|
|
995
|
+
${Co(xr.iconSize,qr.iconFontSize)};
|
|
982
996
|
}
|
|
983
997
|
|
|
984
998
|
.ft-reader-toc--toggle-container {
|
|
@@ -986,11 +1000,11 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
|
|
|
986
1000
|
}
|
|
987
1001
|
|
|
988
1002
|
.ft-reader-toc-mobile .ft-reader-toc--toggle-container {
|
|
989
|
-
width: calc(${
|
|
1003
|
+
width: calc(${qr.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
|
|
990
1004
|
}
|
|
991
1005
|
|
|
992
1006
|
.ft-reader-toc-desktop .ft-reader-toc--toggle-container {
|
|
993
|
-
width: calc(${
|
|
1007
|
+
width: calc(${qr.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
|
|
994
1008
|
}
|
|
995
1009
|
|
|
996
1010
|
.ft-reader-toc-expanded .ft-reader-toc--toggle-container {
|
|
@@ -1013,20 +1027,20 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
|
|
|
1013
1027
|
.ft-reader-toc-expand-collapse-all-justify ft-button {
|
|
1014
1028
|
flex-grow: 1;
|
|
1015
1029
|
}
|
|
1016
|
-
`;var
|
|
1017
|
-
${this.hideIfEmpty&&this.empty?
|
|
1030
|
+
`;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 Se{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=rr.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.hideIfEmpty=!1,this.empty=!0,this.labels={},this.labelResolver=new Po(Jr,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=jr.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return"current-page"===this.scope}update(t){var o,e,i;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(o=this.toc)&&void 0!==o?o:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new Po(Jr,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(e=this.highlightedTocIds)&&void 0!==e?e:[])),this.empty=0===(null!==(i=this.toc)&&void 0!==i?i:[]).length}render(){var t;const o={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===jr.S,"ft-reader-toc-desktop":this.viewportSize!==jr.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return ro`
|
|
1031
|
+
${this.hideIfEmpty&&this.empty?ro`
|
|
1018
1032
|
<style>
|
|
1019
1033
|
:host {
|
|
1020
1034
|
display: none !important;
|
|
1021
1035
|
}
|
|
1022
1036
|
</style>
|
|
1023
|
-
`:
|
|
1024
|
-
<div class=${
|
|
1037
|
+
`:ao}
|
|
1038
|
+
<div class=${ye(o)}>
|
|
1025
1039
|
<ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
|
|
1026
1040
|
${this.renderExpandCollapseAll()}
|
|
1027
|
-
${
|
|
1041
|
+
${ue(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
|
|
1028
1042
|
</div>
|
|
1029
|
-
`}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?
|
|
1043
|
+
`}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?ro`
|
|
1030
1044
|
<div part="expand-collapse-all-container"
|
|
1031
1045
|
class="ft-reader-toc-expand-collapse-all-container ft-reader-toc-expand-collapse-all-${this.expandCollapseAllAlignment}">
|
|
1032
1046
|
<ft-button
|
|
@@ -1041,16 +1055,16 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
|
|
|
1041
1055
|
${this.expandCollapseAllHideLabel?"":this.labelResolver.resolve(this.expandAll?"collapseAll":"expandAll")}
|
|
1042
1056
|
</ft-button>
|
|
1043
1057
|
</div>
|
|
1044
|
-
`:
|
|
1045
|
-
<div class="ft-reader-toc--node ${
|
|
1046
|
-
<div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${
|
|
1047
|
-
${this.nodesToExpandExist&&!this.expanded?
|
|
1058
|
+
`:ao}renderNode(t){var o,e,i;const r=null===(o=this.highlightedTocIds)||void 0===o?void 0:o.includes(t.tocId),n=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),a=t.children.length>0,s=this.isCurrentPageToc?(null!==(i=null===(e=this.currentPage)||void 0===e?void 0:e.breadcrumb.length)&&void 0!==i?i:0)+1:0,l=t.depth-1-s,c={"padding-left":`calc( ${qr.tabulationSize} * ${l} + 4px)`};return ro`
|
|
1059
|
+
<div class="ft-reader-toc--node ${r?"ft-reader-toc--node-highlighted":""}">
|
|
1060
|
+
<div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${me(c)}>
|
|
1061
|
+
${this.nodesToExpandExist&&!this.expanded?ro`
|
|
1048
1062
|
<div class="ft-reader-toc--toggle-container">
|
|
1049
|
-
${a?
|
|
1063
|
+
${a?ro`
|
|
1050
1064
|
<ft-button
|
|
1051
1065
|
part="expand-collapse-node"
|
|
1052
1066
|
round hideTooltip
|
|
1053
|
-
?dense=${this.viewportSize!==
|
|
1067
|
+
?dense=${this.viewportSize!==jr.S}
|
|
1054
1068
|
label="${this.labelResolver.resolve(n?"collapse":"expand",t.title)}"
|
|
1055
1069
|
.iconVariant="${this.iconVariant}"
|
|
1056
1070
|
icon="${n?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
|
|
@@ -1060,9 +1074,9 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
|
|
|
1060
1074
|
aria-expanded="${n}"
|
|
1061
1075
|
>
|
|
1062
1076
|
</ft-button>
|
|
1063
|
-
`:
|
|
1077
|
+
`:ao}
|
|
1064
1078
|
</div>
|
|
1065
|
-
`:
|
|
1079
|
+
`:ao}
|
|
1066
1080
|
<ft-reader-internal-link
|
|
1067
1081
|
part="node-link"
|
|
1068
1082
|
tocId="${t.tocId}"
|
|
@@ -1070,11 +1084,11 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
|
|
|
1070
1084
|
<ft-typography part="node-label" variant="body2">${t.title}</ft-typography>
|
|
1071
1085
|
</ft-reader-internal-link>
|
|
1072
1086
|
</div>
|
|
1073
|
-
${a?
|
|
1087
|
+
${a?ro`
|
|
1074
1088
|
<div class="ft-reader-toc--node-children" id="${t.tocId}-children"
|
|
1075
1089
|
?hidden=${!n}>
|
|
1076
|
-
${n?
|
|
1090
|
+
${n?ue(t.children,(t=>t.tocId),(t=>this.renderNode(t))):ao}
|
|
1077
1091
|
</div>
|
|
1078
|
-
`:
|
|
1092
|
+
`:ao}
|
|
1079
1093
|
</div>
|
|
1080
|
-
`}buildAutomaticallyExpandedNodes(t){var o,e;let
|
|
1094
|
+
`}buildAutomaticallyExpandedNodes(t){var o,e;let i=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let r of t){let t=r;for(;t&&!i.has(t);)i.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(e=null===(o=this.service)||void 0===o?void 0:o.getTocNodeNow(t))||void 0===e?void 0:e.parentTocId}return i}manuallyToggle(t,o){o?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}on.elementDefinitions={"ft-button":Pr,"ft-reader-internal-link":Ji,"ft-size-watcher":Xr,"ft-typography":Gi},on.styles=Qr,tn([C({type:Boolean})],on.prototype,"expanded",void 0),tn([C()],on.prototype,"iconVariant",void 0),tn([C()],on.prototype,"collapseIcon",void 0),tn([C()],on.prototype,"expandIcon",void 0),tn([C({type:Boolean})],on.prototype,"expandCollapseAll",void 0),tn([C({type:Boolean})],on.prototype,"expandCollapseAllHideLabel",void 0),tn([C({type:Boolean})],on.prototype,"expandCollapseAllTrailingIcon",void 0),tn([C()],on.prototype,"expandCollapseAllAlignment",void 0),tn([C({type:Boolean})],on.prototype,"expandCollapseAllHideIcon",void 0),tn([C()],on.prototype,"expandCollapseAllIconVariant",void 0),tn([C()],on.prototype,"collapseAllIcon",void 0),tn([C()],on.prototype,"expandAllIcon",void 0),tn([C({type:Boolean})],on.prototype,"autoCollapse",void 0),tn([C()],on.prototype,"scope",void 0),tn([C({type:Boolean})],on.prototype,"hideIfEmpty",void 0),tn([C({type:Boolean,reflect:!0})],on.prototype,"empty",void 0),tn([I({})],on.prototype,"labels",void 0),tn([Jo({selector:(t,o)=>{var e,i,r;return o.isCurrentPageToc?(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)?null===(i=t.currentPage)||void 0===i?void 0:i.toc:void 0:(null===(r=t.paginationConfiguration)||void 0===r?void 0:r.splitCurrentPageToc)?t.pagesToc:t.toc}})],on.prototype,"toc",void 0),tn([Jo({selector:t=>{var o;return null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc}})],on.prototype,"splitToc",void 0),tn([Jo()],on.prototype,"currentPage",void 0),tn([Jo({selector:(t,o)=>{var e,i;return(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)&&!o.isCurrentPageToc?[null===(i=t.currentPage)||void 0===i?void 0:i.rootTocId]:t.visibleTopics}})],on.prototype,"highlightedTocIds",void 0),tn([$({hasChanged:(t,o)=>!U(t,o)})],on.prototype,"automaticallyExpandedNodes",void 0),tn([$({hasChanged:(t,o)=>!U(t,o)})],on.prototype,"manuallyExpandedNodes",void 0),tn([$({hasChanged:(t,o)=>!U(t,o)})],on.prototype,"manuallyCollapsedNodes",void 0),tn([$()],on.prototype,"expandAll",void 0),tn([$()],on.prototype,"viewportSize",void 0),k("ft-reader-toc")(on),t.DEFAULT_LABELS=Jr,t.FtReaderToc=on,t.FtReaderTocCssVariables=qr,t.styles=Qr}({});
|