@fluid-topics/ft-filter 1.0.58 → 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,27 +14,27 @@
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,s=new WeakMap,r=new WeakMap,n=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,s){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(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=s.prototype.attributeChangedCallback,a=new Set(s.observedAttributes||[]);d(s,a,l);const h={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,h),this._definitionsByClass.set(s,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(n.set(s,h),h.standInClass=c);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)r.delete(t),u(t,h,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.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=a;if(e)return a=void 0,e;const i=n.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),s.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=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=l.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,s=o._getDefinition(e);return s?u(i,s):r.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=s.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r,s),i.call(this,r,t,s)}else o.call(this,r,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),a=t;try{new e.elementClass}catch(t){f(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)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const x=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),b.pop(),t}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.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!==s.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 r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),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 n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(Ti){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,s=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)}s(!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,i=window.customElements,r=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,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=r.prototype.attributeChangedCallback,s=new Set(r.observedAttributes||[]);h(r,s,l);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=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),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=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 i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),s=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&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 i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0!==r.get(e).formAssociated)throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`);i?.call(this,...o)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(oi){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
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 i(t){return(o,i)=>void 0!==i?((t,o,e)=>{o.constructor.createProperty(e,t)})(t,o,i):e(t,o)
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */}function s(t){return o({...t,state:!0})}
27
+ */}function r(t){return i({...t,state:!0})}
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
- */const r=({finisher:t,descriptor:e})=>(i,o)=>{var s;if(void 0===o){const o=null!==(s=i.originalKey)&&void 0!==s?s:i.key,r=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(r.finisher=function(e){t(e,o)}),r}{const s=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(s,o)}}
32
+ */const n=({finisher:t,descriptor:o})=>(e,i)=>{var r;if(void 0===i){const i=null!==(r=e.originalKey)&&void 0!==r?r:e.key,n=null!=o?{kind:"method",placement:"prototype",key:i,descriptor:o(e.key)}:{...e,key:i};return null!=t&&(n.finisher=function(o){t(o,i)}),n}{const r=e.constructor;void 0!==o&&Object.defineProperty(e,i,o(i)),null==t||t(r,i)}}
33
33
  /**
34
34
  * @license
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
- */;function n(t,e){return r({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 i={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;i.get=function(){var e,i;return void 0===this[o]&&(this[o]=null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null),this[o]}}return i}})}
38
38
  /**
39
39
  * @license
40
40
  * Copyright 2017 Google LLC
@@ -45,34 +45,34 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
45
45
  * Copyright 2021 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- var l;const a=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function h(t){const{slot:e,selector:i}=null!=t?t:{};return r({descriptor:o=>({get(){var o;const s="slot"+(e?`[name=${e}]`:":not([name])"),r=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(s),n=null!=r?a(r,t):[];return i?n.filter((t=>t.matches(i))):n},enumerable:!0,configurable:!0})})}
48
+ 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){const{slot:o,selector:e}=null!=t?t:{};return n({descriptor:i=>({get(){var i;const r="slot"+(o?`[name=${o}]`:":not([name])"),n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(r),a=null!=n?s(n,t):[];return e?a.filter((t=>t.matches(e))):a},enumerable:!0,configurable:!0})})}
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
- */function c(t,e){return t.flatMap((t=>[t,...c(e(t),e)]))}function p(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,s;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(o=i;0!=o--;)if(!p(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(!p(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=(s=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(o=i;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,s[o]))return!1;for(o=i;0!=o--;){var r=s[o];if(!p(t[r],e[r]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const d=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function f(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)=>!p(t,e),...null!=e?e:{}})}
53
+ */function p(t,o){return t.flatMap((t=>[t,...p(o(t),o)]))}function f(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!f(t[i],o[i]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;for(i of t.entries())if(!f(i[1],o.get(i[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(r=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(i=e;0!=i--;)if(!Object.prototype.hasOwnProperty.call(o,r[i]))return!1;for(i=e;0!=i--;){var n=r[i];if(!f(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const h=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function d(t,o){const e=()=>JSON.parse(JSON.stringify(t));return i({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)=>!f(t,o),...null!=o?o:{}})}
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2019 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
- */const u=window,v=u.ShadowRoot&&(void 0===u.ShadyCSS||u.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,b=Symbol(),x=new WeakMap;let y=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==b)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(v&&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 g=t=>new y("string"==typeof t?t:t+"",void 0,b),m=(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 y(i,t,b)},$=(t,e)=>{v?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=u.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},w=v?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return g(e)})(t):t
58
+ */const u=window,y=u.ShadowRoot&&(void 0===u.ShadyCSS||u.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,g=Symbol(),b=new WeakMap;let m=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==g)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(y&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=b.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&b.set(o,t))}return t}toString(){return this.cssText}};const v=t=>new m("string"==typeof t?t:t+"",void 0,g),x=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,i)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[i+1]),t[0]);return new m(e,t,g)},O=(t,o)=>{y?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=u.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))},N=y?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return v(o)})(t):t
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
- */;var k;const O=window,S=O.trustedTypes,C=S?S.emptyScript:"",E=O.reactiveElementPolyfillSupport,N={toAttribute(t,e){switch(e){case Boolean:t=t?C: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}},R=(t,e)=>e!==t&&(e==e||t==t),M={attribute:!0,type:String,converter:N,reflect:!1,hasChanged:R};let z=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=M){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 s=this[t];this[e]=o,this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||M}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(w(t))}else void 0!==t&&e.push(w(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 $(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=M){var o;const s=this.constructor._$Ep(t,i);if(void 0!==s&&!0===i.reflect){const r=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:N).toAttribute(e,i.type);this._$El=t,null==r?this.removeAttribute(s):this.setAttribute(s,r),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,s=o._$Ev.get(t);if(void 0!==s&&this._$El!==s){const t=o.getPropertyOptions(s),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:N;this._$El=s,this[s]=r.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||R)(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){}};
63
+ */;var S;const w=window,$=w.trustedTypes,C=$?$.emptyScript:"",k=w.reactiveElementPolyfillSupport,R={toAttribute(t,o){switch(o){case Boolean:t=t?C: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}},E=(t,o)=>o!==t&&(o==o||t==t),I={attribute:!0,type:String,converter:R,reflect:!1,hasChanged:E};let U=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 i=this._$Ep(e,o);void 0!==i&&(this._$Ev.set(i,e),t.push(i))})),t}static createProperty(t,o=I){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,i=this.getPropertyDescriptor(t,e,o);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){return{get(){return this[o]},set(i){const r=this[t];this[o]=i,this.requestUpdate(t,r,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||I}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(N(t))}else void 0!==t&&o.push(N(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 O(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=I){var i;const r=this.constructor._$Ep(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==(null===(i=e.converter)||void 0===i?void 0:i.toAttribute)?e.converter:R).toAttribute(o,e.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,o){var e;const i=this.constructor,r=i._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=i.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:R;this._$El=r,this[r]=n.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let i=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||E)(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))):i=!1),!this.isUpdatePending&&i&&(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){}};
64
64
  /**
65
65
  * @license
66
66
  * Copyright 2017 Google LLC
67
67
  * SPDX-License-Identifier: BSD-3-Clause
68
68
  */
69
- var j;z.finalized=!0,z.elementProperties=new Map,z.elementStyles=[],z.shadowRootOptions={mode:"open"},null==E||E({ReactiveElement:z}),(null!==(k=O.reactiveElementVersions)&&void 0!==k?k:O.reactiveElementVersions=[]).push("1.6.1");const B=window,F=B.trustedTypes,U=F?F.createPolicy("lit-html",{createHTML:t=>t}):void 0,L="$lit$",T=`lit$${(Math.random()+"").slice(9)}$`,D="?"+T,A=`<${D}>`,I=document,P=()=>I.createComment(""),_=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,W=t=>H(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),V="[ \t\n\f\r]",K=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Z=/-->/g,J=/>/g,q=RegExp(`>|${V}(?:([^\\s"'>=/]+)(${V}*=${V}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,G=/"/g,Y=/^(?:script|style|textarea|title)$/i,Q=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),it=new WeakMap,ot=I.createTreeWalker(I,129,null,!1),st=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=K;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,c=0;for(;c<i.length&&(n.lastIndex=c,a=n.exec(i),null!==a);)c=n.lastIndex,n===K?"!--"===a[1]?n=Z:void 0!==a[1]?n=J:void 0!==a[2]?(Y.test(a[2])&&(s=RegExp("</"+a[2],"g")),n=q):void 0!==a[3]&&(n=q):n===q?">"===a[0]?(n=null!=s?s:K,h=-1):void 0===a[1]?h=-2:(h=n.lastIndex-a[2].length,l=a[1],n=void 0===a[3]?q:'"'===a[3]?G:X):n===G||n===X?n=q:n===Z||n===J?n=K:(n=q,s=void 0);const p=n===q&&t[e+1].startsWith("/>")?" ":"";r+=n===K?i+A:h>=0?(o.push(l),i.slice(0,h)+L+i.slice(h)+T+p):i+T+(-2===h?(o.push(void 0),e):p)}const l=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==U?U.createHTML(l):l,o]};class rt{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,l=this.parts,[a,h]=st(t,e);if(this.el=rt.createElement(a,i),ot.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=ot.nextNode())&&l.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(L)||e.startsWith(T)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+L).split(T),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?ct:"?"===e[1]?dt:"@"===e[1]?ft:ht})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(Y.test(o.tagName)){const t=o.textContent.split(T),e=t.length-1;if(e>0){o.textContent=F?F.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],P()),ot.nextNode(),l.push({type:2,index:++s});o.append(t[e],P())}}}else if(8===o.nodeType)if(o.data===D)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(T,t+1));)l.push({type:7,index:s}),t+=T.length-1}s++}}static createElement(t,e){const i=I.createElement("template");return i.innerHTML=t,i}}function nt(t,e,i=t,o){var s,r,n,l;if(e===tt)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const h=_(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(n=(l=i)._$Co)&&void 0!==n?n:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=nt(t,a._$AS(t,e.values),a,o)),e}class lt{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,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:I).importNode(i,!0);ot.currentNode=s;let r=ot.nextNode(),n=0,l=0,a=o[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new at(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new ut(r,this,t)),this._$AV.push(e),a=o[++l]}n!==(null==a?void 0:a.index)&&(r=ot.nextNode(),n++)}return s}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 at{constructor(t,e,i,o){var s;this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}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=nt(this,t,e),_(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):W(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!==et&&_(this._$AH)?this._$AA.nextSibling.data=t:this.$(I.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=rt.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.v(i);else{const t=new lt(s,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=it.get(t.strings);return void 0===e&&it.set(t.strings,e=new rt(t)),e}T(t){H(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new at(this.k(P()),this.k(P()),this,this.options)):i=e[o],i._$AI(s),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 ht{constructor(t,e,i,o,s){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=et}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=nt(this,t,e,0),r=!_(t)||t!==this._$AH&&t!==tt,r&&(this._$AH=t);else{const o=t;let n,l;for(t=s[0],n=0;n<s.length-1;n++)l=nt(this,o[i+n],e,n),l===tt&&(l=this._$AH[n]),r||(r=!_(l)||l!==this._$AH[n]),l===et?t=et:t!==et&&(t+=(null!=l?l:"")+s[n+1]),this._$AH[n]=l}r&&!o&&this.j(t)}j(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ct extends ht{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===et?void 0:t}}const pt=F?F.emptyScript:"";class dt extends ht{constructor(){super(...arguments),this.type=4}j(t){t&&t!==et?this.element.setAttribute(this.name,pt):this.element.removeAttribute(this.name)}}class ft extends ht{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=nt(this,t,e,0))&&void 0!==i?i:et)===tt)return;const o=this._$AH,s=t===et&&o!==et||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==et&&(o===et||s);s&&this.element.removeEventListener(this.name,this,o),r&&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 ut{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){nt(this,t)}}const vt={O:L,P:T,A:D,C:1,M:st,L:lt,D:W,R:nt,I:at,V:ht,H:dt,N:ft,U:ct,F:ut},bt=B.litHtmlPolyfillSupport;null==bt||bt(rt,at),(null!==(j=B.litHtmlVersions)&&void 0!==j?j:B.litHtmlVersions=[]).push("2.7.3");
69
+ var L;U.finalized=!0,U.elementProperties=new Map,U.elementStyles=[],U.shadowRootOptions={mode:"open"},null==k||k({ReactiveElement:U}),(null!==(S=w.reactiveElementVersions)&&void 0!==S?S:w.reactiveElementVersions=[]).push("1.6.1");const W=window,z=W.trustedTypes,K=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",B=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+B,D=`<${Z}>`,M=document,A=()=>M.createComment(""),H=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,P=t=>j(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),T="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,V=/>/g,Y=RegExp(`>|${T}(?:([^\\s"'>=/]+)(${T}*=${T}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),J=/'/g,q=/"/g,X=/^(?:script|style|textarea|title)$/i,Q=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),tt=Symbol.for("lit-noChange"),ot=Symbol.for("lit-nothing"),et=new WeakMap,it=M.createTreeWalker(M,129,null,!1),rt=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=_;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===_?"!--"===s[1]?a=G:void 0!==s[1]?a=V:void 0!==s[2]?(X.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=Y):void 0!==s[3]&&(a=Y):a===Y?">"===s[0]?(a=null!=r?r:_,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Y:'"'===s[3]?q:J):a===q||a===J?a=Y:a===G||a===V?a=_:(a=Y,r=void 0);const f=a===Y&&t[o+1].startsWith("/>")?" ":"";n+=a===_?e+D:c>=0?(i.push(l),e.slice(0,c)+F+e.slice(c)+B+f):e+B+(-2===c?(i.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!==K?K.createHTML(l):l,i]};class nt{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[s,c]=rt(t,o);if(this.el=nt.createElement(s,e),it.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(i=it.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const o of i.getAttributeNames())if(o.endsWith(F)||o.startsWith(B)){const e=c[n++];if(t.push(o),void 0!==e){const t=i.getAttribute(e.toLowerCase()+F).split(B),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:o[2],strings:t,ctor:"."===o[1]?pt:"?"===o[1]?ht:"@"===o[1]?dt:ct})}else l.push({type:6,index:r})}for(const o of t)i.removeAttribute(o)}if(X.test(i.tagName)){const t=i.textContent.split(B),o=t.length-1;if(o>0){i.textContent=z?z.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],A()),it.nextNode(),l.push({type:2,index:++r});i.append(t[o],A())}}}else if(8===i.nodeType)if(i.data===Z)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(B,t+1));)l.push({type:7,index:r}),t+=B.length-1}r++}}static createElement(t,o){const e=M.createElement("template");return e.innerHTML=t,e}}function at(t,o,e=t,i){var r,n,a,l;if(o===tt)return o;let s=void 0!==i?null===(r=e._$Co)||void 0===r?void 0:r[i]:e._$Cl;const c=H(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,i)),void 0!==i?(null!==(a=(l=e)._$Co)&&void 0!==a?a:l._$Co=[])[i]=s:e._$Cl=s),void 0!==s&&(o=at(t,s._$AS(t,o.values),s,i)),o}class lt{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:i}=this._$AD,r=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:M).importNode(e,!0);it.currentNode=r;let n=it.nextNode(),a=0,l=0,s=i[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new st(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new ut(n,this,t)),this._$AV.push(o),s=i[++l]}a!==(null==s?void 0:s.index)&&(n=it.nextNode(),a++)}return r}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 st{constructor(t,o,e,i){var r;this.type=2,this._$AH=ot,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}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=at(this,t,o),H(t)?t===ot||null==t||""===t?(this._$AH!==ot&&this._$AR(),this._$AH=ot):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):P(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ot&&H(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=nt.createElement(i.h,this.options)),i);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===r)this._$AH.v(e);else{const t=new lt(r,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=et.get(t.strings);return void 0===o&&et.set(t.strings,o=new nt(t)),o}T(t){j(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new st(this.k(A()),this.k(A()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){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 ct{constructor(t,o,e,i,r){this.type=1,this._$AH=ot,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=ot}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=at(this,t,o,0),n=!H(t)||t!==this._$AH&&t!==tt,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=at(this,i[e+a],o,a),l===tt&&(l=this._$AH[a]),n||(n=!H(l)||l!==this._$AH[a]),l===ot?t=ot:t!==ot&&(t+=(null!=l?l:"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.j(t)}j(t){t===ot?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class pt extends ct{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===ot?void 0:t}}const ft=z?z.emptyScript:"";class ht extends ct{constructor(){super(...arguments),this.type=4}j(t){t&&t!==ot?this.element.setAttribute(this.name,ft):this.element.removeAttribute(this.name)}}class dt extends ct{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=at(this,t,o,0))&&void 0!==e?e:ot)===tt)return;const i=this._$AH,r=t===ot&&i!==ot||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==ot&&(i===ot||r);r&&this.element.removeEventListener(this.name,this,i),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 ut{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){at(this,t)}}const yt={O:F,P:B,A:Z,C:1,M:rt,L:lt,D:P,R:at,I:st,V:ct,H:ht,N:dt,U:pt,F:ut},gt=W.litHtmlPolyfillSupport;null==gt||gt(nt,st),(null!==(L=W.litHtmlVersions)&&void 0!==L?L:W.litHtmlVersions=[]).push("2.7.3");
70
70
  /**
71
71
  * @license
72
72
  * Copyright 2017 Google LLC
73
73
  * SPDX-License-Identifier: BSD-3-Clause
74
74
  */
75
- var xt,yt;let gt=class extends z{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,s;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let n=r._$litPart$;if(void 0===n){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;r._$litPart$=n=new at(e.insertBefore(P(),t),t,void 0,null!=i?i:{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return tt}};gt.finalized=!0,gt._$litElement$=!0,null===(xt=globalThis.litElementHydrateSupport)||void 0===xt||xt.call(globalThis,{LitElement:gt});const mt=globalThis.litElementPolyfillSupport;null==mt||mt({LitElement:gt}),(null!==(yt=globalThis.litElementVersions)&&void 0!==yt?yt:globalThis.litElementVersions=[]).push("3.3.2");class $t{static create(t,e,i){let o=t=>g(null!=t?t:i),s=m`var(${g(t)}, ${o(i)})`;return s.name=t,s.category=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>m`var(${g(t)}, ${o(e)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),s=m`var(${g(t)}, ${o(i)})`;return s.name=t,s.category=e.category,s.fallbackVariable=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>m`var(${g(t)}, ${o(e)})`,s.breadcrumb=()=>[e.name,...e.breadcrumb()],s.lastResortDefaultValue=()=>i,s}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):g(null!=e?e:t.defaultValue),o=m`var(${g(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=>m`var(${g(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 wt(t,e){return g(`${t.name}: ${e}`)}const kt={colorPrimary:$t.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:$t.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:$t.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:$t.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:$t.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:$t.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:$t.create("--ft-color-error","COLOR","#B00020"),colorOutline:$t.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:$t.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:$t.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:$t.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:$t.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:$t.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:$t.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:$t.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:$t.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:$t.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:$t.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:$t.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:$t.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:$t.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:$t.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:$t.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:$t.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:$t.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:$t.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:$t.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:$t.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:$t.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:$t.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:$t.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:$t.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:$t.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:$t.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:$t.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:$t.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:$t.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:$t.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:$t.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:$t.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:$t.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:$t.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:$t.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:$t.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:$t.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:$t.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:$t.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:$t.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:$t.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:$t.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:$t.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:$t.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:$t.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:$t.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:$t.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:$t.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:$t.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:$t.create("--ft-border-radius-XL","SIZE","16px"),titleFont:$t.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:$t.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:$t.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:$t.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class Ot extends gt{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 $(i,t.elementStyles),i}}var St,Ct=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const Et=Symbol("constructorPrototype"),Nt=Symbol("constructorName"),Rt=Symbol("exportpartsDebouncer");class Mt extends Ot{constructor(){super(),this[St]=new e(5),this[Nt]=this.constructor.name,this[Et]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Nt]&&Object.setPrototypeOf(this,this[Et])}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[Rt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,s,r,n;const l=t=>null!=t&&t.trim().length>0,a=t.filter(l).map((t=>t.trim()));if(0===a.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!==(s=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==s?s:[],i=null!==(n=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...i).filter(l).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>a.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}St=Rt,Ct([o()],Mt.prototype,"exportpartsPrefix",void 0),Ct([f([])],Mt.prototype,"exportpartsPrefixes",void 0),Ct([o()],Mt.prototype,"customStylesheet",void 0);const zt=m`
75
+ var bt,mt;let vt=class extends U{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 i,r;const n=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:o;let a=n._$litPart$;if(void 0===a){const t=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:null;n._$litPart$=a=new st(o.insertBefore(A(),t),t,void 0,null!=e?e:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return tt}};vt.finalized=!0,vt._$litElement$=!0,null===(bt=globalThis.litElementHydrateSupport)||void 0===bt||bt.call(globalThis,{LitElement:vt});const xt=globalThis.litElementPolyfillSupport;null==xt||xt({LitElement:vt}),(null!==(mt=globalThis.litElementVersions)&&void 0!==mt?mt:globalThis.litElementVersions=[]).push("3.3.2");const Ot=t=>"string"==typeof t?v(t):t;class Nt{static create(t,o,e,i){const r=t=>Ot(null!=t?t:i),n=x`var(${Ot(t)}, ${r(i)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>x`var(${Ot(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=x`var(${Ot(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>x`var(${Ot(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Ot(null!=o?o:t.lastResortDefaultValue()),i=x`var(${Ot(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>x`var(${Ot(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function St(t,o){return Ot(`${t.name}: ${o}`)}const wt={colorWhite:Nt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Nt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Nt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Nt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Nt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Nt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Nt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Nt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Nt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Nt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Nt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Nt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Nt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Nt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Nt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Nt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Nt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Nt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Nt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Nt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Nt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Nt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Nt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Nt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Nt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Nt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Nt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Nt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Nt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Nt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Nt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Nt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Nt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Nt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Nt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Nt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Nt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Nt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Nt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Nt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Nt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Nt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Nt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Nt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Nt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Nt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Nt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Nt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Nt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Nt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Nt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Nt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Nt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Nt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Nt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Nt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Nt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Nt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Nt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Nt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Nt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Nt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Nt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Nt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Nt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Nt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Nt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Nt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Nt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Nt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Nt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Nt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Nt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Nt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Nt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Nt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Nt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Nt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Nt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Nt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Nt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Nt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Nt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Nt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Nt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Nt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Nt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Nt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Nt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Nt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Nt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Nt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Nt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Nt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Nt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Nt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Nt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Nt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Nt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Nt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Nt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Nt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Nt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Nt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Nt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Nt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Nt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Nt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Nt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Nt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Nt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Nt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Nt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Nt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Nt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Nt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Nt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Nt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Nt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Nt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Nt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Nt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Nt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Nt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Nt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Nt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Nt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Nt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Nt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Nt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Nt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Nt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Nt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Nt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Nt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Nt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Nt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Nt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Nt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Nt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Nt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Nt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Nt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Nt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Nt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Nt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Nt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Nt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Nt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Nt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Nt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Nt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Nt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Nt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Nt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Nt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Nt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Nt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Nt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Nt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Nt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Nt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Nt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Nt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Nt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Nt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Nt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Nt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Nt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Nt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Nt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Nt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Nt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Nt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Nt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Nt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Nt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Nt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Nt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Nt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Nt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Nt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Nt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Nt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Nt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Nt.create("--ft-opacity-80","","NUMBER","0.8")},$t={display:{fontFamily:Nt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Nt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Nt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Nt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Nt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Nt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Nt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Nt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Nt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Nt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Nt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Nt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Nt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Nt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Nt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Nt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Nt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Nt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Nt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Nt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Nt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Nt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Nt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Nt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Nt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Nt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Nt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Nt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Nt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Nt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Nt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Nt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Nt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Nt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Nt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Nt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Nt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Nt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Nt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Nt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Nt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Nt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Nt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Nt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Nt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Nt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ct={backgroundActionPrimary:Nt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",wt.colorBrand0),backgroundErrorPrimary:Nt.extend("--ft-background-error-primary","Used as background of error components.",wt.colorRed0),backgroundErrorSubtle:Nt.extend("--ft-background-error-subtle","Used as background of subtle error components.",wt.colorRed10),backgroundInfoPrimary:Nt.extend("--ft-background-info-primary","Used as background of information components.",wt.colorCyan200),backgroundInfoSubtle:Nt.extend("--ft-background-info-subtle","Used as background of subtle information components.",wt.colorCyan10),backgroundWarningPrimary:Nt.extend("--ft-background-warning-primary","Used as background of warning components.",wt.colorOrange300),backgroundWarningSubtle:Nt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",wt.colorOrange10),backgroundSuccessPrimary:Nt.extend("--ft-background-success-primary","Used as background of success components.",wt.colorGreen200),backgroundSuccessSubtle:Nt.extend("--ft-background-success-subtle","Used as background of subtle success components.",wt.colorGreen10),backgroundGlobalSurface:Nt.extend("--ft-background-global-surface","Used as app background.",wt.colorWhite),backgroundGlobalOnSurface:Nt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",wt.colorGray10),backgroundGlobalOnSurfaceDark:Nt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",wt.colorGray30),contentActionPrimary:Nt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",wt.colorBrand0),contentWarningPrimary:Nt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",wt.colorOrange300),contentWarningIconOnly:Nt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",wt.colorOrange0),contentErrorPrimary:Nt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",wt.colorRed0),contentErrorIconOnly:Nt.extend("--ft-content-error-icon-only","Used on error status icons alone",wt.colorRed0),contentInfoPrimary:Nt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",wt.colorCyan200),contentInfoIconOnly:Nt.extend("--ft-content-info-icon-only","Used on info status icons alone",wt.colorCyan0),contentSuccessIconOnly:Nt.extend("--ft-content-success-icon-only","Used on success status icons alone",wt.colorGreen0),contentSuccessPrimary:Nt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",wt.colorGreen200),contentGlobalPrimary:Nt.extend("--ft-content-global-primary","Used for main content on the page.",wt.colorGray500),contentGlobalSecondary:Nt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",wt.colorGray200),contentGlobalSubtle:Nt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",wt.colorGray0),contentGlobalOnColor:Nt.extend("--ft-content-global-on-color","Used for content on a dominant color.",wt.colorWhite),borderActionPrimary:Nt.extend("--ft-border-action-primary","Used as border for primary action components.",wt.colorBrand0),borderActionFocusRing:Nt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",wt.colorCyan0),borderWarningPrimary:Nt.extend("--ft-border-warning-primary","Used as border for warning components.",wt.colorOrange30),borderSuccessPrimary:Nt.extend("--ft-border-success-primary","Used as border for success components.",wt.colorGreen30),borderErrorPrimary:Nt.extend("--ft-border-error-primary","Used as border for error components.",wt.colorRed30),borderInfoPrimary:Nt.extend("--ft-border-info-primary","Used as border for information components.",wt.colorCyan30),borderGlobalSubtle:Nt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",wt.colorGray30),borderGlobalPrimary:Nt.extend("--ft-border-global-primary","Used as border for element like input.",wt.colorGray50),borderInputPrimary:Nt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",wt.colorGray80)},kt={largeHeight:Nt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Nt.extend("--ft-button-large-horizontal-padding","",wt.spacing4),largeGap:Nt.extend("--ft-button-large-gap","",wt.spacing2),largeBorderRadius:Nt.extend("--ft-button-large-border-radius","",wt.borderRadiusS),largeIconSize:Nt.extend("--ft-button-large-icon-size","",wt.iconSize3),largeBorderWidth:Nt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Nt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Nt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Nt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Nt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Nt.extend("--ft-button-small-horizontal-padding","",wt.spacing3),smallGap:Nt.extend("--ft-button-small-gap","",wt.spacing2),smallBorderRadius:Nt.extend("--ft-button-small-border-radius","",wt.borderRadiusS),smallIconSize:Nt.extend("--ft-button-small-icon-size","",wt.iconSize2),smallBorderWidth:Nt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Nt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Nt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Nt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Nt.extend("--ft-button-primary-background-color","",Ct.backgroundActionPrimary),primaryColor:Nt.extend("--ft-button-primary-color","",Ct.contentGlobalOnColor),primaryIconColor:Nt.extend("--ft-button-primary-icon-color","",Ct.contentGlobalOnColor),primaryStateLayerColor:Nt.extend("--ft-button-primary-state-layer-color","",Ct.contentGlobalOnColor),primaryStateLayerOpacityHover:Nt.extend("--ft-button-primary-state-layer-opacity-hover","",wt.opacity16),primaryStateLayerOpacityFocus:Nt.extend("--ft-button-primary-state-layer-opacity-focus","",wt.opacity16),primaryStateLayerOpacityActive:Nt.extend("--ft-button-primary-state-layer-opacity-active","",wt.opacity24),primaryComponentOpacityDisabled:Nt.extend("--ft-button-primary-component-opacity-disabled","",wt.opacity40),focusFocusRingColor:Nt.extend("--ft-button-focus-focus-ring-color","",Ct.borderActionFocusRing),tertiaryBackgroundColor:Nt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Nt.extend("--ft-button-tertiary-color","",Ct.contentActionPrimary),tertiaryIconColor:Nt.extend("--ft-button-tertiary-icon-color","",Ct.contentActionPrimary),tertiaryStateLayerColor:Nt.extend("--ft-button-tertiary-state-layer-color","",Ct.contentActionPrimary),tertiaryStateLayerOpacityHover:Nt.extend("--ft-button-tertiary-state-layer-opacity-hover","",wt.opacity8),tertiaryStateLayerOpacityFocus:Nt.extend("--ft-button-tertiary-state-layer-opacity-focus","",wt.opacity8),tertiaryStateLayerOpacityActive:Nt.extend("--ft-button-tertiary-state-layer-opacity-active","",wt.opacity16),tertiaryComponentOpacityDisabled:Nt.extend("--ft-button-tertiary-component-opacity-disabled","",wt.opacity40),secondaryBackgroundColor:Nt.extend("--ft-button-secondary-background-color","",wt.colorWhite),secondaryColor:Nt.extend("--ft-button-secondary-color","",Ct.contentActionPrimary),secondaryIconColor:Nt.extend("--ft-button-secondary-icon-color","",Ct.contentActionPrimary),secondaryStateLayerColor:Nt.extend("--ft-button-secondary-state-layer-color","",Ct.contentActionPrimary),secondaryStateLayerOpacityHover:Nt.extend("--ft-button-secondary-state-layer-opacity-hover","",wt.opacity8),secondaryStateLayerOpacityFocus:Nt.extend("--ft-button-secondary-state-layer-opacity-focus","",wt.opacity8),secondaryStateLayerOpacityActive:Nt.extend("--ft-button-secondary-state-layer-opacity-active","",wt.opacity16),secondaryComponentOpacityDisabled:Nt.extend("--ft-button-secondary-component-opacity-disabled","",wt.opacity40),secondaryBorderColor:Nt.extend("--ft-button-secondary-border-color","",Ct.borderActionPrimary),neutralBackgroundColor:Nt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Nt.extend("--ft-button-neutral-icon-color","",Ct.contentGlobalSecondary),neutralColor:Nt.extend("--ft-button-neutral-color","",Ct.contentGlobalSecondary),neutralStateLayerColor:Nt.extend("--ft-button-neutral-state-layer-color","",Ct.contentGlobalSecondary),neutralStateLayerOpacityHover:Nt.extend("--ft-button-neutral-state-layer-opacity-hover","",wt.opacity8),neutralStateLayerOpacityFocus:Nt.extend("--ft-button-neutral-state-layer-opacity-focus","",wt.opacity8),neutralStateLayerOpacityActive:Nt.extend("--ft-button-neutral-state-layer-opacity-active","",wt.opacity16),neutralComponentOpacityDisabled:Nt.extend("--ft-button-neutral-component-opacity-disabled","",wt.opacity40)};Nt.extend("--ft-tabs-top-left-border-radius","",wt.borderRadiusS),Nt.extend("--ft-tabs-top-right-border-radius","",wt.borderRadiusS),Nt.extend("--ft-tabs-label-horizontal-padding","",wt.spacing4),Nt.extend("--ft-tabs-label-vertical-padding","",wt.spacing3),Nt.extend("--ft-tabs-label-gap","",wt.spacing1),Nt.extend("--ft-switch-group-horizontal-padding","",wt.spacing1),Nt.extend("--ft-switch-group-vertical-padding","",wt.spacing1),Nt.extend("--ft-switch-group-gap","",wt.spacing1),Nt.extend("--ft-switch-group-background-color","",Ct.backgroundGlobalSurface),Nt.extend("--ft-switch-group-border-color","",Ct.borderGlobalSubtle),Nt.create("--ft-switch-group-border-radius","","SIZE","6px"),Nt.extend("--ft-switch-label-horizontal-padding","",wt.spacing2),Nt.extend("--ft-switch-label-vertical-padding","",wt.spacing1),Nt.extend("--ft-switch-icon-horizontal-padding","",wt.spacing1),Nt.extend("--ft-switch-icon-vertical-padding","",wt.spacing1),Nt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-switch-focus-focus-ring-color","",Ct.borderActionFocusRing),Nt.extend("--ft-switch-option-border-radius","",wt.borderRadiusS),Nt.extend("--ft-switch-off-state-layer-opacity-hover","",wt.opacity8),Nt.extend("--ft-switch-off-state-layer-opacity-focus","",wt.opacity8),Nt.extend("--ft-switch-off-state-layer-opacity-active","",wt.opacity16),Nt.extend("--ft-switch-off-component-opacity-disabled","",wt.opacity40),Nt.extend("--ft-switch-off-color","",Ct.contentGlobalSubtle),Nt.extend("--ft-switch-off-state-layer-color","",Ct.contentGlobalSubtle),Nt.extend("--ft-chart-1-light","for area color charts",wt.colorBrand40),Nt.extend("--ft-chart-1-base","for line charts",wt.colorBrand0),Nt.extend("--ft-chart-2-light","for area color charts",wt.colorYellow60),Nt.extend("--ft-chart-2-base","for line charts",wt.colorYellow100),Nt.extend("--ft-chart-3-light","",wt.colorUltramarine40),Nt.extend("--ft-chart-3-base","",wt.colorUltramarine70),Nt.extend("--ft-chart-4-light","",wt.colorCyan50),Nt.extend("--ft-chart-4-base","",wt.colorCyan100),Nt.extend("--ft-chart-5-light","",wt.colorRed40),Nt.extend("--ft-chart-5-base","",wt.colorRed60),Nt.extend("--ft-chart-6-light","",wt.colorGreen40),Nt.extend("--ft-chart-6-base","",wt.colorGreen70),Nt.extend("--ft-chart-7-light","",wt.colorOrange70),Nt.extend("--ft-chart-7-base","",wt.colorOrange100),Nt.extend("--ft-chart-8-light","",wt.colorAvocado70),Nt.extend("--ft-chart-8-base","",wt.colorAvocado200),Nt.extend("--ft-chart-9-light","",wt.colorBrown50),Nt.extend("--ft-chart-9-base","",wt.colorBrown200),Nt.extend("--ft-chart-10-light","",wt.colorGray50),Nt.extend("--ft-chart-10-base","",wt.colorGray80),Nt.extend("--ft-chart-monochrome-10","",wt.colorBrand10),Nt.extend("--ft-chart-monochrome-20","",wt.colorBrand20),Nt.extend("--ft-chart-monochrome-30","",wt.colorBrand40),Nt.extend("--ft-chart-monochrome-40","",wt.colorBrand60),Nt.extend("--ft-chart-monochrome-50","",wt.colorBrand0),Nt.extend("--ft-chart-monochrome-60","",wt.colorBrand200),Nt.extend("--ft-chip-large-horizontal-padding","",wt.spacing4),Nt.extend("--ft-chip-large-vertical-padding","",wt.spacing2),Nt.extend("--ft-chip-large-gap","",wt.spacing1),Nt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Nt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-chip-large-border-radius","",wt.borderRadiusPill),Nt.create("--ft-chip-large-border-width","","SIZE","1px"),Nt.extend("--ft-chip-large-icon-size","",wt.iconSize3),Nt.extend("--ft-chip-medium-horizontal-padding","",wt.spacing3),Nt.extend("--ft-chip-medium-vertical-padding","",wt.spacing1),Nt.extend("--ft-chip-medium-gap","",wt.spacing1),Nt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Nt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-chip-medium-border-radius","",wt.borderRadiusPill),Nt.create("--ft-chip-medium-border-width","","SIZE","1px"),Nt.extend("--ft-chip-medium-icon-size","",wt.iconSize2),Nt.extend("--ft-chip-small-horizontal-padding","",wt.spacing2),Nt.extend("--ft-chip-small-vertical-padding","",wt.spacing05),Nt.extend("--ft-chip-small-gap","",wt.spacing1),Nt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Nt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-chip-small-border-radius","",wt.borderRadiusPill),Nt.create("--ft-chip-small-border-width","","SIZE","1px"),Nt.extend("--ft-chip-small-icon-size","",wt.iconSize1),Nt.extend("--ft-chip-neutral-background-color","",Ct.backgroundGlobalOnSurface),Nt.extend("--ft-chip-neutral-color","",Ct.contentGlobalPrimary),Nt.extend("--ft-chip-neutral-border-color","",Ct.borderGlobalSubtle),Nt.extend("--ft-chip-info-background-color","",Ct.backgroundInfoSubtle),Nt.extend("--ft-chip-info-color","",Ct.contentInfoPrimary),Nt.extend("--ft-chip-info-border-color","",Ct.borderInfoPrimary),Nt.extend("--ft-chip-success-background-color","",Ct.backgroundSuccessSubtle),Nt.extend("--ft-chip-success-color","",Ct.contentSuccessPrimary),Nt.extend("--ft-chip-success-border-color","",Ct.borderSuccessPrimary),Nt.extend("--ft-chip-warning-background-color","",Ct.backgroundWarningSubtle),Nt.extend("--ft-chip-warning-color","",Ct.contentWarningPrimary),Nt.extend("--ft-chip-warning-border-color","",Ct.borderWarningPrimary),Nt.extend("--ft-chip-error-background-color","",Ct.backgroundErrorSubtle),Nt.extend("--ft-chip-error-color","",Ct.contentErrorPrimary),Nt.extend("--ft-chip-error-border-color","",Ct.borderErrorPrimary),Nt.create("--ft-notice-border-width","","SIZE","1px"),Nt.extend("--ft-notice-horizontal-padding","",wt.spacing2),Nt.extend("--ft-notice-vertical-padding","",wt.spacing1),Nt.extend("--ft-notice-border-radius","",wt.borderRadiusS),Nt.extend("--ft-notice-gap","",wt.spacing2),Nt.extend("--ft-notice-icon-size","",wt.iconSize3),Nt.extend("--ft-notice-info-background-color","",Ct.backgroundInfoSubtle),Nt.extend("--ft-notice-info-border-color","",Ct.borderInfoPrimary),Nt.extend("--ft-notice-info-color","",Ct.contentInfoPrimary),Nt.extend("--ft-notice-warning-background-color","",Ct.backgroundWarningSubtle),Nt.extend("--ft-notice-warning-border-color","",Ct.borderWarningPrimary),Nt.extend("--ft-notice-warning-color","",Ct.contentWarningPrimary),Nt.extend("--ft-checkbox-label-color","",Ct.contentGlobalPrimary),Nt.extend("--ft-checkbox-checked-background-color","",Ct.contentActionPrimary),Nt.extend("--ft-checkbox-checked-state-layer-color","",Ct.contentActionPrimary),Nt.extend("--ft-checkbox-checked-color","",Ct.contentGlobalOnColor),Nt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",wt.opacity16),Nt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",wt.opacity16),Nt.extend("--ft-checkbox-checked-state-layer-opacity-active","",wt.opacity24),Nt.extend("--ft-checkbox-checked-component-opacity-disabled","",wt.opacity40),Nt.extend("--ft-checkbox-unchecked-border-color","",wt.colorGray80),Nt.extend("--ft-checkbox-unchecked-state-layer-color","",wt.colorGray80),Nt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",wt.opacity16),Nt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",wt.opacity16),Nt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",wt.opacity24),Nt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",wt.opacity40),Nt.extend("--ft-checkbox-focus-focus-ring-color","",Ct.borderActionFocusRing),Nt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Nt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-checkbox-gap","",wt.spacing3),Nt.extend("--ft-toggle-off-state-layer-opacity-hover","",wt.opacity16),Nt.extend("--ft-toggle-off-state-layer-opacity-focus","",wt.opacity16),Nt.extend("--ft-toggle-off-state-layer-opacity-active","",wt.opacity24),Nt.extend("--ft-toggle-off-component-opacity-disabled","",wt.opacity40),Nt.extend("--ft-toggle-off-background-color","",Ct.contentGlobalSubtle),Nt.extend("--ft-toggle-off-icon-color","",Ct.contentGlobalSubtle),Nt.extend("--ft-toggle-off-state-layer-color","",Ct.contentGlobalSubtle),Nt.extend("--ft-toggle-on-state-layer-opacity-hover","",wt.opacity16),Nt.extend("--ft-toggle-on-state-layer-opacity-focus","",wt.opacity16),Nt.extend("--ft-toggle-on-state-layer-opacity-active","",wt.opacity24),Nt.extend("--ft-toggle-on-component-opacity-disabled","",wt.opacity40),Nt.extend("--ft-toggle-on-background-color","",Ct.contentActionPrimary),Nt.extend("--ft-toggle-on-icon-color","",Ct.contentActionPrimary),Nt.extend("--ft-toggle-on-state-layer-color","",Ct.contentActionPrimary),Nt.extend("--ft-toggle-label-color","",Ct.contentGlobalPrimary),Nt.extend("--ft-toggle-focus-focus-ring-color","",Ct.borderActionFocusRing),Nt.extend("--ft-toggle-gap","",wt.spacing3),Nt.extend("--ft-radio-label-color","",Ct.contentGlobalPrimary),Nt.extend("--ft-radio-selected-color","",Ct.contentActionPrimary),Nt.extend("--ft-radio-selected-state-layer-color","",Ct.contentActionPrimary),Nt.extend("--ft-radio-selected-state-layer-opacity-hover","",wt.opacity16),Nt.extend("--ft-radio-selected-state-layer-opacity-focus","",wt.opacity16),Nt.extend("--ft-radio-selected-state-layer-opacity-active","",wt.opacity24),Nt.extend("--ft-radio-selected-component-opacity-disabled","",wt.opacity40),Nt.extend("--ft-radio-unselected-state-layer-color","",wt.colorGray80),Nt.extend("--ft-radio-unselected-state-layer-opacity-hover","",wt.opacity16),Nt.extend("--ft-radio-unselected-state-layer-opacity-focus","",wt.opacity16),Nt.extend("--ft-radio-unselected-state-layer-opacity-active","",wt.opacity24),Nt.extend("--ft-radio-unselected-component-opacity-disabled","",wt.opacity40),Nt.extend("--ft-radio-focus-focus-ring-color","",Ct.borderActionFocusRing),Nt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Nt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-radio-gap","",wt.spacing3),Nt.extend("--ft-notification-icon-size","",wt.iconSize4),Nt.extend("--ft-notification-horizontal-padding","",wt.spacing4),Nt.extend("--ft-notification-vertical-padding","",wt.spacing4),Nt.extend("--ft-notification-info-background-color","",Ct.backgroundInfoSubtle),Nt.extend("--ft-notification-info-color","",Ct.contentInfoPrimary),Nt.extend("--ft-notification-info-border-color","",Ct.borderInfoPrimary),Nt.extend("--ft-notification-success-background-color","",Ct.backgroundSuccessSubtle),Nt.extend("--ft-notification-success-color","",Ct.contentSuccessPrimary),Nt.extend("--ft-notification-success-border-color","",Ct.borderSuccessPrimary),Nt.extend("--ft-notification-warning-background-color","",Ct.backgroundWarningSubtle),Nt.extend("--ft-notification-warning-color","",Ct.contentWarningPrimary),Nt.extend("--ft-notification-warning-border-color","",Ct.borderWarningPrimary),Nt.extend("--ft-notification-error-background-color","",Ct.backgroundErrorSubtle),Nt.extend("--ft-notification-error-color","",Ct.contentErrorPrimary),Nt.extend("--ft-notification-error-border-color","",Ct.borderErrorPrimary),Nt.extend("--ft-notification-border-radius","",wt.borderRadiusPill),Nt.create("--ft-notification-border-width","","SIZE","1px"),Nt.extend("--ft-notification-gap-leading","",wt.spacing2),Nt.extend("--ft-notification-gap-trailing","",wt.spacing8);const Rt={colorPrimary:Nt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Nt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Nt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Nt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Nt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Nt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Nt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Nt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Nt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Nt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Nt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Nt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Nt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Nt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Nt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Nt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Nt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Nt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Nt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Nt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Nt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Nt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Nt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Nt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Nt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Nt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Nt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Nt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Nt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Nt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Nt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Nt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Nt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Nt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Nt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Nt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Nt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Nt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Nt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Nt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Nt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Nt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Nt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Nt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Nt.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:Nt.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:Nt.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:Nt.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:Nt.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:Nt.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:Nt.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:Nt.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:Nt.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:Nt.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:Nt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Nt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Nt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Nt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Nt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Nt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Nt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Nt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Et extends vt{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 O(e,t.elementStyles),e}}var It,Ut=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Lt=Symbol("constructorPrototype"),Wt=Symbol("constructorName"),zt=Symbol("exportpartsDebouncer");class Kt extends Et{constructor(){super(),this[It]=new o(5),this[Wt]=this.constructor.name,this[Lt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wt]&&Object.setPrototypeOf(this,this[Lt])}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[zt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const 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!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(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(", "))}}It=zt,Ut([i()],Kt.prototype,"exportpartsPrefix",void 0),Ut([d([])],Kt.prototype,"exportpartsPrefixes",void 0),Ut([i()],Kt.prototype,"customStylesheet",void 0);const Ft=x`
76
76
  .ft-no-text-select {
77
77
  -webkit-touch-callout: none;
78
78
  -webkit-user-select: none;
@@ -81,7 +81,7 @@ var xt,yt;let gt=class extends z{constructor(){super(...arguments),this.renderOp
81
81
  -ms-user-select: none;
82
82
  user-select: none;
83
83
  }
84
- `;m`
84
+ `;x`
85
85
  .ft-word-wrap {
86
86
  white-space: normal;
87
87
  word-wrap: break-word;
@@ -93,7 +93,7 @@ var xt,yt;let gt=class extends z{constructor(){super(...arguments),this.renderOp
93
93
  -webkit-hyphens: auto;
94
94
  hyphens: auto
95
95
  }
96
- `;const jt=m`
96
+ `;const Bt=x`
97
97
  .ft-safari-ellipsis-fix {
98
98
  margin-right: 0;
99
99
 
@@ -104,125 +104,132 @@ var xt,yt;let gt=class extends z{constructor(){super(...arguments),this.renderOp
104
104
  display: inline-block;
105
105
  width: 0;
106
106
  }
107
- `;var Bt,Ft,Ut;window.ftReduxStores||(window.ftReduxStores={});const Lt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ut=null===(Ft=null===(Bt=window.safari)||void 0===Bt?void 0:Bt.pushNotification)||void 0===Ft?void 0:Ft.toString())&&void 0!==Ut?Ut:""),Tt=Symbol.for(""),Dt=t=>{if((null==t?void 0:t.r)===Tt)return null==t?void 0:t._$litStatic$},At=t=>({_$litStatic$:t,r:Tt}),It=new Map,Pt=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],l=[];let a,h=0,c=!1;for(;h<o;){for(a=e[h];h<o&&void 0!==(r=i[h],s=Dt(r));)a+=s+e[++h],c=!0;h!==o&&l.push(r),n.push(a),h++}if(h===o&&n.push(e[o]),c){const t=n.join("$$lit$$");void 0===(e=It.get(t))&&(n.raw=n,It.set(t,e=n)),i=l}return t(e,...i)})(Q);
107
+ `;window.ftReduxStores||(window.ftReduxStores={});const Zt=Symbol("elementInternals");var Dt,Mt,At;const Ht=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(At=null===(Mt=null===(Dt=window.safari)||void 0===Dt?void 0:Dt.pushNotification)||void 0===Mt?void 0:Mt.toString())&&void 0!==At?At:""),jt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===jt)return null==t?void 0:t._$litStatic$},Tt=t=>({_$litStatic$:t,r:jt}),_t=new Map,Gt=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=Pt(n));)s+=r+o[++c],p=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=_t.get(t))&&(a.raw=a,_t.set(t,o=a)),e=l}return t(o,...e)})(Q);
108
108
  /**
109
109
  * @license
110
110
  * Copyright 2020 Google LLC
111
111
  * SPDX-License-Identifier: BSD-3-Clause
112
- */var _t;!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||(_t={}));const Ht=$t.extend("--ft-typography-font-family",kt.titleFont),Wt=$t.extend("--ft-typography-font-family",kt.contentFont),Vt={fontFamily:Wt,fontSize:$t.create("--ft-typography-font-size","SIZE","16px"),fontWeight:$t.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:$t.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:$t.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:$t.create("--ft-typography-text-transform","UNKNOWN","inherit")},Kt=$t.extend("--ft-typography-title-font-family",Ht),Zt=$t.extend("--ft-typography-title-font-size",Vt.fontSize,"20px"),Jt=$t.extend("--ft-typography-title-font-weight",Vt.fontWeight,"normal"),qt=$t.extend("--ft-typography-title-letter-spacing",Vt.letterSpacing,"0.15px"),Xt=$t.extend("--ft-typography-title-line-height",Vt.lineHeight,"1.2"),Gt=$t.extend("--ft-typography-title-text-transform",Vt.textTransform,"inherit"),Yt=$t.extend("--ft-typography-title-dense-font-family",Ht),Qt=$t.extend("--ft-typography-title-dense-font-size",Vt.fontSize,"14px"),te=$t.extend("--ft-typography-title-dense-font-weight",Vt.fontWeight,"normal"),ee=$t.extend("--ft-typography-title-dense-letter-spacing",Vt.letterSpacing,"0.105px"),ie=$t.extend("--ft-typography-title-dense-line-height",Vt.lineHeight,"1.7"),oe=$t.extend("--ft-typography-title-dense-text-transform",Vt.textTransform,"inherit"),se=$t.extend("--ft-typography-subtitle1-font-family",Wt),re=$t.extend("--ft-typography-subtitle1-font-size",Vt.fontSize,"16px"),ne=$t.extend("--ft-typography-subtitle1-font-weight",Vt.fontWeight,"600"),le=$t.extend("--ft-typography-subtitle1-letter-spacing",Vt.letterSpacing,"0.144px"),ae=$t.extend("--ft-typography-subtitle1-line-height",Vt.lineHeight,"1.5"),he=$t.extend("--ft-typography-subtitle1-text-transform",Vt.textTransform,"inherit"),ce=$t.extend("--ft-typography-subtitle2-font-family",Wt),pe=$t.extend("--ft-typography-subtitle2-font-size",Vt.fontSize,"14px"),de=$t.extend("--ft-typography-subtitle2-font-weight",Vt.fontWeight,"normal"),fe=$t.extend("--ft-typography-subtitle2-letter-spacing",Vt.letterSpacing,"0.098px"),ue=$t.extend("--ft-typography-subtitle2-line-height",Vt.lineHeight,"1.7"),ve=$t.extend("--ft-typography-subtitle2-text-transform",Vt.textTransform,"inherit"),be=$t.extend("--ft-typography-body1-font-family",Wt),xe=$t.extend("--ft-typography-body1-font-size",Vt.fontSize,"16px"),ye=$t.extend("--ft-typography-body1-font-weight",Vt.fontWeight,"normal"),ge=$t.extend("--ft-typography-body1-letter-spacing",Vt.letterSpacing,"0.496px"),me=$t.extend("--ft-typography-body1-line-height",Vt.lineHeight,"1.5"),$e=$t.extend("--ft-typography-body1-text-transform",Vt.textTransform,"inherit"),we={fontFamily:$t.extend("--ft-typography-body2-font-family",Wt),fontSize:$t.extend("--ft-typography-body2-font-size",Vt.fontSize,"14px"),fontWeight:$t.extend("--ft-typography-body2-font-weight",Vt.fontWeight,"normal"),letterSpacing:$t.extend("--ft-typography-body2-letter-spacing",Vt.letterSpacing,"0.252px"),lineHeight:$t.extend("--ft-typography-body2-line-height",Vt.lineHeight,"1.4"),textTransform:$t.extend("--ft-typography-body2-text-transform",Vt.textTransform,"inherit")},ke=$t.extend("--ft-typography-caption-font-family",Wt),Oe=$t.extend("--ft-typography-caption-font-size",Vt.fontSize,"12px"),Se=$t.extend("--ft-typography-caption-font-weight",Vt.fontWeight,"normal"),Ce=$t.extend("--ft-typography-caption-letter-spacing",Vt.letterSpacing,"0.396px"),Ee=$t.extend("--ft-typography-caption-line-height",Vt.lineHeight,"1.33"),Ne=$t.extend("--ft-typography-caption-text-transform",Vt.textTransform,"inherit"),Re=$t.extend("--ft-typography-breadcrumb-font-family",Wt),Me=$t.extend("--ft-typography-breadcrumb-font-size",Vt.fontSize,"10px"),ze=$t.extend("--ft-typography-breadcrumb-font-weight",Vt.fontWeight,"normal"),je=$t.extend("--ft-typography-breadcrumb-letter-spacing",Vt.letterSpacing,"0.33px"),Be=$t.extend("--ft-typography-breadcrumb-line-height",Vt.lineHeight,"1.6"),Fe=$t.extend("--ft-typography-breadcrumb-text-transform",Vt.textTransform,"inherit"),Ue=$t.extend("--ft-typography-overline-font-family",Wt),Le=$t.extend("--ft-typography-overline-font-size",Vt.fontSize,"10px"),Te=$t.extend("--ft-typography-overline-font-weight",Vt.fontWeight,"normal"),De=$t.extend("--ft-typography-overline-letter-spacing",Vt.letterSpacing,"1.5px"),Ae=$t.extend("--ft-typography-overline-line-height",Vt.lineHeight,"1.6"),Ie=$t.extend("--ft-typography-overline-text-transform",Vt.textTransform,"uppercase"),Pe={fontFamily:$t.extend("--ft-typography-button-font-family",Wt),fontSize:$t.extend("--ft-typography-button-font-size",Vt.fontSize,"14px"),fontWeight:$t.extend("--ft-typography-button-font-weight",Vt.fontWeight,"600"),letterSpacing:$t.extend("--ft-typography-button-letter-spacing",Vt.letterSpacing,"1.246px"),lineHeight:$t.extend("--ft-typography-button-line-height",Vt.lineHeight,"1.15"),textTransform:$t.extend("--ft-typography-button-text-transform",Vt.textTransform,"uppercase")},_e=m`
112
+ */var Vt;!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"}(Vt||(Vt={}));const Yt=Nt.extend("--ft-typography-font-family","",Rt.titleFont),Jt=Nt.extend("--ft-typography-font-family","",Rt.contentFont),qt={fontFamily:Jt,fontSize:Nt.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Nt.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Nt.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Nt.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Nt.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Xt=Nt.extend("--ft-typography-title-font-family","",Yt),Qt=Nt.extend("--ft-typography-title-font-size","",qt.fontSize,"20px"),to=Nt.extend("--ft-typography-title-font-weight","",qt.fontWeight,"normal"),oo=Nt.extend("--ft-typography-title-letter-spacing","",qt.letterSpacing,"0.15px"),eo=Nt.extend("--ft-typography-title-line-height","",qt.lineHeight,"1.2"),io=Nt.extend("--ft-typography-title-text-transform","",qt.textTransform,"inherit"),ro=Nt.extend("--ft-typography-title-dense-font-family","",Yt),no=Nt.extend("--ft-typography-title-dense-font-size","",qt.fontSize,"14px"),ao=Nt.extend("--ft-typography-title-dense-font-weight","",qt.fontWeight,"normal"),lo=Nt.extend("--ft-typography-title-dense-letter-spacing","",qt.letterSpacing,"0.105px"),so=Nt.extend("--ft-typography-title-dense-line-height","",qt.lineHeight,"1.7"),co=Nt.extend("--ft-typography-title-dense-text-transform","",qt.textTransform,"inherit"),po=Nt.extend("--ft-typography-subtitle1-font-family","",Jt),fo=Nt.extend("--ft-typography-subtitle1-font-size","",qt.fontSize,"16px"),ho=Nt.extend("--ft-typography-subtitle1-font-weight","",qt.fontWeight,"600"),uo=Nt.extend("--ft-typography-subtitle1-letter-spacing","",qt.letterSpacing,"0.144px"),yo=Nt.extend("--ft-typography-subtitle1-line-height","",qt.lineHeight,"1.5"),go=Nt.extend("--ft-typography-subtitle1-text-transform","",qt.textTransform,"inherit"),bo=Nt.extend("--ft-typography-subtitle2-font-family","",Jt),mo=Nt.extend("--ft-typography-subtitle2-font-size","",qt.fontSize,"14px"),vo=Nt.extend("--ft-typography-subtitle2-font-weight","",qt.fontWeight,"normal"),xo=Nt.extend("--ft-typography-subtitle2-letter-spacing","",qt.letterSpacing,"0.098px"),Oo=Nt.extend("--ft-typography-subtitle2-line-height","",qt.lineHeight,"1.7"),No=Nt.extend("--ft-typography-subtitle2-text-transform","",qt.textTransform,"inherit"),So=Nt.extend("--ft-typography-body1-font-family","",Jt),wo=Nt.extend("--ft-typography-body1-font-size","",qt.fontSize,"16px"),$o=Nt.extend("--ft-typography-body1-font-weight","",qt.fontWeight,"normal"),Co=Nt.extend("--ft-typography-body1-letter-spacing","",qt.letterSpacing,"0.496px"),ko=Nt.extend("--ft-typography-body1-line-height","",qt.lineHeight,"1.5"),Ro=Nt.extend("--ft-typography-body1-text-transform","",qt.textTransform,"inherit"),Eo={fontFamily:Nt.extend("--ft-typography-body2-font-family","",Jt),fontSize:Nt.extend("--ft-typography-body2-font-size","",qt.fontSize,"14px"),fontWeight:Nt.extend("--ft-typography-body2-font-weight","",qt.fontWeight,"normal"),letterSpacing:Nt.extend("--ft-typography-body2-letter-spacing","",qt.letterSpacing,"0.252px"),lineHeight:Nt.extend("--ft-typography-body2-line-height","",qt.lineHeight,"1.4"),textTransform:Nt.extend("--ft-typography-body2-text-transform","",qt.textTransform,"inherit")},Io=Nt.extend("--ft-typography-caption-font-family","",Jt),Uo=Nt.extend("--ft-typography-caption-font-size","",qt.fontSize,"12px"),Lo=Nt.extend("--ft-typography-caption-font-weight","",qt.fontWeight,"normal"),Wo=Nt.extend("--ft-typography-caption-letter-spacing","",qt.letterSpacing,"0.396px"),zo=Nt.extend("--ft-typography-caption-line-height","",qt.lineHeight,"1.33"),Ko=Nt.extend("--ft-typography-caption-text-transform","",qt.textTransform,"inherit"),Fo=Nt.extend("--ft-typography-breadcrumb-font-family","",Jt),Bo=Nt.extend("--ft-typography-breadcrumb-font-size","",qt.fontSize,"10px"),Zo=Nt.extend("--ft-typography-breadcrumb-font-weight","",qt.fontWeight,"normal"),Do=Nt.extend("--ft-typography-breadcrumb-letter-spacing","",qt.letterSpacing,"0.33px"),Mo=Nt.extend("--ft-typography-breadcrumb-line-height","",qt.lineHeight,"1.6"),Ao=Nt.extend("--ft-typography-breadcrumb-text-transform","",qt.textTransform,"inherit"),Ho=Nt.extend("--ft-typography-overline-font-family","",Jt),jo=Nt.extend("--ft-typography-overline-font-size","",qt.fontSize,"10px"),Po=Nt.extend("--ft-typography-overline-font-weight","",qt.fontWeight,"normal"),To=Nt.extend("--ft-typography-overline-letter-spacing","",qt.letterSpacing,"1.5px"),_o=Nt.extend("--ft-typography-overline-line-height","",qt.lineHeight,"1.6"),Go=Nt.extend("--ft-typography-overline-text-transform","",qt.textTransform,"uppercase"),Vo={fontFamily:Nt.extend("--ft-typography-button-font-family","",Jt),fontSize:Nt.extend("--ft-typography-button-font-size","",qt.fontSize,"14px"),fontWeight:Nt.extend("--ft-typography-button-font-weight","",qt.fontWeight,"600"),letterSpacing:Nt.extend("--ft-typography-button-letter-spacing","",qt.letterSpacing,"1.246px"),lineHeight:Nt.extend("--ft-typography-button-line-height","",qt.lineHeight,"1.15"),textTransform:Nt.extend("--ft-typography-button-text-transform","",qt.textTransform,"uppercase")},Yo=x`
113
113
  .ft-typography--title {
114
- font-family: ${Kt};
115
- font-size: ${Zt};
116
- font-weight: ${Jt};
117
- letter-spacing: ${qt};
118
- line-height: ${Xt};
119
- text-transform: ${Gt};
120
- }
121
- `,He=m`
122
- .ft-typography--title-dense {
123
- font-family: ${Yt};
114
+ font-family: ${Xt};
124
115
  font-size: ${Qt};
125
- font-weight: ${te};
126
- letter-spacing: ${ee};
127
- line-height: ${ie};
128
- text-transform: ${oe};
116
+ font-weight: ${to};
117
+ letter-spacing: ${oo};
118
+ line-height: ${eo};
119
+ text-transform: ${io};
129
120
  }
130
- `,We=m`
121
+ `,Jo=x`
122
+ .ft-typography--title-dense {
123
+ font-family: ${ro};
124
+ font-size: ${no};
125
+ font-weight: ${ao};
126
+ letter-spacing: ${lo};
127
+ line-height: ${so};
128
+ text-transform: ${co};
129
+ }
130
+ `,qo=x`
131
131
  .ft-typography--subtitle1 {
132
- font-family: ${se};
133
- font-size: ${re};
134
- font-weight: ${ne};
135
- letter-spacing: ${le};
136
- line-height: ${ae};
137
- text-transform: ${he};
138
- }
139
- `,Ve=m`
132
+ font-family: ${po};
133
+ font-size: ${fo};
134
+ font-weight: ${ho};
135
+ letter-spacing: ${uo};
136
+ line-height: ${yo};
137
+ text-transform: ${go};
138
+ }
139
+ `,Xo=x`
140
140
  .ft-typography--subtitle2 {
141
- font-family: ${ce};
142
- font-size: ${pe};
143
- font-weight: ${de};
144
- letter-spacing: ${fe};
145
- line-height: ${ue};
146
- text-transform: ${ve};
141
+ font-family: ${bo};
142
+ font-size: ${mo};
143
+ font-weight: ${vo};
144
+ letter-spacing: ${xo};
145
+ line-height: ${Oo};
146
+ text-transform: ${No};
147
147
  }
148
148
 
149
- `,Ke=m`
149
+ `,Qo=x`
150
150
  .ft-typography--body1 {
151
- font-family: ${be};
152
- font-size: ${xe};
153
- font-weight: ${ye};
154
- letter-spacing: ${ge};
155
- line-height: ${me};
156
- text-transform: ${$e};
157
- }
158
- `,Ze=m`
151
+ font-family: ${So};
152
+ font-size: ${wo};
153
+ font-weight: ${$o};
154
+ letter-spacing: ${Co};
155
+ line-height: ${ko};
156
+ text-transform: ${Ro};
157
+ }
158
+ `,te=x`
159
159
  .ft-typography--body2 {
160
- font-family: ${we.fontFamily};
161
- font-size: ${we.fontSize};
162
- font-weight: ${we.fontWeight};
163
- letter-spacing: ${we.letterSpacing};
164
- line-height: ${we.lineHeight};
165
- text-transform: ${we.textTransform};
166
- }
167
- `,Je=m`
160
+ font-family: ${Eo.fontFamily};
161
+ font-size: ${Eo.fontSize};
162
+ font-weight: ${Eo.fontWeight};
163
+ letter-spacing: ${Eo.letterSpacing};
164
+ line-height: ${Eo.lineHeight};
165
+ text-transform: ${Eo.textTransform};
166
+ }
167
+ `,oe=x`
168
168
  .ft-typography--caption {
169
- font-family: ${ke};
170
- font-size: ${Oe};
171
- font-weight: ${Se};
172
- letter-spacing: ${Ce};
173
- line-height: ${Ee};
174
- text-transform: ${Ne};
175
- }
176
- `,qe=m`
169
+ font-family: ${Io};
170
+ font-size: ${Uo};
171
+ font-weight: ${Lo};
172
+ letter-spacing: ${Wo};
173
+ line-height: ${zo};
174
+ text-transform: ${Ko};
175
+ }
176
+ `,ee=x`
177
177
  .ft-typography--breadcrumb {
178
- font-family: ${Re};
179
- font-size: ${Me};
180
- font-weight: ${ze};
181
- letter-spacing: ${je};
182
- line-height: ${Be};
183
- text-transform: ${Fe};
184
- }
185
- `,Xe=m`
178
+ font-family: ${Fo};
179
+ font-size: ${Bo};
180
+ font-weight: ${Zo};
181
+ letter-spacing: ${Do};
182
+ line-height: ${Mo};
183
+ text-transform: ${Ao};
184
+ }
185
+ `,ie=x`
186
186
  .ft-typography--overline {
187
- font-family: ${Ue};
188
- font-size: ${Le};
189
- font-weight: ${Te};
190
- letter-spacing: ${De};
191
- line-height: ${Ae};
192
- text-transform: ${Ie};
193
- }
194
- `,Ge=m`
187
+ font-family: ${Ho};
188
+ font-size: ${jo};
189
+ font-weight: ${Po};
190
+ letter-spacing: ${To};
191
+ line-height: ${_o};
192
+ text-transform: ${Go};
193
+ }
194
+ `,re=x`
195
195
  .ft-typography--button {
196
- font-family: ${Pe.fontFamily};
197
- font-size: ${Pe.fontSize};
198
- font-weight: ${Pe.fontWeight};
199
- letter-spacing: ${Pe.letterSpacing};
200
- line-height: ${Pe.lineHeight};
201
- text-transform: ${Pe.textTransform};
202
- }
203
- `,Ye=m`
196
+ font-family: ${Vo.fontFamily};
197
+ font-size: ${Vo.fontSize};
198
+ font-weight: ${Vo.fontWeight};
199
+ letter-spacing: ${Vo.letterSpacing};
200
+ line-height: ${Vo.lineHeight};
201
+ text-transform: ${Vo.textTransform};
202
+ }
203
+ `,ne=x`
204
204
  .ft-typography {
205
205
  vertical-align: inherit;
206
206
  }
207
- `;var Qe=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class ti extends Mt{constructor(){super(...arguments),this.variant=_t.body1}render(){return this.element?Pt`
208
- <${At(this.element)}
209
- class="ft-typography ft-typography--${this.variant}">
207
+ `,ae=[Object.keys($t).map((t=>function(t){const o=$t[t];return x`
208
+ font-family: ${o.fontFamily};
209
+ font-size: ${o.fontSize};
210
+ font-weight: ${o.fontWeight};
211
+ letter-spacing: ${o.letterSpacing};
212
+ line-height: ${o.lineHeight};
213
+ text-transform: ${o.textCase};
214
+ `}(t)))];var le=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class se extends Kt{constructor(){super(...arguments),this.variant=Vt.body1}render(){return this.element?Gt`
215
+ <${Tt(this.element)}
216
+ class="ft-typography ft-typography--${this.variant}">
210
217
  <slot></slot>
211
- </${At(this.element)}>
212
- `:Pt`
218
+ </${Tt(this.element)}>
219
+ `:Gt`
213
220
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
214
- `}}ti.styles=[_e,He,We,Ve,Ke,Ze,Je,qe,Xe,Ge,Ye],Qe([o()],ti.prototype,"element",void 0),Qe([o()],ti.prototype,"variant",void 0),d("ft-typography")(ti);
221
+ `}}se.styles=[Yo,Jo,qo,Xo,Qo,te,oe,ee,ie,re,ne,...ae],le([i()],se.prototype,"element",void 0),le([i()],se.prototype,"variant",void 0),h("ft-typography")(se);
215
222
  /**
216
223
  * @license
217
224
  * Copyright 2017 Google LLC
218
225
  * SPDX-License-Identifier: BSD-3-Clause
219
226
  */
220
- const ei=1,ii=2,oi=t=>(...e)=>({_$litDirective$:t,values:e});class si{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)}}
227
+ const ce=1,pe=2,fe=t=>(...o)=>({_$litDirective$:t,values:o});class he{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)}}
221
228
  /**
222
229
  * @license
223
230
  * Copyright 2020 Google LLC
224
231
  * SPDX-License-Identifier: BSD-3-Clause
225
- */const{I:ri}=vt,ni=()=>document.createComment(""),li=(t,e,i)=>{var o;const s=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(ni(),r),o=s.insertBefore(ni(),r);i=new ri(e,o,t,t.options)}else{const e=i._$AB.nextSibling,n=i._$AM,l=n!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==n._$AU&&i._$AP(e)}if(e!==r||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,r),t=e}}}return i},ai=(t,e,i=t)=>(t._$AI(e,i),t),hi={},ci=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},pi=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},di=oi(class extends si{constructor(t){if(super(t),t.type!==ii)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const s=[],r=[];let n=0;for(const e of t)s[n]=o?o(e,n):n,r[n]=i(e,n),n++;return{values:r,keys:s}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var s;const r=(t=>t._$AH)(t),{values:n,keys:l}=this.dt(e,i,o);if(!Array.isArray(r))return this.ht=l,n;const a=null!==(s=this.ht)&&void 0!==s?s:this.ht=[],h=[];let c,p,d=0,f=r.length-1,u=0,v=n.length-1;for(;d<=f&&u<=v;)if(null===r[d])d++;else if(null===r[f])f--;else if(a[d]===l[u])h[u]=ai(r[d],n[u]),d++,u++;else if(a[f]===l[v])h[v]=ai(r[f],n[v]),f--,v--;else if(a[d]===l[v])h[v]=ai(r[d],n[v]),li(t,h[v+1],r[d]),d++,v--;else if(a[f]===l[u])h[u]=ai(r[f],n[u]),li(t,r[d],r[f]),f--,u++;else if(void 0===c&&(c=pi(l,u,v),p=pi(a,d,f)),c.has(a[d]))if(c.has(a[f])){const e=p.get(l[u]),i=void 0!==e?r[e]:null;if(null===i){const e=li(t,r[d]);ai(e,n[u]),h[u]=e}else h[u]=ai(i,n[u]),li(t,r[d],i),r[e]=null;u++}else ci(r[f]),f--;else ci(r[d]),d++;for(;u<=v;){const e=li(t,h[v+1]);ai(e,n[u]),h[u++]=e}for(;d<=f;){const t=r[d++];null!==t&&ci(t)}return this.ht=l,((t,e=hi)=>{t._$AH=e})(t,h),tt}}),fi=oi(class extends si{constructor(t){var e;if(super(t),t.type!==ei||"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 s=t.element.classList;this.it.forEach((t=>{t in e||(s.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?(s.add(t),this.it.add(t)):(s.remove(t),this.it.delete(t)))}return tt}}),ui=$t.extend("--ft-ripple-color",kt.colorContent),vi={color:ui,backgroundColor:$t.extend("--ft-ripple-background-color",ui),opacityContentOnSurfacePressed:$t.external(kt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:$t.external(kt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:$t.external(kt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:$t.external(kt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:$t.create("--ft-ripple-border-radius","SIZE","0px")},bi=$t.extend("--ft-ripple-color",kt.colorPrimary),xi=bi,yi=$t.extend("--ft-ripple-background-color",bi),gi=$t.extend("--ft-ripple-color",kt.colorSecondary),mi=gi,$i=$t.extend("--ft-ripple-background-color",gi),wi=m`
232
+ */const{I:de}=yt,ue=()=>document.createComment(""),ye=(t,o,e)=>{var i;const r=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(ue(),n),i=r.insertBefore(ue(),n);e=new de(o,i,t,t.options)}else{const o=e._$AB.nextSibling,a=e._$AM,l=a!==t;if(l){let o;null===(i=e._$AQ)||void 0===i||i.call(e,t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==a._$AU&&e._$AP(o)}if(o!==n||l){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,n),t=o}}}return e},ge=(t,o,e=t)=>(t._$AI(o,e),t),be={},me=t=>{var o;null===(o=t._$AP)||void 0===o||o.call(t,!1,!0);let e=t._$AA;const i=t._$AB.nextSibling;for(;e!==i;){const t=e.nextSibling;e.remove(),e=t}},ve=(t,o,e)=>{const i=new Map;for(let r=o;r<=e;r++)i.set(t[r],r);return i},xe=fe(class extends he{constructor(t){if(super(t),t.type!==pe)throw Error("repeat() can only be used in text expressions")}dt(t,o,e){let i;void 0===e?e=o:void 0!==o&&(i=o);const r=[],n=[];let a=0;for(const o of t)r[a]=i?i(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:r}}render(t,o,e){return this.dt(t,o,e).values}update(t,[o,e,i]){var r;const n=(t=>t._$AH)(t),{values:a,keys:l}=this.dt(o,e,i);if(!Array.isArray(n))return this.ht=l,a;const s=null!==(r=this.ht)&&void 0!==r?r:this.ht=[],c=[];let p,f,h=0,d=n.length-1,u=0,y=a.length-1;for(;h<=d&&u<=y;)if(null===n[h])h++;else if(null===n[d])d--;else if(s[h]===l[u])c[u]=ge(n[h],a[u]),h++,u++;else if(s[d]===l[y])c[y]=ge(n[d],a[y]),d--,y--;else if(s[h]===l[y])c[y]=ge(n[h],a[y]),ye(t,c[y+1],n[h]),h++,y--;else if(s[d]===l[u])c[u]=ge(n[d],a[u]),ye(t,n[h],n[d]),d--,u++;else if(void 0===p&&(p=ve(l,u,y),f=ve(s,h,d)),p.has(s[h]))if(p.has(s[d])){const o=f.get(l[u]),e=void 0!==o?n[o]:null;if(null===e){const o=ye(t,n[h]);ge(o,a[u]),c[u]=o}else c[u]=ge(e,a[u]),ye(t,n[h],e),n[o]=null;u++}else me(n[d]),d--;else me(n[h]),h++;for(;u<=y;){const o=ye(t,c[y+1]);ge(o,a[u]),c[u++]=o}for(;h<=d;){const t=n[h++];null!==t&&me(t)}return this.ht=l,((t,o=be)=>{t._$AH=o})(t,c),tt}}),Oe=Nt.extend("--ft-ripple-color","",Rt.colorContent),Ne={color:Oe,backgroundColor:Nt.extend("--ft-ripple-background-color","",Oe),opacityContentOnSurfacePressed:Nt.external(Rt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Nt.external(Rt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Nt.external(Rt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Nt.external(Rt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Nt.create("--ft-ripple-border-radius","","SIZE","0px")},Se=Nt.extend("--ft-ripple-color","",Rt.colorPrimary),we=Se,$e=Nt.extend("--ft-ripple-background-color","",Se),Ce=Nt.extend("--ft-ripple-color","",Rt.colorSecondary),ke=Ce,Re=Nt.extend("--ft-ripple-background-color","",Ce),Ee=x`
226
233
  :host {
227
234
  display: contents;
228
235
  }
@@ -235,7 +242,7 @@ const ei=1,ii=2,oi=t=>(...e)=>({_$litDirective$:t,values:e});class si{constructo
235
242
 
236
243
  .ft-ripple:not(.ft-ripple--unbounded) {
237
244
  overflow: hidden;
238
- border-radius: ${vi.borderRadius};
245
+ border-radius: ${Ne.borderRadius};
239
246
  }
240
247
 
241
248
  .ft-ripple .ft-ripple--background,
@@ -269,27 +276,27 @@ const ei=1,ii=2,oi=t=>(...e)=>({_$litDirective$:t,values:e});class si{constructo
269
276
  }
270
277
 
271
278
  .ft-ripple .ft-ripple--background {
272
- background-color: ${vi.backgroundColor};
279
+ background-color: ${Ne.backgroundColor};
273
280
  }
274
281
 
275
282
  .ft-ripple .ft-ripple--effect {
276
- background-color: ${vi.color};
283
+ background-color: ${Ne.color};
277
284
  }
278
285
 
279
286
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
280
- background-color: ${$i};
287
+ background-color: ${Re};
281
288
  }
282
289
 
283
290
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
284
- background-color: ${mi};
291
+ background-color: ${ke};
285
292
  }
286
293
 
287
294
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
288
- background-color: ${yi};
295
+ background-color: ${$e};
289
296
  }
290
297
 
291
298
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
292
- background-color: ${xi};
299
+ background-color: ${we};
293
300
  }
294
301
 
295
302
  .ft-ripple .ft-ripple--background {
@@ -319,85 +326,22 @@ const ei=1,ii=2,oi=t=>(...e)=>({_$litDirective$:t,values:e});class si{constructo
319
326
  }
320
327
 
321
328
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
322
- opacity: ${vi.opacityContentOnSurfaceHover};
329
+ opacity: ${Ne.opacityContentOnSurfaceHover};
323
330
  }
324
331
 
325
332
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
326
- opacity: ${vi.opacityContentOnSurfaceSelected};
333
+ opacity: ${Ne.opacityContentOnSurfaceSelected};
327
334
  }
328
335
 
329
336
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
330
- opacity: ${vi.opacityContentOnSurfaceFocused};
337
+ opacity: ${Ne.opacityContentOnSurfaceFocused};
331
338
  }
332
339
 
333
340
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
334
- opacity: ${vi.opacityContentOnSurfacePressed};
341
+ opacity: ${Ne.opacityContentOnSurfacePressed};
335
342
  transform: translate(-50%, -50%) scale(1);
336
343
  }
337
- `;
338
- /**
339
- * @license
340
- * Copyright 2017 Google LLC
341
- * SPDX-License-Identifier: BSD-3-Clause
342
- */var ki=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Oi extends Mt{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:s}=this.getCoordinates(t),r=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-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.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 Q`
343
- <style>
344
- .ft-ripple .ft-ripple--effect {
345
- left: ${this.originX}px;
346
- top: ${this.originY}px;
347
- }
348
- </style>
349
- <div class="${fi(t)}">
350
- <div class="ft-ripple--background"></div>
351
- <div class="ft-ripple--effect"></div>
352
- </div>
353
- `}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"),s=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",s),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",s),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,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}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()}}Oi.elementDefinitions={},Oi.styles=wi,ki([o({type:Boolean})],Oi.prototype,"primary",void 0),ki([o({type:Boolean})],Oi.prototype,"secondary",void 0),ki([o({type:Boolean})],Oi.prototype,"unbounded",void 0),ki([o({type:Boolean})],Oi.prototype,"activated",void 0),ki([o({type:Boolean})],Oi.prototype,"selected",void 0),ki([o({type:Boolean})],Oi.prototype,"disabled",void 0),ki([s()],Oi.prototype,"hovered",void 0),ki([s()],Oi.prototype,"focused",void 0),ki([s()],Oi.prototype,"pressed",void 0),ki([s()],Oi.prototype,"rippling",void 0),ki([s()],Oi.prototype,"originX",void 0),ki([s()],Oi.prototype,"originY",void 0),ki([n(".ft-ripple")],Oi.prototype,"ripple",void 0),ki([n(".ft-ripple--effect")],Oi.prototype,"rippleEffect",void 0),d("ft-ripple")(Oi);const Si=$t.create("--ft-tooltip-distance","SIZE","4px"),Ci=$t.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ei=$t.create("--ft-tooltip-background-color","COLOR","#666666"),Ni=$t.create("--ft-tooltip-z-index","NUMBER","100"),Ri=$t.external(kt.borderRadiusS,"Design system"),Mi=$t.create("--ft-tooltip-max-width","SIZE","150px"),zi=m`
354
- .ft-tooltip--container {
355
- display: block;
356
- }
357
-
358
- .ft-tooltip--inline {
359
- display: inline-block;
360
- max-width: 100%;
361
- }
362
-
363
- .ft-tooltip {
364
- position: absolute;
365
- box-sizing: border-box;
366
- overflow: hidden;
367
- width: max-content;
368
- max-width: ${Mi};
369
- text-align: center;
370
- padding: ${Si};
371
- z-index: ${Ni};
372
- }
373
-
374
- .ft-tooltip--content {
375
- padding: 4px 8px;
376
- border-radius: ${Ri};
377
- background-color: ${Ei};
378
- color: ${Ci};
379
- position: relative;
380
- word-break: break-word;
381
- }
382
- `;var ji=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Bi extends Mt{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 Q`
383
- <div part="container"
384
- class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
385
- @mouseenter=${this.onHover}
386
- @mouseleave=${this.onOut}
387
- @focusin=${this.onHover}
388
- @focusout=${this.onOut}
389
- @touchstart=${this.onTouch}>
390
- <slot></slot>
391
- <div part="tooltip" role="tooltip" inert
392
- class="ft-tooltip ft-tooltip--${this.validPosition}"
393
- ?hidden=${!this.visible}>
394
- <div part="tooltip-content" class="ft-tooltip--content">
395
- <slot name="text"></slot>
396
- <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
397
- </div>
398
- </div>
399
- </div>
400
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(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,s=(t.offsetWidth-e)/2;let r=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-i-this.tooltip.offsetTop,r=t.offsetLeft+s-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,r=t.offsetLeft+s-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+o-this.tooltip.offsetTop,r=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+o-this.tooltip.offsetTop,r=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=r+"px",l.top=n+"px";const a=this.tooltip.getBoundingClientRect();let h=-a.x,c=a.x+a.width-window.innerWidth;l.left=r+Math.round(this.correctOutOfWindowPixels(h,c))+"px";let p=-a.y,d=a.y+a.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(p,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Mi})`}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))}}Bi.elementDefinitions={"ft-typography":ti},Bi.styles=zi,ji([o()],Bi.prototype,"text",void 0),ji([o({type:Boolean})],Bi.prototype,"manual",void 0),ji([o({type:Boolean})],Bi.prototype,"inline",void 0),ji([o({type:Number})],Bi.prototype,"delay",void 0),ji([o()],Bi.prototype,"position",void 0),ji([function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},i?h({slot:s,flatten:e,selector:i}):r({descriptor:t=>({get(){var t,e;const i="slot"+(s?`[name=${s}]`:":not([name])"),r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==r?void 0:r.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],Bi.prototype,"slotNodes",void 0),ji([n(".ft-tooltip--container")],Bi.prototype,"container",void 0),ji([n(".ft-tooltip")],Bi.prototype,"tooltip",void 0),ji([n(".ft-tooltip--content")],Bi.prototype,"tooltipContent",void 0),ji([s()],Bi.prototype,"visible",void 0),d("ft-tooltip")(Bi);const Fi={color:$t.extend("--ft-loader-color",kt.colorPrimary),size:$t.create("--ft-loader-size","SIZE","80px")},Ui=m`
344
+ `,Ie={color:Nt.extend("--ft-loader-color","",Rt.colorPrimary),size:Nt.create("--ft-loader-size","","SIZE","80px")},Ue=x`
401
345
  :host {
402
346
  line-height: 0;
403
347
  }
@@ -406,8 +350,8 @@ const ei=1,ii=2,oi=t=>(...e)=>({_$litDirective$:t,values:e});class si{constructo
406
350
  display: inline-block;
407
351
  position: relative;
408
352
 
409
- width: ${Fi.size};
410
- height: ${Fi.size};
353
+ width: ${Ie.size};
354
+ height: ${Ie.size};
411
355
  }
412
356
 
413
357
  .ft-loader div {
@@ -416,7 +360,7 @@ const ei=1,ii=2,oi=t=>(...e)=>({_$litDirective$:t,values:e});class si{constructo
416
360
  width: 25%;
417
361
  height: 25%;
418
362
  border-radius: 50%;
419
- background: ${Fi.color};
363
+ background: ${Ie.color};
420
364
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
421
365
  }
422
366
 
@@ -463,23 +407,10 @@ const ei=1,ii=2,oi=t=>(...e)=>({_$litDirective$:t,values:e});class si{constructo
463
407
  transform: translate(0, 0);
464
408
  }
465
409
  100% {
466
- transform: translate(calc(0.35 * ${Fi.size}), 0);
410
+ transform: translate(calc(0.35 * ${Ie.size}), 0);
467
411
  }
468
412
  }
469
- `;class Li extends Mt{render(){return Q`
470
- <div class="ft-loader">
471
- <div></div>
472
- <div></div>
473
- <div></div>
474
- <div></div>
475
- </div>
476
- `}}Li.styles=Ui,d("ft-loader")(Li);
477
- /**
478
- * @license
479
- * Copyright 2017 Google LLC
480
- * SPDX-License-Identifier: BSD-3-Clause
481
- */
482
- class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.ft=void 0,this.et=t;if(t===tt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ti.directiveName="unsafeHTML",Ti.resultType=1;const Di=oi(Ti);var Ai,Ii;!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.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;"}(Ai||(Ai={})),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;"}(Ii||(Ii={})),new Map([...["abw"].map((t=>[t,Ii.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,Ii.AUDIO])),...["avi"].map((t=>[t,Ii.AVI])),...["chm","xhs"].map((t=>[t,Ii.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,Ii.CODE])),...["csv"].map((t=>[t,Ii.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ii.DITA])),...["epub"].map((t=>[t,Ii.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ii.EXCEL])),...["flac"].map((t=>[t,Ii.FLAC])),...["gif"].map((t=>[t,Ii.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ii.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ii.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,Ii.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ii.JPEG])),...["json"].map((t=>[t,Ii.JSON])),...["m4a","m4p"].map((t=>[t,Ii.M4A])),...["mov","qt"].map((t=>[t,Ii.MOV])),...["mp3"].map((t=>[t,Ii.MP3])),...["mp4","m4v"].map((t=>[t,Ii.MP4])),...["ogg","oga"].map((t=>[t,Ii.OGG])),...["pdf","ps"].map((t=>[t,Ii.PDF])),...["png"].map((t=>[t,Ii.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ii.POWERPOINT])),...["rar"].map((t=>[t,Ii.RAR])),...["stp"].map((t=>[t,Ii.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ii.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,Ii.VIDEO])),...["wav"].map((t=>[t,Ii.WAV])),...["wma"].map((t=>[t,Ii.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ii.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ii.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ii.YAML])),...["zip"].map((t=>[t,Ii.ZIP]))]);const Pi={size:$t.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:$t.extend("--ft-icon-fluid-topics-font-family",$t.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:$t.extend("--ft-icon-file-format-font-family",$t.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:$t.extend("--ft-icon-material-font-family",$t.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:$t.create("--ft-icon-vertical-align","UNKNOWN","unset")},_i=m`
413
+ `,Le={size:Nt.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Nt.extend("--ft-icon-fluid-topics-font-family","",Nt.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Nt.extend("--ft-icon-file-format-font-family","",Nt.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Nt.extend("--ft-icon-material-font-family","",Nt.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Nt.create("--ft-icon-vertical-align","","UNKNOWN","unset")},We=x`
483
414
  :host, i.ft-icon {
484
415
  display: inline-flex;
485
416
  align-items: center;
@@ -488,14 +419,14 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
488
419
  }
489
420
 
490
421
  :host {
491
- width: ${Pi.size};
492
- height: ${Pi.size};
422
+ width: ${Le.size};
423
+ height: ${Le.size};
493
424
  }
494
425
 
495
426
  i.ft-icon {
496
427
  width: 100%;
497
428
  height: 100%;
498
- font-size: ${Pi.size};
429
+ font-size: ${Le.size};
499
430
  line-height: 1;
500
431
  font-weight: normal;
501
432
  text-transform: none;
@@ -506,33 +437,28 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
506
437
  text-rendering: auto;
507
438
  -webkit-font-smoothing: antialiased;
508
439
  -moz-osx-font-smoothing: grayscale;
509
- vertical-align: ${Pi.verticalAlign};
440
+ vertical-align: ${Le.verticalAlign};
510
441
  }
511
442
 
512
443
  i.ft-icon.ft-icon--fluid-topics {
513
- font-family: ${Pi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
444
+ font-family: ${Le.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
514
445
 
515
446
  /* Ugly fix because font is broken */
516
- font-size: calc(0.75 * ${Pi.size});
517
- line-height: ${Pi.size};
447
+ font-size: calc(0.75 * ${Le.size});
448
+ line-height: ${Le.size};
518
449
  position: relative;
519
450
  top: -4%;
520
451
  justify-content: center;
521
452
  }
522
453
 
523
454
  .ft-icon--file-format {
524
- font-family: ${Pi.fileFormatFontFamily}, ft-mime, sans-serif;
455
+ font-family: ${Le.fileFormatFontFamily}, ft-mime, sans-serif;
525
456
  }
526
457
 
527
458
  .ft-icon--material {
528
- font-family: ${Pi.materialFontFamily}, "Material Icons", sans-serif;
459
+ font-family: ${Le.materialFontFamily}, "Material Icons", sans-serif;
529
460
  }
530
- `;var Hi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Hi||(Hi={}));var Wi=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Vi extends Mt{constructor(){super(...arguments),this.resolvedIcon=et}render(){const t=this.variant&&Object.values(Hi).includes(this.variant)?this.variant:Hi.fluid_topics,e=t!==Hi.material||!!this.value;return Q`
531
- <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
532
- ${Di(this.resolvedIcon)}
533
- <slot ?hidden=${e}></slot>
534
- </i>
535
- `}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 Hi.file_format:this.resolvedIcon=null!==(t=Ii[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Hi.material:this.resolvedIcon=this.value||et;break;default:this.resolvedIcon=null!==(e=Ai[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Vi.elementDefinitions={},Vi.styles=_i,Wi([o()],Vi.prototype,"variant",void 0),Wi([o()],Vi.prototype,"value",void 0),Wi([s()],Vi.prototype,"resolvedIcon",void 0),Wi([n("slot")],Vi.prototype,"slottedContent",void 0),d("ft-icon")(Vi);const Ki=$t.extend("--ft-button-color",kt.colorPrimary),Zi={backgroundColor:$t.extend("--ft-button-background-color",kt.colorSurface),borderRadius:$t.extend("--ft-button-border-radius",kt.borderRadiusL),color:Ki,fontSize:$t.extend("--ft-button-font-size",Pe.fontSize),iconSize:$t.create("--ft-button-icon-size","SIZE","24px"),rippleColor:$t.extend("--ft-button-ripple-color",Ki),verticalPadding:$t.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:$t.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:$t.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:$t.external(kt.colorOpacityDisabled,"Design system")},Ji=$t.extend("--ft-button-primary-color",$t.extend("--ft-button-color",kt.colorOnPrimary)),qi={backgroundColor:$t.extend("--ft-button-primary-background-color",$t.extend("--ft-button-background-color",kt.colorPrimary)),color:Ji,rippleColor:$t.extend("--ft-button-primary-ripple-color",Ji)},Xi=$t.extend("--ft-button-dense-border-radius",$t.extend("--ft-button-border-radius",kt.borderRadiusM)),Gi=$t.create("--ft-button-dense-vertical-padding","SIZE","2px"),Yi=$t.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Qi=$t.create("--ft-button-dense-icon-padding","SIZE","4px"),to=[m`
461
+ `,ze=Nt.extend("--ft-button-color","",Rt.colorPrimary),Ke={backgroundColor:Nt.extend("--ft-button-background-color","",Rt.colorSurface),borderRadius:Nt.extend("--ft-button-border-radius","",Rt.borderRadiusL),color:ze,fontSize:Nt.extend("--ft-button-font-size","",Vo.fontSize),iconSize:Nt.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Nt.extend("--ft-button-ripple-color","",ze),verticalPadding:Nt.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Nt.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Nt.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Nt.external(Rt.colorOpacityDisabled,"Design system")},Fe=Nt.extend("--ft-button-primary-color","",Nt.extend("--ft-button-color","",Rt.colorOnPrimary)),Be={backgroundColor:Nt.extend("--ft-button-primary-background-color","",Nt.extend("--ft-button-background-color","",Rt.colorPrimary)),color:Fe,rippleColor:Nt.extend("--ft-button-primary-ripple-color","",Fe)},Ze=Nt.extend("--ft-button-dense-border-radius","",Nt.extend("--ft-button-border-radius","",Rt.borderRadiusM)),De=Nt.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Me=Nt.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ae=Nt.create("--ft-button-dense-icon-padding","","SIZE","4px"),He=[x`
536
462
  :host {
537
463
  display: inline-block;
538
464
  max-width: 100%;
@@ -543,7 +469,7 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
543
469
  box-shadow: 0px 0px 0px transparent;
544
470
  border: 0px solid transparent;
545
471
  text-shadow: 0px 0px 0px transparent;
546
- font-size: ${Zi.fontSize};
472
+ font-size: ${Ke.fontSize};
547
473
  }
548
474
 
549
475
  button:hover {
@@ -572,31 +498,31 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
572
498
  border: none;
573
499
  pointer-events: auto;
574
500
 
575
- --ft-button-internal-line-height: max(calc(${Zi.fontSize} + 2px), ${Zi.iconSize});
576
- --ft-button-internal-color: ${Zi.color};
577
- ${wt(Pi.size,Zi.iconSize)};
578
- ${wt(vi.color,Zi.rippleColor)};
501
+ --ft-button-internal-line-height: max(calc(${Ke.fontSize} + 2px), ${Ke.iconSize});
502
+ --ft-button-internal-color: ${Ke.color};
503
+ ${St(Le.size,Ke.iconSize)};
504
+ ${St(Ne.color,Ke.rippleColor)};
579
505
 
580
- border-radius: ${Zi.borderRadius};
581
- padding: ${Zi.verticalPadding} ${Zi.horizontalPadding};
582
- background-color: ${Zi.backgroundColor};
506
+ border-radius: ${Ke.borderRadius};
507
+ padding: ${Ke.verticalPadding} ${Ke.horizontalPadding};
508
+ background-color: ${Ke.backgroundColor};
583
509
  color: var(--ft-button-internal-color);
584
510
  -webkit-mask-image: radial-gradient(white, black);
585
511
  }
586
512
 
587
513
  .ft-button.ft-button--outlined {
588
514
  border: 1px solid var(--ft-button-internal-color);
589
- padding: calc(${Zi.verticalPadding} - 1px) calc(${Zi.horizontalPadding} - 1px);
515
+ padding: calc(${Ke.verticalPadding} - 1px) calc(${Ke.horizontalPadding} - 1px);
590
516
  }
591
517
 
592
518
  .ft-button.ft-button--dense {
593
- padding: ${Gi} ${Yi};
594
- border-radius: ${Xi};
595
- gap: ${Qi};
519
+ padding: ${De} ${Me};
520
+ border-radius: ${Ze};
521
+ gap: ${Ae};
596
522
  }
597
523
 
598
524
  .ft-button.ft-button--dense.ft-button--outlined {
599
- padding: calc(${Gi} - 1px) calc(${Yi} - 1px);
525
+ padding: calc(${De} - 1px) calc(${Me} - 1px);
600
526
  }
601
527
 
602
528
  .ft-button:not([disabled]):hover {
@@ -604,22 +530,22 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
604
530
  }
605
531
 
606
532
  .ft-button--round {
607
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Zi.verticalPadding});
533
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ke.verticalPadding});
608
534
  }
609
535
 
610
536
  .ft-button--round.ft-button--dense {
611
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Gi});
537
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${De});
612
538
  }
