@fluid-topics/ft-floating-menu 1.0.59 → 1.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,54 +14,54 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,a=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,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(r.set(n,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,h,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){v.push(this),o.upgrade.apply(o,arguments),v.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const b=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),v.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(y(Element,"innerHTML"),y(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(Fi){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{if(null!==i)try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
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(Je){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */const i=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function o(t){return(e,o)=>void 0!==o?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,o):i(t,e)
22
+ */const e=(t,o)=>"method"===o.kind&&o.descriptor&&!("value"in o.descriptor)?{...o,finisher(e){e.createProperty(o.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:o.key,initializer(){"function"==typeof o.initializer&&(this[o.key]=o.initializer.call(this))},finisher(e){e.createProperty(o.key,t)}};function r(t){return(o,r)=>void 0!==r?((t,o,e)=>{o.constructor.createProperty(e,t)})(t,o,r):e(t,o)
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */}function n(t){return o({...t,state:!0})}
27
+ */}function i(t){return r({...t,state:!0})}
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
- */const s=({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){const o=null!==(n=i.originalKey)&&void 0!==n?n:i.key,s=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(s.finisher=function(e){t(e,o)}),s}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}}
32
+ */const n=({finisher:t,descriptor:o})=>(e,r)=>{var i;if(void 0===r){const r=null!==(i=e.originalKey)&&void 0!==i?i:e.key,n=null!=o?{kind:"method",placement:"prototype",key:r,descriptor:o(e.key)}:{...e,key:r};return null!=t&&(n.finisher=function(o){t(o,r)}),n}{const i=e.constructor;void 0!==o&&Object.defineProperty(e,r,o(r)),null==t||t(i,r)}}
33
33
  /**
34
34
  * @license
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
- */;function r(t,e){return s({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
37
+ */;function a(t,o){return n({descriptor:e=>{const r={get(){var o,e;return null!==(e=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(o){const o="symbol"==typeof e?Symbol():"__"+e;r.get=function(){var e,r;return void 0===this[o]&&(this[o]=null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null),this[o]}}return r}})}
38
38
  /**
39
39
  * @license
40
40
  * Copyright 2021 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */var a;const l=null!=(null===(a=window.HTMLSlotElement)||void 0===a?void 0:a.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function h(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var i,o,n;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(o=i;0!=o--;)if(!h(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!h(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((i=(n=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(o=i;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,n[o]))return!1;for(o=i;0!=o--;){var s=n[o];if(!h(t[s],e[s]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const c=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function p(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!h(t,e),...null!=e?e:{}})}
42
+ */var l;const s=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,o)=>t.assignedElements(o):(t,o)=>t.assignedNodes(o).filter((t=>t.nodeType===Node.ELEMENT_NODE));function c(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!c(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!c(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!c(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const p=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function f(t,o){const e=()=>JSON.parse(JSON.stringify(t));return r({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!c(t,o),...null!=o?o:{}})}
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2019 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
- */const f=window,d=f.ShadowRoot&&(void 0===f.ShadyCSS||f.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,u=Symbol(),x=new WeakMap;let v=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==u)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(d&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=x.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&x.set(e,t))}return t}toString(){return this.cssText}};const b=t=>new v("string"==typeof t?t:t+"",void 0,u),y=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new v(i,t,u)},m=(t,e)=>{d?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=f.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},g=d?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return b(e)})(t):t
47
+ */const d=window,h=d.ShadowRoot&&(void 0===d.ShadyCSS||d.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,u=Symbol(),y=new WeakMap;let g=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==u)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(h&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=y.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&y.set(o,t))}return t}toString(){return this.cssText}};const b=t=>new g("string"==typeof t?t:t+"",void 0,u),m=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new g(e,t,u)},x=(t,o)=>{h?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=d.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))},v=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return b(o)})(t):t
48
48
  /**
49
49
  * @license
50
50
  * Copyright 2017 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
- */;var w;const $=window,O=$.trustedTypes,k=O?O.emptyScript:"",S=$.reactiveElementPolyfillSupport,C={toAttribute(t,e){switch(e){case Boolean:t=t?k:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},N=(t,e)=>e!==t&&(e==e||t==t),E={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:N};let M=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=E){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||E}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(g(t))}else void 0!==t&&e.push(g(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return m(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=E){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const s=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:C).toAttribute(e,i.type);this._$El=t,null==s?this.removeAttribute(n):this.setAttribute(n,s),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:C;this._$El=n,this[n]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||N)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
52
+ */;var O;const N=window,S=N.trustedTypes,w=S?S.emptyScript:"",C=N.reactiveElementPolyfillSupport,$={toAttribute(t,o){switch(o){case Boolean:t=t?w: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}},R=(t,o)=>o!==t&&(o==o||t==t),E={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:R};let k=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;this.finalize(),(null!==(o=this.h)&&void 0!==o?o:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,e)=>{const r=this._$Ep(e,o);void 0!==r&&(this._$Ev.set(r,e),t.push(r))})),t}static createProperty(t,o=E){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){return{get(){return this[o]},set(r){const i=this[t];this[o]=r,this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||E}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of o)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(v(t))}else void 0!==t&&o.push(v(t));return o}static _$Ep(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,e;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return x(o,this.constructor.elementStyles),o}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o,e=E){var r;const i=this.constructor._$Ep(t,e);if(void 0!==i&&!0===e.reflect){const n=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:$).toAttribute(o,e.type);this._$El=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$El=null}}_$AK(t,o){var e;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:$;this._$El=i,this[i]=n.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||R)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(e)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(e)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
53
53
  /**
54
54
  * @license
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
57
  */
58
- var R;M.finalized=!0,M.elementProperties=new Map,M.elementStyles=[],M.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:M}),(null!==(w=$.reactiveElementVersions)&&void 0!==w?w:$.reactiveElementVersions=[]).push("1.6.1");const U=window,j=U.trustedTypes,F=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",B=`lit$${(Math.random()+"").slice(9)}$`,A="?"+B,T=`<${A}>`,P=document,L=()=>P.createComment(""),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,D="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,K=/>/g,Z=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Y=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Q=new WeakMap,tt=P.createTreeWalker(P,129,null,!1),et=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=W;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(r.lastIndex=c,l=r.exec(i),null!==l);)c=r.lastIndex,r===W?"!--"===l[1]?r=H:void 0!==l[1]?r=K:void 0!==l[2]?(q.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=Z):void 0!==l[3]&&(r=Z):r===Z?">"===l[0]?(r=null!=n?n:W,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?Z:'"'===l[3]?J:V):r===J||r===V?r=Z:r===H||r===K?r=W:(r=Z,n=void 0);const p=r===Z&&t[e+1].startsWith("/>")?" ":"";s+=r===W?i+T:h>=0?(o.push(a),i.slice(0,h)+z+i.slice(h)+B+p):i+B+(-2===h?(o.push(void 0),e):p)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==F?F.createHTML(a):a,o]};class it{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=et(t,e);if(this.el=it.createElement(l,i),tt.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=tt.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(z)||e.startsWith(B)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+z).split(B),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?at:"?"===e[1]?ht:"@"===e[1]?ct:rt})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(q.test(o.tagName)){const t=o.textContent.split(B),e=t.length-1;if(e>0){o.textContent=j?j.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],L()),tt.nextNode(),a.push({type:2,index:++n});o.append(t[e],L())}}}else if(8===o.nodeType)if(o.data===A)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(B,t+1));)a.push({type:7,index:n}),t+=B.length-1}n++}}static createElement(t,e){const i=P.createElement("template");return i.innerHTML=t,i}}function ot(t,e,i=t,o){var n,s,r,a;if(e===Y)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=I(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Co)&&void 0!==r?r:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=ot(t,l._$AS(t,e.values),l,o)),e}class nt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:P).importNode(i,!0);tt.currentNode=n;let s=tt.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new st(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new pt(s,this,t)),this._$AV.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=tt.nextNode(),r++)}return n}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class st{constructor(t,e,i,o){var n;this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ot(this,t,e),I(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==Y&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==G&&I(this._$AH)?this._$AA.nextSibling.data=t:this.$(P.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=it.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new nt(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=Q.get(t.strings);return void 0===e&&Q.set(t.strings,e=new it(t)),e}T(t){_(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new st(this.k(L()),this.k(L()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class rt{constructor(t,e,i,o,n){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=G}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=ot(this,t,e,0),s=!I(t)||t!==this._$AH&&t!==Y,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=ot(this,o[i+r],e,r),a===Y&&(a=this._$AH[r]),s||(s=!I(a)||a!==this._$AH[r]),a===G?t=G:t!==G&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class at extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}const lt=j?j.emptyScript:"";class ht extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==G?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}}class ct extends rt{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=ot(this,t,e,0))&&void 0!==i?i:G)===Y)return;const o=this._$AH,n=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==G&&(o===G||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class pt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){ot(this,t)}}const ft=U.litHtmlPolyfillSupport;null==ft||ft(it,st),(null!==(R=U.litHtmlVersions)&&void 0!==R?R:U.litHtmlVersions=[]).push("2.7.3");
58
+ var U;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:k}),(null!==(O=N.reactiveElementVersions)&&void 0!==O?O:N.reactiveElementVersions=[]).push("1.6.1");const I=window,W=I.trustedTypes,L=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+z,F=`<${Z}>`,B=document,D=()=>B.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,H="[ \t\n\f\r]",j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,T=/>/g,G=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,Y=/"/g,V=/^(?:script|style|textarea|title)$/i,J=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),q=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Q=new WeakMap,tt=B.createTreeWalker(B,129,null,!1),ot=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=j;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===j?"!--"===s[1]?a=P:void 0!==s[1]?a=T:void 0!==s[2]?(V.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=G):void 0!==s[3]&&(a=G):a===G?">"===s[0]?(a=null!=i?i:j,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?G:'"'===s[3]?Y:_):a===Y||a===_?a=G:a===P||a===T?a=j:(a=G,i=void 0);const f=a===G&&t[o+1].startsWith("/>")?" ":"";n+=a===j?e+F:c>=0?(r.push(l),e.slice(0,c)+K+e.slice(c)+z+f):e+z+(-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!==L?L.createHTML(l):l,r]};class et{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]=ot(t,o);if(this.el=et.createElement(s,e),tt.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=tt.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(K)||o.startsWith(z)){const e=c[n++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+K).split(z),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?lt:"?"===o[1]?ct:"@"===o[1]?pt:at})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(V.test(r.tagName)){const t=r.textContent.split(z),o=t.length-1;if(o>0){r.textContent=W?W.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],D()),tt.nextNode(),l.push({type:2,index:++i});r.append(t[o],D())}}}else if(8===r.nodeType)if(r.data===Z)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(z,t+1));)l.push({type:7,index:i}),t+=z.length-1}i++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}}function rt(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=M(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=rt(t,s._$AS(t,o.values),s,r)),o}class it{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);tt.currentNode=i;let n=tt.nextNode(),a=0,l=0,s=r[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new nt(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new ft(n,this,t)),this._$AV.push(o),s=r[++l]}a!==(null==s?void 0:s.index)&&(n=tt.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 nt{constructor(t,o,e,r){var i;this.type=2,this._$AH=X,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=rt(this,t,o),M(t)?t===X||null==t||""===t?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>A(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==X&&M(this._$AH)?this._$AA.nextSibling.data=t:this.$(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=et.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 it(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new et(t)),o}T(t){A(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 nt(this.k(D()),this.k(D()),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 at{constructor(t,o,e,r,i){this.type=1,this._$AH=X,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=X}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=rt(this,t,o,0),n=!M(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=rt(this,r[e+a],o,a),l===q&&(l=this._$AH[a]),n||(n=!M(l)||l!==this._$AH[a]),l===X?t=X:t!==X&&(t+=(null!=l?l:"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.j(t)}j(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class lt extends at{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===X?void 0:t}}const st=W?W.emptyScript:"";class ct extends at{constructor(){super(...arguments),this.type=4}j(t){t&&t!==X?this.element.setAttribute(this.name,st):this.element.removeAttribute(this.name)}}class pt extends at{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=rt(this,t,o,0))&&void 0!==e?e:X)===q)return;const r=this._$AH,i=t===X&&r!==X||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==X&&(r===X||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 ft{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){rt(this,t)}}const dt=I.litHtmlPolyfillSupport;null==dt||dt(et,nt),(null!==(U=I.litHtmlVersions)&&void 0!==U?U:I.litHtmlVersions=[]).push("2.7.3");
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
63
  */
64
- var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new st(e.insertBefore(L(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Y}};xt.finalized=!0,xt._$litElement$=!0,null===(dt=globalThis.litElementHydrateSupport)||void 0===dt||dt.call(globalThis,{LitElement:xt});const vt=globalThis.litElementPolyfillSupport;null==vt||vt({LitElement:xt}),(null!==(ut=globalThis.litElementVersions)&&void 0!==ut?ut:globalThis.litElementVersions=[]).push("3.3.2");class bt{static create(t,e,i){let o=t=>b(null!=t?t:i),n=y`var(${b(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>y`var(${b(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=y`var(${b(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>y`var(${b(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):b(null!=e?e:t.defaultValue),o=y`var(${b(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>y`var(${b(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function yt(t,e){return b(`${t.name}: ${e}`)}const mt={colorPrimary:bt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:bt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:bt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:bt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:bt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:bt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:bt.create("--ft-color-error","COLOR","#B00020"),colorOutline:bt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:bt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:bt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:bt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:bt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:bt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:bt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:bt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:bt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:bt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:bt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:bt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:bt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:bt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:bt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:bt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:bt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:bt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:bt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:bt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:bt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:bt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:bt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:bt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:bt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:bt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:bt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:bt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:bt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:bt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:bt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:bt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:bt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:bt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:bt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:bt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:bt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:bt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:bt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:bt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:bt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:bt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class gt extends xt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return m(i,t.elementStyles),i}}var wt,$t=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Ot=Symbol("constructorPrototype"),kt=Symbol("constructorName"),St=Symbol("exportpartsDebouncer");class Ct extends gt{constructor(){super(),this[wt]=new e(5),this[kt]=this.constructor.name,this[Ot]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[kt]&&Object.setPrototypeOf(this,this[Ot])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[St].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,n,s,r;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(r=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}wt=St,$t([o()],Ct.prototype,"exportpartsPrefix",void 0),$t([p([])],Ct.prototype,"exportpartsPrefixes",void 0),$t([o()],Ct.prototype,"customStylesheet",void 0);const Nt=y`
64
+ var ht,ut;let yt=class extends k{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 nt(o.insertBefore(D(),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}};yt.finalized=!0,yt._$litElement$=!0,null===(ht=globalThis.litElementHydrateSupport)||void 0===ht||ht.call(globalThis,{LitElement:yt});const gt=globalThis.litElementPolyfillSupport;null==gt||gt({LitElement:yt}),(null!==(ut=globalThis.litElementVersions)&&void 0!==ut?ut:globalThis.litElementVersions=[]).push("3.3.2");const bt=t=>"string"==typeof t?b(t):t;class mt{static create(t,o,e,r){const i=t=>bt(null!=t?t:r),n=m`var(${bt(t)}, ${i(r)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>m`var(${bt(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(${bt(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(${bt(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):bt(null!=o?o:t.lastResortDefaultValue()),r=m`var(${bt(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(${bt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function xt(t,o){return bt(`${t.name}: ${o}`)}const vt={colorWhite:mt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:mt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:mt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:mt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:mt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:mt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:mt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:mt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:mt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:mt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:mt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:mt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:mt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:mt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:mt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:mt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:mt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:mt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:mt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:mt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:mt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:mt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:mt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:mt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:mt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:mt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:mt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:mt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:mt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:mt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:mt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:mt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:mt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:mt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:mt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:mt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:mt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:mt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:mt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:mt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:mt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:mt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:mt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:mt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:mt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:mt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:mt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:mt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:mt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:mt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:mt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:mt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:mt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:mt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:mt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:mt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:mt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:mt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:mt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:mt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:mt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:mt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:mt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:mt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:mt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:mt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:mt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:mt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:mt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:mt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:mt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:mt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:mt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:mt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:mt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:mt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:mt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:mt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:mt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:mt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:mt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:mt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:mt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:mt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:mt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:mt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:mt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:mt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:mt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:mt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:mt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:mt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:mt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:mt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:mt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:mt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:mt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:mt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:mt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:mt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:mt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:mt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:mt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:mt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:mt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:mt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:mt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:mt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:mt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:mt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:mt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:mt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:mt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:mt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:mt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:mt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:mt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:mt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:mt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:mt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:mt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:mt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:mt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:mt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:mt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:mt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:mt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:mt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:mt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:mt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:mt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:mt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:mt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:mt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:mt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:mt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:mt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:mt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:mt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:mt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:mt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:mt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:mt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:mt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:mt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:mt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:mt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:mt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:mt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:mt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:mt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:mt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:mt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:mt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:mt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:mt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:mt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:mt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:mt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:mt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:mt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:mt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:mt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:mt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:mt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:mt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:mt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:mt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:mt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:mt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:mt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:mt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:mt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:mt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:mt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:mt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:mt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:mt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:mt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:mt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:mt.create("--ft-opacity-0","","NUMBER","0"),opacity8:mt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:mt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:mt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:mt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:mt.create("--ft-opacity-80","","NUMBER","0.8")},Ot={display:{fontFamily:mt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:mt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:mt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:mt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:mt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:mt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:mt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:mt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:mt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:mt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:mt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:mt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:mt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:mt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:mt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:mt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:mt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:mt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:mt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:mt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:mt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:mt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:mt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:mt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:mt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:mt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:mt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:mt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:mt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Nt={backgroundActionPrimary:mt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",vt.colorBrand0),backgroundErrorPrimary:mt.extend("--ft-background-error-primary","Used as background of error components.",vt.colorRed0),backgroundErrorSubtle:mt.extend("--ft-background-error-subtle","Used as background of subtle error components.",vt.colorRed10),backgroundInfoPrimary:mt.extend("--ft-background-info-primary","Used as background of information components.",vt.colorCyan200),backgroundInfoSubtle:mt.extend("--ft-background-info-subtle","Used as background of subtle information components.",vt.colorCyan10),backgroundWarningPrimary:mt.extend("--ft-background-warning-primary","Used as background of warning components.",vt.colorOrange300),backgroundWarningSubtle:mt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",vt.colorOrange10),backgroundSuccessPrimary:mt.extend("--ft-background-success-primary","Used as background of success components.",vt.colorGreen200),backgroundSuccessSubtle:mt.extend("--ft-background-success-subtle","Used as background of subtle success components.",vt.colorGreen10),backgroundGlobalSurface:mt.extend("--ft-background-global-surface","Used as app background.",vt.colorWhite),backgroundGlobalOnSurface:mt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",vt.colorGray10),backgroundGlobalOnSurfaceDark:mt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",vt.colorGray30),contentActionPrimary:mt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",vt.colorBrand0),contentWarningPrimary:mt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",vt.colorOrange300),contentWarningIconOnly:mt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",vt.colorOrange0),contentErrorPrimary:mt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",vt.colorRed0),contentErrorIconOnly:mt.extend("--ft-content-error-icon-only","Used on error status icons alone",vt.colorRed0),contentInfoPrimary:mt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",vt.colorCyan200),contentInfoIconOnly:mt.extend("--ft-content-info-icon-only","Used on info status icons alone",vt.colorCyan0),contentSuccessIconOnly:mt.extend("--ft-content-success-icon-only","Used on success status icons alone",vt.colorGreen0),contentSuccessPrimary:mt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",vt.colorGreen200),contentGlobalPrimary:mt.extend("--ft-content-global-primary","Used for main content on the page.",vt.colorGray500),contentGlobalSecondary:mt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",vt.colorGray200),contentGlobalSubtle:mt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",vt.colorGray0),contentGlobalOnColor:mt.extend("--ft-content-global-on-color","Used for content on a dominant color.",vt.colorWhite),borderActionPrimary:mt.extend("--ft-border-action-primary","Used as border for primary action components.",vt.colorBrand0),borderActionFocusRing:mt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",vt.colorCyan0),borderWarningPrimary:mt.extend("--ft-border-warning-primary","Used as border for warning components.",vt.colorOrange30),borderSuccessPrimary:mt.extend("--ft-border-success-primary","Used as border for success components.",vt.colorGreen30),borderErrorPrimary:mt.extend("--ft-border-error-primary","Used as border for error components.",vt.colorRed30),borderInfoPrimary:mt.extend("--ft-border-info-primary","Used as border for information components.",vt.colorCyan30),borderGlobalSubtle:mt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",vt.colorGray30),borderGlobalPrimary:mt.extend("--ft-border-global-primary","Used as border for element like input.",vt.colorGray50),borderInputPrimary:mt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",vt.colorGray80)},St={largeHeight:mt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:mt.extend("--ft-button-large-horizontal-padding","",vt.spacing4),largeGap:mt.extend("--ft-button-large-gap","",vt.spacing2),largeBorderRadius:mt.extend("--ft-button-large-border-radius","",vt.borderRadiusS),largeIconSize:mt.extend("--ft-button-large-icon-size","",vt.iconSize3),largeBorderWidth:mt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:mt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:mt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:mt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:mt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:mt.extend("--ft-button-small-horizontal-padding","",vt.spacing3),smallGap:mt.extend("--ft-button-small-gap","",vt.spacing2),smallBorderRadius:mt.extend("--ft-button-small-border-radius","",vt.borderRadiusS),smallIconSize:mt.extend("--ft-button-small-icon-size","",vt.iconSize2),smallBorderWidth:mt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:mt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:mt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:mt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:mt.extend("--ft-button-primary-background-color","",Nt.backgroundActionPrimary),primaryColor:mt.extend("--ft-button-primary-color","",Nt.contentGlobalOnColor),primaryIconColor:mt.extend("--ft-button-primary-icon-color","",Nt.contentGlobalOnColor),primaryStateLayerColor:mt.extend("--ft-button-primary-state-layer-color","",Nt.contentGlobalOnColor),primaryStateLayerOpacityHover:mt.extend("--ft-button-primary-state-layer-opacity-hover","",vt.opacity16),primaryStateLayerOpacityFocus:mt.extend("--ft-button-primary-state-layer-opacity-focus","",vt.opacity16),primaryStateLayerOpacityActive:mt.extend("--ft-button-primary-state-layer-opacity-active","",vt.opacity24),primaryComponentOpacityDisabled:mt.extend("--ft-button-primary-component-opacity-disabled","",vt.opacity40),focusFocusRingColor:mt.extend("--ft-button-focus-focus-ring-color","",Nt.borderActionFocusRing),tertiaryBackgroundColor:mt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:mt.extend("--ft-button-tertiary-color","",Nt.contentActionPrimary),tertiaryIconColor:mt.extend("--ft-button-tertiary-icon-color","",Nt.contentActionPrimary),tertiaryStateLayerColor:mt.extend("--ft-button-tertiary-state-layer-color","",Nt.contentActionPrimary),tertiaryStateLayerOpacityHover:mt.extend("--ft-button-tertiary-state-layer-opacity-hover","",vt.opacity8),tertiaryStateLayerOpacityFocus:mt.extend("--ft-button-tertiary-state-layer-opacity-focus","",vt.opacity8),tertiaryStateLayerOpacityActive:mt.extend("--ft-button-tertiary-state-layer-opacity-active","",vt.opacity16),tertiaryComponentOpacityDisabled:mt.extend("--ft-button-tertiary-component-opacity-disabled","",vt.opacity40),secondaryBackgroundColor:mt.extend("--ft-button-secondary-background-color","",vt.colorWhite),secondaryColor:mt.extend("--ft-button-secondary-color","",Nt.contentActionPrimary),secondaryIconColor:mt.extend("--ft-button-secondary-icon-color","",Nt.contentActionPrimary),secondaryStateLayerColor:mt.extend("--ft-button-secondary-state-layer-color","",Nt.contentActionPrimary),secondaryStateLayerOpacityHover:mt.extend("--ft-button-secondary-state-layer-opacity-hover","",vt.opacity8),secondaryStateLayerOpacityFocus:mt.extend("--ft-button-secondary-state-layer-opacity-focus","",vt.opacity8),secondaryStateLayerOpacityActive:mt.extend("--ft-button-secondary-state-layer-opacity-active","",vt.opacity16),secondaryComponentOpacityDisabled:mt.extend("--ft-button-secondary-component-opacity-disabled","",vt.opacity40),secondaryBorderColor:mt.extend("--ft-button-secondary-border-color","",Nt.borderActionPrimary),neutralBackgroundColor:mt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:mt.extend("--ft-button-neutral-icon-color","",Nt.contentGlobalSecondary),neutralColor:mt.extend("--ft-button-neutral-color","",Nt.contentGlobalSecondary),neutralStateLayerColor:mt.extend("--ft-button-neutral-state-layer-color","",Nt.contentGlobalSecondary),neutralStateLayerOpacityHover:mt.extend("--ft-button-neutral-state-layer-opacity-hover","",vt.opacity8),neutralStateLayerOpacityFocus:mt.extend("--ft-button-neutral-state-layer-opacity-focus","",vt.opacity8),neutralStateLayerOpacityActive:mt.extend("--ft-button-neutral-state-layer-opacity-active","",vt.opacity16),neutralComponentOpacityDisabled:mt.extend("--ft-button-neutral-component-opacity-disabled","",vt.opacity40)};mt.extend("--ft-tabs-top-left-border-radius","",vt.borderRadiusS),mt.extend("--ft-tabs-top-right-border-radius","",vt.borderRadiusS),mt.extend("--ft-tabs-label-horizontal-padding","",vt.spacing4),mt.extend("--ft-tabs-label-vertical-padding","",vt.spacing3),mt.extend("--ft-tabs-label-gap","",vt.spacing1),mt.extend("--ft-switch-group-horizontal-padding","",vt.spacing1),mt.extend("--ft-switch-group-vertical-padding","",vt.spacing1),mt.extend("--ft-switch-group-gap","",vt.spacing1),mt.extend("--ft-switch-group-background-color","",Nt.backgroundGlobalSurface),mt.extend("--ft-switch-group-border-color","",Nt.borderGlobalSubtle),mt.create("--ft-switch-group-border-radius","","SIZE","6px"),mt.extend("--ft-switch-label-horizontal-padding","",vt.spacing2),mt.extend("--ft-switch-label-vertical-padding","",vt.spacing1),mt.extend("--ft-switch-icon-horizontal-padding","",vt.spacing1),mt.extend("--ft-switch-icon-vertical-padding","",vt.spacing1),mt.create("--ft-switch-focus-outline-width","","SIZE","2px"),mt.extend("--ft-switch-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.extend("--ft-switch-option-border-radius","",vt.borderRadiusS),mt.extend("--ft-switch-off-state-layer-opacity-hover","",vt.opacity8),mt.extend("--ft-switch-off-state-layer-opacity-focus","",vt.opacity8),mt.extend("--ft-switch-off-state-layer-opacity-active","",vt.opacity16),mt.extend("--ft-switch-off-component-opacity-disabled","",vt.opacity40),mt.extend("--ft-switch-off-color","",Nt.contentGlobalSubtle),mt.extend("--ft-switch-off-state-layer-color","",Nt.contentGlobalSubtle),mt.extend("--ft-chart-1-light","for area color charts",vt.colorBrand40),mt.extend("--ft-chart-1-base","for line charts",vt.colorBrand0),mt.extend("--ft-chart-2-light","for area color charts",vt.colorYellow60),mt.extend("--ft-chart-2-base","for line charts",vt.colorYellow100),mt.extend("--ft-chart-3-light","",vt.colorUltramarine40),mt.extend("--ft-chart-3-base","",vt.colorUltramarine70),mt.extend("--ft-chart-4-light","",vt.colorCyan50),mt.extend("--ft-chart-4-base","",vt.colorCyan100),mt.extend("--ft-chart-5-light","",vt.colorRed40),mt.extend("--ft-chart-5-base","",vt.colorRed60),mt.extend("--ft-chart-6-light","",vt.colorGreen40),mt.extend("--ft-chart-6-base","",vt.colorGreen70),mt.extend("--ft-chart-7-light","",vt.colorOrange70),mt.extend("--ft-chart-7-base","",vt.colorOrange100),mt.extend("--ft-chart-8-light","",vt.colorAvocado70),mt.extend("--ft-chart-8-base","",vt.colorAvocado200),mt.extend("--ft-chart-9-light","",vt.colorBrown50),mt.extend("--ft-chart-9-base","",vt.colorBrown200),mt.extend("--ft-chart-10-light","",vt.colorGray50),mt.extend("--ft-chart-10-base","",vt.colorGray80),mt.extend("--ft-chart-monochrome-10","",vt.colorBrand10),mt.extend("--ft-chart-monochrome-20","",vt.colorBrand20),mt.extend("--ft-chart-monochrome-30","",vt.colorBrand40),mt.extend("--ft-chart-monochrome-40","",vt.colorBrand60),mt.extend("--ft-chart-monochrome-50","",vt.colorBrand0),mt.extend("--ft-chart-monochrome-60","",vt.colorBrand200),mt.extend("--ft-chip-large-horizontal-padding","",vt.spacing4),mt.extend("--ft-chip-large-vertical-padding","",vt.spacing2),mt.extend("--ft-chip-large-gap","",vt.spacing1),mt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-large-border-radius","",vt.borderRadiusPill),mt.create("--ft-chip-large-border-width","","SIZE","1px"),mt.extend("--ft-chip-large-icon-size","",vt.iconSize3),mt.extend("--ft-chip-medium-horizontal-padding","",vt.spacing3),mt.extend("--ft-chip-medium-vertical-padding","",vt.spacing1),mt.extend("--ft-chip-medium-gap","",vt.spacing1),mt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-medium-border-radius","",vt.borderRadiusPill),mt.create("--ft-chip-medium-border-width","","SIZE","1px"),mt.extend("--ft-chip-medium-icon-size","",vt.iconSize2),mt.extend("--ft-chip-small-horizontal-padding","",vt.spacing2),mt.extend("--ft-chip-small-vertical-padding","",vt.spacing05),mt.extend("--ft-chip-small-gap","",vt.spacing1),mt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-small-border-radius","",vt.borderRadiusPill),mt.create("--ft-chip-small-border-width","","SIZE","1px"),mt.extend("--ft-chip-small-icon-size","",vt.iconSize1),mt.extend("--ft-chip-neutral-background-color","",Nt.backgroundGlobalOnSurface),mt.extend("--ft-chip-neutral-color","",Nt.contentGlobalPrimary),mt.extend("--ft-chip-neutral-border-color","",Nt.borderGlobalSubtle),mt.extend("--ft-chip-info-background-color","",Nt.backgroundInfoSubtle),mt.extend("--ft-chip-info-color","",Nt.contentInfoPrimary),mt.extend("--ft-chip-info-border-color","",Nt.borderInfoPrimary),mt.extend("--ft-chip-success-background-color","",Nt.backgroundSuccessSubtle),mt.extend("--ft-chip-success-color","",Nt.contentSuccessPrimary),mt.extend("--ft-chip-success-border-color","",Nt.borderSuccessPrimary),mt.extend("--ft-chip-warning-background-color","",Nt.backgroundWarningSubtle),mt.extend("--ft-chip-warning-color","",Nt.contentWarningPrimary),mt.extend("--ft-chip-warning-border-color","",Nt.borderWarningPrimary),mt.extend("--ft-chip-error-background-color","",Nt.backgroundErrorSubtle),mt.extend("--ft-chip-error-color","",Nt.contentErrorPrimary),mt.extend("--ft-chip-error-border-color","",Nt.borderErrorPrimary),mt.create("--ft-notice-border-width","","SIZE","1px"),mt.extend("--ft-notice-horizontal-padding","",vt.spacing2),mt.extend("--ft-notice-vertical-padding","",vt.spacing1),mt.extend("--ft-notice-border-radius","",vt.borderRadiusS),mt.extend("--ft-notice-gap","",vt.spacing2),mt.extend("--ft-notice-icon-size","",vt.iconSize3),mt.extend("--ft-notice-info-background-color","",Nt.backgroundInfoSubtle),mt.extend("--ft-notice-info-border-color","",Nt.borderInfoPrimary),mt.extend("--ft-notice-info-color","",Nt.contentInfoPrimary),mt.extend("--ft-notice-warning-background-color","",Nt.backgroundWarningSubtle),mt.extend("--ft-notice-warning-border-color","",Nt.borderWarningPrimary),mt.extend("--ft-notice-warning-color","",Nt.contentWarningPrimary),mt.extend("--ft-checkbox-label-color","",Nt.contentGlobalPrimary),mt.extend("--ft-checkbox-checked-background-color","",Nt.contentActionPrimary),mt.extend("--ft-checkbox-checked-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-checkbox-checked-color","",Nt.contentGlobalOnColor),mt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",vt.opacity16),mt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",vt.opacity16),mt.extend("--ft-checkbox-checked-state-layer-opacity-active","",vt.opacity24),mt.extend("--ft-checkbox-checked-component-opacity-disabled","",vt.opacity40),mt.extend("--ft-checkbox-unchecked-border-color","",vt.colorGray80),mt.extend("--ft-checkbox-unchecked-state-layer-color","",vt.colorGray80),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",vt.opacity16),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",vt.opacity16),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",vt.opacity24),mt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",vt.opacity40),mt.extend("--ft-checkbox-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),mt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),mt.extend("--ft-checkbox-gap","",vt.spacing3),mt.extend("--ft-toggle-off-state-layer-opacity-hover","",vt.opacity16),mt.extend("--ft-toggle-off-state-layer-opacity-focus","",vt.opacity16),mt.extend("--ft-toggle-off-state-layer-opacity-active","",vt.opacity24),mt.extend("--ft-toggle-off-component-opacity-disabled","",vt.opacity40),mt.extend("--ft-toggle-off-background-color","",Nt.contentGlobalSubtle),mt.extend("--ft-toggle-off-icon-color","",Nt.contentGlobalSubtle),mt.extend("--ft-toggle-off-state-layer-color","",Nt.contentGlobalSubtle),mt.extend("--ft-toggle-on-state-layer-opacity-hover","",vt.opacity16),mt.extend("--ft-toggle-on-state-layer-opacity-focus","",vt.opacity16),mt.extend("--ft-toggle-on-state-layer-opacity-active","",vt.opacity24),mt.extend("--ft-toggle-on-component-opacity-disabled","",vt.opacity40),mt.extend("--ft-toggle-on-background-color","",Nt.contentActionPrimary),mt.extend("--ft-toggle-on-icon-color","",Nt.contentActionPrimary),mt.extend("--ft-toggle-on-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-toggle-label-color","",Nt.contentGlobalPrimary),mt.extend("--ft-toggle-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.extend("--ft-toggle-gap","",vt.spacing3),mt.extend("--ft-radio-label-color","",Nt.contentGlobalPrimary),mt.extend("--ft-radio-selected-color","",Nt.contentActionPrimary),mt.extend("--ft-radio-selected-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-radio-selected-state-layer-opacity-hover","",vt.opacity16),mt.extend("--ft-radio-selected-state-layer-opacity-focus","",vt.opacity16),mt.extend("--ft-radio-selected-state-layer-opacity-active","",vt.opacity24),mt.extend("--ft-radio-selected-component-opacity-disabled","",vt.opacity40),mt.extend("--ft-radio-unselected-state-layer-color","",vt.colorGray80),mt.extend("--ft-radio-unselected-state-layer-opacity-hover","",vt.opacity16),mt.extend("--ft-radio-unselected-state-layer-opacity-focus","",vt.opacity16),mt.extend("--ft-radio-unselected-state-layer-opacity-active","",vt.opacity24),mt.extend("--ft-radio-unselected-component-opacity-disabled","",vt.opacity40),mt.extend("--ft-radio-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),mt.create("--ft-radio-focus-outline-width","","SIZE","2px"),mt.extend("--ft-radio-gap","",vt.spacing3),mt.extend("--ft-notification-icon-size","",vt.iconSize4),mt.extend("--ft-notification-horizontal-padding","",vt.spacing4),mt.extend("--ft-notification-vertical-padding","",vt.spacing4),mt.extend("--ft-notification-info-background-color","",Nt.backgroundInfoSubtle),mt.extend("--ft-notification-info-color","",Nt.contentInfoPrimary),mt.extend("--ft-notification-info-border-color","",Nt.borderInfoPrimary),mt.extend("--ft-notification-success-background-color","",Nt.backgroundSuccessSubtle),mt.extend("--ft-notification-success-color","",Nt.contentSuccessPrimary),mt.extend("--ft-notification-success-border-color","",Nt.borderSuccessPrimary),mt.extend("--ft-notification-warning-background-color","",Nt.backgroundWarningSubtle),mt.extend("--ft-notification-warning-color","",Nt.contentWarningPrimary),mt.extend("--ft-notification-warning-border-color","",Nt.borderWarningPrimary),mt.extend("--ft-notification-error-background-color","",Nt.backgroundErrorSubtle),mt.extend("--ft-notification-error-color","",Nt.contentErrorPrimary),mt.extend("--ft-notification-error-border-color","",Nt.borderErrorPrimary),mt.extend("--ft-notification-border-radius","",vt.borderRadiusPill),mt.create("--ft-notification-border-width","","SIZE","1px"),mt.extend("--ft-notification-gap-leading","",vt.spacing2),mt.extend("--ft-notification-gap-trailing","",vt.spacing8);const wt={colorPrimary:mt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:mt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:mt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:mt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:mt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:mt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:mt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:mt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:mt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:mt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:mt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:mt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:mt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:mt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:mt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:mt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:mt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:mt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:mt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:mt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:mt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:mt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:mt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:mt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:mt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:mt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:mt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:mt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:mt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:mt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:mt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:mt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:mt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:mt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:mt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:mt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:mt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:mt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:mt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:mt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:mt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:mt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:mt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:mt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:mt.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:mt.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:mt.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:mt.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:mt.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:mt.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:mt.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:mt.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:mt.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:mt.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:mt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:mt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:mt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:mt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:mt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:mt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:mt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:mt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Ct extends yt{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 x(e,t.elementStyles),e}}var $t,Rt=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 Et=Symbol("constructorPrototype"),kt=Symbol("constructorName"),Ut=Symbol("exportpartsDebouncer");class It extends Ct{constructor(){super(),this[$t]=new o(5),this[kt]=this.constructor.name,this[Et]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[kt]&&Object.setPrototypeOf(this,this[Et])}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[Ut].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var 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(", "))}}$t=Ut,Rt([r()],It.prototype,"exportpartsPrefix",void 0),Rt([f([])],It.prototype,"exportpartsPrefixes",void 0),Rt([r()],It.prototype,"customStylesheet",void 0);const Wt=m`
65
65
  .ft-no-text-select {
66
66
  -webkit-touch-callout: none;
67
67
  -webkit-user-select: none;
@@ -70,7 +70,7 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
70
70
  -ms-user-select: none;
71
71
  user-select: none;
72
72
  }
73
- `;y`
73
+ `;m`
74
74
  .ft-word-wrap {
75
75
  white-space: normal;
76
76
  word-wrap: break-word;
@@ -82,7 +82,7 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
82
82
  -webkit-hyphens: auto;
83
83
  hyphens: auto
84
84
  }
85
- `;const Et=y`
85
+ `;const Lt=m`
86
86
  .ft-safari-ellipsis-fix {
87
87
  margin-right: 0;
88
88
 
@@ -93,9 +93,9 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
93
93
  display: inline-block;
94
94
  width: 0;
95
95
  }
96
- `;window.ftReduxStores||(window.ftReduxStores={});const Mt=Symbol("elementInternals");var Rt,Ut,jt;const Ft=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(jt=null===(Ut=null===(Rt=window.safari)||void 0===Rt?void 0:Rt.pushNotification)||void 0===Ut?void 0:Ut.toString())&&void 0!==jt?jt:""),zt={zIndex:bt.create("--ft-floating-menu-z-index","NUMBER","8"),maxWidth:bt.create("--ft-floating-menu-max-width","SIZE","300px"),maxHeight:bt.create("--ft-floating-menu-max-height","SIZE","500px"),textColor:bt.extend("--ft-floating-menu-text-color",mt.colorOnSurfaceHigh),colorSurface:bt.external(mt.colorSurface,"Design system"),menuElevation:bt.external(mt.elevation02,"Design system"),borderRadiusS:bt.external(mt.borderRadiusS,"Design system")},Bt=y`
96
+ `;window.ftReduxStores||(window.ftReduxStores={});const Kt=Symbol("elementInternals");var zt,Zt,Ft;const Bt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ft=null===(Zt=null===(zt=window.safari)||void 0===zt?void 0:zt.pushNotification)||void 0===Zt?void 0:Zt.toString())&&void 0!==Ft?Ft:""),Dt={zIndex:mt.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:mt.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:mt.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:mt.extend("--ft-floating-menu-text-color","",wt.colorOnSurfaceHigh),colorSurface:mt.external(wt.colorSurface,"Design system"),menuElevation:mt.external(wt.elevation02,"Design system"),borderRadiusS:mt.external(wt.borderRadiusS,"Design system")},Mt=m`
97
97
  .ft-floating-menu {
98
- color: ${zt.textColor};
98
+ color: ${Dt.textColor};
99
99
  display: inline-block;
100
100
  }
101
101
 
@@ -112,29 +112,19 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
112
112
  display: none;
113
113
  position: relative;
114
114
  overflow: auto;
115
- max-width: ${zt.maxWidth};
116
- max-height: ${zt.maxHeight};
117
- box-shadow: ${zt.menuElevation};
118
- background-color: ${zt.colorSurface};
119
- border-radius: ${zt.borderRadiusS};
120
- color: ${zt.textColor};
121
- z-index: ${zt.zIndex};
115
+ max-width: ${Dt.maxWidth};
116
+ max-height: ${Dt.maxHeight};
117
+ box-shadow: ${Dt.menuElevation};
118
+ background-color: ${Dt.colorSurface};
119
+ border-radius: ${Dt.borderRadiusS};
120
+ color: ${Dt.textColor};
121
+ z-index: ${Dt.zIndex};
122
122
  }
123
123
 
124
124
  .ft-floating-menu--open .ft-floating-menu--options {
125
125
  display: block;
126
126
  }
127
- `
128
- /**
129
- * @license
130
- * Copyright 2017 Google LLC
131
- * SPDX-License-Identifier: BSD-3-Clause
132
- */,At=1,Tt=2,Pt=t=>(...e)=>({_$litDirective$:t,values:e});class Lt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
133
- /**
134
- * @license
135
- * Copyright 2018 Google LLC
136
- * SPDX-License-Identifier: BSD-3-Clause
137
- */const It=Pt(class extends Lt{constructor(t){var e;if(super(t),t.type!==At||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const n=t.element.classList;this.it.forEach((t=>{t in e||(n.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(o=this.nt)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.it.add(t)):(n.remove(t),this.it.delete(t)))}return Y}}),_t=bt.extend("--ft-ripple-color",mt.colorContent),Dt={color:_t,backgroundColor:bt.extend("--ft-ripple-background-color",_t),opacityContentOnSurfacePressed:bt.external(mt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:bt.external(mt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:bt.external(mt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:bt.external(mt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:bt.create("--ft-ripple-border-radius","SIZE","0px")},Wt=bt.extend("--ft-ripple-color",mt.colorPrimary),Ht=Wt,Kt=bt.extend("--ft-ripple-background-color",Wt),Zt=bt.extend("--ft-ripple-color",mt.colorSecondary),Vt=Zt,Jt=bt.extend("--ft-ripple-background-color",Zt),qt=y`
127
+ `,At=mt.extend("--ft-ripple-color","",wt.colorContent),Ht={color:At,backgroundColor:mt.extend("--ft-ripple-background-color","",At),opacityContentOnSurfacePressed:mt.external(wt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:mt.external(wt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:mt.external(wt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:mt.external(wt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:mt.create("--ft-ripple-border-radius","","SIZE","0px")},jt=mt.extend("--ft-ripple-color","",wt.colorPrimary),Pt=jt,Tt=mt.extend("--ft-ripple-background-color","",jt),Gt=mt.extend("--ft-ripple-color","",wt.colorSecondary),_t=Gt,Yt=mt.extend("--ft-ripple-background-color","",Gt),Vt=m`
138
128
  :host {
139
129
  display: contents;
140
130
  }
@@ -147,7 +137,7 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
147
137
 
148
138
  .ft-ripple:not(.ft-ripple--unbounded) {
149
139
  overflow: hidden;
150
- border-radius: ${Dt.borderRadius};
140
+ border-radius: ${Ht.borderRadius};
151
141
  }
152
142
 
153
143
  .ft-ripple .ft-ripple--background,
@@ -181,27 +171,27 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
181
171
  }
182
172
 
183
173
  .ft-ripple .ft-ripple--background {
184
- background-color: ${Dt.backgroundColor};
174
+ background-color: ${Ht.backgroundColor};
185
175
  }
186
176
 
187
177
  .ft-ripple .ft-ripple--effect {
188
- background-color: ${Dt.color};
178
+ background-color: ${Ht.color};
189
179
  }
190
180
 
191
181
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
192
- background-color: ${Jt};
182
+ background-color: ${Yt};
193
183
  }
194
184
 
195
185
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
196
- background-color: ${Vt};
186
+ background-color: ${_t};
197
187
  }
198
188
 
199
189
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
200
- background-color: ${Kt};
190
+ background-color: ${Tt};
201
191
  }
202
192
 
203
193
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
204
- background-color: ${Ht};
194
+ background-color: ${Pt};
205
195
  }
206
196
 
207
197
  .ft-ripple .ft-ripple--background {
@@ -231,194 +221,124 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
231
221
  }
232
222
 
233
223
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
234
- opacity: ${Dt.opacityContentOnSurfaceHover};
224
+ opacity: ${Ht.opacityContentOnSurfaceHover};
235
225
  }
236
226
 
237
227
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
238
- opacity: ${Dt.opacityContentOnSurfaceSelected};
228
+ opacity: ${Ht.opacityContentOnSurfaceSelected};
239
229
  }
240
230
 
241
231
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
242
- opacity: ${Dt.opacityContentOnSurfaceFocused};
232
+ opacity: ${Ht.opacityContentOnSurfaceFocused};
243
233
  }
244
234
 
245
235
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
246
- opacity: ${Dt.opacityContentOnSurfacePressed};
236
+ opacity: ${Ht.opacityContentOnSurfacePressed};
247
237
  transform: translate(-50%, -50%) scale(1);
248
238
  }
249
- `;var Xt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Yt extends Ct{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),s=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.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 X`
250
- <style>
251
- .ft-ripple .ft-ripple--effect {
252
- left: ${this.originX}px;
253
- top: ${this.originY}px;
254
- }
255
- </style>
256
- <div class="${It(t)}">
257
- <div class="ft-ripple--background"></div>
258
- <div class="ft-ripple--effect"></div>
259
- </div>
260
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),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",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Yt.elementDefinitions={},Yt.styles=qt,Xt([o({type:Boolean})],Yt.prototype,"primary",void 0),Xt([o({type:Boolean})],Yt.prototype,"secondary",void 0),Xt([o({type:Boolean})],Yt.prototype,"unbounded",void 0),Xt([o({type:Boolean})],Yt.prototype,"activated",void 0),Xt([o({type:Boolean})],Yt.prototype,"selected",void 0),Xt([o({type:Boolean})],Yt.prototype,"disabled",void 0),Xt([n()],Yt.prototype,"hovered",void 0),Xt([n()],Yt.prototype,"focused",void 0),Xt([n()],Yt.prototype,"pressed",void 0),Xt([n()],Yt.prototype,"rippling",void 0),Xt([n()],Yt.prototype,"originX",void 0),Xt([n()],Yt.prototype,"originY",void 0),Xt([r(".ft-ripple")],Yt.prototype,"ripple",void 0),Xt([r(".ft-ripple--effect")],Yt.prototype,"rippleEffect",void 0),c("ft-ripple")(Yt);
261
- /**
262
- * @license
263
- * Copyright 2020 Google LLC
264
- * SPDX-License-Identifier: BSD-3-Clause
265
- */
266
- const Gt=Symbol.for(""),Qt=t=>{if((null==t?void 0:t.r)===Gt)return null==t?void 0:t._$litStatic$},te=t=>({_$litStatic$:t,r:Gt}),ee=new Map,ie=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],n=Qt(s));)l+=n+e[++h],c=!0;h!==o&&a.push(s),r.push(l),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=ee.get(t))&&(r.raw=r,ee.set(t,e=r)),i=a}return t(e,...i)})(X);var oe;!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"}(oe||(oe={}));const ne=bt.extend("--ft-typography-font-family",mt.titleFont),se=bt.extend("--ft-typography-font-family",mt.contentFont),re={fontFamily:se,fontSize:bt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:bt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:bt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:bt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:bt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ae=bt.extend("--ft-typography-title-font-family",ne),le=bt.extend("--ft-typography-title-font-size",re.fontSize,"20px"),he=bt.extend("--ft-typography-title-font-weight",re.fontWeight,"normal"),ce=bt.extend("--ft-typography-title-letter-spacing",re.letterSpacing,"0.15px"),pe=bt.extend("--ft-typography-title-line-height",re.lineHeight,"1.2"),fe=bt.extend("--ft-typography-title-text-transform",re.textTransform,"inherit"),de=bt.extend("--ft-typography-title-dense-font-family",ne),ue=bt.extend("--ft-typography-title-dense-font-size",re.fontSize,"14px"),xe=bt.extend("--ft-typography-title-dense-font-weight",re.fontWeight,"normal"),ve=bt.extend("--ft-typography-title-dense-letter-spacing",re.letterSpacing,"0.105px"),be=bt.extend("--ft-typography-title-dense-line-height",re.lineHeight,"1.7"),ye=bt.extend("--ft-typography-title-dense-text-transform",re.textTransform,"inherit"),me=bt.extend("--ft-typography-subtitle1-font-family",se),ge=bt.extend("--ft-typography-subtitle1-font-size",re.fontSize,"16px"),we=bt.extend("--ft-typography-subtitle1-font-weight",re.fontWeight,"600"),$e=bt.extend("--ft-typography-subtitle1-letter-spacing",re.letterSpacing,"0.144px"),Oe=bt.extend("--ft-typography-subtitle1-line-height",re.lineHeight,"1.5"),ke=bt.extend("--ft-typography-subtitle1-text-transform",re.textTransform,"inherit"),Se=bt.extend("--ft-typography-subtitle2-font-family",se),Ce=bt.extend("--ft-typography-subtitle2-font-size",re.fontSize,"14px"),Ne=bt.extend("--ft-typography-subtitle2-font-weight",re.fontWeight,"normal"),Ee=bt.extend("--ft-typography-subtitle2-letter-spacing",re.letterSpacing,"0.098px"),Me=bt.extend("--ft-typography-subtitle2-line-height",re.lineHeight,"1.7"),Re=bt.extend("--ft-typography-subtitle2-text-transform",re.textTransform,"inherit"),Ue=bt.extend("--ft-typography-body1-font-family",se),je=bt.extend("--ft-typography-body1-font-size",re.fontSize,"16px"),Fe=bt.extend("--ft-typography-body1-font-weight",re.fontWeight,"normal"),ze=bt.extend("--ft-typography-body1-letter-spacing",re.letterSpacing,"0.496px"),Be=bt.extend("--ft-typography-body1-line-height",re.lineHeight,"1.5"),Ae=bt.extend("--ft-typography-body1-text-transform",re.textTransform,"inherit"),Te=bt.extend("--ft-typography-body2-font-family",se),Pe=bt.extend("--ft-typography-body2-font-size",re.fontSize,"14px"),Le=bt.extend("--ft-typography-body2-font-weight",re.fontWeight,"normal"),Ie=bt.extend("--ft-typography-body2-letter-spacing",re.letterSpacing,"0.252px"),_e=bt.extend("--ft-typography-body2-line-height",re.lineHeight,"1.4"),De=bt.extend("--ft-typography-body2-text-transform",re.textTransform,"inherit"),We=bt.extend("--ft-typography-caption-font-family",se),He=bt.extend("--ft-typography-caption-font-size",re.fontSize,"12px"),Ke=bt.extend("--ft-typography-caption-font-weight",re.fontWeight,"normal"),Ze=bt.extend("--ft-typography-caption-letter-spacing",re.letterSpacing,"0.396px"),Ve=bt.extend("--ft-typography-caption-line-height",re.lineHeight,"1.33"),Je=bt.extend("--ft-typography-caption-text-transform",re.textTransform,"inherit"),qe=bt.extend("--ft-typography-breadcrumb-font-family",se),Xe=bt.extend("--ft-typography-breadcrumb-font-size",re.fontSize,"10px"),Ye=bt.extend("--ft-typography-breadcrumb-font-weight",re.fontWeight,"normal"),Ge=bt.extend("--ft-typography-breadcrumb-letter-spacing",re.letterSpacing,"0.33px"),Qe=bt.extend("--ft-typography-breadcrumb-line-height",re.lineHeight,"1.6"),ti=bt.extend("--ft-typography-breadcrumb-text-transform",re.textTransform,"inherit"),ei=bt.extend("--ft-typography-overline-font-family",se),ii=bt.extend("--ft-typography-overline-font-size",re.fontSize,"10px"),oi=bt.extend("--ft-typography-overline-font-weight",re.fontWeight,"normal"),ni=bt.extend("--ft-typography-overline-letter-spacing",re.letterSpacing,"1.5px"),si=bt.extend("--ft-typography-overline-line-height",re.lineHeight,"1.6"),ri=bt.extend("--ft-typography-overline-text-transform",re.textTransform,"uppercase"),ai={fontFamily:bt.extend("--ft-typography-button-font-family",se),fontSize:bt.extend("--ft-typography-button-font-size",re.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-button-font-weight",re.fontWeight,"600"),letterSpacing:bt.extend("--ft-typography-button-letter-spacing",re.letterSpacing,"1.246px"),lineHeight:bt.extend("--ft-typography-button-line-height",re.lineHeight,"1.15"),textTransform:bt.extend("--ft-typography-button-text-transform",re.textTransform,"uppercase")},li=y`
239
+ `;const Jt=mt.extend("--ft-typography-font-family","",wt.titleFont),qt=mt.extend("--ft-typography-font-family","",wt.contentFont),Xt={fontFamily:qt,fontSize:mt.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:mt.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:mt.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:mt.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:mt.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Qt=mt.extend("--ft-typography-title-font-family","",Jt),to=mt.extend("--ft-typography-title-font-size","",Xt.fontSize,"20px"),oo=mt.extend("--ft-typography-title-font-weight","",Xt.fontWeight,"normal"),eo=mt.extend("--ft-typography-title-letter-spacing","",Xt.letterSpacing,"0.15px"),ro=mt.extend("--ft-typography-title-line-height","",Xt.lineHeight,"1.2"),io=mt.extend("--ft-typography-title-text-transform","",Xt.textTransform,"inherit"),no=mt.extend("--ft-typography-title-dense-font-family","",Jt),ao=mt.extend("--ft-typography-title-dense-font-size","",Xt.fontSize,"14px"),lo=mt.extend("--ft-typography-title-dense-font-weight","",Xt.fontWeight,"normal"),so=mt.extend("--ft-typography-title-dense-letter-spacing","",Xt.letterSpacing,"0.105px"),co=mt.extend("--ft-typography-title-dense-line-height","",Xt.lineHeight,"1.7"),po=mt.extend("--ft-typography-title-dense-text-transform","",Xt.textTransform,"inherit"),fo=mt.extend("--ft-typography-subtitle1-font-family","",qt),ho=mt.extend("--ft-typography-subtitle1-font-size","",Xt.fontSize,"16px"),uo=mt.extend("--ft-typography-subtitle1-font-weight","",Xt.fontWeight,"600"),yo=mt.extend("--ft-typography-subtitle1-letter-spacing","",Xt.letterSpacing,"0.144px"),go=mt.extend("--ft-typography-subtitle1-line-height","",Xt.lineHeight,"1.5"),bo=mt.extend("--ft-typography-subtitle1-text-transform","",Xt.textTransform,"inherit"),mo=mt.extend("--ft-typography-subtitle2-font-family","",qt),xo=mt.extend("--ft-typography-subtitle2-font-size","",Xt.fontSize,"14px"),vo=mt.extend("--ft-typography-subtitle2-font-weight","",Xt.fontWeight,"normal"),Oo=mt.extend("--ft-typography-subtitle2-letter-spacing","",Xt.letterSpacing,"0.098px"),No=mt.extend("--ft-typography-subtitle2-line-height","",Xt.lineHeight,"1.7"),So=mt.extend("--ft-typography-subtitle2-text-transform","",Xt.textTransform,"inherit"),wo=mt.extend("--ft-typography-body1-font-family","",qt),Co=mt.extend("--ft-typography-body1-font-size","",Xt.fontSize,"16px"),$o=mt.extend("--ft-typography-body1-font-weight","",Xt.fontWeight,"normal"),Ro=mt.extend("--ft-typography-body1-letter-spacing","",Xt.letterSpacing,"0.496px"),Eo=mt.extend("--ft-typography-body1-line-height","",Xt.lineHeight,"1.5"),ko=mt.extend("--ft-typography-body1-text-transform","",Xt.textTransform,"inherit"),Uo=mt.extend("--ft-typography-body2-font-family","",qt),Io=mt.extend("--ft-typography-body2-font-size","",Xt.fontSize,"14px"),Wo=mt.extend("--ft-typography-body2-font-weight","",Xt.fontWeight,"normal"),Lo=mt.extend("--ft-typography-body2-letter-spacing","",Xt.letterSpacing,"0.252px"),Ko=mt.extend("--ft-typography-body2-line-height","",Xt.lineHeight,"1.4"),zo=mt.extend("--ft-typography-body2-text-transform","",Xt.textTransform,"inherit"),Zo=mt.extend("--ft-typography-caption-font-family","",qt),Fo=mt.extend("--ft-typography-caption-font-size","",Xt.fontSize,"12px"),Bo=mt.extend("--ft-typography-caption-font-weight","",Xt.fontWeight,"normal"),Do=mt.extend("--ft-typography-caption-letter-spacing","",Xt.letterSpacing,"0.396px"),Mo=mt.extend("--ft-typography-caption-line-height","",Xt.lineHeight,"1.33"),Ao=mt.extend("--ft-typography-caption-text-transform","",Xt.textTransform,"inherit"),Ho=mt.extend("--ft-typography-breadcrumb-font-family","",qt),jo=mt.extend("--ft-typography-breadcrumb-font-size","",Xt.fontSize,"10px"),Po=mt.extend("--ft-typography-breadcrumb-font-weight","",Xt.fontWeight,"normal"),To=mt.extend("--ft-typography-breadcrumb-letter-spacing","",Xt.letterSpacing,"0.33px"),Go=mt.extend("--ft-typography-breadcrumb-line-height","",Xt.lineHeight,"1.6"),_o=mt.extend("--ft-typography-breadcrumb-text-transform","",Xt.textTransform,"inherit"),Yo=mt.extend("--ft-typography-overline-font-family","",qt),Vo=mt.extend("--ft-typography-overline-font-size","",Xt.fontSize,"10px"),Jo=mt.extend("--ft-typography-overline-font-weight","",Xt.fontWeight,"normal"),qo=mt.extend("--ft-typography-overline-letter-spacing","",Xt.letterSpacing,"1.5px"),Xo=mt.extend("--ft-typography-overline-line-height","",Xt.lineHeight,"1.6"),Qo=mt.extend("--ft-typography-overline-text-transform","",Xt.textTransform,"uppercase"),te={fontFamily:mt.extend("--ft-typography-button-font-family","",qt),fontSize:mt.extend("--ft-typography-button-font-size","",Xt.fontSize,"14px"),fontWeight:mt.extend("--ft-typography-button-font-weight","",Xt.fontWeight,"600"),letterSpacing:mt.extend("--ft-typography-button-letter-spacing","",Xt.letterSpacing,"1.246px"),lineHeight:mt.extend("--ft-typography-button-line-height","",Xt.lineHeight,"1.15"),textTransform:mt.extend("--ft-typography-button-text-transform","",Xt.textTransform,"uppercase")},oe=m`
267
240
  .ft-typography--title {
268
- font-family: ${ae};
269
- font-size: ${le};
270
- font-weight: ${he};
271
- letter-spacing: ${ce};
272
- line-height: ${pe};
273
- text-transform: ${fe};
274
- }
275
- `,hi=y`
241
+ font-family: ${Qt};
242
+ font-size: ${to};
243
+ font-weight: ${oo};
244
+ letter-spacing: ${eo};
245
+ line-height: ${ro};
246
+ text-transform: ${io};
247
+ }
248
+ `,ee=m`
276
249
  .ft-typography--title-dense {
277
- font-family: ${de};
278
- font-size: ${ue};
279
- font-weight: ${xe};
280
- letter-spacing: ${ve};
281
- line-height: ${be};
282
- text-transform: ${ye};
283
- }
284
- `,ci=y`
250
+ font-family: ${no};
251
+ font-size: ${ao};
252
+ font-weight: ${lo};
253
+ letter-spacing: ${so};
254
+ line-height: ${co};
255
+ text-transform: ${po};
256
+ }
257
+ `,re=m`
285
258
  .ft-typography--subtitle1 {
286
- font-family: ${me};
287
- font-size: ${ge};
288
- font-weight: ${we};
289
- letter-spacing: ${$e};
290
- line-height: ${Oe};
291
- text-transform: ${ke};
292
- }
293
- `,pi=y`
259
+ font-family: ${fo};
260
+ font-size: ${ho};
261
+ font-weight: ${uo};
262
+ letter-spacing: ${yo};
263
+ line-height: ${go};
264
+ text-transform: ${bo};
265
+ }
266
+ `,ie=m`
294
267
  .ft-typography--subtitle2 {
295
- font-family: ${Se};
296
- font-size: ${Ce};
297
- font-weight: ${Ne};
298
- letter-spacing: ${Ee};
299
- line-height: ${Me};
300
- text-transform: ${Re};
268
+ font-family: ${mo};
269
+ font-size: ${xo};
270
+ font-weight: ${vo};
271
+ letter-spacing: ${Oo};
272
+ line-height: ${No};
273
+ text-transform: ${So};
301
274
  }
302
275
 
303
- `,fi=y`
276
+ `,ne=m`
304
277
  .ft-typography--body1 {
305
- font-family: ${Ue};
306
- font-size: ${je};
307
- font-weight: ${Fe};
308
- letter-spacing: ${ze};
309
- line-height: ${Be};
310
- text-transform: ${Ae};
311
- }
312
- `,di=y`
278
+ font-family: ${wo};
279
+ font-size: ${Co};
280
+ font-weight: ${$o};
281
+ letter-spacing: ${Ro};
282
+ line-height: ${Eo};
283
+ text-transform: ${ko};
284
+ }
285
+ `,ae=m`
313
286
  .ft-typography--body2 {
314
- font-family: ${Te};
315
- font-size: ${Pe};
316
- font-weight: ${Le};
317
- letter-spacing: ${Ie};
318
- line-height: ${_e};
319
- text-transform: ${De};
320
- }
321
- `,ui=y`
287
+ font-family: ${Uo};
288
+ font-size: ${Io};
289
+ font-weight: ${Wo};
290
+ letter-spacing: ${Lo};
291
+ line-height: ${Ko};
292
+ text-transform: ${zo};
293
+ }
294
+ `,le=m`
322
295
  .ft-typography--caption {
323
- font-family: ${We};
324
- font-size: ${He};
325
- font-weight: ${Ke};
326
- letter-spacing: ${Ze};
327
- line-height: ${Ve};
328
- text-transform: ${Je};
329
- }
330
- `,xi=y`
296
+ font-family: ${Zo};
297
+ font-size: ${Fo};
298
+ font-weight: ${Bo};
299
+ letter-spacing: ${Do};
300
+ line-height: ${Mo};
301
+ text-transform: ${Ao};
302
+ }
303
+ `,se=m`
331
304
  .ft-typography--breadcrumb {
332
- font-family: ${qe};
333
- font-size: ${Xe};
334
- font-weight: ${Ye};
335
- letter-spacing: ${Ge};
336
- line-height: ${Qe};
337
- text-transform: ${ti};
338
- }
339
- `,vi=y`
305
+ font-family: ${Ho};
306
+ font-size: ${jo};
307
+ font-weight: ${Po};
308
+ letter-spacing: ${To};
309
+ line-height: ${Go};
310
+ text-transform: ${_o};
311
+ }
312
+ `,ce=m`
340
313
  .ft-typography--overline {
341
- font-family: ${ei};
342
- font-size: ${ii};
343
- font-weight: ${oi};
344
- letter-spacing: ${ni};
345
- line-height: ${si};
346
- text-transform: ${ri};
347
- }
348
- `,bi=y`
314
+ font-family: ${Yo};
315
+ font-size: ${Vo};
316
+ font-weight: ${Jo};
317
+ letter-spacing: ${qo};
318
+ line-height: ${Xo};
319
+ text-transform: ${Qo};
320
+ }
321
+ `,pe=m`
349
322
  .ft-typography--button {
350
- font-family: ${ai.fontFamily};
351
- font-size: ${ai.fontSize};
352
- font-weight: ${ai.fontWeight};
353
- letter-spacing: ${ai.letterSpacing};
354
- line-height: ${ai.lineHeight};
355
- text-transform: ${ai.textTransform};
356
- }
357
- `,yi=y`
323
+ font-family: ${te.fontFamily};
324
+ font-size: ${te.fontSize};
325
+ font-weight: ${te.fontWeight};
326
+ letter-spacing: ${te.letterSpacing};
327
+ line-height: ${te.lineHeight};
328
+ text-transform: ${te.textTransform};
329
+ }
330
+ `,fe=m`
358
331
  .ft-typography {
359
332
  vertical-align: inherit;
360
333
  }
361
- `;var mi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class gi extends Ct{constructor(){super(...arguments),this.variant=oe.body1}render(){return this.element?ie`
362
- <${te(this.element)}
363
- class="ft-typography ft-typography--${this.variant}">
364
- <slot></slot>
365
- </${te(this.element)}>
366
- `:ie`
367
- <slot class="ft-typography ft-typography--${this.variant}"></slot>
368
- `}}gi.styles=[li,hi,ci,pi,fi,di,ui,xi,vi,bi,yi],mi([o()],gi.prototype,"element",void 0),mi([o()],gi.prototype,"variant",void 0),c("ft-typography")(gi);const wi=bt.create("--ft-tooltip-distance","SIZE","4px"),$i=bt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Oi=bt.create("--ft-tooltip-background-color","COLOR","#666666"),ki=bt.create("--ft-tooltip-z-index","NUMBER","100"),Si=bt.external(mt.borderRadiusS,"Design system"),Ci=bt.create("--ft-tooltip-max-width","SIZE","150px"),Ni=y`
369
- .ft-tooltip--container {
370
- display: block;
371
- }
372
-
373
- .ft-tooltip--inline {
374
- display: inline-block;
375
- max-width: 100%;
376
- }
377
-
378
- .ft-tooltip {
379
- position: absolute;
380
- box-sizing: border-box;
381
- overflow: hidden;
382
- width: max-content;
383
- max-width: ${Ci};
384
- text-align: center;
385
- padding: ${wi};
386
- z-index: ${ki};
387
- }
388
-
389
- .ft-tooltip--content {
390
- padding: 4px 8px;
391
- border-radius: ${Si};
392
- background-color: ${Oi};
393
- color: ${$i};
394
- position: relative;
395
- word-break: break-word;
396
- }
397
- `;var Ei=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Mi extends Ct{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 e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return X`
398
- <div part="container"
399
- class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
400
- @mouseenter=${this.onHover}
401
- @mouseleave=${this.onOut}
402
- @focusin=${this.onHover}
403
- @focusout=${this.onOut}
404
- @touchstart=${this.onTouch}>
405
- <slot></slot>
406
- <div part="tooltip" role="tooltip" inert
407
- class="ft-tooltip ft-tooltip--${this.validPosition}"
408
- ?hidden=${!this.visible}>
409
- <div part="tooltip-content" class="ft-tooltip--content">
410
- <slot name="text"></slot>
411
- <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
412
- </div>
413
- </div>
414
- </div>
415
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&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 e=this.tooltip.offsetWidth,i=this.tooltip.offsetHeight,o=(t.offsetHeight-i)/2,n=(t.offsetWidth-e)/2;let s=0,r=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":r=t.offsetTop-i-this.tooltip.offsetTop,s=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"bottom":r=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,s=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"left":r=t.offsetTop+o-this.tooltip.offsetTop,s=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":r=t.offsetTop+o-this.tooltip.offsetTop,s=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const a=this.tooltip.style;a.left=s+"px",a.top=r+"px";const l=this.tooltip.getBoundingClientRect();let h=-l.x,c=l.x+l.width-window.innerWidth;a.left=s+Math.round(this.correctOutOfWindowPixels(h,c))+"px";let p=-l.y,f=l.y+l.height-window.innerHeight;a.top=r+Math.round(this.correctOutOfWindowPixels(p,f))+"px",a.maxWidth=`max(${t.offsetWidth}px, ${Ci})`}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,e){return Math.max(t,Math.min(0,-e))}}Mi.elementDefinitions={"ft-typography":gi},Mi.styles=Ni,Ei([o()],Mi.prototype,"text",void 0),Ei([o({type:Boolean})],Mi.prototype,"manual",void 0),Ei([o({type:Boolean})],Mi.prototype,"inline",void 0),Ei([o({type:Number})],Mi.prototype,"delay",void 0),Ei([o()],Mi.prototype,"position",void 0),Ei([
416
- /**
417
- * @license
418
- * Copyright 2017 Google LLC
419
- * SPDX-License-Identifier: BSD-3-Clause
420
- */
421
- function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?l(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],Mi.prototype,"slotNodes",void 0),Ei([r(".ft-tooltip--container")],Mi.prototype,"container",void 0),Ei([r(".ft-tooltip")],Mi.prototype,"tooltip",void 0),Ei([r(".ft-tooltip--content")],Mi.prototype,"tooltipContent",void 0),Ei([n()],Mi.prototype,"visible",void 0),c("ft-tooltip")(Mi);const Ri={color:bt.extend("--ft-loader-color",mt.colorPrimary),size:bt.create("--ft-loader-size","SIZE","80px")},Ui=y`
334
+ `,de=[Object.keys(Ot).map((t=>function(t){const o=Ot[t];return m`
335
+ font-family: ${o.fontFamily};
336
+ font-size: ${o.fontSize};
337
+ font-weight: ${o.fontWeight};
338
+ letter-spacing: ${o.letterSpacing};
339
+ line-height: ${o.lineHeight};
340
+ text-transform: ${o.textCase};
341
+ `}(t)))],he={color:mt.extend("--ft-loader-color","",wt.colorPrimary),size:mt.create("--ft-loader-size","","SIZE","80px")},ue=m`
422
342
  :host {
423
343
  line-height: 0;
424
344
  }
@@ -427,8 +347,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
427
347
  display: inline-block;
428
348
  position: relative;
429
349
 
430
- width: ${Ri.size};
431
- height: ${Ri.size};
350
+ width: ${he.size};
351
+ height: ${he.size};
432
352
  }
433
353
 
434
354
  .ft-loader div {
@@ -437,7 +357,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
437
357
  width: 25%;
438
358
  height: 25%;
439
359
  border-radius: 50%;
440
- background: ${Ri.color};
360
+ background: ${he.color};
441
361
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
442
362
  }
443
363
 
@@ -484,23 +404,10 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
484
404
  transform: translate(0, 0);
485
405
  }
486
406
  100% {
487
- transform: translate(calc(0.35 * ${Ri.size}), 0);
407
+ transform: translate(calc(0.35 * ${he.size}), 0);
488
408
  }
489
409
  }
490
- `;class ji extends Ct{render(){return X`
491
- <div class="ft-loader">
492
- <div></div>
493
- <div></div>
494
- <div></div>
495
- <div></div>
496
- </div>
497
- `}}ji.styles=Ui,c("ft-loader")(ji);
498
- /**
499
- * @license
500
- * Copyright 2017 Google LLC
501
- * SPDX-License-Identifier: BSD-3-Clause
502
- */
503
- class Fi extends Lt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||null==t)return this.ft=void 0,this.et=t;if(t===Y)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Fi.directiveName="unsafeHTML",Fi.resultType=1;const zi=Pt(Fi);var Bi,Ai;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Bi||(Bi={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Ai||(Ai={})),new Map([...["abw"].map((t=>[t,Ai.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,Ai.AUDIO])),...["avi"].map((t=>[t,Ai.AVI])),...["chm","xhs"].map((t=>[t,Ai.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,Ai.CODE])),...["csv"].map((t=>[t,Ai.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ai.DITA])),...["epub"].map((t=>[t,Ai.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ai.EXCEL])),...["flac"].map((t=>[t,Ai.FLAC])),...["gif"].map((t=>[t,Ai.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ai.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ai.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,Ai.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ai.JPEG])),...["json"].map((t=>[t,Ai.JSON])),...["m4a","m4p"].map((t=>[t,Ai.M4A])),...["mov","qt"].map((t=>[t,Ai.MOV])),...["mp3"].map((t=>[t,Ai.MP3])),...["mp4","m4v"].map((t=>[t,Ai.MP4])),...["ogg","oga"].map((t=>[t,Ai.OGG])),...["pdf","ps"].map((t=>[t,Ai.PDF])),...["png"].map((t=>[t,Ai.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ai.POWERPOINT])),...["rar"].map((t=>[t,Ai.RAR])),...["stp"].map((t=>[t,Ai.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ai.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,Ai.VIDEO])),...["wav"].map((t=>[t,Ai.WAV])),...["wma"].map((t=>[t,Ai.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ai.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ai.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ai.YAML])),...["zip"].map((t=>[t,Ai.ZIP]))]);const Ti={size:bt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:bt.extend("--ft-icon-fluid-topics-font-family",bt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:bt.extend("--ft-icon-file-format-font-family",bt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:bt.extend("--ft-icon-material-font-family",bt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:bt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Pi=y`
410
+ `,ye={size:mt.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:mt.extend("--ft-icon-fluid-topics-font-family","",mt.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:mt.extend("--ft-icon-file-format-font-family","",mt.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:mt.extend("--ft-icon-material-font-family","",mt.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:mt.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ge=m`
504
411
  :host, i.ft-icon {
505
412
  display: inline-flex;
506
413
  align-items: center;
@@ -509,14 +416,14 @@ class Fi extends Lt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error
509
416
  }
510
417
 
511
418
  :host {
512
- width: ${Ti.size};
513
- height: ${Ti.size};
419
+ width: ${ye.size};
420
+ height: ${ye.size};
514
421
  }
515
422
 
516
423
  i.ft-icon {
517
424
  width: 100%;
518
425
  height: 100%;
519
- font-size: ${Ti.size};
426
+ font-size: ${ye.size};
520
427
  line-height: 1;
521
428
  font-weight: normal;
522
429
  text-transform: none;
@@ -527,33 +434,28 @@ class Fi extends Lt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error
527
434
  text-rendering: auto;
528
435
  -webkit-font-smoothing: antialiased;
529
436
  -moz-osx-font-smoothing: grayscale;
530
- vertical-align: ${Ti.verticalAlign};
437
+ vertical-align: ${ye.verticalAlign};
531
438
  }
532
439
 
533
440
  i.ft-icon.ft-icon--fluid-topics {
534
- font-family: ${Ti.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
441
+ font-family: ${ye.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
535
442
 
536
443
  /* Ugly fix because font is broken */
537
- font-size: calc(0.75 * ${Ti.size});
538
- line-height: ${Ti.size};
444
+ font-size: calc(0.75 * ${ye.size});
445
+ line-height: ${ye.size};
539
446
  position: relative;
540
447
  top: -4%;
541
448
  justify-content: center;
542
449
  }
543
450
 
544
451
  .ft-icon--file-format {
545
- font-family: ${Ti.fileFormatFontFamily}, ft-mime, sans-serif;
452
+ font-family: ${ye.fileFormatFontFamily}, ft-mime, sans-serif;
546
453
  }
547
454
 
548
455
  .ft-icon--material {
549
- font-family: ${Ti.materialFontFamily}, "Material Icons", sans-serif;
456
+ font-family: ${ye.materialFontFamily}, "Material Icons", sans-serif;
550
457
  }
551
- `;var Li;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Li||(Li={}));var Ii=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class _i extends Ct{constructor(){super(...arguments),this.resolvedIcon=G}render(){const t=this.variant&&Object.values(Li).includes(this.variant)?this.variant:Li.fluid_topics,e=t!==Li.material||!!this.value;return X`
552
- <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
553
- ${zi(this.resolvedIcon)}
554
- <slot ?hidden=${e}></slot>
555
- </i>
556
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Li.file_format:this.resolvedIcon=null!==(t=Ai[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Li.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=null!==(e=Bi[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}_i.elementDefinitions={},_i.styles=Pi,Ii([o()],_i.prototype,"variant",void 0),Ii([o()],_i.prototype,"value",void 0),Ii([n()],_i.prototype,"resolvedIcon",void 0),Ii([r("slot")],_i.prototype,"slottedContent",void 0),c("ft-icon")(_i);const Di=bt.extend("--ft-button-color",mt.colorPrimary),Wi={backgroundColor:bt.extend("--ft-button-background-color",mt.colorSurface),borderRadius:bt.extend("--ft-button-border-radius",mt.borderRadiusL),color:Di,fontSize:bt.extend("--ft-button-font-size",ai.fontSize),iconSize:bt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:bt.extend("--ft-button-ripple-color",Di),verticalPadding:bt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:bt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:bt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:bt.external(mt.colorOpacityDisabled,"Design system")},Hi=bt.extend("--ft-button-primary-color",bt.extend("--ft-button-color",mt.colorOnPrimary)),Ki={backgroundColor:bt.extend("--ft-button-primary-background-color",bt.extend("--ft-button-background-color",mt.colorPrimary)),color:Hi,rippleColor:bt.extend("--ft-button-primary-ripple-color",Hi)},Zi=bt.extend("--ft-button-dense-border-radius",bt.extend("--ft-button-border-radius",mt.borderRadiusM)),Vi=bt.create("--ft-button-dense-vertical-padding","SIZE","2px"),Ji=bt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),qi=bt.create("--ft-button-dense-icon-padding","SIZE","4px"),Xi=[y`
458
+ `,be=mt.extend("--ft-button-color","",wt.colorPrimary),me={backgroundColor:mt.extend("--ft-button-background-color","",wt.colorSurface),borderRadius:mt.extend("--ft-button-border-radius","",wt.borderRadiusL),color:be,fontSize:mt.extend("--ft-button-font-size","",te.fontSize),iconSize:mt.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:mt.extend("--ft-button-ripple-color","",be),verticalPadding:mt.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:mt.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:mt.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:mt.external(wt.colorOpacityDisabled,"Design system")},xe=mt.extend("--ft-button-primary-color","",mt.extend("--ft-button-color","",wt.colorOnPrimary)),ve={backgroundColor:mt.extend("--ft-button-primary-background-color","",mt.extend("--ft-button-background-color","",wt.colorPrimary)),color:xe,rippleColor:mt.extend("--ft-button-primary-ripple-color","",xe)},Oe=mt.extend("--ft-button-dense-border-radius","",mt.extend("--ft-button-border-radius","",wt.borderRadiusM)),Ne=mt.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Se=mt.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),we=mt.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ce=[m`
557
459
  :host {
558
460
  display: inline-block;
559
461
  max-width: 100%;
@@ -564,7 +466,7 @@ class Fi extends Lt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error
564
466
  box-shadow: 0px 0px 0px transparent;
565
467
  border: 0px solid transparent;
566
468
  text-shadow: 0px 0px 0px transparent;
567
- font-size: ${Wi.fontSize};
469
+ font-size: ${me.fontSize};
568
470
  }
569
471
 
570
472
  button:hover {
@@ -593,31 +495,31 @@ class Fi extends Lt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error
593
495
  border: none;
594
496
  pointer-events: auto;
595
497
 
596
- --ft-button-internal-line-height: max(calc(${Wi.fontSize} + 2px), ${Wi.iconSize});
597
- --ft-button-internal-color: ${Wi.color};
598
- ${yt(Ti.size,Wi.iconSize)};
599
- ${yt(Dt.color,Wi.rippleColor)};
498
+ --ft-button-internal-line-height: max(calc(${me.fontSize} + 2px), ${me.iconSize});
499
+ --ft-button-internal-color: ${me.color};
500
+ ${xt(ye.size,me.iconSize)};
501
+ ${xt(Ht.color,me.rippleColor)};
600
502
 
601
- border-radius: ${Wi.borderRadius};
602
- padding: ${Wi.verticalPadding} ${Wi.horizontalPadding};
603
- background-color: ${Wi.backgroundColor};
503
+ border-radius: ${me.borderRadius};
504
+ padding: ${me.verticalPadding} ${me.horizontalPadding};
505
+ background-color: ${me.backgroundColor};
604
506
  color: var(--ft-button-internal-color);
605
507
  -webkit-mask-image: radial-gradient(white, black);
606
508
  }
607
509
 
608
510
  .ft-button.ft-button--outlined {
609
511
  border: 1px solid var(--ft-button-internal-color);
610
- padding: calc(${Wi.verticalPadding} - 1px) calc(${Wi.horizontalPadding} - 1px);
512
+ padding: calc(${me.verticalPadding} - 1px) calc(${me.horizontalPadding} - 1px);
611
513
  }
612
514
 
613
515
  .ft-button.ft-button--dense {
614
- padding: ${Vi} ${Ji};
615
- border-radius: ${Zi};
616
- gap: ${qi};
516
+ padding: ${Ne} ${Se};
517
+ border-radius: ${Oe};
518
+ gap: ${we};
617
519
  }
618
520
 
619
521
  .ft-button.ft-button--dense.ft-button--outlined {
620
- padding: calc(${Vi} - 1px) calc(${Ji} - 1px);
522
+ padding: calc(${Ne} - 1px) calc(${Se} - 1px);
621
523
  }
622
524
 
623
525
  .ft-button:not([disabled]):hover {
@@ -625,22 +527,22 @@ class Fi extends Lt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error
625
527
  }
626
528
 
627
529
  .ft-button--round {
628
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Wi.verticalPadding});
530
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${me.verticalPadding});
629
531
  }
630
532
 
631
533
  .ft-button--round.ft-button--dense {
632
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Vi});
534
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ne});
633
535
  }
634
536
 
635
537
  .ft-button[disabled] {
636
538
  filter: grayscale(1);
637
- opacity: ${Wi.opacityDisabled};
539
+ opacity: ${me.opacityDisabled};
638
540
  }
639
541
 
640
542
  .ft-button.ft-button--primary {
641
- background-color: ${Ki.backgroundColor};
642
- --ft-button-internal-color: ${Ki.color};
643
- ${yt(Dt.color,Ki.rippleColor)};
543
+ background-color: ${ve.backgroundColor};
544
+ --ft-button-internal-color: ${ve.color};
545
+ ${xt(Ht.color,ve.rippleColor)};
644
546
  }
645
547
 
646
548
  .ft-button:focus {
@@ -653,13 +555,13 @@ class Fi extends Lt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error
653
555
  white-space: nowrap;
654
556
  text-overflow: ellipsis;
655
557
  display: block;
656
- margin: 0 ${Wi.iconPadding};
657
- ${yt(ai.fontSize,"1em")};
658
- ${yt(ai.lineHeight,"var(--ft-button-internal-line-height)")};
558
+ margin: 0 ${me.iconPadding};
559
+ ${xt(te.fontSize,"1em")};
560
+ ${xt(te.lineHeight,"var(--ft-button-internal-line-height)")};
659
561
  }
660
562
 
661
563
  .ft-button--dense .ft-button--label {
662
- margin: 0 ${qi};
564
+ margin: 0 ${we};
663
565
  }
664
566
 
665
567
  .ft-button--label[hidden] {
@@ -672,13 +574,13 @@ class Fi extends Lt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error
672
574
  }
673
575
 
674
576
  .ft-button--label[hidden] + ft-icon {
675
- margin: 0 calc(${Wi.horizontalPadding} * -1);
676
- padding: 0 ${Wi.verticalPadding};
577
+ margin: 0 calc(${me.horizontalPadding} * -1);
578
+ padding: 0 ${me.verticalPadding};
677
579
  }
678
580
 
679
581
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
680
- margin: 0 calc(${Ji} * -1);
681
- padding: 0 ${Vi};
582
+ margin: 0 calc(${Se} * -1);
583
+ padding: 0 ${Ne};
682
584
  }
683
585
 
684
586
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -687,33 +589,351 @@ class Fi extends Lt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error
687
589
  }
688
590
 
689
591
  ft-loader {
690
- ${yt(Ri.size,Wi.iconSize)};
691
- ${yt(Ri.color,"var(--ft-button-internal-color)")};
592
+ ${xt(he.size,me.iconSize)};
593
+ ${xt(he.color,"var(--ft-button-internal-color)")};
692
594
  }
693
- `,Nt];var Yi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Gi extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Mt].form}constructor(...t){super(t),this[Mt]=this.attachInternals(),this[Mt].role=e}setFormValue(t){this[Mt].setFormValue(t)}}}(Ct,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!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 e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){const t={"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};return this.addTooltipIfNeeded(X`
595
+ `,Wt],$e=1,Re=2,Ee=t=>(...o)=>({_$litDirective$:t,values:o});class ke{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)}}
596
+ /**
597
+ * @license
598
+ * Copyright 2018 Google LLC
599
+ * SPDX-License-Identifier: BSD-3-Clause
600
+ */const Ue=Ee(class extends ke{constructor(t){var o;if(super(t),t.type!==$e||"class"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){var e,r;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!(null===(e=this.nt)||void 0===e?void 0:e.has(t))&&this.it.add(t);return this.render(o)}const i=t.element.classList;this.it.forEach((t=>{t in o||(i.remove(t),this.it.delete(t))}));for(const t in o){const e=!!o[t];e===this.it.has(t)||(null===(r=this.nt)||void 0===r?void 0:r.has(t))||(e?(i.add(t),this.it.add(t)):(i.remove(t),this.it.delete(t)))}return q}});var Ie=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};class We extends It{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),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!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-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 J`
601
+ <style>
602
+ .ft-ripple .ft-ripple--effect {
603
+ left: ${this.originX}px;
604
+ top: ${this.originY}px;
605
+ }
606
+ </style>
607
+ <div class="${Ue(t)}">
608
+ <div class="ft-ripple--background"></div>
609
+ <div class="ft-ripple--effect"></div>
610
+ </div>
611
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}We.elementDefinitions={},We.styles=Vt,Ie([r({type:Boolean})],We.prototype,"primary",void 0),Ie([r({type:Boolean})],We.prototype,"secondary",void 0),Ie([r({type:Boolean})],We.prototype,"unbounded",void 0),Ie([r({type:Boolean})],We.prototype,"activated",void 0),Ie([r({type:Boolean})],We.prototype,"selected",void 0),Ie([r({type:Boolean})],We.prototype,"disabled",void 0),Ie([i()],We.prototype,"hovered",void 0),Ie([i()],We.prototype,"focused",void 0),Ie([i()],We.prototype,"pressed",void 0),Ie([i()],We.prototype,"rippling",void 0),Ie([i()],We.prototype,"originX",void 0),Ie([i()],We.prototype,"originY",void 0),Ie([a(".ft-ripple")],We.prototype,"ripple",void 0),Ie([a(".ft-ripple--effect")],We.prototype,"rippleEffect",void 0),p("ft-ripple")(We);
612
+ /**
613
+ * @license
614
+ * Copyright 2020 Google LLC
615
+ * SPDX-License-Identifier: BSD-3-Clause
616
+ */
617
+ const Le=Symbol.for(""),Ke=t=>{if((null==t?void 0:t.r)===Le)return null==t?void 0:t._$litStatic$},ze=t=>({_$litStatic$:t,r:Le}),Ze=new Map,Fe=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let s,c=0,p=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(n=e[c],i=Ke(n));)s+=i+o[++c],p=!0;c!==r&&l.push(n),a.push(s),c++}if(c===r&&a.push(o[r]),p){const t=a.join("$$lit$$");void 0===(o=Ze.get(t))&&(a.raw=a,Ze.set(t,o=a)),e=l}return t(o,...e)})(J);var Be;!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"}(Be||(Be={}));var De=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};class Me extends It{constructor(){super(...arguments),this.variant=Be.body1}render(){return this.element?Fe`
618
+ <${ze(this.element)}
619
+ class="ft-typography ft-typography--${this.variant}">
620
+ <slot></slot>
621
+ </${ze(this.element)}>
622
+ `:Fe`
623
+ <slot class="ft-typography ft-typography--${this.variant}"></slot>
624
+ `}}Me.styles=[oe,ee,re,ie,ne,ae,le,se,ce,pe,fe,...de],De([r()],Me.prototype,"element",void 0),De([r()],Me.prototype,"variant",void 0),p("ft-typography")(Me);const Ae=mt.create("--ft-tooltip-distance","","SIZE","4px"),He=mt.create("--ft-tooltip-color","","COLOR","#FFFFFF"),je=mt.create("--ft-tooltip-background-color","","COLOR","#666666"),Pe=mt.create("--ft-tooltip-z-index","","NUMBER","100"),Te=mt.external(wt.borderRadiusS,"Design system"),Ge=mt.create("--ft-tooltip-max-width","","SIZE","150px"),_e=m`
625
+ .ft-tooltip--container {
626
+ display: block;
627
+ }
628
+
629
+ .ft-tooltip--inline {
630
+ display: inline-block;
631
+ max-width: 100%;
632
+ }
633
+
634
+ .ft-tooltip {
635
+ position: absolute;
636
+ box-sizing: border-box;
637
+ overflow: hidden;
638
+ width: max-content;
639
+ max-width: ${Ge};
640
+ text-align: center;
641
+ padding: ${Ae};
642
+ z-index: ${Pe};
643
+ }
644
+
645
+ .ft-tooltip--content {
646
+ padding: 4px 8px;
647
+ border-radius: ${Te};
648
+ background-color: ${je};
649
+ color: ${He};
650
+ position: relative;
651
+ word-break: break-word;
652
+ }
653
+ `;var Ye=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};class Ve extends It{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 J`
654
+ <div part="container"
655
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
656
+ @mouseenter=${this.onHover}
657
+ @mouseleave=${this.onOut}
658
+ @focusin=${this.onHover}
659
+ @focusout=${this.onOut}
660
+ @touchstart=${this.onTouch}>
661
+ <slot></slot>
662
+ <div part="tooltip" role="tooltip" inert
663
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
664
+ ?hidden=${!this.visible}>
665
+ <div part="tooltip-content" class="ft-tooltip--content">
666
+ <slot name="text"></slot>
667
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
668
+ </div>
669
+ </div>
670
+ </div>
671
+ `}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,r=(t.offsetHeight-e)/2,i=(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+i-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=n+"px",l.top=a+"px";const s=this.tooltip.getBoundingClientRect();let c=-s.x,p=s.x+s.width-window.innerWidth;l.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let f=-s.y,d=s.y+s.height-window.innerHeight;l.top=a+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Ge})`}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))}}Ve.elementDefinitions={"ft-typography":Me},Ve.styles=_e,Ye([r()],Ve.prototype,"text",void 0),Ye([r({type:Boolean})],Ve.prototype,"manual",void 0),Ye([r({type:Boolean})],Ve.prototype,"inline",void 0),Ye([r({type:Number})],Ve.prototype,"delay",void 0),Ye([r()],Ve.prototype,"position",void 0),Ye([
672
+ /**
673
+ * @license
674
+ * Copyright 2017 Google LLC
675
+ * SPDX-License-Identifier: BSD-3-Clause
676
+ */
677
+ 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)],Ve.prototype,"slotNodes",void 0),Ye([a(".ft-tooltip--container")],Ve.prototype,"container",void 0),Ye([a(".ft-tooltip")],Ve.prototype,"tooltip",void 0),Ye([a(".ft-tooltip--content")],Ve.prototype,"tooltipContent",void 0),Ye([i()],Ve.prototype,"visible",void 0),p("ft-tooltip")(Ve);
678
+ /**
679
+ * @license
680
+ * Copyright 2017 Google LLC
681
+ * SPDX-License-Identifier: BSD-3-Clause
682
+ */
683
+ class Je extends ke{constructor(t){if(super(t),this.et=X,t.type!==Re)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||null==t)return this.ft=void 0,this.et=t;if(t===q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const o=[t];return o.raw=o,this.ft={_$litType$:this.constructor.resultType,strings:o,values:[]}}}Je.directiveName="unsafeHTML",Je.resultType=1;const qe=Ee(Je);var Xe,Qe,tr;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Xe||(Xe={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Qe||(Qe={})),new Map([...["abw"].map((t=>[t,Qe.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,Qe.AUDIO])),...["avi"].map((t=>[t,Qe.AVI])),...["chm","xhs"].map((t=>[t,Qe.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,Qe.CODE])),...["csv"].map((t=>[t,Qe.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Qe.DITA])),...["epub"].map((t=>[t,Qe.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Qe.EXCEL])),...["flac"].map((t=>[t,Qe.FLAC])),...["gif"].map((t=>[t,Qe.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Qe.GZIP])),...["html","htm","xhtml"].map((t=>[t,Qe.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,Qe.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Qe.JPEG])),...["json"].map((t=>[t,Qe.JSON])),...["m4a","m4p"].map((t=>[t,Qe.M4A])),...["mov","qt"].map((t=>[t,Qe.MOV])),...["mp3"].map((t=>[t,Qe.MP3])),...["mp4","m4v"].map((t=>[t,Qe.MP4])),...["ogg","oga"].map((t=>[t,Qe.OGG])),...["pdf","ps"].map((t=>[t,Qe.PDF])),...["png"].map((t=>[t,Qe.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Qe.POWERPOINT])),...["rar"].map((t=>[t,Qe.RAR])),...["stp"].map((t=>[t,Qe.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Qe.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,Qe.VIDEO])),...["wav"].map((t=>[t,Qe.WAV])),...["wma"].map((t=>[t,Qe.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Qe.WORD])),...["xml","xsl","rdf"].map((t=>[t,Qe.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Qe.YAML])),...["zip"].map((t=>[t,Qe.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(tr||(tr={}));var or=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};class er extends It{constructor(){super(...arguments),this.resolvedIcon=X}render(){const t=this.variant&&Object.values(tr).includes(this.variant)?this.variant:tr.fluid_topics,o=t!==tr.material||!!this.value;return J`
684
+ <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
685
+ ${qe(this.resolvedIcon)}
686
+ <slot ?hidden=${o}></slot>
687
+ </i>
688
+ `}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 tr.file_format:this.resolvedIcon=null!==(t=Qe[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case tr.material:this.resolvedIcon=this.value||X;break;default:this.resolvedIcon=null!==(o=Xe[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}er.elementDefinitions={},er.styles=ge,or([r()],er.prototype,"variant",void 0),or([r()],er.prototype,"value",void 0),or([i()],er.prototype,"resolvedIcon",void 0),or([a("slot")],er.prototype,"slottedContent",void 0),p("ft-icon")(er);class rr extends It{render(){return J`
689
+ <div class="ft-loader">
690
+ <div></div>
691
+ <div></div>
692
+ <div></div>
693
+ <div></div>
694
+ </div>
695
+ `}}rr.styles=ue,p("ft-loader")(rr);var ir=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};class nr extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Kt].form}constructor(...t){super(t),this[Kt]=this.attachInternals(),this[Kt].role=o}setFormValue(t){this[Kt].setFormValue(t)}}}(It,"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(J`
694
696
  <button part="button"
695
- class="${It(t)}"
697
+ class="${Ue(this.buttonClasses)}"
696
698
  aria-label="${this.getLabel()}"
697
699
  ?disabled=${this.isDisabled()}>
698
700
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
699
701
  <ft-typography part="label"
700
- variant="button"
702
+ variant=${this.typographyVariant}
701
703
  element="span"
702
- class="ft-button--label ${Ft?"ft-safari-ellipsis-fix":""}"
704
+ class="ft-button--label ${Bt?"ft-safari-ellipsis-fix":""}"
703
705
  ?hidden=${!this.hasTextContent()}>
704
706
  <slot @slotchange=${this.onSlotchange}></slot>
705
707
  </ft-typography>
706
708
  ${this.resolveIcon()}
707
709
  </button>
708
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?X`
710
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?J`
709
711
  <ft-tooltip part="tooltip"
710
712
  text="${this.getLabel()}"
711
713
  position="${this.tooltipPosition}">
712
714
  ${t}
713
715
  </ft-tooltip>
714
- `:t}resolveIcon(){return this.loading?X`
715
- <ft-loader part="loader icon"></ft-loader> `:this.icon?X`
716
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:G}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}}Gi.elementDefinitions={"ft-ripple":Yt,"ft-tooltip":Mi,"ft-typography":gi,"ft-icon":_i,"ft-loader":ji},Gi.styles=[Et,Xi],Yi([o({type:String,reflect:!0})],Gi.prototype,"role",void 0),Yi([o()],Gi.prototype,"type",void 0),Yi([o({type:Boolean})],Gi.prototype,"primary",void 0),Yi([o({type:Boolean})],Gi.prototype,"outlined",void 0),Yi([o({type:Boolean})],Gi.prototype,"disabled",void 0),Yi([o({type:Boolean})],Gi.prototype,"dense",void 0),Yi([o({type:Boolean})],Gi.prototype,"round",void 0),Yi([o()],Gi.prototype,"label",void 0),Yi([o()],Gi.prototype,"icon",void 0),Yi([o()],Gi.prototype,"iconVariant",void 0),Yi([o({type:Boolean})],Gi.prototype,"trailingIcon",void 0),Yi([o({type:Boolean})],Gi.prototype,"loading",void 0),Yi([o()],Gi.prototype,"tooltipPosition",void 0),Yi([o({type:Boolean})],Gi.prototype,"hideTooltip",void 0),Yi([o({type:Boolean})],Gi.prototype,"forceTooltip",void 0),Yi([r(".ft-button")],Gi.prototype,"button",void 0),Yi([r(".ft-button--label slot")],Gi.prototype,"slottedContent",void 0),c("ft-button")(Gi);const Qi={iconColor:bt.extend("--ft-floating-menu-icon-color",mt.colorOnSurfaceMedium)},to=y`
716
+ `:t}resolveIcon(){return this.loading?J`
717
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?J`
718
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:X}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}}nr.elementDefinitions={"ft-ripple":We,"ft-tooltip":Ve,"ft-typography":Me,"ft-icon":er,"ft-loader":rr},ir([r({type:String,reflect:!0})],nr.prototype,"role",void 0),ir([r()],nr.prototype,"type",void 0),ir([r({type:Boolean})],nr.prototype,"disabled",void 0),ir([r()],nr.prototype,"label",void 0),ir([r()],nr.prototype,"icon",void 0),ir([r()],nr.prototype,"iconVariant",void 0),ir([r({type:Boolean})],nr.prototype,"trailingIcon",void 0),ir([r({type:Boolean})],nr.prototype,"loading",void 0),ir([r()],nr.prototype,"tooltipPosition",void 0),ir([r({type:Boolean})],nr.prototype,"hideTooltip",void 0),ir([r({type:Boolean})],nr.prototype,"forceTooltip",void 0),ir([a(".ft-button")],nr.prototype,"button",void 0),ir([a(".ft-button--label slot")],nr.prototype,"slottedContent",void 0);var ar=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};class lr extends nr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!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"}}lr.styles=[Lt,Ce],ar([r({type:Boolean})],lr.prototype,"primary",void 0),ar([r({type:Boolean})],lr.prototype,"outlined",void 0),ar([r({type:Boolean})],lr.prototype,"disabled",void 0),ar([r({type:Boolean})],lr.prototype,"dense",void 0),ar([r({type:Boolean})],lr.prototype,"round",void 0);const sr=[m`
719
+ :host {
720
+ display: inline-block;
721
+ max-width: 100%;
722
+ pointer-events: none;
723
+ }
724
+
725
+ /** Remove default button styles **/
726
+
727
+ button {
728
+ box-shadow: 0 0 0 transparent;
729
+ border: 0 solid transparent;
730
+ text-shadow: 0 0 0 transparent;
731
+ }
732
+
733
+ button:hover {
734
+ box-shadow: 0 0 0 transparent;
735
+ text-shadow: 0 0 0 transparent;
736
+ }
737
+
738
+ button:active {
739
+ outline: none;
740
+ }
741
+
742
+ button:focus {
743
+ outline: 0;
744
+ }
745
+
746
+ /** Base styles **/
747
+
748
+ .ft-button {
749
+ position: relative;
750
+ display: flex;
751
+ justify-content: center;
752
+ align-items: center;
753
+ width: 100%;
754
+ overflow: hidden;
755
+ box-sizing: border-box;
756
+ pointer-events: auto;
757
+ }
758
+
759
+ .ft-button:not([disabled]):hover {
760
+ cursor: pointer;
761
+ }
762
+
763
+ .ft-button:focus {
764
+ outline: none;
765
+ }
766
+
767
+ .ft-button:focus-visible {
768
+ outline-color: ${St.focusFocusRingColor};
769
+ outline-style: solid;
770
+ }
771
+
772
+ ft-icon {
773
+ flex-shrink: 0;
774
+ position: relative;
775
+ }
776
+
777
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
778
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
779
+ order: -1;
780
+ }
781
+
782
+ .ft-button--label {
783
+ position: relative;
784
+ overflow: hidden;
785
+ white-space: nowrap;
786
+ text-overflow: ellipsis;
787
+ display: block;
788
+ }
789
+
790
+ .ft-button--label[hidden] {
791
+ display: none;
792
+ }
793
+
794
+ /** Primary styles **/
795
+
796
+ .ft-button--primary {
797
+ ${xt(he.color,St.primaryIconColor)};
798
+
799
+ ${xt(Ht.color,St.primaryStateLayerColor)};
800
+ ${xt(Ht.opacityContentOnSurfaceHover,St.primaryStateLayerOpacityHover)};
801
+ ${xt(Ht.opacityContentOnSurfaceFocused,St.primaryStateLayerOpacityFocus)};
802
+ ${xt(Ht.opacityContentOnSurfaceSelected,St.primaryStateLayerOpacityActive)};
803
+ ${xt(Ht.opacityContentOnSurfacePressed,St.primaryStateLayerOpacityActive)};
804
+
805
+ background-color: ${St.primaryBackgroundColor};
806
+ color: ${St.primaryColor};
807
+ border-style: none;
808
+ }
809
+
810
+ .ft-button--primary[disabled] {
811
+ opacity: ${St.primaryComponentOpacityDisabled};
812
+ }
813
+
814
+ .ft-button--primary ft-icon {
815
+ color: ${St.primaryIconColor};
816
+ }
817
+
818
+ /** Secondary styles **/
819
+
820
+ .ft-button--secondary {
821
+ ${xt(he.color,St.secondaryIconColor)};
822
+
823
+ ${xt(Ht.color,St.secondaryStateLayerColor)};
824
+ ${xt(Ht.opacityContentOnSurfaceHover,St.secondaryStateLayerOpacityHover)};
825
+ ${xt(Ht.opacityContentOnSurfaceFocused,St.secondaryStateLayerOpacityFocus)};
826
+ ${xt(Ht.opacityContentOnSurfaceSelected,St.secondaryStateLayerOpacityActive)};
827
+ ${xt(Ht.opacityContentOnSurfacePressed,St.secondaryStateLayerOpacityActive)};
828
+
829
+ background-color: ${St.secondaryBackgroundColor};
830
+ color: ${St.secondaryColor};
831
+ border-color: ${St.secondaryBorderColor};
832
+ border-style: solid;
833
+ }
834
+
835
+ .ft-button--secondary[disabled] {
836
+ opacity: ${St.secondaryComponentOpacityDisabled};
837
+ }
838
+
839
+ .ft-button--secondary ft-icon {
840
+ color: ${St.secondaryIconColor};
841
+ }
842
+
843
+ /** Tertiary styles **/
844
+
845
+ .ft-button--tertiary {
846
+ ${xt(he.color,St.tertiaryIconColor)};
847
+
848
+ ${xt(Ht.color,St.tertiaryStateLayerColor)};
849
+ ${xt(Ht.opacityContentOnSurfaceHover,St.tertiaryStateLayerOpacityHover)};
850
+ ${xt(Ht.opacityContentOnSurfaceFocused,St.tertiaryStateLayerOpacityFocus)};
851
+ ${xt(Ht.opacityContentOnSurfaceSelected,St.tertiaryStateLayerOpacityActive)};
852
+ ${xt(Ht.opacityContentOnSurfacePressed,St.tertiaryStateLayerOpacityActive)};
853
+
854
+ background-color: ${St.tertiaryBackgroundColor};
855
+ color: ${St.tertiaryColor};
856
+ border-style: none;
857
+ }
858
+
859
+ .ft-button--tertiary[disabled] {
860
+ opacity: ${St.tertiaryComponentOpacityDisabled};
861
+ }
862
+
863
+ .ft-button--tertiary ft-icon {
864
+ color: ${St.tertiaryIconColor};
865
+ }
866
+
867
+ /** Neutral styles **/
868
+
869
+ .ft-button--neutral {
870
+ ${xt(he.color,St.neutralIconColor)};
871
+
872
+ ${xt(Ht.backgroundColor,St.neutralStateLayerColor)};
873
+ ${xt(Ht.opacityContentOnSurfaceHover,St.neutralStateLayerOpacityHover)};
874
+ ${xt(Ht.opacityContentOnSurfaceFocused,St.neutralStateLayerOpacityFocus)};
875
+ ${xt(Ht.opacityContentOnSurfaceSelected,St.neutralStateLayerOpacityActive)};
876
+ ${xt(Ht.opacityContentOnSurfacePressed,St.neutralStateLayerOpacityActive)};
877
+
878
+ background-color: ${St.neutralBackgroundColor};
879
+ color: ${St.neutralColor};
880
+ border-style: none;
881
+ }
882
+
883
+ .ft-button--neutral[disabled] {
884
+ opacity: ${St.neutralComponentOpacityDisabled};
885
+ }
886
+
887
+ .ft-button--neutral ft-icon {
888
+ color: ${St.neutralIconColor};
889
+ }
890
+
891
+ /** Large styles **/
892
+
893
+ .ft-button--large {
894
+ ${xt(ye.size,St.largeIconSize)};
895
+ ${xt(he.size,St.largeIconSize)};
896
+
897
+ height: ${St.largeHeight};
898
+ padding: 0 ${St.largeHorizontalPadding};
899
+ gap: ${St.largeGap};
900
+ border-radius: ${St.largeBorderRadius};
901
+ border-width: ${St.largeBorderWidth};
902
+ }
903
+
904
+ .ft-button--large:focus-visible {
905
+ outline-width: ${St.largeFocusOutlineWidth};
906
+ outline-offset: ${St.largeFocusOutlineOffset};
907
+ }
908
+
909
+ .ft-button--large.ft-button--icon-only {
910
+ width: ${St.largeIconOnlyWidth};
911
+ padding: unset;
912
+ }
913
+
914
+ /** Small styles **/
915
+
916
+ .ft-button--small {
917
+ ${xt(ye.size,St.smallIconSize)};
918
+ ${xt(he.size,St.smallIconSize)};
919
+
920
+ height: ${St.smallHeight};
921
+ padding: 0 ${St.smallHorizontalPadding};
922
+ gap: ${St.smallGap};
923
+ border-radius: ${St.smallBorderRadius};
924
+ border-width: ${St.smallBorderWidth};
925
+ }
926
+
927
+ .ft-button--small:focus-visible {
928
+ outline-width: ${St.smallFocusOutlineWidth};
929
+ outline-offset: ${St.smallFocusOutlineOffset};
930
+ }
931
+
932
+ .ft-button--small.ft-button--icon-only {
933
+ width: ${St.smallIconOnlyWidth};
934
+ padding: unset;
935
+ }
936
+ `,Wt];var cr=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};class pr extends nr{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?Be.caption1medium:Be.body2medium}}pr.styles=[Lt,sr],cr([r({type:Boolean})],pr.prototype,"primary",void 0),cr([r({type:Boolean})],pr.prototype,"secondary",void 0),cr([r({type:Boolean})],pr.prototype,"tertiary",void 0),cr([r({type:Boolean})],pr.prototype,"neutral",void 0),cr([r({type:Boolean})],pr.prototype,"small",void 0),p("ft-button")(lr),p("ftds-button")(pr);const fr={iconColor:mt.extend("--ft-floating-menu-icon-color","",wt.colorOnSurfaceMedium)},dr=m`
717
937
  .ft-floating-menu-item {
718
938
  cursor: pointer;
719
939
  display: flex;
@@ -728,7 +948,7 @@ class Fi extends Lt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error
728
948
  }