613
539
 
614
540
  .ft-button[disabled] {
615
541
  filter: grayscale(1);
616
- opacity: ${Zi.opacityDisabled};
542
+ opacity: ${Ke.opacityDisabled};
617
543
  }
618
544
 
619
545
  .ft-button.ft-button--primary {
620
- background-color: ${qi.backgroundColor};
621
- --ft-button-internal-color: ${qi.color};
622
- ${wt(vi.color,qi.rippleColor)};
546
+ background-color: ${Be.backgroundColor};
547
+ --ft-button-internal-color: ${Be.color};
548
+ ${St(Ne.color,Be.rippleColor)};
623
549
  }
624
550
 
625
551
  .ft-button:focus {
@@ -632,13 +558,13 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
632
558
  white-space: nowrap;
633
559
  text-overflow: ellipsis;
634
560
  display: block;
635
- margin: 0 ${Zi.iconPadding};
636
- ${wt(Pe.fontSize,"1em")};
637
- ${wt(Pe.lineHeight,"var(--ft-button-internal-line-height)")};
561
+ margin: 0 ${Ke.iconPadding};
562
+ ${St(Vo.fontSize,"1em")};
563
+ ${St(Vo.lineHeight,"var(--ft-button-internal-line-height)")};
638
564
  }
639
565
 