729
949
 
730
950
  .ft-floating-menu-item ft-icon {
731
- color: ${Qi.iconColor};
951
+ color: ${fr.iconColor};
732
952
  margin-left: 0;
733
953
  flex-shrink: 0;
734
954
  flex-grow: 0;
@@ -743,19 +963,19 @@ class Fi extends Lt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error
743
963
  word-break: break-word;
744
964
  hyphens: auto;
745
965
  }
746
- `;var eo=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class io extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class oo extends Ct{constructor(){super(...arguments),this.value=""}render(){return X`
966
+ `;var hr=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};class ur extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class yr extends It{constructor(){super(...arguments),this.value=""}render(){return J`
747
967
  <div class="ft-floating-menu-item"
748
968
  @click=${this.onClick}>
749
969
  <ft-ripple></ft-ripple>
750
- ${this.icon?X`
970
+ ${this.icon?J`
751
971
  <ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
752
- `:G}
972
+ `:X}
753
973
  <ft-typography variant="body2">
754
974
  <slot></slot>
755
975
  </ft-typography>
756
976
  </div>
757
- `}onClick(t){this.dispatchEvent(new io(this.value))}}oo.elementDefinitions={"ft-icon":_i,"ft-ripple":Yt,"ft-typography":gi},oo.styles=to,eo([o()],oo.prototype,"iconVariant",void 0),eo([o()],oo.prototype,"icon",void 0),eo([o()],oo.prototype,"value",void 0);var no=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class so extends CustomEvent{constructor(){super("close-ft-floating-menu")}}class ro extends Ct{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.iconVariant=Li.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptions=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container),this.menuOpen||document.removeEventListener("click",this.hideOptions)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return X`
758
- <div class="${It(t)}">
977
+ `}onClick(t){this.dispatchEvent(new ur(this.value))}}yr.elementDefinitions={"ft-icon":er,"ft-ripple":We,"ft-typography":Me},yr.styles=dr,hr([r()],yr.prototype,"iconVariant",void 0),hr([r()],yr.prototype,"icon",void 0),hr([r()],yr.prototype,"value",void 0);var gr=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};class br extends CustomEvent{constructor(){super("close-ft-floating-menu")}}class mr extends It{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.iconVariant=tr.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptions=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container),this.menuOpen||document.removeEventListener("click",this.hideOptions)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return J`
978
+ <div class="${Ue(t)}">
759
979
  <ft-button id="actions-button"