640
566
  .ft-button--dense .ft-button--label {
641
- margin: 0 ${Qi};
567
+ margin: 0 ${Ae};
642
568
  }
643
569
 
644
570
  .ft-button--label[hidden] {
@@ -651,13 +577,13 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
651
577
  }
652
578
 
653
579
  .ft-button--label[hidden] + ft-icon {
654
- margin: 0 calc(${Zi.horizontalPadding} * -1);
655
- padding: 0 ${Zi.verticalPadding};
580
+ margin: 0 calc(${Ke.horizontalPadding} * -1);
581
+ padding: 0 ${Ke.verticalPadding};
656
582
  }
657
583
 
658
584
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
659
- margin: 0 calc(${Yi} * -1);
660
- padding: 0 ${Gi};
585
+ margin: 0 calc(${Me} * -1);
586
+ padding: 0 ${De};
661
587
  }
662
588
 
663
589
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -666,40 +592,339 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
666
592
  }
667
593
 
668
594
  ft-loader {
669
- ${wt(Fi.size,Zi.iconSize)};
670
- ${wt(Fi.color,"var(--ft-button-internal-color)")};
595
+ ${St(Ie.size,Ke.iconSize)};
596
+ ${St(Ie.color,"var(--ft-button-internal-color)")};
671
597
  }
672
- `,zt];var eo=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class io extends Mt{constructor(){super(...arguments),this.role="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=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}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(Q`
598
+ `,Ft],je=fe(class extends he{constructor(t){var o;if(super(t),t.type!==ce||"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,i;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 r=t.element.classList;this.it.forEach((t=>{t in o||(r.remove(t),this.it.delete(t))}));for(const t in o){const e=!!o[t];e===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(e?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return tt}});
599
+ /**
600
+ * @license
601
+ * Copyright 2017 Google LLC
602
+ * SPDX-License-Identifier: BSD-3-Clause
603
+ */var Pe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Te extends Kt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Q`
604
+ <style>
605
+ .ft-ripple .ft-ripple--effect {
606
+ left: ${this.originX}px;
607
+ top: ${this.originY}px;
608
+ }
609
+ </style>
610
+ <div class="${je(t)}">
611
+ <div class="ft-ripple--background"></div>
612
+ <div class="ft-ripple--effect"></div>
613
+ </div>
614
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Te.elementDefinitions={},Te.styles=Ee,Pe([i({type:Boolean})],Te.prototype,"primary",void 0),Pe([i({type:Boolean})],Te.prototype,"secondary",void 0),Pe([i({type:Boolean})],Te.prototype,"unbounded",void 0),Pe([i({type:Boolean})],Te.prototype,"activated",void 0),Pe([i({type:Boolean})],Te.prototype,"selected",void 0),Pe([i({type:Boolean})],Te.prototype,"disabled",void 0),Pe([r()],Te.prototype,"hovered",void 0),Pe([r()],Te.prototype,"focused",void 0),Pe([r()],Te.prototype,"pressed",void 0),Pe([r()],Te.prototype,"rippling",void 0),Pe([r()],Te.prototype,"originX",void 0),Pe([r()],Te.prototype,"originY",void 0),Pe([a(".ft-ripple")],Te.prototype,"ripple",void 0),Pe([a(".ft-ripple--effect")],Te.prototype,"rippleEffect",void 0),h("ft-ripple")(Te);const _e=Nt.create("--ft-tooltip-distance","","SIZE","4px"),Ge=Nt.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Ve=Nt.create("--ft-tooltip-background-color","","COLOR","#666666"),Ye=Nt.create("--ft-tooltip-z-index","","NUMBER","100"),Je=Nt.external(Rt.borderRadiusS,"Design system"),qe=Nt.create("--ft-tooltip-max-width","","SIZE","150px"),Xe=x`
615
+ .ft-tooltip--container {
616
+ display: block;
617
+ }
618
+
619
+ .ft-tooltip--inline {
620
+ display: inline-block;
621
+ max-width: 100%;
622
+ }
623
+
624
+ .ft-tooltip {
625
+ position: absolute;
626
+ box-sizing: border-box;
627
+ overflow: hidden;
628
+ width: max-content;
629
+ max-width: ${qe};
630
+ text-align: center;
631
+ padding: ${_e};
632
+ z-index: ${Ye};
633
+ }
634
+
635
+ .ft-tooltip--content {
636
+ padding: 4px 8px;
637
+ border-radius: ${Je};
638
+ background-color: ${Ve};
639
+ color: ${Ge};
640
+ position: relative;
641
+ word-break: break-word;
642
+ }
643
+ `;var Qe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ti extends Kt{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 Q`
644
+ <div part="container"
645
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
646
+ @mouseenter=${this.onHover}
647
+ @mouseleave=${this.onOut}
648
+ @focusin=${this.onHover}
649
+ @focusout=${this.onOut}
650
+ @touchstart=${this.onTouch}>
651
+ <slot></slot>
652
+ <div part="tooltip" role="tooltip" inert
653
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
654
+ ?hidden=${!this.visible}>
655
+ <div part="tooltip-content" class="ft-tooltip--content">
656
+ <slot name="text"></slot>
657
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
658
+ </div>
659
+ </div>
660
+ </div>
661
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const 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,h=s.y+s.height-window.innerHeight;l.top=a+Math.round(this.correctOutOfWindowPixels(f,h))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${qe})`}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))}}ti.elementDefinitions={"ft-typography":se},ti.styles=Xe,Qe([i()],ti.prototype,"text",void 0),Qe([i({type:Boolean})],ti.prototype,"manual",void 0),Qe([i({type:Boolean})],ti.prototype,"inline",void 0),Qe([i({type:Number})],ti.prototype,"delay",void 0),Qe([i()],ti.prototype,"position",void 0),Qe([function(t,o,e){let i,r=t;return"object"==typeof t?(r=t.slot,i=t):i={flatten:o},e?c({slot:r,flatten:o,selector:e}):n({descriptor:t=>({get(){var t,o;const e="slot"+(r?`[name=${r}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(o=null==n?void 0:n.assignedNodes(i))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}("",!0)],ti.prototype,"slotNodes",void 0),Qe([a(".ft-tooltip--container")],ti.prototype,"container",void 0),Qe([a(".ft-tooltip")],ti.prototype,"tooltip",void 0),Qe([a(".ft-tooltip--content")],ti.prototype,"tooltipContent",void 0),Qe([r()],ti.prototype,"visible",void 0),h("ft-tooltip")(ti);
662
+ /**
663
+ * @license
664
+ * Copyright 2017 Google LLC
665
+ * SPDX-License-Identifier: BSD-3-Clause
666
+ */
667
+ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.ft=void 0,this.et=t;if(t===tt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const o=[t];return o.raw=o,this.ft={_$litType$:this.constructor.resultType,strings:o,values:[]}}}oi.directiveName="unsafeHTML",oi.resultType=1;const ei=fe(oi);var ii,ri,ni;!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;"}(ii||(ii={})),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;"}(ri||(ri={})),new Map([...["abw"].map((t=>[t,ri.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,ri.AUDIO])),...["avi"].map((t=>[t,ri.AVI])),...["chm","xhs"].map((t=>[t,ri.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,ri.CODE])),...["csv"].map((t=>[t,ri.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ri.DITA])),...["epub"].map((t=>[t,ri.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ri.EXCEL])),...["flac"].map((t=>[t,ri.FLAC])),...["gif"].map((t=>[t,ri.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ri.GZIP])),...["html","htm","xhtml"].map((t=>[t,ri.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,ri.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ri.JPEG])),...["json"].map((t=>[t,ri.JSON])),...["m4a","m4p"].map((t=>[t,ri.M4A])),...["mov","qt"].map((t=>[t,ri.MOV])),...["mp3"].map((t=>[t,ri.MP3])),...["mp4","m4v"].map((t=>[t,ri.MP4])),...["ogg","oga"].map((t=>[t,ri.OGG])),...["pdf","ps"].map((t=>[t,ri.PDF])),...["png"].map((t=>[t,ri.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ri.POWERPOINT])),...["rar"].map((t=>[t,ri.RAR])),...["stp"].map((t=>[t,ri.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ri.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,ri.VIDEO])),...["wav"].map((t=>[t,ri.WAV])),...["wma"].map((t=>[t,ri.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ri.WORD])),...["xml","xsl","rdf"].map((t=>[t,ri.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ri.YAML])),...["zip"].map((t=>[t,ri.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ni||(ni={}));var ai=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class li extends Kt{constructor(){super(...arguments),this.resolvedIcon=ot}render(){const t=this.variant&&Object.values(ni).includes(this.variant)?this.variant:ni.fluid_topics,o=t!==ni.material||!!this.value;return Q`
668
+ <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
669
+ ${ei(this.resolvedIcon)}
670
+ <slot ?hidden=${o}></slot>
671
+ </i>
672
+ `}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 ni.file_format:this.resolvedIcon=null!==(t=ri[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case ni.material:this.resolvedIcon=this.value||ot;break;default:this.resolvedIcon=null!==(o=ii[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}li.elementDefinitions={},li.styles=We,ai([i()],li.prototype,"variant",void 0),ai([i()],li.prototype,"value",void 0),ai([r()],li.prototype,"resolvedIcon",void 0),ai([a("slot")],li.prototype,"slottedContent",void 0),h("ft-icon")(li);class si extends Kt{render(){return Q`
673
+ <div class="ft-loader">
674
+ <div></div>
675
+ <div></div>
676
+ <div></div>
677
+ <div></div>
678
+ </div>
679
+ `}}si.styles=Ue,h("ft-loader")(si);var ci=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class pi extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Zt].form}constructor(...t){super(t),this[Zt]=this.attachInternals(),this[Zt].role=o}setFormValue(t){this[Zt].setFormValue(t)}}}(Kt,"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(Q`
673
680
  <button part="button"
674
- class="${fi(t)}"
681
+ class="${je(this.buttonClasses)}"
675
682
  aria-label="${this.getLabel()}"
676
683
  ?disabled=${this.isDisabled()}>
677
684
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
678
685
  <ft-typography part="label"
679
- variant="button"
686
+ variant=${this.typographyVariant}
680
687
  element="span"
681
- class="ft-button--label ${Lt?"ft-safari-ellipsis-fix":""}"
688
+ class="ft-button--label ${Ht?"ft-safari-ellipsis-fix":""}"
682
689
  ?hidden=${!this.hasTextContent()}>
683
690
  <slot @slotchange=${this.onSlotchange}></slot>
684
691
  </ft-typography>
685
692
  ${this.resolveIcon()}
686
693
  </button>
687
694
  `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Q`
688
- <ft-tooltip part="tooltip"
689
- text="${this.getLabel()}"
690
- position="${this.tooltipPosition}">
691
- ${t}
692
- </ft-tooltip>
695
+ <ft-tooltip part="tooltip"
696
+ text="${this.getLabel()}"
697
+ position="${this.tooltipPosition}">
698
+ ${t}
699
+ </ft-tooltip>
693
700
  `:t}resolveIcon(){return this.loading?Q`
694
701
  <ft-loader part="loader icon"></ft-loader> `:this.icon?Q`
695
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:et}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}}io.elementDefinitions={"ft-ripple":Oi,"ft-tooltip":Bi,"ft-typography":ti,"ft-icon":Vi,"ft-loader":Li},io.styles=[jt,to],eo([o({type:String,reflect:!0})],io.prototype,"role",void 0),eo([o({type:Boolean})],io.prototype,"primary",void 0),eo([o({type:Boolean})],io.prototype,"outlined",void 0),eo([o({type:Boolean})],io.prototype,"disabled",void 0),eo([o({type:Boolean})],io.prototype,"dense",void 0),eo([o({type:Boolean})],io.prototype,"round",void 0),eo([o()],io.prototype,"label",void 0),eo([o()],io.prototype,"icon",void 0),eo([o()],io.prototype,"iconVariant",void 0),eo([o({type:Boolean})],io.prototype,"trailingIcon",void 0),eo([o({type:Boolean})],io.prototype,"loading",void 0),eo([o()],io.prototype,"tooltipPosition",void 0),eo([o({type:Boolean})],io.prototype,"hideTooltip",void 0),eo([o({type:Boolean})],io.prototype,"forceTooltip",void 0),eo([n(".ft-button")],io.prototype,"button",void 0),eo([n(".ft-button--label slot")],io.prototype,"slottedContent",void 0),d("ft-button")(io);const oo=$t.extend("--ft-checkbox-text-color",kt.colorOnSurfaceHigh),so=$t.external(kt.colorPrimary,"Design system"),ro=$t.external(kt.colorOnPrimary,"Design system"),no=$t.extend("--ft-checkbox-border-color",kt.colorOnSurfaceMedium),lo=$t.external(kt.colorOnSurfaceDisabled,"Design system"),ao=m`
702
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ot}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}}pi.elementDefinitions={"ft-ripple":Te,"ft-tooltip":ti,"ft-typography":se,"ft-icon":li,"ft-loader":si},ci([i({type:String,reflect:!0})],pi.prototype,"role",void 0),ci([i()],pi.prototype,"type",void 0),ci([i({type:Boolean})],pi.prototype,"disabled",void 0),ci([i()],pi.prototype,"label",void 0),ci([i()],pi.prototype,"icon",void 0),ci([i()],pi.prototype,"iconVariant",void 0),ci([i({type:Boolean})],pi.prototype,"trailingIcon",void 0),ci([i({type:Boolean})],pi.prototype,"loading",void 0),ci([i()],pi.prototype,"tooltipPosition",void 0),ci([i({type:Boolean})],pi.prototype,"hideTooltip",void 0),ci([i({type:Boolean})],pi.prototype,"forceTooltip",void 0),ci([a(".ft-button")],pi.prototype,"button",void 0),ci([a(".ft-button--label slot")],pi.prototype,"slottedContent",void 0);var fi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class hi extends pi{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"}}hi.styles=[Bt,He],fi([i({type:Boolean})],hi.prototype,"primary",void 0),fi([i({type:Boolean})],hi.prototype,"outlined",void 0),fi([i({type:Boolean})],hi.prototype,"disabled",void 0),fi([i({type:Boolean})],hi.prototype,"dense",void 0),fi([i({type:Boolean})],hi.prototype,"round",void 0);const di=[x`
703
+ :host {
704
+ display: inline-block;
705
+ max-width: 100%;
706
+ pointer-events: none;
707
+ }
708
+
709
+ /** Remove default button styles **/
710
+
711
+ button {
712
+ box-shadow: 0 0 0 transparent;
713
+ border: 0 solid transparent;
714
+ text-shadow: 0 0 0 transparent;
715
+ }
716
+
717
+ button:hover {
718
+ box-shadow: 0 0 0 transparent;
719
+ text-shadow: 0 0 0 transparent;
720
+ }
721
+
722
+ button:active {
723
+ outline: none;
724
+ }
725
+
726
+ button:focus {
727
+ outline: 0;
728
+ }
729
+
730
+ /** Base styles **/
731
+
732
+ .ft-button {
733
+ position: relative;
734
+ display: flex;
735
+ justify-content: center;
736
+ align-items: center;
737
+ width: 100%;
738
+ overflow: hidden;
739
+ box-sizing: border-box;
740
+ pointer-events: auto;
741
+ }
742
+
743
+ .ft-button:not([disabled]):hover {
744
+ cursor: pointer;
745
+ }
746
+
747
+ .ft-button:focus {
748
+ outline: none;
749
+ }
750
+
751
+ .ft-button:focus-visible {
752
+ outline-color: ${kt.focusFocusRingColor};
753
+ outline-style: solid;
754
+ }
755
+
756
+ ft-icon {
757
+ flex-shrink: 0;
758
+ position: relative;
759
+ }
760
+
761
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
762
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
763
+ order: -1;
764
+ }
765
+
766
+ .ft-button--label {
767
+ position: relative;
768
+ overflow: hidden;
769
+ white-space: nowrap;
770
+ text-overflow: ellipsis;
771
+ display: block;
772
+ }
773
+
774
+ .ft-button--label[hidden] {
775
+ display: none;
776
+ }
777
+
778
+ /** Primary styles **/
779
+
780
+ .ft-button--primary {
781
+ ${St(Ie.color,kt.primaryIconColor)};
782
+
783
+ ${St(Ne.color,kt.primaryStateLayerColor)};
784
+ ${St(Ne.opacityContentOnSurfaceHover,kt.primaryStateLayerOpacityHover)};
785
+ ${St(Ne.opacityContentOnSurfaceFocused,kt.primaryStateLayerOpacityFocus)};
786
+ ${St(Ne.opacityContentOnSurfaceSelected,kt.primaryStateLayerOpacityActive)};
787
+ ${St(Ne.opacityContentOnSurfacePressed,kt.primaryStateLayerOpacityActive)};
788
+
789
+ background-color: ${kt.primaryBackgroundColor};
790
+ color: ${kt.primaryColor};
791
+ border-style: none;
792
+ }
793
+
794
+ .ft-button--primary[disabled] {
795
+ opacity: ${kt.primaryComponentOpacityDisabled};
796
+ }
797
+
798
+ .ft-button--primary ft-icon {
799
+ color: ${kt.primaryIconColor};
800
+ }
801
+
802
+ /** Secondary styles **/
803
+
804
+ .ft-button--secondary {
805
+ ${St(Ie.color,kt.secondaryIconColor)};
806
+
807
+ ${St(Ne.color,kt.secondaryStateLayerColor)};
808
+ ${St(Ne.opacityContentOnSurfaceHover,kt.secondaryStateLayerOpacityHover)};
809
+ ${St(Ne.opacityContentOnSurfaceFocused,kt.secondaryStateLayerOpacityFocus)};
810
+ ${St(Ne.opacityContentOnSurfaceSelected,kt.secondaryStateLayerOpacityActive)};
811
+ ${St(Ne.opacityContentOnSurfacePressed,kt.secondaryStateLayerOpacityActive)};
812
+
813
+ background-color: ${kt.secondaryBackgroundColor};
814
+ color: ${kt.secondaryColor};
815
+ border-color: ${kt.secondaryBorderColor};
816
+ border-style: solid;
817
+ }
818
+
819
+ .ft-button--secondary[disabled] {
820
+ opacity: ${kt.secondaryComponentOpacityDisabled};
821
+ }
822
+
823
+ .ft-button--secondary ft-icon {
824
+ color: ${kt.secondaryIconColor};
825
+ }
826
+
827
+ /** Tertiary styles **/
828
+
829
+ .ft-button--tertiary {
830
+ ${St(Ie.color,kt.tertiaryIconColor)};
831
+
832
+ ${St(Ne.color,kt.tertiaryStateLayerColor)};
833
+ ${St(Ne.opacityContentOnSurfaceHover,kt.tertiaryStateLayerOpacityHover)};
834
+ ${St(Ne.opacityContentOnSurfaceFocused,kt.tertiaryStateLayerOpacityFocus)};
835
+ ${St(Ne.opacityContentOnSurfaceSelected,kt.tertiaryStateLayerOpacityActive)};
836
+ ${St(Ne.opacityContentOnSurfacePressed,kt.tertiaryStateLayerOpacityActive)};
837
+
838
+ background-color: ${kt.tertiaryBackgroundColor};
839
+ color: ${kt.tertiaryColor};
840
+ border-style: none;
841
+ }
842
+
843
+ .ft-button--tertiary[disabled] {
844
+ opacity: ${kt.tertiaryComponentOpacityDisabled};
845
+ }
846
+
847
+ .ft-button--tertiary ft-icon {
848
+ color: ${kt.tertiaryIconColor};
849
+ }
850
+
851
+ /** Neutral styles **/
852
+
853
+ .ft-button--neutral {
854
+ ${St(Ie.color,kt.neutralIconColor)};
855
+
856
+ ${St(Ne.backgroundColor,kt.neutralStateLayerColor)};
857
+ ${St(Ne.opacityContentOnSurfaceHover,kt.neutralStateLayerOpacityHover)};
858
+ ${St(Ne.opacityContentOnSurfaceFocused,kt.neutralStateLayerOpacityFocus)};
859
+ ${St(Ne.opacityContentOnSurfaceSelected,kt.neutralStateLayerOpacityActive)};
860
+ ${St(Ne.opacityContentOnSurfacePressed,kt.neutralStateLayerOpacityActive)};
861
+
862
+ background-color: ${kt.neutralBackgroundColor};
863
+ color: ${kt.neutralColor};
864
+ border-style: none;
865
+ }
866
+
867
+ .ft-button--neutral[disabled] {
868
+ opacity: ${kt.neutralComponentOpacityDisabled};
869
+ }
870
+
871
+ .ft-button--neutral ft-icon {
872
+ color: ${kt.neutralIconColor};
873
+ }
874
+
875
+ /** Large styles **/
876
+
877
+ .ft-button--large {
878
+ ${St(Le.size,kt.largeIconSize)};
879
+ ${St(Ie.size,kt.largeIconSize)};
880
+
881
+ height: ${kt.largeHeight};
882
+ padding: 0 ${kt.largeHorizontalPadding};
883
+ gap: ${kt.largeGap};
884
+ border-radius: ${kt.largeBorderRadius};
885
+ border-width: ${kt.largeBorderWidth};
886
+ }
887
+
888
+ .ft-button--large:focus-visible {
889
+ outline-width: ${kt.largeFocusOutlineWidth};
890
+ outline-offset: ${kt.largeFocusOutlineOffset};
891
+ }
892
+
893
+ .ft-button--large.ft-button--icon-only {
894
+ width: ${kt.largeIconOnlyWidth};
895
+ padding: unset;
896
+ }
897
+
898
+ /** Small styles **/
899
+
900
+ .ft-button--small {
901
+ ${St(Le.size,kt.smallIconSize)};
902
+ ${St(Ie.size,kt.smallIconSize)};
903
+
904
+ height: ${kt.smallHeight};
905
+ padding: 0 ${kt.smallHorizontalPadding};
906
+ gap: ${kt.smallGap};
907
+ border-radius: ${kt.smallBorderRadius};
908
+ border-width: ${kt.smallBorderWidth};
909
+ }
910
+
911
+ .ft-button--small:focus-visible {
912
+ outline-width: ${kt.smallFocusOutlineWidth};
913
+ outline-offset: ${kt.smallFocusOutlineOffset};
914
+ }
915
+
916
+ .ft-button--small.ft-button--icon-only {
917
+ width: ${kt.smallIconOnlyWidth};
918
+ padding: unset;
919
+ }
920
+ `,Ft];var ui=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yi extends pi{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?Vt.caption1medium:Vt.body2medium}}yi.styles=[Bt,di],ui([i({type:Boolean})],yi.prototype,"primary",void 0),ui([i({type:Boolean})],yi.prototype,"secondary",void 0),ui([i({type:Boolean})],yi.prototype,"tertiary",void 0),ui([i({type:Boolean})],yi.prototype,"neutral",void 0),ui([i({type:Boolean})],yi.prototype,"small",void 0),h("ft-button")(hi),h("ftds-button")(yi);const gi=Nt.extend("--ft-checkbox-text-color","",Rt.colorOnSurfaceHigh),bi=Nt.external(Rt.colorPrimary,"Design system"),mi=Nt.external(Rt.colorOnPrimary,"Design system"),vi=Nt.extend("--ft-checkbox-border-color","",Rt.colorOnSurfaceMedium),xi=Nt.external(Rt.colorOnSurfaceDisabled,"Design system"),Oi=x`
696
921
  * {
697
922
  box-sizing: border-box;
698
923
  }
699
924
 
700
925
  .ft-checkbox {
701
926
  box-sizing: border-box;
702
- color: ${oo};
927
+ color: ${gi};
703
928
 
704
929
  display: inline-flex;
705
930
  align-items: center;
@@ -707,7 +932,7 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
707
932
  }
708
933
 
709
934
  .ft-checkbox--disabled {
710
- color: ${lo};
935
+ color: ${xi};
711
936
  }
712
937
 
713
938
  input {
@@ -731,26 +956,26 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
731
956
 
732
957
  .ft-checkbox--box {
733
958
  display: flex;
734
- border: 2px solid ${no};
959
+ border: 2px solid ${vi};
735
960
  border-radius: 2px;
736
961
 
737
962
  width: 18px;
738
963
  height: 18px;
739
964
 
740
- color: ${ro};
965
+ color: ${mi};
741
966
  }
742
967
 
743
968
 
744
969
  .ft-checkbox--checked .ft-checkbox--box,
745
970
  .ft-checkbox--indeterminate .ft-checkbox--box {
746
- border-color: ${so};
747
- background-color: ${so};
971
+ border-color: ${bi};
972
+ background-color: ${bi};
748
973
  }
749
974
 
750
975
  .ft-checkbox--disabled .ft-checkbox--box {
751
- border-color: ${lo};
976
+ border-color: ${xi};
752
977
  background-color: transparent;
753
- color: ${lo};
978
+ color: ${xi};
754
979
  }
755
980
 
756
981
  .ft-checkbox--checkmark {
@@ -769,8 +994,8 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
769
994
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
770
995
  opacity: 1;
771
996
  }
772
- `;var ho=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class co extends Mt{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Q`
773
- <label class="${fi(t)}" for="checkbox-input">
997
+ `;var Ni=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Si extends Kt{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Q`
998
+ <label class="${je(t)}" for="checkbox-input">
774
999
  <div class="ft-checkbox--box-container">
775
1000
  <ft-ripple
776
1001
  ?disabled=${this.disabled}
@@ -795,14 +1020,14 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
795
1020
  <slot></slot>
796
1021
  </ft-typography>
797
1022
  </label>
798
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}co.elementDefinitions={"ft-ripple":Oi,"ft-typography":ti},co.styles=ao,ho([o()],co.prototype,"name",void 0),ho([o({type:Boolean,reflect:!0})],co.prototype,"checked",void 0),ho([o({type:Boolean})],co.prototype,"indeterminate",void 0),ho([o({type:Boolean})],co.prototype,"disabled",void 0),ho([n(".ft-checkbox")],co.prototype,"container",void 0),ho([n("ft-ripple")],co.prototype,"ripple",void 0),d("ft-checkbox")(co);const po=$t.extend("--ft-radio-text-color",kt.colorOnSurfaceHigh),fo=$t.external(kt.colorPrimary,"Design system"),uo=($t.external(kt.colorOnPrimary,"Design system"),$t.extend("--ft-radio-border-color",kt.colorOnSurfaceMedium)),vo=$t.external(kt.colorOnSurfaceDisabled,"Design system"),bo=m`
1023
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}Si.elementDefinitions={"ft-ripple":Te,"ft-typography":se},Si.styles=Oi,Ni([i()],Si.prototype,"name",void 0),Ni([i({type:Boolean,reflect:!0})],Si.prototype,"checked",void 0),Ni([i({type:Boolean})],Si.prototype,"indeterminate",void 0),Ni([i({type:Boolean})],Si.prototype,"disabled",void 0),Ni([a(".ft-checkbox")],Si.prototype,"container",void 0),Ni([a("ft-ripple")],Si.prototype,"ripple",void 0),h("ft-checkbox")(Si);const wi=Nt.extend("--ft-radio-text-color","",Rt.colorOnSurfaceHigh),$i=Nt.external(Rt.colorPrimary,"Design system"),Ci=(Nt.external(Rt.colorOnPrimary,"Design system"),Nt.extend("--ft-radio-border-color","",Rt.colorOnSurfaceMedium)),ki=Nt.external(Rt.colorOnSurfaceDisabled,"Design system"),Ri=x`
799
1024
  * {
800
1025
  box-sizing: border-box;
801
1026
  }
802
1027
 
803
1028
  .ft-radio {
804
1029
  box-sizing: border-box;
805
- color: ${po};
1030
+ color: ${wi};
806
1031
 
807
1032
  display: inline-flex;
808
1033
  align-items: center;
@@ -810,7 +1035,7 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
810
1035
  }
811
1036
 
812
1037
  .ft-radio--disabled {
813
- color: ${vo};
1038
+ color: ${ki};
814
1039
  }
815
1040
 
816
1041
  input {
@@ -833,7 +1058,7 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
833
1058
  }
834
1059
 
835
1060
  .ft-radio--box {
836
- border: 2px solid ${uo};
1061
+ border: 2px solid ${Ci};
837
1062
  border-radius: 50%;
838
1063
 
839
1064
  display: flex;
@@ -846,7 +1071,7 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
846
1071
 
847
1072
  .ft-radio--box:after {
848
1073
  content: " ";
849
- background-color: ${fo};
1074
+ background-color: ${$i};
850
1075
 
851
1076
  border-radius: 50%;
852
1077
 
@@ -858,7 +1083,7 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
858
1083
  }
859
1084
 
860
1085
  .ft-radio--checked .ft-radio--box {
861
- border-color: ${fo};
1086
+ border-color: ${$i};
862
1087
  }
863
1088
 
864
1089
 
@@ -867,15 +1092,15 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
867
1092
  }
868
1093
 
869
1094
  .ft-radio--disabled .ft-radio--box {
870
- border-color: ${vo};
1095
+ border-color: ${ki};
871
1096
  background-color: transparent;
872
1097
  }
873
1098
 
874
1099
  .ft-radio--disabled .ft-radio--box:after {
875
- background-color: ${vo};
1100
+ background-color: ${ki};
876
1101
  }
877
- `;var xo=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class yo extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class go extends Mt{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return Q`
878
- <div class="${fi(t)}">
1102
+ `;var Ei=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ii extends CustomEvent{constructor(t,o){super("change",{detail:{value:t,checked:o},bubbles:!0,composed:!0})}}class Ui extends Kt{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return Q`
1103
+ <div class="${je(t)}">
879
1104
  <div class="ft-radio--box-container">
880
1105
  <ft-ripple
881
1106
  ?disabled=${this.disabled}
@@ -899,16 +1124,16 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
899
1124
  </ft-typography>
900
1125
  </label>
901
1126
  </div>
902
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new yo(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new yo(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}go.elementDefinitions={"ft-ripple":Oi,"ft-typography":ti},go.styles=bo,xo([o()],go.prototype,"value",void 0),xo([o()],go.prototype,"name",void 0),xo([o({type:Boolean,reflect:!0})],go.prototype,"checked",void 0),xo([o({type:Boolean})],go.prototype,"disabled",void 0),xo([n(".ft-radio")],go.prototype,"container",void 0),xo([n("ft-ripple")],go.prototype,"ripple",void 0),xo([n("input")],go.prototype,"input",void 0);const mo=m`
1127
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ii(this.value,this.checked))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Ii(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Ui.elementDefinitions={"ft-ripple":Te,"ft-typography":se},Ui.styles=Ri,Ei([i()],Ui.prototype,"value",void 0),Ei([i()],Ui.prototype,"name",void 0),Ei([i({type:Boolean,reflect:!0})],Ui.prototype,"checked",void 0),Ei([i({type:Boolean})],Ui.prototype,"disabled",void 0),Ei([a(".ft-radio")],Ui.prototype,"container",void 0),Ei([a("ft-ripple")],Ui.prototype,"ripple",void 0),Ei([a("input")],Ui.prototype,"input",void 0);const Li=x`
903
1128
  :host {
904
1129
  display: contents;
905
1130
  }
906
- `;var $o=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class wo extends Mt{constructor(){super(...arguments),this.name=""}render(){return Q`
1131
+ `;var Wi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class zi extends Kt{constructor(){super(...arguments),this.name=""}render(){return Q`
907
1132
  <slot @slotchange=${this.onSlotChange}
908
1133
  @change=${this.onChange}
909
1134
  @keydown=${this.onKeyDown}
910
1135
  ></slot>
911
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),i=this.radioButtons.indexOf(e)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}wo.elementDefinitions={},wo.styles=mo,$o([o()],wo.prototype,"name",void 0),$o([h()],wo.prototype,"radioButtons",void 0),d("ft-radio")(go),d("ft-radio-group")(wo);const ko={borderRadiusM:$t.external(kt.borderRadiusM,"Design system"),colorOutline:$t.external(kt.colorOutline,"Design system"),colorOnSurface:$t.external(kt.colorOnSurface,"Design system"),colorOnSurfaceMedium:$t.external(kt.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:$t.external(kt.colorOnSurfaceDisabled,"Design system"),colorPrimary:$t.external(kt.colorPrimary,"Design system"),colorOnPrimary:$t.external(kt.colorOnPrimary,"Design system"),fontFamily:$t.external(we.fontFamily,"Body2 typography"),fontSize:$t.external(we.fontSize,"Body2 typography"),fontWeight:$t.external(we.fontWeight,"Body2 typography"),letterSpacing:$t.external(we.letterSpacing,"Body2 typography"),lineHeight:$t.external(we.lineHeight,"Body2 typography"),textTransform:$t.external(we.textTransform,"Body2 typography")},Oo=m`
1136
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((o=>o.checked=t.detail.value===o.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let o=this.findFtRadio(t),e=this.radioButtons.indexOf(o)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}zi.elementDefinitions={},zi.styles=Li,Wi([i()],zi.prototype,"name",void 0),Wi([c()],zi.prototype,"radioButtons",void 0),h("ft-radio")(Ui),h("ft-radio-group")(zi);const Ki={borderRadiusM:Nt.external(Rt.borderRadiusM,"Design system"),colorOutline:Nt.external(Rt.colorOutline,"Design system"),colorOnSurface:Nt.external(Rt.colorOnSurface,"Design system"),colorOnSurfaceMedium:Nt.external(Rt.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Nt.external(Rt.colorOnSurfaceDisabled,"Design system"),colorPrimary:Nt.external(Rt.colorPrimary,"Design system"),colorOnPrimary:Nt.external(Rt.colorOnPrimary,"Design system"),fontFamily:Nt.external(Eo.fontFamily,"Body2 typography"),fontSize:Nt.external(Eo.fontSize,"Body2 typography"),fontWeight:Nt.external(Eo.fontWeight,"Body2 typography"),letterSpacing:Nt.external(Eo.letterSpacing,"Body2 typography"),lineHeight:Nt.external(Eo.lineHeight,"Body2 typography"),textTransform:Nt.external(Eo.textTransform,"Body2 typography")},Fi=x`
912
1137
  .ft-filter-level--container {
913
1138
  display: flex;
914
1139
  flex-direction: column;
@@ -922,14 +1147,14 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
922
1147
  flex-shrink: 0;
923
1148
  text-decoration: none;
924
1149
  position: relative;
925
- border-radius: ${ko.borderRadiusM};
1150
+ border-radius: ${Ki.borderRadiusM};
926
1151
  overflow: hidden;
927
1152
  display: flex;
928
1153
  align-items: center;
929
1154
  padding: 4px 4px;
930
1155
  gap: 4px;
931
1156
  cursor: pointer;
932
- color: ${ko.colorOnSurface};
1157
+ color: ${Ki.colorOnSurface};
933
1158
  }
934
1159
 
935
1160
  .ft-filter-level--go-back:focus {
@@ -958,7 +1183,7 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
958
1183
  }
959
1184
 
960
1185
  ft-button {
961
- ${wt(Zi.color,ko.colorOnSurface)};
1186
+ ${St(Ke.color,Ki.colorOnSurface)};
962
1187
  }
963
1188
 
964
1189
  ft-radio, ft-checkbox {
@@ -972,9 +1197,9 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
972
1197
 
973
1198
  .ft-filter-level--no-values {
974
1199
  margin: 10px 0;
975
- color: ${ko.colorOnSurfaceMedium};
1200
+ color: ${Ki.colorOnSurfaceMedium};
976
1201
  }
977
- `;var So=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Co extends Mt{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return Q`
1202
+ `;var Bi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Zi extends Kt{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,o;return null!==(o=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==o?o:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const o=t.slice(0,this.limit);return Q`
978
1203
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
979
1204
  ${null==this.parent?null:Q`
980
1205
  <div tabindex="0"
@@ -992,11 +1217,11 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
992
1217
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
993
1218
  ${this.noValuesLabel}
994
1219
  </ft-typography>
995
- `:et}
996
- ${di(e,(t=>t.value),(t=>{var e;return Q`
1220
+ `:ot}
1221
+ ${xe(o,(t=>t.value),(t=>{var o;return Q`
997
1222
  <div class="ft-filter-level--option" part="options">
998
1223
  ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
999
- ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?et:Q`
1224
+ ${this.preventNavigation||t.selected||0===(null!==(o=t.subOptions)&&void 0!==o?o:[]).length?ot:Q`
1000
1225
  <ft-button icon="thin_arrow_right"
1001
1226
  part="controls navigate-hierarchy"
1002
1227
  label="${t.label}"
@@ -1006,7 +1231,7 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1006
1231
  `}
1007
1232
  </div>
1008
1233
  `}))}
1009
- ${e.length<t.length?Q`
1234
+ ${o.length<t.length?Q`
1010
1235
  <ft-button
1011
1236
  class="ft-filter-level--display-more"
1012
1237
  icon="thin_arrow"
@@ -1015,16 +1240,16 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1015
1240
  @click=${this.displayMore}>
1016
1241
  ${this.moreValuesButtonLabel}
1017
1242
  </ft-button>
1018
- `:et}
1243
+ `:ot}
1019
1244
  </div>
1020
- `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var e;return Q`
1245
+ `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var o;return Q`
1021
1246
  <ft-checkbox name="${this.filterId}"
1022
1247
  part="multivalued-option"
1023
1248
  data-value="${t.value}"
1024
1249
  .checked=${t.selected}
1025
1250
  .disabled=${this.disabled}
1026
- .indeterminate=${c(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
1027
- @change=${e=>this.optionsChanged(e,t)}>
1251
+ .indeterminate=${p(null!==(o=t.subOptions)&&void 0!==o?o:[],(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]})).some((t=>t.selected))}
1252
+ @change=${o=>this.optionsChanged(o,t)}>
1028
1253
  ${t.renderOption?t.renderOption:t.label}
1029
1254
  </ft-checkbox>
1030
1255
  `}buildMonoValuedOption(t){return Q`
@@ -1033,12 +1258,12 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1033
1258
  data-value="${t.value}"
1034
1259
  .checked=${t.selected}
1035
1260
  .disabled=${this.disabled}
1036
- @click=${e=>this.optionsChanged(e,t)}
1037
- @keyup=${e=>this.onRadioKeyUp(e,t)}
1261
+ @click=${o=>this.optionsChanged(o,t)}
1262
+ @keyup=${o=>this.onRadioKeyUp(o,t)}
1038
1263
  @change=${t=>t.stopPropagation()}>
1039
1264
  ${t.renderOption?t.renderOption:t.label}
1040
1265
  </ft-radio>
1041
- `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Co.elementDefinitions={"ft-button":io,"ft-ripple":Oi,"ft-typography":ti,"ft-checkbox":co,"ft-icon":Vi,"ft-radio":go},Co.styles=Oo,So([o({type:String})],Co.prototype,"filterId",void 0),So([o({type:Object})],Co.prototype,"parent",void 0),So([o({type:Array})],Co.prototype,"options",void 0),So([o({type:Boolean})],Co.prototype,"multivalued",void 0),So([o({type:Boolean})],Co.prototype,"disabled",void 0),So([o({type:Boolean})],Co.prototype,"hideSelectedOptions",void 0),So([o({type:Boolean})],Co.prototype,"preventNavigation",void 0),So([o({type:String})],Co.prototype,"filter",void 0),So([o({type:String})],Co.prototype,"moreValuesButtonLabel",void 0),So([o({type:String})],Co.prototype,"noValuesLabel",void 0),So([o({type:Number})],Co.prototype,"displayedValuesLimit",void 0),So([n(".ft-filter-level--container")],Co.prototype,"container",void 0),So([s()],Co.prototype,"displayedPages",void 0);const Eo={buttonsColor:$t.extend("--ft-snap-scroll-buttons-color",kt.colorPrimary),buttonsZIndex:$t.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:$t.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:$t.external(kt.colorSurface,"Design system")},No=m`
1266
+ `}onRadioKeyUp(t,o){o.selected&&" "===t.key&&this.optionsChanged(t,o)}optionsChanged(t,o){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Zi.elementDefinitions={"ft-button":hi,"ft-ripple":Te,"ft-typography":se,"ft-checkbox":Si,"ft-icon":li,"ft-radio":Ui},Zi.styles=Fi,Bi([i({type:String})],Zi.prototype,"filterId",void 0),Bi([i({type:Object})],Zi.prototype,"parent",void 0),Bi([i({type:Array})],Zi.prototype,"options",void 0),Bi([i({type:Boolean})],Zi.prototype,"multivalued",void 0),Bi([i({type:Boolean})],Zi.prototype,"disabled",void 0),Bi([i({type:Boolean})],Zi.prototype,"hideSelectedOptions",void 0),Bi([i({type:Boolean})],Zi.prototype,"preventNavigation",void 0),Bi([i({type:String})],Zi.prototype,"filter",void 0),Bi([i({type:String})],Zi.prototype,"moreValuesButtonLabel",void 0),Bi([i({type:String})],Zi.prototype,"noValuesLabel",void 0),Bi([i({type:Number})],Zi.prototype,"displayedValuesLimit",void 0),Bi([a(".ft-filter-level--container")],Zi.prototype,"container",void 0),Bi([r()],Zi.prototype,"displayedPages",void 0);const Di={buttonsColor:Nt.extend("--ft-snap-scroll-buttons-color","",Rt.colorPrimary),buttonsZIndex:Nt.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Nt.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Nt.external(Rt.colorSurface,"Design system")},Mi=x`
1042
1267
  .ft-snap-scroll {
1043
1268
  box-sizing: border-box;
1044
1269
  position: relative;
@@ -1073,7 +1298,7 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1073
1298
  flex-wrap: nowrap;
1074
1299
  align-items: flex-start;
1075
1300
  justify-content: flex-start;
1076
- gap: ${Eo.gap};
1301
+ gap: ${Di.gap};
1077
1302
  }
1078
1303
 
1079
1304
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1116,11 +1341,11 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1116
1341
  .ft-snap-scroll--next {
1117
1342
  position: absolute;
1118
1343
  display: flex;
1119
- z-index: ${Eo.buttonsZIndex};
1344
+ z-index: ${Di.buttonsZIndex};
1120
1345
  opacity: 1;
1121
1346
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1122
- ${wt(Zi.backgroundColor,"transparent")};
1123
- ${wt(Zi.color,Eo.buttonsColor)};
1347
+ ${St(Ke.backgroundColor,"transparent")};
1348
+ ${St(Ke.color,Di.buttonsColor)};
1124
1349
  }
1125
1350
 
1126
1351
  .ft-snap-scroll--previous[hidden],
@@ -1133,45 +1358,45 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1133
1358
  top: 0;
1134
1359
  left: -1px;
1135
1360
  bottom: 0;
1136
- background: linear-gradient(to right, ${Eo.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1361
+ background: linear-gradient(to right, ${Di.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1137
1362
  }
1138
1363
 
1139
1364
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1140
1365
  top: -1px;
1141
1366
  left: 0;
1142
1367
  right: 0;
1143
- background: linear-gradient(to bottom, ${Eo.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1368
+ background: linear-gradient(to bottom, ${Di.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1144
1369
  }
1145
1370
 
1146
1371
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1147
1372
  top: 0;
1148
1373
  right: -1px;
1149
1374
  bottom: 0;
1150
- background: linear-gradient(to left, ${Eo.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1375
+ background: linear-gradient(to left, ${Di.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1151
1376
  }
1152
1377
 
1153
1378
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1154
1379
  left: 0;
1155
1380
  right: 0;
1156
1381
  bottom: -1px;
1157
- background: linear-gradient(to top, ${Eo.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1382
+ background: linear-gradient(to top, ${Di.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1158
1383
  }
1159
1384
 
1160
1385
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1161
1386
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1162
1387
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1163
1388
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1164
- background-color: ${Eo.colorSurface};
1389
+ background-color: ${Di.colorSurface};
1165
1390
  }
1166
- `;var Ro=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Mo extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class zo extends Mt{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new e(200),this.updateScrollDebouncer=new e(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<i||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=fi({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Lt}),e=this.controls&&this.withScroll;return Q`
1391
+ `;var Ai=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Hi extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class ji extends Kt{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new o(200),this.updateScrollDebouncer=new o(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=je({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Ht}),o=this.controls&&this.withScroll;return Q`
1167
1392
  <div part="container" class="${t}">
1168
1393
  <ft-button
1169
1394
  class="ft-snap-scroll--previous"
1170
1395
  part="controls"
1171
1396
  primary
1172
1397
  icon="${this.horizontal?"THIN_ARROW_LEFT":"THIN_ARROW_UP"}"
1173
- ?hidden=${!e||this.startReached}
1174
- ?disabled=${!e||this.startReached}
1398
+ ?hidden=${!o||this.startReached}
1399
+ ?disabled=${!o||this.startReached}
1175
1400
  @click=${this.previous}
1176
1401
  ></ft-button>
1177
1402
  <slot class="ft-snap-scroll--content"
@@ -1182,12 +1407,12 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1182
1407
  part="controls"
1183
1408
  primary
1184
1409
  icon="${this.horizontal?"THIN_ARROW_RIGHT":"THIN_ARROW"}"
1185
- ?hidden=${!e||this.endReached}
1186
- ?disabled=${!e||this.endReached}
1410
+ ?hidden=${!o||this.endReached}
1411
+ ?disabled=${!o||this.endReached}
1187
1412
  @click=${this.next}
1188
1413
  ></ft-button>
1189
1414
  </div>
1190
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Mo(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,i;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(i=this.contentSlot)||void 0===i||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}zo.elementDefinitions={"ft-button":io},zo.styles=No,Ro([o({type:Boolean})],zo.prototype,"horizontal",void 0),Ro([o({type:Boolean})],zo.prototype,"hideScrollbar",void 0),Ro([o({type:Boolean})],zo.prototype,"controls",void 0),Ro([o({type:Boolean})],zo.prototype,"limitSize",void 0),Ro([s()],zo.prototype,"elements",void 0),Ro([s()],zo.prototype,"currentElement",void 0),Ro([s()],zo.prototype,"withScroll",void 0),Ro([s()],zo.prototype,"startReached",void 0),Ro([s()],zo.prototype,"endReached",void 0),Ro([n(".ft-snap-scroll--content")],zo.prototype,"contentSlot",void 0),d("ft-snap-scroll")(zo);const jo={colorOutline:$t.external(kt.colorOutline,"Design system"),colorOnSurface:$t.external(kt.colorOnSurface,"Design system"),colorOnSurfaceMedium:$t.external(kt.colorOnSurfaceMedium,"Design system"),colorPrimary:$t.external(kt.colorPrimary,"Design system"),colorSurface:$t.external(kt.colorSurface,"Design system"),transitionDuration:$t.external(kt.transitionDuration,"Design system"),transitionTimingFunction:$t.external(kt.transitionTimingFunction,"Design system")},Bo=[Je,m`
1415
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Hi(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(o=this.listenedContainer)||void 0===o||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,e;t&&(this.horizontal?null===(o=this.contentSlot)||void 0===o||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=null!==(o=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==o?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}}ji.elementDefinitions={"ft-button":hi},ji.styles=Mi,Ai([i({type:Boolean})],ji.prototype,"horizontal",void 0),Ai([i({type:Boolean})],ji.prototype,"hideScrollbar",void 0),Ai([i({type:Boolean})],ji.prototype,"controls",void 0),Ai([i({type:Boolean})],ji.prototype,"limitSize",void 0),Ai([r()],ji.prototype,"elements",void 0),Ai([r()],ji.prototype,"currentElement",void 0),Ai([r()],ji.prototype,"withScroll",void 0),Ai([r()],ji.prototype,"startReached",void 0),Ai([r()],ji.prototype,"endReached",void 0),Ai([a(".ft-snap-scroll--content")],ji.prototype,"contentSlot",void 0),h("ft-snap-scroll")(ji);const Pi={colorOutline:Nt.external(Rt.colorOutline,"Design system"),colorOnSurface:Nt.external(Rt.colorOnSurface,"Design system"),colorOnSurfaceMedium:Nt.external(Rt.colorOnSurfaceMedium,"Design system"),colorPrimary:Nt.external(Rt.colorPrimary,"Design system"),colorSurface:Nt.external(Rt.colorSurface,"Design system"),transitionDuration:Nt.external(Rt.transitionDuration,"Design system"),transitionTimingFunction:Nt.external(Rt.transitionTimingFunction,"Design system")},Ti=[oe,x`
1191
1416
  :host {
1192
1417
  display: flex;
1193
1418
  max-height: 100%;
@@ -1200,7 +1425,7 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1200
1425
  flex-direction: column;
1201
1426
  max-height: 100%;
1202
1427
  max-width: 100%;
1203
- color: ${jo.colorOnSurface};
1428
+ color: ${Pi.colorOnSurface};
1204
1429
  }
1205
1430
 
1206
1431
  .ft-filter--header {
@@ -1210,13 +1435,13 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1210
1435
  flex-shrink: 0;
1211
1436
  padding: 0 10px;
1212
1437
  margin-bottom: 8px;
1213
- ${wt(Vt.fontSize,"14px")};
1438
+ ${St(qt.fontSize,"14px")};
1214
1439
  }
1215
1440
 
1216
1441
  .ft-filter--header ft-button {
1217
1442
  flex-shrink: 0;
1218
1443
  margin-left: auto;
1219
- ${wt(Zi.iconSize,"18px")};
1444
+ ${St(Ke.iconSize,"18px")};
1220
1445
  }
1221
1446
 
1222
1447
  .ft-filter--label {
@@ -1224,8 +1449,8 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1224
1449
  flex-shrink: 1;
1225
1450
  flex-grow: 1;
1226
1451
  word-break: break-word;
1227
- ${wt(Vt.lineHeight,"22px")};
1228
- ${wt(Vt.fontWeight,"bold")};
1452
+ ${St(qt.lineHeight,"22px")};
1453
+ ${St(qt.fontWeight,"bold")};
1229
1454
  }
1230
1455
 
1231
1456
  .ft-filter--filter {
@@ -1236,8 +1461,8 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1236
1461
  padding: 0 10px;
1237
1462
  overflow: hidden;
1238
1463
  height: 32px;
1239
- transition: height ${jo.transitionDuration} ${jo.transitionTimingFunction},
1240
- margin ${jo.transitionDuration} ${jo.transitionTimingFunction};
1464
+ transition: height ${Pi.transitionDuration} ${Pi.transitionTimingFunction},
1465
+ margin ${Pi.transitionDuration} ${Pi.transitionTimingFunction};
1241
1466
  transition-delay: 500ms;
1242
1467
  }
1243
1468
 
@@ -1250,15 +1475,15 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1250
1475
  display: block;
1251
1476
  width: 100%;
1252
1477
  border-radius: 4px;
1253
- border: 1px solid ${jo.colorOutline};
1478
+ border: 1px solid ${Pi.colorOutline};
1254
1479
  padding: 4px;
1255
- background-color: ${jo.colorSurface};
1256
- color: ${jo.colorOnSurface};
1257
- outline-color: ${jo.colorPrimary};
1480
+ background-color: ${Pi.colorSurface};
1481
+ color: ${Pi.colorOnSurface};
1482
+ outline-color: ${Pi.colorPrimary};
1258
1483
  }
1259
1484
 
1260
1485
  input::placeholder {
1261
- color: ${jo.colorOnSurfaceMedium};
1486
+ color: ${Pi.colorOnSurfaceMedium};
1262
1487
  }
1263
1488
 
1264
1489
  input:placeholder-shown {
@@ -1274,7 +1499,7 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1274
1499
  }
1275
1500
 
1276
1501
  .ft-filter--separator {
1277
- border-top: 1px solid ${jo.colorOutline};
1502
+ border-top: 1px solid ${Pi.colorOutline};
1278
1503
  margin: 4px 10px;
1279
1504
  }
1280
1505
 
@@ -1299,7 +1524,7 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1299
1524
  slot:not([name]) {
1300
1525
  display: none;
1301
1526
  }
1302
- `];var Fo=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Uo extends CustomEvent{constructor(t){super("change",{detail:t})}}class Lo extends Mt{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new e(300),this.changeDebouncer=new e(10),this.lastDispatchedValues=[]}get flatOptions(){return c(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.flatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return Q`
1527
+ `];var _i=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Gi extends CustomEvent{constructor(t){super("change",{detail:t})}}class Vi extends Kt{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new o(300),this.changeDebouncer=new o(10),this.lastDispatchedValues=[]}get flatOptions(){return p(this.options,(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]}))}get selectedValues(){return this.flatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,e=this.filterPlaceHolder.replace("{0}",this.label);return Q`
1303
1528
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1304
1529
  part="container">
1305
1530
  ${this.label||t?Q`
@@ -1315,13 +1540,13 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1315
1540
  `:null}
1316
1541
  </div>
1317
1542
  `:null}
1318
- <div class="ft-filter--filter" ?hidden=${!e}>
1543
+ <div class="ft-filter--filter" ?hidden=${!o}>
1319
1544
  <input type="search"
1320
1545
  part="input"
1321
1546
  class="ft-typography--caption"
1322
- ?disabled=${!e}
1323
- placeholder="${i}"
1324
- size="${e?i.length:0}"
1547
+ ?disabled=${!o}
1548
+ placeholder="${e}"
1549
+ size="${o?e.length:0}"
1325
1550
  @search=${this.onFilterChange}
1326
1551
  @keyup=${this.onFilterChange}>
1327
1552
  </div>
@@ -1332,14 +1557,14 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1332
1557
  @slotchange=${this.updateOptionsFromSlot}
1333
1558
  @option-change=${this.optionsChanged}></slot>
1334
1559
  </div>
1335
- `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((e=>t.has(e))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var e,i,o,s,r;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(e=this.levelsContainer)||void 0===e||e.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(i=this.levelsContainer)||void 0===i||i.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(r=null===(s=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===s?void 0:s.hasHiddenValues)&&void 0!==r&&r}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,o=i<0?"ft-filter--level-center":"ft-filter--level-left";return Q`
1336
- ${this.raiseSelectedOptions&&e.length>0?Q`
1560
+ `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((o=>t.has(o))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var o,e,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(o=this.levelsContainer)||void 0===o||o.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(e=this.levelsContainer)||void 0===e||e.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,o=t.filter((t=>t.selected)),e=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=e<0?"ft-filter--level-center":"ft-filter--level-left";return Q`
1561
+ ${this.raiseSelectedOptions&&o.length>0?Q`
1337
1562
  <ft-filter-level
1338
1563
  filterId="${this.id}"
1339
1564
  ?multivalued=${this.multivalued}
1340
1565
  ?disabled=${this.disabled}
1341
1566
  preventNavigation
1342
- .options=${e}
1567
+ .options=${o}
1343
1568
  @change=${this.onChange}
1344
1569
  part="values selected-values"
1345
1570
  .exportpartsPrefixes=${["values","selected-values"]}
@@ -1349,10 +1574,10 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1349
1574
  <ft-snap-scroll horizontal hideScrollbar
1350
1575
  class="ft-filter--levels"
1351
1576
  @current-element-change=${t=>this.levelsScrollDebouncer.run((()=>{for(;t.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()}))}>
1352
- ${this.renderLevel(o,this.options)}
1353
- ${this.displayedLevels.map((e=>t.find((t=>t.value===e)))).map(((t,e)=>{var o;const s=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":e===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(s,null!==(o=null==t?void 0:t.subOptions)&&void 0!==o?o:[],t)}))}
1577
+ ${this.renderLevel(i,this.options)}
1578
+ ${this.displayedLevels.map((o=>t.find((t=>t.value===o)))).map(((t,o)=>{var i;const r=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":o===e?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(r,null!==(i=null==t?void 0:t.subOptions)&&void 0!==i?i:[],t)}))}
1354
1579
  </ft-snap-scroll>
1355
- `}renderLevel(t,e,i){return Q`
1580
+ `}renderLevel(t,o,e){return Q`
1356
1581
  <ft-filter-level
1357
1582
  class="${t}"
1358
1583
  filterId="${this.id}"
@@ -1361,8 +1586,8 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1361
1586
  ?multivalued=${this.multivalued}
1362
1587
  ?disabled=${this.disabled||"ft-filter--level-center"!==t}
1363
1588
  ?hideSelectedOptions=${this.raiseSelectedOptions}
1364
- .parent=${i}
1365
- .options=${e}
1589
+ .parent=${e}
1590
+ .options=${o}
1366
1591
  .displayedValuesLimit=${this.displayedValuesLimit}
1367
1592
  @change=${this.onChange}
1368
1593
  @go-back=${this.goBack}
@@ -1371,6 +1596,6 @@ class Ti extends si{constructor(t){if(super(t),this.et=et,t.type!==ii)throw Erro
1371
1596
  .exportpartsPrefixes=${["values","available-values"]}
1372
1597
  noValuesLabel="${this.noValuesLabel}"
1373
1598
  ></ft-filter-level>
1374
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const i=this.flatOptions.find((e=>e.value===t.detail.value));i.selected=!i.selected;const o=t=>{var e;t!==i&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(o)};this.multivalued?null===(e=i.subOptions)||void 0===e||e.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;p(this.lastDispatchedValues,t)||(this.dispatchEvent(new Uo(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Lo.elementDefinitions={"ft-button":io,"ft-filter-level":Co,"ft-snap-scroll":zo,"ft-typography":ti},Lo.styles=Bo,Fo([o({type:String})],Lo.prototype,"id",void 0),Fo([o({type:String})],Lo.prototype,"label",void 0),Fo([o({type:String})],Lo.prototype,"filterPlaceHolder",void 0),Fo([o({type:String})],Lo.prototype,"clearButtonLabel",void 0),Fo([o({type:String})],Lo.prototype,"moreValuesButtonLabel",void 0),Fo([o({type:String})],Lo.prototype,"noValuesLabel",void 0),Fo([f([])],Lo.prototype,"options",void 0),Fo([o({type:Boolean})],Lo.prototype,"multivalued",void 0),Fo([o({type:Boolean})],Lo.prototype,"disabled",void 0),Fo([o({type:Boolean})],Lo.prototype,"raiseSelectedOptions",void 0),Fo([o({type:Number})],Lo.prototype,"displayedValuesLimit",void 0),Fo([o({type:Boolean})],Lo.prototype,"hideClearButton",void 0),Fo([n(".ft-filter--slot")],Lo.prototype,"slotElement",void 0),Fo([n(".ft-filter--container")],Lo.prototype,"container",void 0),Fo([n(".ft-filter--values")],Lo.prototype,"valuesContainer",void 0),Fo([n(".ft-filter--levels")],Lo.prototype,"levelsContainer",void 0),Fo([s()],Lo.prototype,"lastLevelHasHiddenvalues",void 0),Fo([n(".ft-filter--filter input")],Lo.prototype,"filterInput",void 0),Fo([function(t){return r({descriptor:e=>({get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}(".ft-filter--levels ft-filter-level")],Lo.prototype,"levels",void 0),Fo([s()],Lo.prototype,"withScroll",void 0),Fo([s()],Lo.prototype,"filter",void 0),Fo([s()],Lo.prototype,"slideIn",void 0),Fo([s()],Lo.prototype,"slideOut",void 0);var To=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Do extends Mt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Q`
1599
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var o;t.stopPropagation();const e=this.flatOptions.find((o=>o.value===t.detail.value));e.selected=!e.selected;const i=t=>{var o;t!==e&&(t.selected=!1),null===(o=t.subOptions)||void 0===o||o.forEach(i)};this.multivalued?null===(o=e.subOptions)||void 0===o||o.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;f(this.lastDispatchedValues,t)||(this.dispatchEvent(new Gi(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,o;this.filter=null!==(o=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==o?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Vi.elementDefinitions={"ft-button":hi,"ft-filter-level":Zi,"ft-snap-scroll":ji,"ft-typography":se},Vi.styles=Ti,_i([i({type:String})],Vi.prototype,"id",void 0),_i([i({type:String})],Vi.prototype,"label",void 0),_i([i({type:String})],Vi.prototype,"filterPlaceHolder",void 0),_i([i({type:String})],Vi.prototype,"clearButtonLabel",void 0),_i([i({type:String})],Vi.prototype,"moreValuesButtonLabel",void 0),_i([i({type:String})],Vi.prototype,"noValuesLabel",void 0),_i([d([])],Vi.prototype,"options",void 0),_i([i({type:Boolean})],Vi.prototype,"multivalued",void 0),_i([i({type:Boolean})],Vi.prototype,"disabled",void 0),_i([i({type:Boolean})],Vi.prototype,"raiseSelectedOptions",void 0),_i([i({type:Number})],Vi.prototype,"displayedValuesLimit",void 0),_i([i({type:Boolean})],Vi.prototype,"hideClearButton",void 0),_i([a(".ft-filter--slot")],Vi.prototype,"slotElement",void 0),_i([a(".ft-filter--container")],Vi.prototype,"container",void 0),_i([a(".ft-filter--values")],Vi.prototype,"valuesContainer",void 0),_i([a(".ft-filter--levels")],Vi.prototype,"levelsContainer",void 0),_i([r()],Vi.prototype,"lastLevelHasHiddenvalues",void 0),_i([a(".ft-filter--filter input")],Vi.prototype,"filterInput",void 0),_i([function(t){return n({descriptor:o=>({get(){var o,e;return null!==(e=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelectorAll(t))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}(".ft-filter--levels ft-filter-level")],Vi.prototype,"levels",void 0),_i([r()],Vi.prototype,"withScroll",void 0),_i([r()],Vi.prototype,"filter",void 0),_i([r()],Vi.prototype,"slideIn",void 0),_i([r()],Vi.prototype,"slideOut",void 0);var Yi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ji extends Kt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Q`
1375
1600
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1376
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Do.elementDefinitions={},To([o({type:String})],Do.prototype,"label",void 0),To([o({type:Object,converter:t=>t})],Do.prototype,"value",void 0),To([o({type:Boolean,reflect:!0})],Do.prototype,"selected",void 0),To([o({type:Object})],Do.prototype,"subOptions",void 0),To([f({})],Do.prototype,"renderOption",void 0),To([n(".ft-filter-option--slot")],Do.prototype,"slotElement",void 0),d("ft-filter")(Lo),d("ft-filter-option")(Do),t.FtFilter=Lo,t.FtFilterChangeEvent=Uo,t.FtFilterCssVariables=jo,t.FtFilterLevelCssVariables=ko,t.FtFilterOption=Do,t.levelStyles=Oo,t.styles=Bo}({});
1601
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Ji.elementDefinitions={},Yi([i({type:String})],Ji.prototype,"label",void 0),Yi([i({type:Object,converter:t=>t})],Ji.prototype,"value",void 0),Yi([i({type:Boolean,reflect:!0})],Ji.prototype,"selected",void 0),Yi([i({type:Object})],Ji.prototype,"subOptions",void 0),Yi([d({})],Ji.prototype,"renderOption",void 0),Yi([a(".ft-filter-option--slot")],Ji.prototype,"slotElement",void 0),h("ft-filter")(Vi),h("ft-filter-option")(Ji),t.FtFilter=Vi,t.FtFilterChangeEvent=Gi,t.FtFilterCssVariables=Pi,t.FtFilterLevelCssVariables=Ki,t.FtFilterOption=Ji,t.levelStyles=Fi,t.styles=Ti}({});