760
980
  part="button"
761
981
  dense round
@@ -780,4 +1000,4 @@ class Fi extends Lt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error
780
1000
  </div>
781
1001
  </div>
782
1002
  </div>
783
- `}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,e,i){if(e.length>0){const o=t.composedPath();for(let t of o){if(t===i)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1})(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((e=>t.has(e)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}positionMenuWrapper(){const t=this.menuContent.offsetWidth,e=this.menuContent.offsetHeight,i=this.actionButton.offsetWidth,o=this.actionButton.offsetHeight;let n=0,s=0;switch(this.menuWrapper.style.left="0",this.menuWrapper.style.top="0",this.horizontalAlignment){case"left":n=this.actionButton.offsetLeft-this.menuWrapper.offsetLeft;break;case"right":n=this.actionButton.offsetLeft+i-t-this.menuWrapper.offsetLeft;break;case"center":n=this.actionButton.offsetLeft+i/2-t/2-this.menuWrapper.offsetLeft}switch(this.verticalAlignment){case"bottom":s=this.actionButton.offsetTop+o+4-this.menuWrapper.offsetTop;break;case"top":s=this.actionButton.offsetTop-e-4-this.menuWrapper.offsetTop}const r=this.menuWrapper.style;r.left=n+"px",r.top=s+"px";const a=this.menuWrapper.getBoundingClientRect();let l=-a.x,h=a.x+a.width-window.innerWidth;r.left=n+Math.round(this.correctOutOfWindowPixels(l,h))+"px";let c=-a.y,p=a.y+a.height-window.innerHeight;r.top=s+Math.round(this.correctOutOfWindowPixels(c,p))+"px",this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}ro.elementDefinitions={"ft-button":Gi,"ft-floating-menu-item":oo},ro.styles=Bt,no([n()],ro.prototype,"menuOpen",void 0),no([n()],ro.prototype,"forceMenuOpen",void 0),no([r(".ft-floating-menu")],ro.prototype,"container",void 0),no([r(".ft-floating-menu--wrapper")],ro.prototype,"menuWrapper",void 0),no([r("#ft-floating-menu-options")],ro.prototype,"menuContent",void 0),no([r("#actions-button")],ro.prototype,"actionButton",void 0),no([o()],ro.prototype,"label",void 0),no([o()],ro.prototype,"tooltipPosition",void 0),no([o()],ro.prototype,"iconVariant",void 0),no([o()],ro.prototype,"icon",void 0),no([o()],ro.prototype,"text",void 0),no([o()],ro.prototype,"horizontalAlignment",void 0),no([o()],ro.prototype,"verticalAlignment",void 0),no([o({type:Boolean})],ro.prototype,"disabled",void 0),no([p([])],ro.prototype,"closeMenuMatchers",void 0),c("ft-floating-menu")(ro),c("ft-floating-menu-item")(oo),t.FloatingMenuCloseEvent=so,t.FtFloatingMenu=ro,t.FtFloatingMenuCssVariables=zt,t.FtFloatingMenuItem=oo,t.FtFloatingMenuItemCssVariables=Qi,t.FtFloatingMenuItemSelect=io,t.itemStyles=to,t.styles=Bt}({});
1003
+ `}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,o,e){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1})(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((o=>t.has(o)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}positionMenuWrapper(){const t=this.menuContent.offsetWidth,o=this.menuContent.offsetHeight,e=this.actionButton.offsetWidth,r=this.actionButton.offsetHeight;let i=0,n=0;switch(this.menuWrapper.style.left="0",this.menuWrapper.style.top="0",this.horizontalAlignment){case"left":i=this.actionButton.offsetLeft-this.menuWrapper.offsetLeft;break;case"right":i=this.actionButton.offsetLeft+e-t-this.menuWrapper.offsetLeft;break;case"center":i=this.actionButton.offsetLeft+e/2-t/2-this.menuWrapper.offsetLeft}switch(this.verticalAlignment){case"bottom":n=this.actionButton.offsetTop+r+4-this.menuWrapper.offsetTop;break;case"top":n=this.actionButton.offsetTop-o-4-this.menuWrapper.offsetTop}const a=this.menuWrapper.style;a.left=i+"px",a.top=n+"px";const l=this.menuWrapper.getBoundingClientRect();let s=-l.x,c=l.x+l.width-window.innerWidth;a.left=i+Math.round(this.correctOutOfWindowPixels(s,c))+"px";let p=-l.y,f=l.y+l.height-window.innerHeight;a.top=n+Math.round(this.correctOutOfWindowPixels(p,f))+"px",this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}mr.elementDefinitions={"ft-button":lr,"ft-floating-menu-item":yr},mr.styles=Mt,gr([i()],mr.prototype,"menuOpen",void 0),gr([i()],mr.prototype,"forceMenuOpen",void 0),gr([a(".ft-floating-menu")],mr.prototype,"container",void 0),gr([a(".ft-floating-menu--wrapper")],mr.prototype,"menuWrapper",void 0),gr([a("#ft-floating-menu-options")],mr.prototype,"menuContent",void 0),gr([a("#actions-button")],mr.prototype,"actionButton",void 0),gr([r()],mr.prototype,"label",void 0),gr([r()],mr.prototype,"tooltipPosition",void 0),gr([r()],mr.prototype,"iconVariant",void 0),gr([r()],mr.prototype,"icon",void 0),gr([r()],mr.prototype,"text",void 0),gr([r()],mr.prototype,"horizontalAlignment",void 0),gr([r()],mr.prototype,"verticalAlignment",void 0),gr([r({type:Boolean})],mr.prototype,"disabled",void 0),gr([f([])],mr.prototype,"closeMenuMatchers",void 0),p("ft-floating-menu")(mr),p("ft-floating-menu-item")(yr),t.FloatingMenuCloseEvent=br,t.FtFloatingMenu=mr,t.FtFloatingMenuCssVariables=Dt,t.FtFloatingMenuItem=yr,t.FtFloatingMenuItemCssVariables=fr,t.FtFloatingMenuItemSelect=ur,t.itemStyles=dr,t.styles=Mt}({});