@fluid-topics/ft-filter 0.1.18 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,92 +14,76 @@
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,r=window.customElements,o=new WeakMap,c=new WeakMap,n=new WeakMap,a=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,o){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(o))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=o.prototype.attributeChangedCallback,s=new Set(o.observedAttributes||[]);h(o,s,a);const d={elementClass:o,connectedCallback:o.prototype.connectedCallback,disconnectedCallback:o.prototype.disconnectedCallback,adoptedCallback:o.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:o.formAssociated,formAssociatedCallback:o.prototype.formAssociatedCallback,formDisabledCallback:o.prototype.formDisabledCallback,formResetCallback:o.prototype.formResetCallback,formStateRestoreCallback:o.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,d),this._definitionsByClass.set(o,d);let l=i.call(r,t);l||(l=p(t),e.call(r,t,l)),this===window.customElements&&(n.set(o,d),d.standInClass=l);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)c.delete(t),f(t,d,!0)}const m=this._whenDefinedPromises.get(t);return void 0!==m&&(m.resolve(o),this._whenDefinedPromises.delete(t)),o}upgrade(){b.push(this),r.upgrade.apply(r,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.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 r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),i?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=s;if(e)return s=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),o.set(e,i),e},window.HTMLElement.prototype=t.prototype;const d=t=>t===document||t instanceof ShadowRoot,l=t=>{let e=t.getRootNode();if(!d(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),d(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const r=l(i)||window.customElements,o=r._getDefinition(e);return o?f(i,o):c.set(i,r),i}connectedCallback(){const t=o.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):c.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=o.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):c.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){o.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=o.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=o.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=o.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=o.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,i)=>{if(0===e.size||void 0===i)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,o){const c=t.toLowerCase();if(e.has(c)){const t=this.getAttribute(c);r.call(this,c,o),i.call(this,c,t,o)}else r.call(this,c,o)});const o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r),i.call(this,r,t,null)}else o.call(this,r)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},f=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),o.set(t,e),s=t;try{new e.elementClass}catch(t){u(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)},m=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=m.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const v=(t,e,i)=>{const r=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=r.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const g=(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(g(Element,"innerHTML"),g(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 r=e.call(this,...i);return t.set(r,this),r},i.forEach((e=>{const i=window.ElementInternals.prototype,r=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==o.get(i).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...e)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class c{constructor(t){const e=new Map;t.forEach(((t,i)=>{const r=t.getAttribute("name"),o=e.get(r)||[];this[+i]=t,o.push(t),e.set(r,o)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(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=o.get(i);t&&!0!==t.formAssociated||e.push(i)}return new c(e)}})}}try{window.customElements.define("custom-element",null)}catch(Ge){const t=window.customElements.define;window.customElements.define=(e,i,r)=>{try{t.bind(window.customElements)(e,i,r)}catch(t){console.warn(e,i,r,t)}}}class t{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,s=new WeakMap,n=new WeakMap,r=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&&(r.set(s,h),h.standInClass=c);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)n.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){return this._definitionsByTag.get(t)?.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=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),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):n.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.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 n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,s),i.call(this,n,t,s)}else o.call(this,n,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)=>{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 n{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 r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(hi){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class t{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */const e=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:r}=e;return{kind:i,elements:r,finisher(e){window.customElements.define(t,e)}}})(t,e)
22
+ */const e=(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 i(t){return(i,o)=>void 0!==o?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,i,o):e(t,i)
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */,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 r(t){return(e,r)=>void 0!==r?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,r):i(t,e)
27
+ */}function o(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
- */}function o(t){return r({...t,state:!0})}
32
+ */const s=({finisher:t,descriptor:e})=>(i,o)=>{var s;if(void 0===o){const o=null!==(s=i.originalKey)&&void 0!==s?s:i.key,n=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(n.finisher=function(e){t(e,o)}),n}{const s=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(s,o)}}
33
33
  /**
34
34
  * @license
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
- */const c=({finisher:t,descriptor:e})=>(i,r)=>{var o;if(void 0===r){const r=null!==(o=i.originalKey)&&void 0!==o?o:i.key,c=null!=e?{kind:"method",placement:"prototype",key:r,descriptor:e(i.key)}:{...i,key:r};return null!=t&&(c.finisher=function(e){t(e,r)}),c}{const o=i.constructor;void 0!==e&&Object.defineProperty(i,r,e(r)),null==t||t(o,r)}}
38
- /**
39
- * @license
40
- * Copyright 2017 Google LLC
41
- * SPDX-License-Identifier: BSD-3-Clause
42
- */;function n(t){return c({finisher:(e,i)=>{Object.assign(e.prototype[i],t)}})}
43
- /**
44
- * @license
45
- * Copyright 2017 Google LLC
46
- * SPDX-License-Identifier: BSD-3-Clause
47
- */function a(t,e){return c({descriptor:i=>{const r={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;r.get=function(){var i,r;return void 0===this[e]&&(this[e]=null!==(r=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==r?r:null),this[e]}}return r}})}
37
+ */;function n(t,e){return s({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
48
38
  /**
49
39
  * @license
50
40
  * Copyright 2017 Google LLC
51
41
  * SPDX-License-Identifier: BSD-3-Clause
52
42
  */
53
- /**
54
- * @license
55
- * Copyright 2017 Google LLC
56
- * SPDX-License-Identifier: BSD-3-Clause
57
- */
58
- function s(t){return c({descriptor:e=>({async get(){var e;return await this.updateComplete,null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t)},enumerable:!0,configurable:!0})})}
59
43
  /**
60
44
  * @license
61
45
  * Copyright 2021 Google LLC
62
46
  * SPDX-License-Identifier: BSD-3-Clause
63
- */var d;const l=null!=(null===(d=window.HTMLSlotElement)||void 0===d?void 0:d.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));
47
+ */
48
+ var r;const l=null!=(null===(r=window.HTMLSlotElement)||void 0===r?void 0:r.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function a(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const s="slot"+(e?`[name=${e}]`:":not([name])"),n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(s),r=null!=n?l(n,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}
64
49
  /**
65
50
  * @license
66
51
  * Copyright 2017 Google LLC
67
52
  * SPDX-License-Identifier: BSD-3-Clause
68
- */
69
- function p(t,e,i){let r,o=t;return"object"==typeof t?(o=t.slot,r=t):r={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return c({descriptor:r=>({get(){var r;const o="slot"+(e?`[name=${e}]`:":not([name])"),c=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(o),n=null!=c?l(c,t):[];return i?n.filter((t=>t.matches(i))):n},enumerable:!0,configurable:!0})})}({slot:o,flatten:e,selector:i}):c({descriptor:t=>({get(){var t,e;const i="slot"+(o?`[name=${o}]`:":not([name])"),c=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==c?void 0:c.assignedNodes(r))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}const h=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
53
+ */const h=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
70
54
  /**
71
55
  * @license
72
56
  * Copyright 2019 Google LLC
73
57
  * SPDX-License-Identifier: BSD-3-Clause
74
58
  */
75
- const u=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,f=Symbol(),m=new Map;class b{constructor(t,e){if(this._$cssResult$=!0,e!==f)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=m.get(this.cssText);return u&&void 0===t&&(m.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const v=t=>new b("string"==typeof t?t:t+"",f),g=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,r)=>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[r+1]),t[0]);return new b(i,f)},y=(t,e)=>{u?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),r=window.litNonce;void 0!==r&&i.setAttribute("nonce",r),i.textContent=e.cssText,t.appendChild(i)}))},x=u?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return v(e)})(t):t
59
+ const c=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),d=new Map;class f{constructor(t,e){if(this._$cssResult$=!0,e!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=d.get(this.cssText);return c&&void 0===t&&(d.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const u=t=>new f("string"==typeof t?t:t+"",p),v=(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 f(i,p)},b=(t,e)=>{c?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},x=c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return u(e)})(t):t
76
60
  /**
77
61
  * @license
78
62
  * Copyright 2017 Google LLC
79
63
  * SPDX-License-Identifier: BSD-3-Clause
80
- */;var k;const _=window.trustedTypes,w=_?_.emptyScript:"",$=window.reactiveElementPolyfillSupport,O={toAttribute(t,e){switch(e){case Boolean:t=t?w: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}},S=(t,e)=>e!==t&&(e==e||t==t),z={attribute:!0,type:String,converter:O,reflect:!1,hasChanged:S};class C extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const r=this._$Eh(i,e);void 0!==r&&(this._$Eu.set(r,i),t.push(r))})),t}static createProperty(t,e=z){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,r=this.getPropertyDescriptor(t,i,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(r){const o=this[t];this[e]=r,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||z}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=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(x(t))}else void 0!==t&&e.push(x(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).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._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.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 y(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||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._$Eg)||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)}_$ES(t,e,i=z){var r,o;const c=this.constructor._$Eh(t,i);if(void 0!==c&&!0===i.reflect){const n=(null!==(o=null===(r=i.converter)||void 0===r?void 0:r.toAttribute)&&void 0!==o?o:O.toAttribute)(e,i.type);this._$Ei=t,null==n?this.removeAttribute(c):this.setAttribute(c,n),this._$Ei=null}}_$AK(t,e){var i,r,o;const c=this.constructor,n=c._$Eu.get(t);if(void 0!==n&&this._$Ei!==n){const t=c.getPropertyOptions(n),a=t.converter,s=null!==(o=null!==(r=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==r?r:"function"==typeof a?a:null)&&void 0!==o?o:O.fromAttribute;this._$Ei=n,this[n]=s(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let r=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||S)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):r=!1),!this.isUpdatePending&&r&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}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._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||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._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||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)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
64
+ */;var y;const g=window.trustedTypes,m=g?g.emptyScript:"",$=window.reactiveElementPolyfillSupport,w={toAttribute(t,e){switch(e){case Boolean:t=t?m: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}},k=(t,e)=>e!==t&&(e==e||t==t),O={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:k};class S extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=O){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)||O}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=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(x(t))}else void 0!==t&&e.push(x(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).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._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.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 b(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||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._$Eg)||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)}_$ES(t,e,i=O){var o,s;const n=this.constructor._$Eh(t,i);if(void 0!==n&&!0===i.reflect){const r=(null!==(s=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:w.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Ei=null}}_$AK(t,e){var i,o,s;const n=this.constructor,r=n._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=n.getPropertyOptions(r),l=t.converter,a=null!==(s=null!==(o=null===(i=l)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof l?l:null)&&void 0!==s?s:w.fromAttribute;this._$Ei=r,this[r]=a(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||k)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}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._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||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._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||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)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
81
65
  /**
82
66
  * @license
83
67
  * Copyright 2017 Google LLC
84
68
  * SPDX-License-Identifier: BSD-3-Clause
85
69
  */
86
- var R;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:C}),(null!==(k=globalThis.reactiveElementVersions)&&void 0!==k?k:globalThis.reactiveElementVersions=[]).push("1.2.2");const E=globalThis.trustedTypes,N=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,A=`lit$${(Math.random()+"").slice(9)}$`,T="?"+A,F=`<${T}>`,M=document,B=(t="")=>M.createComment(t),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,L=Array.isArray,j=t=>{var e;return L(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,I=/-->/g,P=/>/g,H=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,V=/'/g,W=/"/g,G=/^(?:script|style|textarea|title)$/i,K=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Z=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),X=new WeakMap,J=M.createTreeWalker(M,129,null,!1),Y=(t,e)=>{const i=t.length-1,r=[];let o,c=2===e?"<svg>":"",n=U;for(let e=0;e<i;e++){const i=t[e];let a,s,d=-1,l=0;for(;l<i.length&&(n.lastIndex=l,s=n.exec(i),null!==s);)l=n.lastIndex,n===U?"!--"===s[1]?n=I:void 0!==s[1]?n=P:void 0!==s[2]?(G.test(s[2])&&(o=RegExp("</"+s[2],"g")),n=H):void 0!==s[3]&&(n=H):n===H?">"===s[0]?(n=null!=o?o:U,d=-1):void 0===s[1]?d=-2:(d=n.lastIndex-s[2].length,a=s[1],n=void 0===s[3]?H:'"'===s[3]?W:V):n===W||n===V?n=H:n===I||n===P?n=U:(n=H,o=void 0);const p=n===H&&t[e+1].startsWith("/>")?" ":"";c+=n===U?i+F:d>=0?(r.push(a),i.slice(0,d)+"$lit$"+i.slice(d)+A+p):i+A+(-2===d?(r.push(void 0),e):p)}const a=c+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==N?N.createHTML(a):a,r]};class Q{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,c=0;const n=t.length-1,a=this.parts,[s,d]=Y(t,e);if(this.el=Q.createElement(s,i),J.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=J.nextNode())&&a.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(A)){const i=d[c++];if(t.push(e),void 0!==i){const t=r.getAttribute(i.toLowerCase()+"$lit$").split(A),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?ot:"?"===e[1]?nt:"@"===e[1]?at:rt})}else a.push({type:6,index:o})}for(const e of t)r.removeAttribute(e)}if(G.test(r.tagName)){const t=r.textContent.split(A),e=t.length-1;if(e>0){r.textContent=E?E.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],B()),J.nextNode(),a.push({type:2,index:++o});r.append(t[e],B())}}}else if(8===r.nodeType)if(r.data===T)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=r.data.indexOf(A,t+1));)a.push({type:7,index:o}),t+=A.length-1}o++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function tt(t,e,i=t,r){var o,c,n,a;if(e===Z)return e;let s=void 0!==r?null===(o=i._$Cl)||void 0===o?void 0:o[r]:i._$Cu;const d=D(e)?void 0:e._$litDirective$;return(null==s?void 0:s.constructor)!==d&&(null===(c=null==s?void 0:s._$AO)||void 0===c||c.call(s,!1),void 0===d?s=void 0:(s=new d(t),s._$AT(t,i,r)),void 0!==r?(null!==(n=(a=i)._$Cl)&&void 0!==n?n:a._$Cl=[])[r]=s:i._$Cu=s),void 0!==s&&(e=tt(t,s._$AS(t,e.values),s,r)),e}class et{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:r}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:M).importNode(i,!0);J.currentNode=o;let c=J.nextNode(),n=0,a=0,s=r[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new it(c,c.nextSibling,this,t):1===s.type?e=new s.ctor(c,s.name,s.strings,this,t):6===s.type&&(e=new st(c,this,t)),this.v.push(e),s=r[++a]}n!==(null==s?void 0:s.index)&&(c=J.nextNode(),n++)}return o}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class it{constructor(t,e,i,r){var o;this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cg=null===(o=null==r?void 0:r.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=tt(this,t,e),D(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==Z&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):j(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==q&&D(this._$AH)?this._$AA.nextSibling.data=t:this.S(M.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=Q.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new et(o,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=X.get(t.strings);return void 0===e&&X.set(t.strings,e=new Q(t)),e}A(t){L(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new it(this.M(B()),this.M(B()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class rt{constructor(t,e,i,r,o){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,r){const o=this.strings;let c=!1;if(void 0===o)t=tt(this,t,e,0),c=!D(t)||t!==this._$AH&&t!==Z,c&&(this._$AH=t);else{const r=t;let n,a;for(t=o[0],n=0;n<o.length-1;n++)a=tt(this,r[i+n],e,n),a===Z&&(a=this._$AH[n]),c||(c=!D(a)||a!==this._$AH[n]),a===q?t=q:t!==q&&(t+=(null!=a?a:"")+o[n+1]),this._$AH[n]=a}c&&!r&&this.k(t)}k(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ot extends rt{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===q?void 0:t}}const ct=E?E.emptyScript:"";class nt extends rt{constructor(){super(...arguments),this.type=4}k(t){t&&t!==q?this.element.setAttribute(this.name,ct):this.element.removeAttribute(this.name)}}class at extends rt{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=tt(this,t,e,0))&&void 0!==i?i:q)===Z)return;const r=this._$AH,o=t===q&&r!==q||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,c=t!==q&&(r===q||o);o&&this.element.removeEventListener(this.name,this,r),c&&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 st{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){tt(this,t)}}const dt={P:"$lit$",V:A,L:T,I:1,N:Y,R:et,D:j,j:tt,H:it,O:rt,F:nt,B:at,W:ot,Z:st},lt=window.litHtmlPolyfillSupport;
70
+ var C;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:S}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.2.2");const E=globalThis.trustedTypes,N=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,z=`lit$${(Math.random()+"").slice(9)}$`,R="?"+z,M=`<${R}>`,B=document,F=(t="")=>B.createComment(t),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,D=t=>{var e;return U(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,A=/>/g,_=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,P=/'/g,I=/"/g,H=/^(?:script|style|textarea|title)$/i,W=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),K=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),Z=new WeakMap,J=B.createTreeWalker(B,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=L;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===L?"!--"===a[1]?r=T:void 0!==a[1]?r=A:void 0!==a[2]?(H.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=_):void 0!==a[3]&&(r=_):r===_?">"===a[0]?(r=null!=s?s:L,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?_:'"'===a[3]?I:P):r===I||r===P?r=_:r===T||r===A?r=L:(r=_,s=void 0);const p=r===_&&t[e+1].startsWith("/>")?" ":"";n+=r===L?i+M:h>=0?(o.push(l),i.slice(0,h)+"$lit$"+i.slice(h)+z+p):i+z+(-2===h?(o.push(void 0),e):p)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==N?N.createHTML(l):l,o]};class X{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,h]=q(t,e);if(this.el=X.createElement(a,i),J.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=J.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(z)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(z),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?ot:"@"===e[1]?st:tt})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(H.test(o.tagName)){const t=o.textContent.split(z),e=t.length-1;if(e>0){o.textContent=E?E.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],F()),J.nextNode(),l.push({type:2,index:++s});o.append(t[e],F())}}}else if(8===o.nodeType)if(o.data===R)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(z,t+1));)l.push({type:7,index:s}),t+=z.length-1}s++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function Y(t,e,i=t,o){var s,n,r,l;if(e===K)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const h=j(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=Y(t,a._$AS(t,e.values),a,o)),e}class G{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:B).importNode(i,!0);J.currentNode=s;let n=J.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new Q(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new nt(n,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=J.nextNode(),r++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Q{constructor(t,e,i,o){var s;this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=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._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),j(t)?t===V||null==t||""===t?(this._$AH!==V&&this._$AR(),this._$AH=V):t!==this._$AH&&t!==K&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):D(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==V&&j(this._$AH)?this._$AA.nextSibling.data=t:this.S(B.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new G(s,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new X(t)),e}A(t){U(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 Q(this.M(F()),this.M(F()),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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class tt{constructor(t,e,i,o,s){this.type=1,this._$AH=V,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=V}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=Y(this,t,e,0),n=!j(t)||t!==this._$AH&&t!==K,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=Y(this,o[i+r],e,r),l===K&&(l=this._$AH[r]),n||(n=!j(l)||l!==this._$AH[r]),l===V?t=V:t!==V&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.k(t)}k(t){t===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends tt{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===V?void 0:t}}const it=E?E.emptyScript:"";class ot extends tt{constructor(){super(...arguments),this.type=4}k(t){t&&t!==V?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class st extends tt{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=Y(this,t,e,0))&&void 0!==i?i:V)===K)return;const o=this._$AH,s=t===V&&o!==V||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==V&&(o===V||s);s&&this.element.removeEventListener(this.name,this,o),n&&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 nt{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){Y(this,t)}}const rt={P:"$lit$",V:z,L:R,I:1,N:q,R:G,D,j:Y,H:Q,O:tt,F:ot,B:st,W:et,Z:nt},lt=window.litHtmlPolyfillSupport;
87
71
  /**
88
72
  * @license
89
73
  * Copyright 2017 Google LLC
90
74
  * SPDX-License-Identifier: BSD-3-Clause
91
75
  */
92
- var pt,ht;null==lt||lt(Q,it),(null!==(R=globalThis.litHtmlVersions)&&void 0!==R?R:globalThis.litHtmlVersions=[]).push("2.1.3");class ut extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=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._$Dt=((t,e,i)=>{var r,o;const c=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:e;let n=c._$litPart$;if(void 0===n){const t=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:null;c._$litPart$=n=new it(e.insertBefore(B(),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._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return Z}}ut.finalized=!0,ut._$litElement$=!0,null===(pt=globalThis.litElementHydrateSupport)||void 0===pt||pt.call(globalThis,{LitElement:ut});const ft=globalThis.litElementPolyfillSupport;null==ft||ft({LitElement:ut}),(null!==(ht=globalThis.litElementVersions)&&void 0!==ht?ht:globalThis.litElementVersions=[]).push("3.1.2");class mt{constructor(t,e,i,r,o){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=r,this.context=o,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new mt(t,e,void 0,i)}static extend(t,e,i){return new mt(t,e.category,e,i)}static external(t,e){return new mt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return g`var(${v(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):v(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function bt(t,e){return v(`${t.name}: ${e}`)}const vt={colorPrimary:mt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:mt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:mt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:mt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:mt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:mt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:mt.create("--ft-color-error","COLOR","#B00020"),colorOutline:mt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:mt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:mt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:mt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:mt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:mt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:mt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:mt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:mt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:mt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:mt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:mt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:mt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:mt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:mt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:mt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:mt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:mt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:mt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:mt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:mt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:mt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:mt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:mt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:mt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:mt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:mt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:mt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:mt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:mt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:mt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:mt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:mt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:mt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:mt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:mt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:mt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:mt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:mt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:mt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:mt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:mt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:mt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:mt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:mt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:mt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:mt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:mt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:mt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:mt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:mt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:mt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:mt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:mt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:mt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
76
+ var at,ht;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C:globalThis.litHtmlVersions=[]).push("2.1.3");class ct extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=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._$Dt=((t,e,i)=>{var o,s;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new Q(e.insertBefore(F(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return K}}ct.finalized=!0,ct._$litElement$=!0,null===(at=globalThis.litElementHydrateSupport)||void 0===at||at.call(globalThis,{LitElement:ct});const pt=globalThis.litElementPolyfillSupport;null==pt||pt({LitElement:ct}),(null!==(ht=globalThis.litElementVersions)&&void 0!==ht?ht:globalThis.litElementVersions=[]).push("3.1.2");class dt{constructor(t,e,i,o,s){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=s,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new dt(t,e,void 0,i)}static extend(t,e,i){return new dt(t,e.category,e,i)}static external(t,e){return new dt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return v`var(${u(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):u(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function ft(t,e){return u(`${t.name}: ${e}`)}const ut={colorPrimary:dt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:dt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:dt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:dt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:dt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:dt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:dt.create("--ft-color-error","COLOR","#B00020"),colorOutline:dt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:dt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:dt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:dt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:dt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:dt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:dt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:dt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:dt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:dt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:dt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:dt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:dt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:dt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:dt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:dt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:dt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:dt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:dt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:dt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:dt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:dt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:dt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:dt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:dt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:dt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:dt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:dt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:dt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:dt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:dt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:dt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:dt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:dt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:dt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:dt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:dt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:dt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:dt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:dt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:dt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:dt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:dt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:dt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
93
77
  /**
94
78
  * @license
95
79
  * Copyright 2021 Google LLC
96
80
  * SPDX-License-Identifier: BSD-3-Clause
97
- */class gt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:r}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const o=this.renderOptions.creationScope=this.attachShadow({...r,customElements:t.registry});return y(o,this.constructor.elementStyles),o}}}(ut)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),K`
98
- ${t.map((t=>K`
81
+ */class vt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return b(s,this.constructor.elementStyles),s}}}(ct)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),W`
82
+ ${t.map((t=>W`
99
83
  <style>${t}</style>
100
84
  `))}
101
85
  ${this.getTemplate()}
102
- `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}const yt=g`
86
+ `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}const bt=v`
103
87
  .ft-no-text-select {
104
88
  -webkit-touch-callout: none;
105
89
  -webkit-user-select: none;
@@ -108,353 +92,134 @@ var pt,ht;null==lt||lt(Q,it),(null!==(R=globalThis.litHtmlVersions)&&void 0!==R?
108
92
  -ms-user-select: none;
109
93
  user-select: none;
110
94
  }
111
- `;function xt(t){var e;let i;if("elementDefinitions"in t){i={};const e=t.elementDefinitions;for(let t in e)i[t]=xt(e[t])}return e=class extends t{constructor(...t){super(t),this._constructor=this.constructor}render(){var e;let i=null!==(e=t.styles)&&void 0!==e?e:[];return Array.isArray(i)||(i=[i]),K`
112
- ${i.map((t=>K`
95
+ `;function xt(t){var e;let i;if("elementDefinitions"in t){i={};const e=t.elementDefinitions;for(let t in e)i[t]=xt(e[t])}return e=class extends t{constructor(...t){super(t),this._constructor=this.constructor}render(){var e;let i=null!==(e=t.styles)&&void 0!==e?e:[];return Array.isArray(i)||(i=[i]),W`
96
+ ${i.map((t=>W`
113
97
  <style>${t}</style>
114
98
  `))}
115
99
  ${super.render()}
116
- `}},e.styles=void 0,e.elementDefinitions=i,e}var kt,_t,wt;const $t=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(wt=null===(_t=null===(kt=window.safari)||void 0===kt?void 0:kt.pushNotification)||void 0===_t?void 0:_t.toString())&&void 0!==wt?wt:""),Ot=t=>({_$litStatic$:t}),St=new Map,zt=(t=>(e,...i)=>{var r;const o=i.length;let c,n;const a=[],s=[];let d,l=0,p=!1;for(;l<o;){for(d=e[l];l<o&&void 0!==(n=i[l],c=null===(r=n)||void 0===r?void 0:r._$litStatic$);)d+=c+e[++l],p=!0;s.push(n),a.push(d),l++}if(l===o&&a.push(e[o]),p){const t=a.join("$$lit$$");void 0===(e=St.get(t))&&(a.raw=a,St.set(t,e=a)),i=s}return t(e,...i)})(K);
100
+ `}},e.styles=void 0,e.elementDefinitions=i,e}var yt,gt,mt;const $t=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(mt=null===(gt=null===(yt=window.safari)||void 0===yt?void 0:yt.pushNotification)||void 0===gt?void 0:gt.toString())&&void 0!==mt?mt:""),wt=t=>({_$litStatic$:t}),kt=new Map,Ot=(t=>(e,...i)=>{var o;const s=i.length;let n,r;const l=[],a=[];let h,c=0,p=!1;for(;c<s;){for(h=e[c];c<s&&void 0!==(r=i[c],n=null===(o=r)||void 0===o?void 0:o._$litStatic$);)h+=n+e[++c],p=!0;a.push(r),l.push(h),c++}if(c===s&&l.push(e[s]),p){const t=l.join("$$lit$$");void 0===(e=kt.get(t))&&(l.raw=l,kt.set(t,e=l)),i=a}return t(e,...i)})(W);
117
101
  /**
118
102
  * @license
119
103
  * Copyright 2020 Google LLC
120
104
  * SPDX-License-Identifier: BSD-3-Clause
121
- */var Ct,Rt=function(t,e,i,r){for(var o,c=arguments.length,n=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(c<3?o(n):c>3?o(e,i,n):o(e,i))||n);return c>3&&n&&Object.defineProperty(e,i,n),n};!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"}(Ct||(Ct={}));const Et=mt.extend("--ft-typography-font-family",vt.titleFont),Nt=mt.extend("--ft-typography-font-family",vt.contentFont),At={fontFamily:Nt,fontSize:mt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:mt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:mt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:mt.create("--ft-typography-line-height","SIZE","24px"),textTransform:mt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Tt=mt.extend("--ft-typography-title-font-family",Et),Ft=mt.extend("--ft-typography-title-font-size",At.fontSize,"20px"),Mt=mt.extend("--ft-typography-title-font-weight",At.fontWeight,"normal"),Bt=mt.extend("--ft-typography-title-letter-spacing",At.letterSpacing,"0.15px"),Dt=mt.extend("--ft-typography-title-line-height",At.lineHeight,"24px"),Lt=mt.extend("--ft-typography-title-text-transform",At.textTransform,"inherit"),jt=mt.extend("--ft-typography-title-dense-font-family",Et),Ut=mt.extend("--ft-typography-title-dense-font-size",At.fontSize,"14px"),It=mt.extend("--ft-typography-title-dense-font-weight",At.fontWeight,"normal"),Pt=mt.extend("--ft-typography-title-dense-letter-spacing",At.letterSpacing,"0.105px"),Ht=mt.extend("--ft-typography-title-dense-line-height",At.lineHeight,"24px"),Vt=mt.extend("--ft-typography-title-dense-text-transform",At.textTransform,"inherit"),Wt=mt.extend("--ft-typography-subtitle1-font-family",Nt),Gt=mt.extend("--ft-typography-subtitle1-font-size",At.fontSize,"16px"),Kt=mt.extend("--ft-typography-subtitle1-font-weight",At.fontWeight,"600"),Zt=mt.extend("--ft-typography-subtitle1-letter-spacing",At.letterSpacing,"0.144px"),qt=mt.extend("--ft-typography-subtitle1-line-height",At.lineHeight,"24px"),Xt=mt.extend("--ft-typography-subtitle1-text-transform",At.textTransform,"inherit"),Jt=mt.extend("--ft-typography-subtitle2-font-family",Nt),Yt=mt.extend("--ft-typography-subtitle2-font-size",At.fontSize,"14px"),Qt=mt.extend("--ft-typography-subtitle2-font-weight",At.fontWeight,"normal"),te=mt.extend("--ft-typography-subtitle2-letter-spacing",At.letterSpacing,"0.098px"),ee=mt.extend("--ft-typography-subtitle2-line-height",At.lineHeight,"24px"),ie=mt.extend("--ft-typography-subtitle2-text-transform",At.textTransform,"inherit"),re=mt.extend("--ft-typography-body1-font-family",Nt),oe=mt.extend("--ft-typography-body1-font-size",At.fontSize,"16px"),ce=mt.extend("--ft-typography-body1-font-weight",At.fontWeight,"normal"),ne=mt.extend("--ft-typography-body1-letter-spacing",At.letterSpacing,"0.496px"),ae=mt.extend("--ft-typography-body1-line-height",At.lineHeight,"24px"),se=mt.extend("--ft-typography-body1-text-transform",At.textTransform,"inherit"),de={fontFamily:mt.extend("--ft-typography-body2-font-family",Nt),fontSize:mt.extend("--ft-typography-body2-font-size",At.fontSize,"14px"),fontWeight:mt.extend("--ft-typography-body2-font-weight",At.fontWeight,"normal"),letterSpacing:mt.extend("--ft-typography-body2-letter-spacing",At.letterSpacing,"0.252px"),lineHeight:mt.extend("--ft-typography-body2-line-height",At.lineHeight,"20px"),textTransform:mt.extend("--ft-typography-body2-text-transform",At.textTransform,"inherit")},le=mt.extend("--ft-typography-caption-font-family",Nt),pe=mt.extend("--ft-typography-caption-font-size",At.fontSize,"12px"),he=mt.extend("--ft-typography-caption-font-weight",At.fontWeight,"normal"),ue=mt.extend("--ft-typography-caption-letter-spacing",At.letterSpacing,"0.396px"),fe=mt.extend("--ft-typography-caption-line-height",At.lineHeight,"16px"),me=mt.extend("--ft-typography-caption-text-transform",At.textTransform,"inherit"),be=mt.extend("--ft-typography-breadcrumb-font-family",Nt),ve=mt.extend("--ft-typography-breadcrumb-font-size",At.fontSize,"10px"),ge=mt.extend("--ft-typography-breadcrumb-font-weight",At.fontWeight,"normal"),ye=mt.extend("--ft-typography-breadcrumb-letter-spacing",At.letterSpacing,"0.33px"),xe=mt.extend("--ft-typography-breadcrumb-line-height",At.lineHeight,"16px"),ke=mt.extend("--ft-typography-breadcrumb-text-transform",At.textTransform,"inherit"),_e=mt.extend("--ft-typography-overline-font-family",Nt),we=mt.extend("--ft-typography-overline-font-size",At.fontSize,"10px"),$e=mt.extend("--ft-typography-overline-font-weight",At.fontWeight,"normal"),Oe=mt.extend("--ft-typography-overline-letter-spacing",At.letterSpacing,"1.5px"),Se=mt.extend("--ft-typography-overline-line-height",At.lineHeight,"16px"),ze=mt.extend("--ft-typography-overline-text-transform",At.textTransform,"uppercase"),Ce={fontFamily:mt.extend("--ft-typography-button-font-family",Nt),fontSize:mt.extend("--ft-typography-button-font-size",At.fontSize,"14px"),fontWeight:mt.extend("--ft-typography-button-font-weight",At.fontWeight,"600"),letterSpacing:mt.extend("--ft-typography-button-letter-spacing",At.letterSpacing,"1.246px"),lineHeight:mt.extend("--ft-typography-button-line-height",At.lineHeight,"16px"),textTransform:mt.extend("--ft-typography-button-text-transform",At.textTransform,"uppercase")},Re=g`
105
+ */var St,Ct=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!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"}(St||(St={}));const Et=dt.extend("--ft-typography-font-family",ut.titleFont),Nt=dt.extend("--ft-typography-font-family",ut.contentFont),zt={fontFamily:Nt,fontSize:dt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:dt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:dt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:dt.create("--ft-typography-line-height","SIZE","24px"),textTransform:dt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Rt=dt.extend("--ft-typography-title-font-family",Et),Mt=dt.extend("--ft-typography-title-font-size",zt.fontSize,"20px"),Bt=dt.extend("--ft-typography-title-font-weight",zt.fontWeight,"normal"),Ft=dt.extend("--ft-typography-title-letter-spacing",zt.letterSpacing,"0.15px"),jt=dt.extend("--ft-typography-title-line-height",zt.lineHeight,"24px"),Ut=dt.extend("--ft-typography-title-text-transform",zt.textTransform,"inherit"),Dt=dt.extend("--ft-typography-title-dense-font-family",Et),Lt=dt.extend("--ft-typography-title-dense-font-size",zt.fontSize,"14px"),Tt=dt.extend("--ft-typography-title-dense-font-weight",zt.fontWeight,"normal"),At=dt.extend("--ft-typography-title-dense-letter-spacing",zt.letterSpacing,"0.105px"),_t=dt.extend("--ft-typography-title-dense-line-height",zt.lineHeight,"24px"),Pt=dt.extend("--ft-typography-title-dense-text-transform",zt.textTransform,"inherit"),It=dt.extend("--ft-typography-subtitle1-font-family",Nt),Ht=dt.extend("--ft-typography-subtitle1-font-size",zt.fontSize,"16px"),Wt=dt.extend("--ft-typography-subtitle1-font-weight",zt.fontWeight,"600"),Kt=dt.extend("--ft-typography-subtitle1-letter-spacing",zt.letterSpacing,"0.144px"),Vt=dt.extend("--ft-typography-subtitle1-line-height",zt.lineHeight,"24px"),Zt=dt.extend("--ft-typography-subtitle1-text-transform",zt.textTransform,"inherit"),Jt=dt.extend("--ft-typography-subtitle2-font-family",Nt),qt=dt.extend("--ft-typography-subtitle2-font-size",zt.fontSize,"14px"),Xt=dt.extend("--ft-typography-subtitle2-font-weight",zt.fontWeight,"normal"),Yt=dt.extend("--ft-typography-subtitle2-letter-spacing",zt.letterSpacing,"0.098px"),Gt=dt.extend("--ft-typography-subtitle2-line-height",zt.lineHeight,"24px"),Qt=dt.extend("--ft-typography-subtitle2-text-transform",zt.textTransform,"inherit"),te=dt.extend("--ft-typography-body1-font-family",Nt),ee=dt.extend("--ft-typography-body1-font-size",zt.fontSize,"16px"),ie=dt.extend("--ft-typography-body1-font-weight",zt.fontWeight,"normal"),oe=dt.extend("--ft-typography-body1-letter-spacing",zt.letterSpacing,"0.496px"),se=dt.extend("--ft-typography-body1-line-height",zt.lineHeight,"24px"),ne=dt.extend("--ft-typography-body1-text-transform",zt.textTransform,"inherit"),re={fontFamily:dt.extend("--ft-typography-body2-font-family",Nt),fontSize:dt.extend("--ft-typography-body2-font-size",zt.fontSize,"14px"),fontWeight:dt.extend("--ft-typography-body2-font-weight",zt.fontWeight,"normal"),letterSpacing:dt.extend("--ft-typography-body2-letter-spacing",zt.letterSpacing,"0.252px"),lineHeight:dt.extend("--ft-typography-body2-line-height",zt.lineHeight,"20px"),textTransform:dt.extend("--ft-typography-body2-text-transform",zt.textTransform,"inherit")},le=dt.extend("--ft-typography-caption-font-family",Nt),ae=dt.extend("--ft-typography-caption-font-size",zt.fontSize,"12px"),he=dt.extend("--ft-typography-caption-font-weight",zt.fontWeight,"normal"),ce=dt.extend("--ft-typography-caption-letter-spacing",zt.letterSpacing,"0.396px"),pe=dt.extend("--ft-typography-caption-line-height",zt.lineHeight,"16px"),de=dt.extend("--ft-typography-caption-text-transform",zt.textTransform,"inherit"),fe=dt.extend("--ft-typography-breadcrumb-font-family",Nt),ue=dt.extend("--ft-typography-breadcrumb-font-size",zt.fontSize,"10px"),ve=dt.extend("--ft-typography-breadcrumb-font-weight",zt.fontWeight,"normal"),be=dt.extend("--ft-typography-breadcrumb-letter-spacing",zt.letterSpacing,"0.33px"),xe=dt.extend("--ft-typography-breadcrumb-line-height",zt.lineHeight,"16px"),ye=dt.extend("--ft-typography-breadcrumb-text-transform",zt.textTransform,"inherit"),ge=dt.extend("--ft-typography-overline-font-family",Nt),me=dt.extend("--ft-typography-overline-font-size",zt.fontSize,"10px"),$e=dt.extend("--ft-typography-overline-font-weight",zt.fontWeight,"normal"),we=dt.extend("--ft-typography-overline-letter-spacing",zt.letterSpacing,"1.5px"),ke=dt.extend("--ft-typography-overline-line-height",zt.lineHeight,"16px"),Oe=dt.extend("--ft-typography-overline-text-transform",zt.textTransform,"uppercase"),Se={fontFamily:dt.extend("--ft-typography-button-font-family",Nt),fontSize:dt.extend("--ft-typography-button-font-size",zt.fontSize,"14px"),fontWeight:dt.extend("--ft-typography-button-font-weight",zt.fontWeight,"600"),letterSpacing:dt.extend("--ft-typography-button-letter-spacing",zt.letterSpacing,"1.246px"),lineHeight:dt.extend("--ft-typography-button-line-height",zt.lineHeight,"16px"),textTransform:dt.extend("--ft-typography-button-text-transform",zt.textTransform,"uppercase")},Ce=v`
122
106
  .ft-typography--title {
123
- font-family: ${Tt};
124
- font-size: ${Ft};
125
- font-weight: ${Mt};
126
- letter-spacing: ${Bt};
127
- line-height: ${Dt};
128
- text-transform: ${Lt};
107
+ font-family: ${Rt};
108
+ font-size: ${Mt};
109
+ font-weight: ${Bt};
110
+ letter-spacing: ${Ft};
111
+ line-height: ${jt};
112
+ text-transform: ${Ut};
129
113
  }
130
- `,Ee=g`
114
+ `,Ee=v`
131
115
  .ft-typography--title-dense {
132
- font-family: ${jt};
133
- font-size: ${Ut};
134
- font-weight: ${It};
135
- letter-spacing: ${Pt};
136
- line-height: ${Ht};
137
- text-transform: ${Vt};
116
+ font-family: ${Dt};
117
+ font-size: ${Lt};
118
+ font-weight: ${Tt};
119
+ letter-spacing: ${At};
120
+ line-height: ${_t};
121
+ text-transform: ${Pt};
138
122
  }
139
- `,Ne=g`
123
+ `,Ne=v`
140
124
  .ft-typography--subtitle1 {
141
- font-family: ${Wt};
142
- font-size: ${Gt};
143
- font-weight: ${Kt};
144
- letter-spacing: ${Zt};
145
- line-height: ${qt};
146
- text-transform: ${Xt};
125
+ font-family: ${It};
126
+ font-size: ${Ht};
127
+ font-weight: ${Wt};
128
+ letter-spacing: ${Kt};
129
+ line-height: ${Vt};
130
+ text-transform: ${Zt};
147
131
  }
148
- `,Ae=g`
132
+ `,ze=v`
149
133
  .ft-typography--subtitle2 {
150
134
  font-family: ${Jt};
151
- font-size: ${Yt};
152
- font-weight: ${Qt};
153
- letter-spacing: ${te};
154
- line-height: ${ee};
155
- text-transform: ${ie};
135
+ font-size: ${qt};
136
+ font-weight: ${Xt};
137
+ letter-spacing: ${Yt};
138
+ line-height: ${Gt};
139
+ text-transform: ${Qt};
156
140
  }
157
141
 
158
- `,Te=g`
142
+ `,Re=v`
159
143
  .ft-typography--body1 {
160
- font-family: ${re};
161
- font-size: ${oe};
162
- font-weight: ${ce};
163
- letter-spacing: ${ne};
164
- line-height: ${ae};
165
- text-transform: ${se};
144
+ font-family: ${te};
145
+ font-size: ${ee};
146
+ font-weight: ${ie};
147
+ letter-spacing: ${oe};
148
+ line-height: ${se};
149
+ text-transform: ${ne};
166
150
  }
167
- `,Fe=g`
151
+ `,Me=v`
168
152
  .ft-typography--body2 {
169
- font-family: ${de.fontFamily};
170
- font-size: ${de.fontSize};
171
- font-weight: ${de.fontWeight};
172
- letter-spacing: ${de.letterSpacing};
173
- line-height: ${de.lineHeight};
174
- text-transform: ${de.textTransform};
153
+ font-family: ${re.fontFamily};
154
+ font-size: ${re.fontSize};
155
+ font-weight: ${re.fontWeight};
156
+ letter-spacing: ${re.letterSpacing};
157
+ line-height: ${re.lineHeight};
158
+ text-transform: ${re.textTransform};
175
159
  }
176
- `,Me=g`
160
+ `,Be=v`
177
161
  .ft-typography--caption {
178
162
  font-family: ${le};
179
- font-size: ${pe};
163
+ font-size: ${ae};
180
164
  font-weight: ${he};
181
- letter-spacing: ${ue};
182
- line-height: ${fe};
183
- text-transform: ${me};
165
+ letter-spacing: ${ce};
166
+ line-height: ${pe};
167
+ text-transform: ${de};
184
168
  }
185
- `,Be=g`
169
+ `,Fe=v`
186
170
  .ft-typography--breadcrumb {
187
- font-family: ${be};
188
- font-size: ${ve};
189
- font-weight: ${ge};
190
- letter-spacing: ${ye};
171
+ font-family: ${fe};
172
+ font-size: ${ue};
173
+ font-weight: ${ve};
174
+ letter-spacing: ${be};
191
175
  line-height: ${xe};
192
- text-transform: ${ke};
176
+ text-transform: ${ye};
193
177
  }
194
- `,De=g`
178
+ `,je=v`
195
179
  .ft-typography--overline {
196
- font-family: ${_e};
197
- font-size: ${we};
180
+ font-family: ${ge};
181
+ font-size: ${me};
198
182
  font-weight: ${$e};
199
- letter-spacing: ${Oe};
200
- line-height: ${Se};
201
- text-transform: ${ze};
183
+ letter-spacing: ${we};
184
+ line-height: ${ke};
185
+ text-transform: ${Oe};
202
186
  }
203
- `,Le=g`
187
+ `,Ue=v`
204
188
  .ft-typography--button {
205
- font-family: ${Ce.fontFamily};
206
- font-size: ${Ce.fontSize};
207
- font-weight: ${Ce.fontWeight};
208
- letter-spacing: ${Ce.letterSpacing};
209
- line-height: ${Ce.lineHeight};
210
- text-transform: ${Ce.textTransform};
189
+ font-family: ${Se.fontFamily};
190
+ font-size: ${Se.fontSize};
191
+ font-weight: ${Se.fontWeight};
192
+ letter-spacing: ${Se.letterSpacing};
193
+ line-height: ${Se.lineHeight};
194
+ text-transform: ${Se.textTransform};
211
195
  }
212
- `;class je extends gt{constructor(){super(...arguments),this.variant=Ct.body1}render(){return this.element?zt`
213
- <${Ot(this.element)}
196
+ `;class De extends vt{constructor(){super(...arguments),this.variant=St.body1}render(){return this.element?Ot`
197
+ <${wt(this.element)}
214
198
  class="ft-typography ft-typography--${this.variant}">
215
199
  <slot></slot>
216
- </${Ot(this.element)}>
217
- `:zt`
200
+ </${wt(this.element)}>
201
+ `:Ot`
218
202
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
219
- `}}function Ue(t,e){return t.flatMap((t=>[t,...Ue(e(t),e)]))}
203
+ `}}function Le(t,e){return t.flatMap((t=>[t,...Le(e(t),e)]))}
220
204
  /**
221
205
  * @license
222
206
  * Copyright 2017 Google LLC
223
207
  * SPDX-License-Identifier: BSD-3-Clause
224
- */je.styles=[Re,Ee,Ne,Ae,Te,Fe,Me,Be,De,Le,g`
208
+ */De.styles=[Ce,Ee,Ne,ze,Re,Me,Be,Fe,je,Ue,v`
225
209
  .ft-typography {
226
210
  vertical-align: inherit;
227
211
  }
228
- `],Rt([r()],je.prototype,"element",void 0),Rt([r()],je.prototype,"variant",void 0),h("ft-typography")(je);const Ie=1,Pe=2,He=t=>(...e)=>({_$litDirective$:t,values:e});class Ve{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)}}
212
+ `],Ct([i()],De.prototype,"element",void 0),Ct([i()],De.prototype,"variant",void 0),h("ft-typography")(De);const Te=1,Ae=2,_e=t=>(...e)=>({_$litDirective$:t,values:e});class Pe{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)}}
229
213
  /**
230
214
  * @license
231
215
  * Copyright 2020 Google LLC
232
216
  * SPDX-License-Identifier: BSD-3-Clause
233
- */const{H:We}=dt,Ge=()=>document.createComment(""),Ke=(t,e,i)=>{var r;const o=t._$AA.parentNode,c=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=o.insertBefore(Ge(),c),r=o.insertBefore(Ge(),c);i=new We(e,r,t,t.options)}else{const e=i._$AB.nextSibling,n=i._$AM,a=n!==t;if(a){let e;null===(r=i._$AQ)||void 0===r||r.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==n._$AU&&i._$AP(e)}if(e!==c||a){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;o.insertBefore(t,c),t=e}}}return i},Ze=(t,e,i=t)=>(t._$AI(e,i),t),qe={},Xe=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const r=t._$AB.nextSibling;for(;i!==r;){const t=i.nextSibling;i.remove(),i=t}},Je=(t,e,i)=>{const r=new Map;for(let o=e;o<=i;o++)r.set(t[o],o);return r},Ye=He(class extends Ve{constructor(t){if(super(t),t.type!==Pe)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let r;void 0===i?i=e:void 0!==e&&(r=e);const o=[],c=[];let n=0;for(const e of t)o[n]=r?r(e,n):n,c[n]=i(e,n),n++;return{values:c,keys:o}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,r]){var o;const c=(t=>t._$AH)(t),{values:n,keys:a}=this.dt(e,i,r);if(!Array.isArray(c))return this.at=a,n;const s=null!==(o=this.at)&&void 0!==o?o:this.at=[],d=[];let l,p,h=0,u=c.length-1,f=0,m=n.length-1;for(;h<=u&&f<=m;)if(null===c[h])h++;else if(null===c[u])u--;else if(s[h]===a[f])d[f]=Ze(c[h],n[f]),h++,f++;else if(s[u]===a[m])d[m]=Ze(c[u],n[m]),u--,m--;else if(s[h]===a[m])d[m]=Ze(c[h],n[m]),Ke(t,d[m+1],c[h]),h++,m--;else if(s[u]===a[f])d[f]=Ze(c[u],n[f]),Ke(t,c[h],c[u]),u--,f++;else if(void 0===l&&(l=Je(a,f,m),p=Je(s,h,u)),l.has(s[h]))if(l.has(s[u])){const e=p.get(a[f]),i=void 0!==e?c[e]:null;if(null===i){const e=Ke(t,c[h]);Ze(e,n[f]),d[f]=e}else d[f]=Ze(i,n[f]),Ke(t,c[h],i),c[e]=null;f++}else Xe(c[u]),u--;else Xe(c[h]),h++;for(;f<=m;){const e=Ke(t,d[m+1]);Ze(e,n[f]),d[f++]=e}for(;h<=u;){const t=c[h++];null!==t&&Xe(t)}return this.at=a,((t,e=qe)=>{t._$AH=e})(t,d),Z}});
217
+ */const{H:Ie}=rt,He=()=>document.createComment(""),We=(t,e,i)=>{var o;const s=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(He(),n),o=s.insertBefore(He(),n);i=new Ie(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==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)!==r._$AU&&i._$AP(e)}if(e!==n||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,n),t=e}}}return i},Ke=(t,e,i=t)=>(t._$AI(e,i),t),Ve={},Ze=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}},Je=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},qe=_e(class extends Pe{constructor(t){if(super(t),t.type!==Ae)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=[],n=[];let r=0;for(const e of t)s[r]=o?o(e,r):r,n[r]=i(e,r),r++;return{values:n,keys:s}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var s;const n=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(e,i,o);if(!Array.isArray(n))return this.at=l,r;const a=null!==(s=this.at)&&void 0!==s?s:this.at=[],h=[];let c,p,d=0,f=n.length-1,u=0,v=r.length-1;for(;d<=f&&u<=v;)if(null===n[d])d++;else if(null===n[f])f--;else if(a[d]===l[u])h[u]=Ke(n[d],r[u]),d++,u++;else if(a[f]===l[v])h[v]=Ke(n[f],r[v]),f--,v--;else if(a[d]===l[v])h[v]=Ke(n[d],r[v]),We(t,h[v+1],n[d]),d++,v--;else if(a[f]===l[u])h[u]=Ke(n[f],r[u]),We(t,n[d],n[f]),f--,u++;else if(void 0===c&&(c=Je(l,u,v),p=Je(a,d,f)),c.has(a[d]))if(c.has(a[f])){const e=p.get(l[u]),i=void 0!==e?n[e]:null;if(null===i){const e=We(t,n[d]);Ke(e,r[u]),h[u]=e}else h[u]=Ke(i,r[u]),We(t,n[d],i),n[e]=null;u++}else Ze(n[f]),f--;else Ze(n[d]),d++;for(;u<=v;){const e=We(t,h[v+1]);Ke(e,r[u]),h[u++]=e}for(;d<=f;){const t=n[d++];null!==t&&Ze(t)}return this.at=l,((t,e=Ve)=>{t._$AH=e})(t,h),K}}),Xe=_e(class extends Pe{constructor(t){var e;if(super(t),t.type!==Te||"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.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.et)||void 0===i?void 0:i.has(t))&&this.st.add(t);return this.render(e)}const s=t.element.classList;this.st.forEach((t=>{t in e||(s.remove(t),this.st.delete(t))}));for(const t in e){const i=!!e[t];i===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return K}});
234
218
  /**
235
219
  * @license
236
220
  * Copyright 2017 Google LLC
237
221
  * SPDX-License-Identifier: BSD-3-Clause
238
- */
239
- /*! *****************************************************************************
240
- Copyright (c) Microsoft Corporation.
241
-
242
- Permission to use, copy, modify, and/or distribute this software for any
243
- purpose with or without fee is hereby granted.
244
-
245
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
246
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
247
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
248
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
249
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
250
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
251
- PERFORMANCE OF THIS SOFTWARE.
252
- ***************************************************************************** */
253
- var Qe=function(t,e){return Qe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},Qe(t,e)};function ti(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}Qe(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var ei=function(){return ei=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},ei.apply(this,arguments)};function ii(t,e,i,r){for(var o,c=arguments.length,n=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(c<3?o(n):c>3?o(e,i,n):o(e,i))||n);return c>3&&n&&Object.defineProperty(e,i,n),n}function ri(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],r=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}
254
- /**
255
- * @license
256
- * Copyright 2018 Google Inc.
257
- *
258
- * Permission is hereby granted, free of charge, to any person obtaining a copy
259
- * of this software and associated documentation files (the "Software"), to deal
260
- * in the Software without restriction, including without limitation the rights
261
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
262
- * copies of the Software, and to permit persons to whom the Software is
263
- * furnished to do so, subject to the following conditions:
264
- *
265
- * The above copyright notice and this permission notice shall be included in
266
- * all copies or substantial portions of the Software.
267
- *
268
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
269
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
270
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
271
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
272
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
273
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
274
- * THE SOFTWARE.
275
- */const oi=()=>{},ci={get passive(){return!1}};document.addEventListener("x",oi,ci),document.removeEventListener("x",oi);
276
- /**
277
- * @license
278
- * Copyright 2018 Google LLC
279
- * SPDX-License-Identifier: Apache-2.0
280
- */
281
- class ni extends ut{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}
282
- /**
283
- * @license
284
- * Copyright 2016 Google Inc.
285
- *
286
- * Permission is hereby granted, free of charge, to any person obtaining a copy
287
- * of this software and associated documentation files (the "Software"), to deal
288
- * in the Software without restriction, including without limitation the rights
289
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
290
- * copies of the Software, and to permit persons to whom the Software is
291
- * furnished to do so, subject to the following conditions:
292
- *
293
- * The above copyright notice and this permission notice shall be included in
294
- * all copies or substantial portions of the Software.
295
- *
296
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
297
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
298
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
299
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
300
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
301
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
302
- * THE SOFTWARE.
303
- */var ai=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}(),si={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},di={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},li={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};
304
- /**
305
- * @license
306
- * Copyright 2016 Google Inc.
307
- *
308
- * Permission is hereby granted, free of charge, to any person obtaining a copy
309
- * of this software and associated documentation files (the "Software"), to deal
310
- * in the Software without restriction, including without limitation the rights
311
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
312
- * copies of the Software, and to permit persons to whom the Software is
313
- * furnished to do so, subject to the following conditions:
314
- *
315
- * The above copyright notice and this permission notice shall be included in
316
- * all copies or substantial portions of the Software.
317
- *
318
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
319
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
320
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
321
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
322
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
323
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
324
- * THE SOFTWARE.
325
- */
326
- /**
327
- * @license
328
- * Copyright 2016 Google Inc.
329
- *
330
- * Permission is hereby granted, free of charge, to any person obtaining a copy
331
- * of this software and associated documentation files (the "Software"), to deal
332
- * in the Software without restriction, including without limitation the rights
333
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
334
- * copies of the Software, and to permit persons to whom the Software is
335
- * furnished to do so, subject to the following conditions:
336
- *
337
- * The above copyright notice and this permission notice shall be included in
338
- * all copies or substantial portions of the Software.
339
- *
340
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
341
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
342
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
343
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
344
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
345
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
346
- * THE SOFTWARE.
347
- */
348
- var pi=["touchstart","pointerdown","mousedown","keydown"],hi=["touchend","pointerup","mouseup","contextmenu"],ui=[],fi=function(t){function e(i){var r=t.call(this,ei(ei({},e.defaultAdapter),i))||this;return r.activationAnimationHasEnded=!1,r.activationTimer=0,r.fgDeactivationRemovalTimer=0,r.fgScale="0",r.frame={width:0,height:0},r.initialSize=0,r.layoutFrame=0,r.maxRadius=0,r.unboundedCoords={left:0,top:0},r.activationState=r.defaultActivationState(),r.activationTimerCallback=function(){r.activationAnimationHasEnded=!0,r.runDeactivationUXLogicIfReady()},r.activateHandler=function(t){r.activateImpl(t)},r.deactivateHandler=function(){r.deactivateImpl()},r.focusHandler=function(){r.handleFocus()},r.blurHandler=function(){r.handleBlur()},r.resizeHandler=function(){r.layout()},r}return ti(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return si},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return di},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return li},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=this,i=this.supportsPressRipple();if(this.registerRootHandlers(i),i){var r=e.cssClasses,o=r.ROOT,c=r.UNBOUNDED;requestAnimationFrame((function(){t.adapter.addClass(o),t.adapter.isUnbounded()&&(t.adapter.addClass(c),t.layoutInternal())}))}},e.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));var i=e.cssClasses,r=i.ROOT,o=i.UNBOUNDED;requestAnimationFrame((function(){t.adapter.removeClass(r),t.adapter.removeClass(o),t.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},e.prototype.activate=function(t){this.activateImpl(t)},e.prototype.deactivate=function(){this.deactivateImpl()},e.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){t.layoutInternal(),t.layoutFrame=0}))},e.prototype.setUnbounded=function(t){var i=e.cssClasses.UNBOUNDED;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.handleFocus=function(){var t=this;requestAnimationFrame((function(){return t.adapter.addClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.handleBlur=function(){var t=this;requestAnimationFrame((function(){return t.adapter.removeClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},e.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers=function(t){var e,i;if(t){try{for(var r=ri(pi),o=r.next();!o.done;o=r.next()){var c=o.value;this.adapter.registerInteractionHandler(c,this.activateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(e)throw e.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},e.prototype.registerDeactivationHandlers=function(t){var e,i;if("keydown"===t.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var r=ri(hi),o=r.next();!o.done;o=r.next()){var c=o.value;this.adapter.registerDocumentInteractionHandler(c,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(e)throw e.error}}},e.prototype.deregisterRootHandlers=function(){var t,e;try{for(var i=ri(pi),r=i.next();!r.done;r=i.next()){var o=r.value;this.adapter.deregisterInteractionHandler(o,this.activateHandler)}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},e.prototype.deregisterDeactivationHandlers=function(){var t,e;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var i=ri(hi),r=i.next();!r.done;r=i.next()){var o=r.value;this.adapter.deregisterDocumentInteractionHandler(o,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},e.prototype.removeCssVars=function(){var t=this,i=e.strings;Object.keys(i).forEach((function(e){0===e.indexOf("VAR_")&&t.adapter.updateCssVariable(i[e],null)}))},e.prototype.activateImpl=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var i=this.activationState;if(!i.isActivated){var r=this.previousActivationEvent;if(!(r&&void 0!==t&&r.type!==t.type))i.isActivated=!0,i.isProgrammatic=void 0===t,i.activationEvent=t,i.wasActivatedByPointer=!i.isProgrammatic&&(void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type)),void 0!==t&&ui.length>0&&ui.some((function(t){return e.adapter.containsEventTarget(t)}))?this.resetActivationState():(void 0!==t&&(ui.push(t.target),this.registerDeactivationHandlers(t)),i.wasElementMadeActive=this.checkElementMadeActive(t),i.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){ui=[],i.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(i.wasElementMadeActive=e.checkElementMadeActive(t),i.wasElementMadeActive&&e.animateActivation()),i.wasElementMadeActive||(e.activationState=e.defaultActivationState())})))}}},e.prototype.checkElementMadeActive=function(t){return void 0===t||"keydown"!==t.type||this.adapter.isSurfaceActive()},e.prototype.animateActivation=function(){var t=this,i=e.strings,r=i.VAR_FG_TRANSLATE_START,o=i.VAR_FG_TRANSLATE_END,c=e.cssClasses,n=c.FG_DEACTIVATION,a=c.FG_ACTIVATION,s=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var d="",l="";if(!this.adapter.isUnbounded()){var p=this.getFgTranslationCoordinates(),h=p.startPoint,u=p.endPoint;d=h.x+"px, "+h.y+"px",l=u.x+"px, "+u.y+"px"}this.adapter.updateCssVariable(r,d),this.adapter.updateCssVariable(o,l),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(n),this.adapter.computeBoundingRect(),this.adapter.addClass(a),this.activationTimer=setTimeout((function(){t.activationTimerCallback()}),s)},e.prototype.getFgTranslationCoordinates=function(){var t,e=this.activationState,i=e.activationEvent;return t=e.wasActivatedByPointer?function(t,e,i){if(!t)return{x:0,y:0};var r,o,c=e.x,n=e.y,a=c+i.left,s=n+i.top;if("touchstart"===t.type){var d=t;r=d.changedTouches[0].pageX-a,o=d.changedTouches[0].pageY-s}else{var l=t;r=l.pageX-a,o=l.pageY-s}return{x:r,y:o}}(i,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2},{startPoint:t={x:t.x-this.initialSize/2,y:t.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},e.prototype.runDeactivationUXLogicIfReady=function(){var t=this,i=e.cssClasses.FG_DEACTIVATION,r=this.activationState,o=r.hasDeactivationUXRun,c=r.isActivated;(o||!c)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(i),this.fgDeactivationRemovalTimer=setTimeout((function(){t.adapter.removeClass(i)}),li.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses=function(){var t=e.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},e.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return t.previousActivationEvent=void 0}),e.numbers.TAP_DELAY_MS)},e.prototype.deactivateImpl=function(){var t=this,e=this.activationState;if(e.isActivated){var i=ei({},e);e.isProgrammatic?(requestAnimationFrame((function(){t.animateDeactivation(i)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(i),t.resetActivationState()})))}},e.prototype.animateDeactivation=function(t){var e=t.wasActivatedByPointer,i=t.wasElementMadeActive;(e||i)&&this.runDeactivationUXLogicIfReady()},e.prototype.layoutInternal=function(){var t=this;this.frame=this.adapter.computeBoundingRect();var i=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?i:Math.sqrt(Math.pow(t.frame.width,2)+Math.pow(t.frame.height,2))+e.numbers.PADDING;var r=Math.floor(i*e.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!=0?this.initialSize=r-1:this.initialSize=r,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},e.prototype.updateLayoutCssVars=function(){var t=e.strings,i=t.VAR_FG_SIZE,r=t.VAR_LEFT,o=t.VAR_TOP,c=t.VAR_FG_SCALE;this.adapter.updateCssVariable(i,this.initialSize+"px"),this.adapter.updateCssVariable(c,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(o,this.unboundedCoords.top+"px"))},e}(ai),mi=fi;
349
- /**
350
- * @license
351
- * Copyright 2018 Google LLC
352
- * SPDX-License-Identifier: BSD-3-Clause
353
- */
354
- const bi=He(class extends Ve{constructor(t){var e;if(super(t),t.type!==Ie||"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,r;if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.et)||void 0===i?void 0:i.has(t))&&this.st.add(t);return this.render(e)}const o=t.element.classList;this.st.forEach((t=>{t in e||(o.remove(t),this.st.delete(t))}));for(const t in e){const i=!!e[t];i===this.st.has(t)||(null===(r=this.et)||void 0===r?void 0:r.has(t))||(i?(o.add(t),this.st.add(t)):(o.remove(t),this.st.delete(t)))}return Z}}),vi=He(class extends Ve{constructor(t){var e;if(super(t),t.type!==Ie||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const r=t[i];return null==r?e:e+`${i=i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ct){this.ct=new Set;for(const t in e)this.ct.add(t);return this.render(e)}this.ct.forEach((t=>{null==e[t]&&(this.ct.delete(t),t.includes("-")?i.removeProperty(t):i[t]="")}));for(const t in e){const r=e[t];null!=r&&(this.ct.add(t),t.includes("-")?i.setProperty(t,r):i[t]=r)}return Z}});
355
- /**
356
- * @license
357
- * Copyright 2018 Google LLC
358
- * SPDX-License-Identifier: BSD-3-Clause
359
- */
360
- /**
361
- * @license
362
- * Copyright 2018 Google LLC
363
- * SPDX-License-Identifier: Apache-2.0
364
- */
365
- class gi extends ni{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=mi}get isActive(){return t=this.parentElement||this,e=":active",(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e);var t,e;
366
- /**
367
- * @license
368
- * Copyright 2018 Google LLC
369
- * SPDX-License-Identifier: Apache-2.0
370
- */}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0}},removeClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(t,e)=>{switch(t){case"--mdc-ripple-fg-scale":this.fgScale=e;break;case"--mdc-ripple-fg-size":this.fgSize=e;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=e;break;case"--mdc-ripple-fg-translate-start":this.translateStart=e;break;case"--mdc-ripple-left":this.leftPos=e;break;case"--mdc-ripple-top":this.topPos=e}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(t){this.waitForFoundation((()=>{this.mdcFoundation.activate(t)}))}endPress(){this.waitForFoundation((()=>{this.mdcFoundation.deactivate()}))}startFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleFocus()}))}endFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleBlur()}))}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(t){this.mdcFoundation?t():this.updateComplete.then(t)}update(t){t.has("disabled")&&this.disabled&&this.endHover(),super.update(t)}render(){const t=this.activated&&(this.primary||!this.accent),e=this.selected&&(this.primary||!this.accent),i={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":t,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":e,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return K`
371
- <div class="mdc-ripple-surface mdc-ripple-upgraded ${bi(i)}"
372
- style="${vi({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos})}"></div>`}}ii([a(".mdc-ripple-surface")],gi.prototype,"mdcRoot",void 0),ii([r({type:Boolean})],gi.prototype,"primary",void 0),ii([r({type:Boolean})],gi.prototype,"accent",void 0),ii([r({type:Boolean})],gi.prototype,"unbounded",void 0),ii([r({type:Boolean})],gi.prototype,"disabled",void 0),ii([r({type:Boolean})],gi.prototype,"activated",void 0),ii([r({type:Boolean})],gi.prototype,"selected",void 0),ii([r({type:Boolean})],gi.prototype,"internalUseStateLayerCustomProperties",void 0),ii([o()],gi.prototype,"hovering",void 0),ii([o()],gi.prototype,"bgFocused",void 0),ii([o()],gi.prototype,"fgActivation",void 0),ii([o()],gi.prototype,"fgDeactivation",void 0),ii([o()],gi.prototype,"fgScale",void 0),ii([o()],gi.prototype,"fgSize",void 0),ii([o()],gi.prototype,"translateStart",void 0),ii([o()],gi.prototype,"translateEnd",void 0),ii([o()],gi.prototype,"leftPos",void 0),ii([o()],gi.prototype,"topPos",void 0);
373
- /**
374
- * @license
375
- * Copyright 2021 Google LLC
376
- * SPDX-LIcense-Identifier: Apache-2.0
377
- */
378
- const yi=g`.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:block}:host .mdc-ripple-surface{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;will-change:unset}.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary:hover::before,.mdc-ripple-surface--primary.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before,.mdc-ripple-surface--primary--activated::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--activated:hover::before,.mdc-ripple-surface--primary--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--primary--selected::before,.mdc-ripple-surface--primary--selected::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--selected:hover::before,.mdc-ripple-surface--primary--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent:hover::before,.mdc-ripple-surface--accent.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before,.mdc-ripple-surface--accent--activated::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--activated:hover::before,.mdc-ripple-surface--accent--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--accent--selected::before,.mdc-ripple-surface--accent--selected::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--selected:hover::before,.mdc-ripple-surface--accent--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--disabled{opacity:0}.mdc-ripple-surface--internal-use-state-layer-custom-properties::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties::after{background-color:#000;background-color:var(--mdc-ripple-hover-state-layer-color, #000)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:hover::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-state-layer-opacity, 0.04)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}`
379
- /**
380
- * @license
381
- * Copyright 2018 Google LLC
382
- * SPDX-License-Identifier: Apache-2.0
383
- */;let xi=class extends gi{};function ki(t,e,i){if(void 0!==e)
384
- /**
385
- * @license
386
- * Copyright 2021 Google LLC
387
- * SPDX-License-Identifier: Apache-2.0
388
- */
389
- return function(t,e,i){const r=t.constructor;if(!i){const t=`__${e}`;if(!(i=r.getPropertyDescriptor(e,t)))throw new Error("@ariaProperty must be used after a @property decorator")}const o=i;let c="";if(!o.set)throw new Error(`@ariaProperty requires a setter for ${e}`);if(t.dispatchWizEvent)return i;const n={configurable:!0,enumerable:!0,set(t){if(""===c){const t=r.getPropertyOptions(e);c="string"==typeof t.attribute?t.attribute:e}this.hasAttribute(c)&&this.removeAttribute(c),o.set.call(this,t)}};return o.get&&(n.get=function(){return o.get.call(this)}),n}(t,e,i);throw new Error("@ariaProperty only supports TypeScript Decorators")}
390
- /**
391
- * @license
392
- * Copyright 2018 Google LLC
393
- * SPDX-License-Identifier: Apache-2.0
394
- */var _i,wi;xi.styles=[yi],xi=ii([e("mwc-ripple")],xi);const $i=null!==(wi=null===(_i=window.ShadyDOM)||void 0===_i?void 0:_i.inUse)&&void 0!==wi&&wi;class Oi extends ni{constructor(){super(...arguments),this.disabled=!1,this.containingForm=null,this.formDataListener=t=>{this.disabled||this.setFormData(t.formData)}}findFormElement(){if(!this.shadowRoot||$i)return null;const t=this.getRootNode().querySelectorAll("form");for(const e of Array.from(t))if(e.contains(this))return e;return null}connectedCallback(){var t;super.connectedCallback(),this.containingForm=this.findFormElement(),null===(t=this.containingForm)||void 0===t||t.addEventListener("formdata",this.formDataListener)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this.containingForm)||void 0===t||t.removeEventListener("formdata",this.formDataListener),this.containingForm=null}click(){this.formElement&&!this.disabled&&(this.formElement.focus(),this.formElement.click())}firstUpdated(){super.firstUpdated(),this.shadowRoot&&this.mdcRoot.addEventListener("change",(t=>{this.dispatchEvent(new Event("change",t))}))}}Oi.shadowRootOptions={mode:"open",delegatesFocus:!0},ii([r({type:Boolean})],Oi.prototype,"disabled",void 0);
395
- /**
396
- * @license
397
- * Copyright 2020 Google LLC
398
- * SPDX-License-Identifier: Apache-2.0
399
- */
400
- class Si{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))},this.endPress=()=>{t().then((t=>{t&&t.endPress()}))},this.startFocus=()=>{t().then((t=>{t&&t.startFocus()}))},this.endFocus=()=>{t().then((t=>{t&&t.endFocus()}))},this.startHover=()=>{t().then((t=>{t&&t.startHover()}))},this.endHover=()=>{t().then((t=>{t&&t.endHover()}))}}}
401
- /**
402
- * @license
403
- * Copyright 2018 Google LLC
404
- * SPDX-License-Identifier: BSD-3-Clause
405
- */const zi=t=>null!=t?t:q
406
- /**
407
- * @license
408
- * Copyright 2019 Google LLC
409
- * SPDX-License-Identifier: Apache-2.0
410
- */;class Ci extends Oi{constructor(){super(...arguments),this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.name="",this.value="on",this.reducedTouchTarget=!1,this.animationClass="",this.shouldRenderRipple=!1,this.focused=!1,this.mdcFoundationClass=void 0,this.mdcFoundation=void 0,this.rippleElement=null,this.rippleHandlers=new Si((()=>(this.shouldRenderRipple=!0,this.ripple.then((t=>this.rippleElement=t)),this.ripple)))}createAdapter(){return{}}update(t){const e=t.get("indeterminate"),i=t.get("checked"),r=t.get("disabled");if(void 0!==e||void 0!==i||void 0!==r){const t=this.calculateAnimationStateName(!!i,!!e,!!r),o=this.calculateAnimationStateName(this.checked,this.indeterminate,this.disabled);this.animationClass=`${t}-${o}`}super.update(t)}calculateAnimationStateName(t,e,i){return i?"disabled":e?"indeterminate":t?"checked":"unchecked"}renderRipple(){return this.shouldRenderRipple?this.renderRippleTemplate():""}renderRippleTemplate(){return K`<mwc-ripple
411
- .disabled="${this.disabled}"
412
- unbounded></mwc-ripple>`}render(){const t=this.indeterminate||this.checked,e={"mdc-checkbox--disabled":this.disabled,"mdc-checkbox--selected":t,"mdc-checkbox--touch":!this.reducedTouchTarget,"mdc-ripple-upgraded--background-focused":this.focused,"mdc-checkbox--anim-checked-indeterminate":"checked-indeterminate"==this.animationClass,"mdc-checkbox--anim-checked-unchecked":"checked-unchecked"==this.animationClass,"mdc-checkbox--anim-indeterminate-checked":"indeterminate-checked"==this.animationClass,"mdc-checkbox--anim-indeterminate-unchecked":"indeterminate-unchecked"==this.animationClass,"mdc-checkbox--anim-unchecked-checked":"unchecked-checked"==this.animationClass,"mdc-checkbox--anim-unchecked-indeterminate":"unchecked-indeterminate"==this.animationClass},i=this.indeterminate?"mixed":void 0;return K`
413
- <div class="mdc-checkbox mdc-checkbox--upgraded ${bi(e)}">
414
- <input type="checkbox"
415
- class="mdc-checkbox__native-control"
416
- name="${zi(this.name)}"
417
- aria-checked="${zi(i)}"
418
- aria-label="${zi(this.ariaLabel)}"
419
- aria-labelledby="${zi(this.ariaLabelledBy)}"
420
- aria-describedby="${zi(this.ariaDescribedBy)}"
421
- data-indeterminate="${this.indeterminate?"true":"false"}"
422
- ?disabled="${this.disabled}"
423
- .indeterminate="${this.indeterminate}"
424
- .checked="${this.checked}"
425
- .value="${this.value}"
426
- @change="${this.handleChange}"
427
- @focus="${this.handleFocus}"
428
- @blur="${this.handleBlur}"
429
- @mousedown="${this.handleRippleMouseDown}"
430
- @mouseenter="${this.handleRippleMouseEnter}"
431
- @mouseleave="${this.handleRippleMouseLeave}"
432
- @touchstart="${this.handleRippleTouchStart}"
433
- @touchend="${this.handleRippleDeactivate}"
434
- @touchcancel="${this.handleRippleDeactivate}">
435
- <div class="mdc-checkbox__background"
436
- @animationend="${this.resetAnimationClass}">
437
- <svg class="mdc-checkbox__checkmark"
438
- viewBox="0 0 24 24">
439
- <path class="mdc-checkbox__checkmark-path"
440
- fill="none"
441
- d="M1.73,12.91 8.1,19.28 22.79,4.59"></path>
442
- </svg>
443
- <div class="mdc-checkbox__mixedmark"></div>
444
- </div>
445
- ${this.renderRipple()}
446
- </div>`}setFormData(t){this.name&&this.checked&&t.append(this.name,this.value)}handleFocus(){this.focused=!0,this.handleRippleFocus()}handleBlur(){this.focused=!1,this.handleRippleBlur()}handleRippleMouseDown(t){const e=()=>{window.removeEventListener("mouseup",e),this.handleRippleDeactivate()};window.addEventListener("mouseup",e),this.rippleHandlers.startPress(t)}handleRippleTouchStart(t){this.rippleHandlers.startPress(t)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}handleChange(){this.checked=this.formElement.checked,this.indeterminate=this.formElement.indeterminate}resetAnimationClass(){this.animationClass=""}get isRippleActive(){var t;return(null===(t=this.rippleElement)||void 0===t?void 0:t.isActive)||!1}}ii([a(".mdc-checkbox")],Ci.prototype,"mdcRoot",void 0),ii([a("input")],Ci.prototype,"formElement",void 0),ii([r({type:Boolean,reflect:!0})],Ci.prototype,"checked",void 0),ii([r({type:Boolean})],Ci.prototype,"indeterminate",void 0),ii([r({type:Boolean,reflect:!0})],Ci.prototype,"disabled",void 0),ii([r({type:String,reflect:!0})],Ci.prototype,"name",void 0),ii([r({type:String})],Ci.prototype,"value",void 0),ii([ki,r({type:String,attribute:"aria-label"})],Ci.prototype,"ariaLabel",void 0),ii([ki,r({type:String,attribute:"aria-labelledby"})],Ci.prototype,"ariaLabelledBy",void 0),ii([ki,r({type:String,attribute:"aria-describedby"})],Ci.prototype,"ariaDescribedBy",void 0),ii([r({type:Boolean})],Ci.prototype,"reducedTouchTarget",void 0),ii([o()],Ci.prototype,"animationClass",void 0),ii([o()],Ci.prototype,"shouldRenderRipple",void 0),ii([o()],Ci.prototype,"focused",void 0),ii([s("mwc-ripple")],Ci.prototype,"ripple",void 0),ii([n({passive:!0})],Ci.prototype,"handleRippleTouchStart",null);
447
- /**
448
- * @license
449
- * Copyright 2021 Google LLC
450
- * SPDX-LIcense-Identifier: Apache-2.0
451
- */
452
- const Ri=g`.mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-touch-target-size, 40px) - 40px) / 2)}.mdc-checkbox .mdc-checkbox__ripple::before,.mdc-checkbox .mdc-checkbox__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-checkbox:hover .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-touch-target-size, 40px);height:40px;height:var(--mdc-checkbox-touch-target-size, 40px)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#018786;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#018786;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:#018786;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786))}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-color, rgba(0, 0, 0, 0.38))}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-ink-color, #fff)}.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:GrayText;border-color:var(--mdc-checkbox-disabled-color, GrayText);background-color:transparent}.mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:GrayText;background-color:transparent;background-color:var(--mdc-checkbox-disabled-color, transparent)}.mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:GrayText;color:var(--mdc-checkbox-ink-color, GrayText)}.mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:GrayText;border-color:var(--mdc-checkbox-ink-color, GrayText)}.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:transparent;pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((48px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((40px - 48px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((40px - 48px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((40px - 48px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:48px;width:var(--mdc-checkbox-state-layer-size, 48px);height:48px;height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}:host{outline:none;display:inline-flex;-webkit-tap-highlight-color:transparent}:host([checked]),:host([indeterminate]){--mdc-ripple-color:var(--mdc-theme-secondary, #018786)}.mdc-checkbox .mdc-checkbox__background::before{content:none}`
453
- /**
454
- * @license
455
- * Copyright 2018 Google LLC
456
- * SPDX-License-Identifier: Apache-2.0
457
- */;let Ei=class extends Ci{};Ei.styles=[Ri],Ei=ii([e("mwc-checkbox")],Ei);var Ni=function(t,e,i,r){for(var o,c=arguments.length,n=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(c<3?o(n):c>3?o(e,i,n):o(e,i))||n);return c>3&&n&&Object.defineProperty(e,i,n),n};const Ai={color:mt.extend("--ft-ripple-color",vt.colorContent),primaryColor:mt.extend("--ft-ripple-primary-color",mt.extend("--ft-ripple-color",vt.colorPrimary)),secondaryColor:mt.extend("--ft-ripple-secondary-color",mt.extend("--ft-ripple-color",vt.colorSecondary)),opacityContentOnSurfacePressed:mt.external(vt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:mt.external(vt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:mt.external(vt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:mt.external(vt.opacityContentOnSurfaceSelected,"Design system")};class Ti extends gt{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.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed)},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:r,y:o}=this.getCoordinates(t),c=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!=r?r-c.x:c.width/2),this.originY=Math.round(null!=o?o-c.y:c.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.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 K`
222
+ */var Ye=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ge={color:dt.extend("--ft-ripple-color",ut.colorContent),primaryColor:dt.extend("--ft-ripple-primary-color",dt.extend("--ft-ripple-color",ut.colorPrimary)),secondaryColor:dt.extend("--ft-ripple-secondary-color",dt.extend("--ft-ripple-color",ut.colorSecondary)),opacityContentOnSurfacePressed:dt.external(ut.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:dt.external(ut.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:dt.external(ut.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:dt.external(ut.opacityContentOnSurfaceSelected,"Design system")};class Qe extends vt{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.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed)},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=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-n.x:n.width/2),this.originY=Math.round(null!=s?s-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.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 W`
458
223
  <style>
459
224
  .ft-ripple .ft-ripple--effect,
460
225
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -467,11 +232,11 @@ const Ri=g`.mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc
467
232
  top: ${this.originY}px;
468
233
  }
469
234
  </style>
470
- <div class="${bi(t)}">
235
+ <div class="${Xe(t)}">
471
236
  <div class="ft-ripple--background"></div>
472
237
  <div class="ft-ripple--effect"></div>
473
238
  </div>
474
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){super.updated(t),t.has("disabled")&&this.disabled&&this.endRipple(),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){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"),r=e("touchend","touchcancel"),o=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",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",o),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",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",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",o),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let r,o;return null!=e.x?({x:r,y:o}=e):null!=i.touches&&(r=i.touches[0].clientX,o=i.touches[0].clientY),{x:r,y:o}}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.resizeObserver.disconnect(),this.endRipple()}}Ti.elementDefinitions={},Ti.styles=g`
239
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){super.updated(t),t.has("disabled")&&this.disabled&&this.endRipple(),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(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}}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}}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.resizeObserver.disconnect(),this.endRipple()}}Qe.elementDefinitions={},Qe.styles=v`
475
240
  :host {
476
241
  display: contents;
477
242
  }
@@ -490,17 +255,17 @@ const Ri=g`.mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc
490
255
  .ft-ripple .ft-ripple--effect {
491
256
  position: absolute;
492
257
  opacity: 0;
493
- background-color: ${Ai.color};
258
+ background-color: ${Ge.color};
494
259
  }
495
260
 
496
261
  .ft-ripple.ft-ripple--secondary .ft-ripple--background,
497
262
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
498
- background-color: ${Ai.secondaryColor};
263
+ background-color: ${Ge.secondaryColor};
499
264
  }
500
265
 
501
266
  .ft-ripple.ft-ripple--primary .ft-ripple--background,
502
267
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
503
- background-color: ${Ai.primaryColor};
268
+ background-color: ${Ge.primaryColor};
504
269
  }
505
270
 
506
271
  .ft-ripple .ft-ripple--background {
@@ -531,33 +296,22 @@ const Ri=g`.mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc
531
296
  }
532
297
 
533
298
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
534
- opacity: ${Ai.opacityContentOnSurfaceHover};
299
+ opacity: ${Ge.opacityContentOnSurfaceHover};
535
300
  }
536
301
 
537
302
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
538
- opacity: ${Ai.opacityContentOnSurfaceSelected};
303
+ opacity: ${Ge.opacityContentOnSurfaceSelected};
539
304
  }
540
305
 
541
306
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
542
- opacity: ${Ai.opacityContentOnSurfaceFocused};
307
+ opacity: ${Ge.opacityContentOnSurfaceFocused};
543
308
  }
544
309
 
545
310
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
546
- opacity: ${Ai.opacityContentOnSurfacePressed};
311
+ opacity: ${Ge.opacityContentOnSurfacePressed};
547
312
  transform: translate(-50%, -50%) scale(1);
548
313
  }
549
- `,Ni([r({type:Boolean})],Ti.prototype,"primary",void 0),Ni([r({type:Boolean})],Ti.prototype,"secondary",void 0),Ni([r({type:Boolean})],Ti.prototype,"unbounded",void 0),Ni([r({type:Boolean})],Ti.prototype,"activated",void 0),Ni([r({type:Boolean})],Ti.prototype,"selected",void 0),Ni([r({type:Boolean})],Ti.prototype,"disabled",void 0),Ni([o()],Ti.prototype,"hovered",void 0),Ni([o()],Ti.prototype,"focused",void 0),Ni([o()],Ti.prototype,"pressed",void 0),Ni([o()],Ti.prototype,"rippling",void 0),Ni([o()],Ti.prototype,"rippleSize",void 0),Ni([o()],Ti.prototype,"originX",void 0),Ni([o()],Ti.prototype,"originY",void 0),Ni([a(".ft-ripple")],Ti.prototype,"ripple",void 0),Ni([a(".ft-ripple--effect")],Ti.prototype,"rippleEffect",void 0),h("ft-ripple")(Ti);
550
- /**
551
- * @license
552
- * Copyright 2021 Google LLC
553
- * SPDX-LIcense-Identifier: Apache-2.0
554
- */
555
- const Fi=g`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}`
556
- /**
557
- * @license
558
- * Copyright 2018 Google LLC
559
- * SPDX-License-Identifier: Apache-2.0
560
- */;let Mi=class extends ut{render(){return K`<span><slot></slot></span>`}};Mi.styles=[Fi],Mi=ii([e("mwc-icon")],Mi);var Bi=function(t,e,i,r){for(var o,c=arguments.length,n=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(c<3?o(n):c>3?o(e,i,n):o(e,i))||n);return c>3&&n&&Object.defineProperty(e,i,n),n};const Di=mt.create("--ft-tooltip-distance","SIZE","4px"),Li=mt.create("--ft-tooltip-color","COLOR","#FFFFFF"),ji=mt.create("--ft-tooltip-background-color","COLOR","#666666"),Ui=mt.create("--ft-tooltip-z-index","NUMBER","1"),Ii=mt.external(vt.borderRadiusS,"Design system");class Pi extends gt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new t,this.revealDebouncer=new t}render(){return K`
314
+ `,Ye([i({type:Boolean})],Qe.prototype,"primary",void 0),Ye([i({type:Boolean})],Qe.prototype,"secondary",void 0),Ye([i({type:Boolean})],Qe.prototype,"unbounded",void 0),Ye([i({type:Boolean})],Qe.prototype,"activated",void 0),Ye([i({type:Boolean})],Qe.prototype,"selected",void 0),Ye([i({type:Boolean})],Qe.prototype,"disabled",void 0),Ye([o()],Qe.prototype,"hovered",void 0),Ye([o()],Qe.prototype,"focused",void 0),Ye([o()],Qe.prototype,"pressed",void 0),Ye([o()],Qe.prototype,"rippling",void 0),Ye([o()],Qe.prototype,"rippleSize",void 0),Ye([o()],Qe.prototype,"originX",void 0),Ye([o()],Qe.prototype,"originY",void 0),Ye([n(".ft-ripple")],Qe.prototype,"ripple",void 0),Ye([n(".ft-ripple--effect")],Qe.prototype,"rippleEffect",void 0),h("ft-ripple")(Qe);var ti=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ei=dt.create("--ft-tooltip-distance","SIZE","4px"),ii=dt.create("--ft-tooltip-color","COLOR","#FFFFFF"),oi=dt.create("--ft-tooltip-background-color","COLOR","#666666"),si=dt.create("--ft-tooltip-z-index","NUMBER","1"),ni=dt.external(ut.borderRadiusS,"Design system");class ri extends vt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new t,this.revealDebouncer=new t}render(){return W`
561
315
  <div part="container"
562
316
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
563
317
  @mouseenter=${this.onHover}
@@ -572,7 +326,7 @@ const Fi=g`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
572
326
  </div>
573
327
  <slot></slot>
574
328
  </div>
575
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&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.position){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=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,r=(e.width-this.tooltip.clientWidth)/2,o=this.tooltip.style;switch(this.position){case"top":o.top=-this.tooltip.clientHeight+"px",o.left=r+"px";break;case"bottom":o.top=e.height+"px",o.left=r+"px";break;case"left":o.top=i+"px",o.left=-this.tooltip.clientWidth+"px";break;case"right":o.top=i+"px",o.left=e.width+"px"}o.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Pi.elementDefinitions={"ft-typography":je},Pi.styles=g`
329
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&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.position){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=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=o+"px";break;case"bottom":s.top=e.height+"px",s.left=o+"px";break;case"left":s.top=i+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=i+"px",s.left=e.width+"px"}s.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}ri.elementDefinitions={"ft-typography":De},ri.styles=v`
576
330
  .ft-tooltip--container {
577
331
  display: block;
578
332
  position: relative;
@@ -590,21 +344,21 @@ const Fi=g`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
590
344
  width: max-content;
591
345
  max-width: 150px;
592
346
  text-align: center;
593
- padding: ${Di};
594
- z-index: ${Ui};
347
+ padding: ${ei};
348
+ z-index: ${si};
595
349
  }
596
350
 
597
351
  .ft-tooltip--content {
598
352
  padding: 4px 8px;
599
- border-radius: ${Ii};
600
- background-color: ${ji};
601
- color: ${Li};
353
+ border-radius: ${ni};
354
+ background-color: ${oi};
355
+ color: ${ii};
602
356
  top: -500px;
603
357
  left: -500px;
604
358
  position: relative;
605
359
  word-break: break-word;
606
360
  }
607
- `,Bi([r()],Pi.prototype,"text",void 0),Bi([r({type:Boolean})],Pi.prototype,"manual",void 0),Bi([r({type:Boolean})],Pi.prototype,"inline",void 0),Bi([r({type:Number})],Pi.prototype,"delay",void 0),Bi([r()],Pi.prototype,"position",void 0),Bi([p("",!0)],Pi.prototype,"slotNodes",void 0),Bi([a(".ft-tooltip--container")],Pi.prototype,"container",void 0),Bi([a("slot")],Pi.prototype,"target",void 0),Bi([a(".ft-tooltip")],Pi.prototype,"tooltip",void 0),Bi([a(".ft-tooltip--content")],Pi.prototype,"tooltipContent",void 0),Bi([o()],Pi.prototype,"visible",void 0),h("ft-tooltip")(Pi);const Hi={color:mt.extend("--ft-loader-color",vt.colorPrimary),size:mt.create("--ft-loader-size","SIZE","80px")};class Vi extends gt{static get styles(){return g`
361
+ `,ti([i()],ri.prototype,"text",void 0),ti([i({type:Boolean})],ri.prototype,"manual",void 0),ti([i({type:Boolean})],ri.prototype,"inline",void 0),ti([i({type:Number})],ri.prototype,"delay",void 0),ti([i()],ri.prototype,"position",void 0),ti([function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?a({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],ri.prototype,"slotNodes",void 0),ti([n(".ft-tooltip--container")],ri.prototype,"container",void 0),ti([n("slot")],ri.prototype,"target",void 0),ti([n(".ft-tooltip")],ri.prototype,"tooltip",void 0),ti([n(".ft-tooltip--content")],ri.prototype,"tooltipContent",void 0),ti([o()],ri.prototype,"visible",void 0),h("ft-tooltip")(ri);const li={color:dt.extend("--ft-loader-color",ut.colorPrimary),size:dt.create("--ft-loader-size","SIZE","80px")};class ai extends vt{static get styles(){return v`
608
362
  :host {
609
363
  line-height: 0;
610
364
  }
@@ -613,8 +367,8 @@ const Fi=g`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
613
367
  display: inline-block;
614
368
  position: relative;
615
369
 
616
- width: ${Hi.size};
617
- height: ${Hi.size};
370
+ width: ${li.size};
371
+ height: ${li.size};
618
372
  }
619
373
 
620
374
  .ft-loader div {
@@ -623,7 +377,7 @@ const Fi=g`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
623
377
  width: 25%;
624
378
  height: 25%;
625
379
  border-radius: 50%;
626
- background: ${Hi.color};
380
+ background: ${li.color};
627
381
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
628
382
  }
629
383
 
@@ -670,17 +424,61 @@ const Fi=g`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
670
424
  transform: translate(0, 0);
671
425
  }
672
426
  100% {
673
- transform: translate(calc(0.35 * ${Hi.size}), 0);
427
+ transform: translate(calc(0.35 * ${li.size}), 0);
674
428
  }
675
429
  }
676
- `}render(){return K`
430
+ `}render(){return W`
677
431
  <div class="ft-loader">
678
432
  <div></div>
679
433
  <div></div>
680
434
  <div></div>
681
435
  <div></div>
682
436
  </div>
683
- `}}h("ft-loader")(Vi);var Wi=function(t,e,i,r){for(var o,c=arguments.length,n=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(c<3?o(n):c>3?o(e,i,n):o(e,i))||n);return c>3&&n&&Object.defineProperty(e,i,n),n};const Gi=mt.extend("--ft-button-color",vt.colorPrimary),Ki={backgroundColor:mt.extend("--ft-button-background-color",vt.colorSurface),borderRadius:mt.extend("--ft-button-border-radius",vt.borderRadiusL),color:Gi,fontSize:mt.extend("--ft-button-font-size",Ce.fontSize),iconSize:mt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:mt.extend("--ft-button-ripple-color",Gi),opacityDisabled:mt.external(vt.colorOpacityDisabled,"Design system")},Zi=mt.extend("--ft-button-primary-color",mt.extend("--ft-button-color",vt.colorOnPrimary)),qi={backgroundColor:mt.extend("--ft-button-primary-background-color",mt.extend("--ft-button-background-color",vt.colorPrimary)),color:Zi,rippleColor:mt.extend("--ft-button-primary-ripple-color",Zi)},Xi=mt.extend("--ft-button-dense-border-radius",mt.extend("--ft-button-border-radius",vt.borderRadiusM));class Ji extends gt{constructor(){super(...arguments),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.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[yt,g`
437
+ `}}h("ft-loader")(ai);
438
+ /**
439
+ * @license
440
+ * Copyright 2017 Google LLC
441
+ * SPDX-License-Identifier: BSD-3-Clause
442
+ */
443
+ class hi extends Pe{constructor(t){if(super(t),this.it=V,t.type!==Ae)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===V||null==t)return this.vt=void 0,this.it=t;if(t===K)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}hi.directiveName="unsafeHTML",hi.resultType=1;const ci=_e(hi);var pi,di;!function(t){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.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",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="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",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="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(pi||(pi={})),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;"}(di||(di={})),new Map([...["abw"].map((t=>[t,di.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,di.AUDIO])),...["avi"].map((t=>[t,di.AVI])),...["chm","xhs"].map((t=>[t,di.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,di.CODE])),...["csv"].map((t=>[t,di.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,di.DITA])),...["epub"].map((t=>[t,di.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,di.EXCEL])),...["flac"].map((t=>[t,di.FLAC])),...["gif"].map((t=>[t,di.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,di.GZIP])),...["html","htm","xhtml"].map((t=>[t,di.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,di.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,di.JPEG])),...["json"].map((t=>[t,di.JSON])),...["m4a","m4p"].map((t=>[t,di.M4A])),...["mov","qt"].map((t=>[t,di.MOV])),...["mp3"].map((t=>[t,di.MP3])),...["mp4","m4v"].map((t=>[t,di.MP4])),...["ogg","oga"].map((t=>[t,di.OGG])),...["pdf","ps"].map((t=>[t,di.PDF])),...["png"].map((t=>[t,di.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,di.POWERPOINT])),...["rar"].map((t=>[t,di.RAR])),...["stp"].map((t=>[t,di.STP])),...["txt","rtf","md","mdown"].map((t=>[t,di.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,di.VIDEO])),...["wav"].map((t=>[t,di.WAV])),...["wma"].map((t=>[t,di.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,di.WORD])),...["xml","xsl","rdf"].map((t=>[t,di.XML])),...["yaml","yml","x-yaml"].map((t=>[t,di.YAML])),...["zip"].map((t=>[t,di.ZIP]))]);var fi,ui=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(fi||(fi={}));const vi={size:dt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:dt.extend("--ft-icon-fluid-topics-font-family",dt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:dt.extend("--ft-icon-file-format-font-family",dt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:dt.extend("--ft-icon-material-font-family",dt.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class bi extends vt{constructor(){super(...arguments),this.variant=fi.fluid_topics}render(){return W`
444
+ <i class="ft-icon ${"ft-icon--"+this.variant}">
445
+ ${ci(this.getIcon())}
446
+ <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
447
+ </i>
448
+ `}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:""}getIcon(){var t,e;let i=this.textContent;return this.variant===fi.file_format?null!==(t=di[i.toUpperCase()])&&void 0!==t?t:i:this.variant===fi.fluid_topics?null!==(e=pi[i.toUpperCase()])&&void 0!==e?e:i:V}}bi.elementDefinitions={},bi.styles=v`
449
+ :host, i.ft-icon {
450
+ display: inline-block;
451
+ width: ${vi.size};
452
+ height: ${vi.size};
453
+ text-align: center;
454
+ }
455
+
456
+ i.ft-icon {
457
+ font-size: ${vi.size};
458
+ line-height: 1;
459
+ font-weight: normal;
460
+ text-transform: none;
461
+ font-style: normal;
462
+ font-variant: normal;
463
+ speak: none;
464
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
465
+ text-rendering: auto;
466
+ -webkit-font-smoothing: antialiased;
467
+ -moz-osx-font-smoothing: grayscale;
468
+ }
469
+
470
+ .ft-icon--fluid-topics {
471
+ font-family: ${vi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
472
+ }
473
+
474
+ .ft-icon--file-format {
475
+ font-family: ${vi.fileFormatFontFamily}, ft-mime, sans-serif;
476
+ }
477
+
478
+ .ft-icon--material {
479
+ font-family: ${vi.materialFontFamily}, "Material Icons", sans-serif;
480
+ }
481
+ `,ui([i()],bi.prototype,"variant",void 0),ui([n("slot")],bi.prototype,"slottedContent",void 0),h("ft-icon")(bi);var xi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const yi=dt.extend("--ft-button-color",ut.colorPrimary),gi={backgroundColor:dt.extend("--ft-button-background-color",ut.colorSurface),borderRadius:dt.extend("--ft-button-border-radius",ut.borderRadiusL),color:yi,fontSize:dt.extend("--ft-button-font-size",Se.fontSize),iconSize:dt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:dt.extend("--ft-button-ripple-color",yi),opacityDisabled:dt.external(ut.colorOpacityDisabled,"Design system")},mi=dt.extend("--ft-button-primary-color",dt.extend("--ft-button-color",ut.colorOnPrimary)),$i={backgroundColor:dt.extend("--ft-button-primary-background-color",dt.extend("--ft-button-background-color",ut.colorPrimary)),color:mi,rippleColor:dt.extend("--ft-button-primary-ripple-color",mi)},wi=dt.extend("--ft-button-dense-border-radius",dt.extend("--ft-button-border-radius",ut.borderRadiusM));class ki extends vt{constructor(){super(...arguments),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.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[bt,v`
684
482
  :host {
685
483
  display: inline-block;
686
484
  max-width: 100%;
@@ -719,18 +517,18 @@ const Fi=g`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
719
517
  border: none;
720
518
  pointer-events: auto;
721
519
 
722
- --ft-button-internal-font-size: ${Ki.fontSize};
520
+ --ft-button-internal-font-size: ${gi.fontSize};
723
521
  --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
724
- --ft-button-internal-color: ${Ki.color};
725
- --mdc-icon-size: ${Ki.iconSize};
522
+ --ft-button-internal-color: ${gi.color};
523
+ ${ft(vi.size,gi.iconSize)};
726
524
  --ft-button-internal-vertical-padding: 6px;
727
525
  --ft-button-internal-horizontal-padding: 8px;
728
- ${bt(Ai.color,Ki.rippleColor)};
729
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), var(--mdc-icon-size));
526
+ ${ft(Ge.color,gi.rippleColor)};
527
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${gi.iconSize});
730
528
 
731
- border-radius: ${Ki.borderRadius};
529
+ border-radius: ${gi.borderRadius};
732
530
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
733
- background-color: ${Ki.backgroundColor};
531
+ background-color: ${gi.backgroundColor};
734
532
  color: var(--ft-button-internal-color);
735
533
  -webkit-mask-image: radial-gradient(white, black);
736
534
  }
@@ -742,7 +540,7 @@ const Fi=g`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
742
540
  .ft-button--dense {
743
541
  --ft-button-internal-vertical-padding: 2px;
744
542
  --ft-button-internal-horizontal-padding: 4px;
745
- border-radius: ${Xi};
543
+ border-radius: ${wi};
746
544
  }
747
545
 
748
546
  .ft-button--round {
@@ -751,13 +549,13 @@ const Fi=g`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
751
549
 
752
550
  .ft-button[disabled] {
753
551
  filter: grayscale(1);
754
- opacity: ${Ki.opacityDisabled};
552
+ opacity: ${gi.opacityDisabled};
755
553
  }
756
554
 
757
555
  .ft-button.ft-button--primary {
758
- background-color: ${qi.backgroundColor};
759
- --ft-button-internal-color: ${qi.color};
760
- ${bt(Ai.color,qi.rippleColor)};
556
+ background-color: ${$i.backgroundColor};
557
+ --ft-button-internal-color: ${$i.color};
558
+ ${ft(Ge.color,$i.rippleColor)};
761
559
  }
762
560
 
763
561
  .ft-button.ft-button--outlined {
@@ -775,8 +573,8 @@ const Fi=g`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
775
573
  text-overflow: ellipsis;
776
574
  display: block;
777
575
  margin: 0 var(--ft-button-internal-horizontal-padding);
778
- ${bt(Ce.fontSize,"var(--ft-button-internal-font-size)")};
779
- ${bt(Ce.lineHeight,"var(--ft-button-internal-content-height)")};
576
+ ${ft(Se.fontSize,"var(--ft-button-internal-font-size)")};
577
+ ${ft(Se.lineHeight,"var(--ft-button-internal-content-height)")};
780
578
  }
781
579
 
782
580
  .ft-button--safari-fix .ft-button--label {
@@ -793,28 +591,27 @@ const Fi=g`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
793
591
  display: none;
794
592
  }
795
593
 
796
- mwc-icon {
594
+ ft-icon {
797
595
  flex-shrink: 0;
798
- width: var(--mdc-icon-size);
799
596
  }
800
597
 
801
- .ft-button--label[hidden] + mwc-icon {
598
+ .ft-button--label[hidden] + ft-icon {
802
599
  margin: 0 calc(var(--ft-button-internal-horizontal-padding) * -1);
803
600
  padding: 0 var(--ft-button-internal-vertical-padding);
804
601
  }
805
602
 
806
- .ft-button:not(.ft-button--trailing-icon) mwc-icon,
603
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
807
604
  .ft-button:not(.ft-button--trailing-icon) ft-loader {
808
605
  order: -1;
809
606
  }
810
607
 
811
608
  ft-loader {
812
- ${bt(Hi.size,Ki.iconSize)};
813
- ${bt(Hi.color,"var(--ft-button-internal-color)")};
609
+ ${ft(li.size,gi.iconSize)};
610
+ ${ft(li.color,"var(--ft-button-internal-color)")};
814
611
  }
815
- `]}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-button--safari-fix":$t,"ft-no-text-select":!0};return this.addTooltip(K`
612
+ `]}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-button--safari-fix":$t,"ft-no-text-select":!0};return this.addTooltip(W`
816
613
  <button part="button"
817
- class="${bi(t)}"
614
+ class="${Xe(t)}"
818
615
  aria-label="${this.getLabel()}"
819
616
  ?disabled=${this.isDisabled()}>
820
617
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
@@ -826,155 +623,246 @@ const Fi=g`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
826
623
  </ft-typography>
827
624
  ${this.resolveIcon()}
828
625
  </button>
829
- `)}addTooltip(t){return this.hasTextContent()||0===this.getLabel().trim().length?t:K`
626
+ `)}addTooltip(t){return this.hasTextContent()||0===this.getLabel().trim().length?t:W`
830
627
  <ft-tooltip part="tooltip"
831
628
  text="${this.getLabel()}"
832
629
  position="${this.tooltipPosition}">
833
630
  ${t}
834
631
  </ft-tooltip>
835
- `}resolveIcon(){return this.loading?K`
836
- <ft-loader></ft-loader> `:this.icon?K`
837
- <mwc-icon>${this.icon}</mwc-icon> `:q}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}}Ji.elementDefinitions={"ft-ripple":Ti,"ft-tooltip":Pi,"ft-typography":je,"mwc-icon":Mi,"ft-loader":Vi},Wi([r({type:Boolean})],Ji.prototype,"primary",void 0),Wi([r({type:Boolean})],Ji.prototype,"outlined",void 0),Wi([r({type:Boolean})],Ji.prototype,"disabled",void 0),Wi([r({type:Boolean})],Ji.prototype,"dense",void 0),Wi([r({type:Boolean})],Ji.prototype,"round",void 0),Wi([r({type:String})],Ji.prototype,"label",void 0),Wi([r({type:String})],Ji.prototype,"icon",void 0),Wi([r({type:Boolean})],Ji.prototype,"trailingIcon",void 0),Wi([r({type:Boolean})],Ji.prototype,"loading",void 0),Wi([r({type:String})],Ji.prototype,"tooltipPosition",void 0),Wi([a(".ft-button")],Ji.prototype,"button",void 0),Wi([a(".ft-button--label slot")],Ji.prototype,"slottedContent",void 0),h("ft-button")(Ji);
838
- /**
839
- * @license
840
- * Copyright 2017 Google Inc.
841
- *
842
- * Permission is hereby granted, free of charge, to any person obtaining a copy
843
- * of this software and associated documentation files (the "Software"), to deal
844
- * in the Software without restriction, including without limitation the rights
845
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
846
- * copies of the Software, and to permit persons to whom the Software is
847
- * furnished to do so, subject to the following conditions:
848
- *
849
- * The above copyright notice and this permission notice shall be included in
850
- * all copies or substantial portions of the Software.
851
- *
852
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
853
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
854
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
855
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
856
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
857
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
858
- * THE SOFTWARE.
859
- */
860
- var Yi={ROOT:"mdc-form-field"},Qi={LABEL_SELECTOR:".mdc-form-field > label"},tr=function(t){function e(i){var r=t.call(this,ei(ei({},e.defaultAdapter),i))||this;return r.click=function(){r.handleClick()},r}return ti(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return Yi},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return Qi},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},e.prototype.handleClick=function(){var t=this;this.adapter.activateInputRipple(),requestAnimationFrame((function(){t.adapter.deactivateInputRipple()}))},e}(ai);
861
- /**
862
- * @license
863
- * Copyright 2018 Google LLC
864
- * SPDX-License-Identifier: Apache-2.0
865
- */
866
- const er=t=>(e,i)=>{if(e.constructor._observers){if(!e.constructor.hasOwnProperty("_observers")){const t=e.constructor._observers;e.constructor._observers=new Map,t.forEach(((t,i)=>e.constructor._observers.set(i,t)))}}else{e.constructor._observers=new Map;const t=e.updated;e.updated=function(e){t.call(this,e),e.forEach(((t,e)=>{const i=this.constructor._observers.get(e);void 0!==i&&i.call(this,this[e],t)}))}}e.constructor._observers.set(i,t)}
867
- /**
868
- * @license
869
- * Copyright 2018 Google LLC
870
- * SPDX-License-Identifier: Apache-2.0
871
- */;class ir extends ni{constructor(){super(...arguments),this.alignEnd=!1,this.spaceBetween=!1,this.nowrap=!1,this.label="",this.mdcFoundationClass=tr}createAdapter(){return{registerInteractionHandler:(t,e)=>{this.labelEl.addEventListener(t,e)},deregisterInteractionHandler:(t,e)=>{this.labelEl.removeEventListener(t,e)},activateInputRipple:async()=>{const t=this.input;if(t instanceof Oi){const e=await t.ripple;e&&e.startPress()}},deactivateInputRipple:async()=>{const t=this.input;if(t instanceof Oi){const e=await t.ripple;e&&e.endPress()}}}}get input(){var t,e;return null!==(e=null===(t=this.slottedInputs)||void 0===t?void 0:t[0])&&void 0!==e?e:null}render(){const t={"mdc-form-field--align-end":this.alignEnd,"mdc-form-field--space-between":this.spaceBetween,"mdc-form-field--nowrap":this.nowrap};return K`
872
- <div class="mdc-form-field ${bi(t)}">
873
- <slot></slot>
874
- <label class="mdc-label"
875
- @click="${this._labelClick}">${this.label}</label>
876
- </div>`}click(){this._labelClick()}_labelClick(){const t=this.input;t&&(t.focus(),t.click())}}ii([r({type:Boolean})],ir.prototype,"alignEnd",void 0),ii([r({type:Boolean})],ir.prototype,"spaceBetween",void 0),ii([r({type:Boolean})],ir.prototype,"nowrap",void 0),ii([r({type:String}),er((async function(t){var e;null===(e=this.input)||void 0===e||e.setAttribute("aria-label",t)}))],ir.prototype,"label",void 0),ii([a(".mdc-form-field")],ir.prototype,"mdcRoot",void 0),ii([p("",!0,"*")],ir.prototype,"slottedInputs",void 0),ii([a("label")],ir.prototype,"labelEl",void 0);
877
- /**
878
- * @license
879
- * Copyright 2021 Google LLC
880
- * SPDX-LIcense-Identifier: Apache-2.0
881
- */
882
- const rr=g`.mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}:host{display:inline-flex}.mdc-form-field{width:100%}::slotted(*){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}::slotted(mwc-switch){margin-right:10px}[dir=rtl] ::slotted(mwc-switch),::slotted(mwc-switch[dir=rtl]){margin-left:10px}`
883
- /**
884
- * @license
885
- * Copyright 2018 Google LLC
886
- * SPDX-License-Identifier: Apache-2.0
887
- */;let or=class extends ir{};or.styles=[rr],or=ii([e("mwc-formfield")],or);
888
- /**
889
- * @license
890
- * Copyright 2020 Google LLC
891
- * SPDX-License-Identifier: Apache-2.0
892
- */
893
- const cr=Symbol("selection controller");class nr{constructor(){this.selected=null,this.ordered=null,this.set=new Set}}class ar{constructor(t){this.sets={},this.focusedSet=null,this.mouseIsDown=!1,this.updating=!1,t.addEventListener("keydown",(t=>{this.keyDownHandler(t)})),t.addEventListener("mousedown",(()=>{this.mousedownHandler()})),t.addEventListener("mouseup",(()=>{this.mouseupHandler()}))}static getController(t){const e=!("global"in t)||"global"in t&&t.global?document:t.getRootNode();let i=e[cr];return void 0===i&&(i=new ar(e),e[cr]=i),i}keyDownHandler(t){const e=t.target;"checked"in e&&this.has(e)&&("ArrowRight"==t.key||"ArrowDown"==t.key?this.selectNext(e):"ArrowLeft"!=t.key&&"ArrowUp"!=t.key||this.selectPrevious(e))}mousedownHandler(){this.mouseIsDown=!0}mouseupHandler(){this.mouseIsDown=!1}has(t){return this.getSet(t.name).set.has(t)}selectPrevious(t){const e=this.getOrdered(t),i=e.indexOf(t),r=e[i-1]||e[e.length-1];return this.select(r),r}selectNext(t){const e=this.getOrdered(t),i=e.indexOf(t),r=e[i+1]||e[0];return this.select(r),r}select(t){t.click()}focus(t){if(this.mouseIsDown)return;const e=this.getSet(t.name),i=this.focusedSet;this.focusedSet=e,i!=e&&e.selected&&e.selected!=t&&e.selected.focus()}isAnySelected(t){const e=this.getSet(t.name);for(const t of e.set)if(t.checked)return!0;return!1}getOrdered(t){const e=this.getSet(t.name);return e.ordered||(e.ordered=Array.from(e.set),e.ordered.sort(((t,e)=>t.compareDocumentPosition(e)==Node.DOCUMENT_POSITION_PRECEDING?1:0))),e.ordered}getSet(t){return this.sets[t]||(this.sets[t]=new nr),this.sets[t]}register(t){const e=t.name||t.getAttribute("name")||"",i=this.getSet(e);i.set.add(t),i.ordered=null}unregister(t){const e=this.getSet(t.name);e.set.delete(t),e.ordered=null,e.selected==t&&(e.selected=null)}update(t){if(this.updating)return;this.updating=!0;const e=this.getSet(t.name);if(t.checked){for(const i of e.set)i!=t&&(i.checked=!1);e.selected=t}if(this.isAnySelected(t))for(const t of e.set){if(void 0===t.formElementTabIndex)break;t.formElementTabIndex=t.checked?0:-1}this.updating=!1}}
894
- /**
895
- * @license
896
- * Copyright 2016 Google Inc.
897
- *
898
- * Permission is hereby granted, free of charge, to any person obtaining a copy
899
- * of this software and associated documentation files (the "Software"), to deal
900
- * in the Software without restriction, including without limitation the rights
901
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
902
- * copies of the Software, and to permit persons to whom the Software is
903
- * furnished to do so, subject to the following conditions:
904
- *
905
- * The above copyright notice and this permission notice shall be included in
906
- * all copies or substantial portions of the Software.
907
- *
908
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
909
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
910
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
911
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
912
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
913
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
914
- * THE SOFTWARE.
915
- */var sr={NATIVE_CONTROL_SELECTOR:".mdc-radio__native-control"},dr={DISABLED:"mdc-radio--disabled",ROOT:"mdc-radio"},lr=function(t){function e(i){return t.call(this,ei(ei({},e.defaultAdapter),i))||this}return ti(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return dr},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return sr},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNativeControlDisabled:function(){}}},enumerable:!1,configurable:!0}),e.prototype.setDisabled=function(t){var i=e.cssClasses.DISABLED;this.adapter.setNativeControlDisabled(t),t?this.adapter.addClass(i):this.adapter.removeClass(i)},e}(ai);
916
- /**
917
- * @license
918
- * Copyright 2018 Google LLC
919
- * SPDX-License-Identifier: Apache-2.0
920
- */
921
- class pr extends Oi{constructor(){super(...arguments),this._checked=!1,this.useStateLayerCustomProperties=!1,this.global=!1,this.disabled=!1,this.value="on",this.name="",this.reducedTouchTarget=!1,this.mdcFoundationClass=lr,this.formElementTabIndex=0,this.focused=!1,this.shouldRenderRipple=!1,this.rippleElement=null,this.rippleHandlers=new Si((()=>(this.shouldRenderRipple=!0,this.ripple.then((t=>{this.rippleElement=t})),this.ripple)))}get checked(){return this._checked}set checked(t){var e,i;const r=this._checked;t!==r&&(this._checked=t,this.formElement&&(this.formElement.checked=t),null===(e=this._selectionController)||void 0===e||e.update(this),!1===t&&(null===(i=this.formElement)||void 0===i||i.blur()),this.requestUpdate("checked",r),this.dispatchEvent(new Event("checked",{bubbles:!0,composed:!0})))}_handleUpdatedValue(t){this.formElement.value=t}renderRipple(){return this.shouldRenderRipple?K`<mwc-ripple unbounded accent
922
- .internalUseStateLayerCustomProperties="${this.useStateLayerCustomProperties}"
923
- .disabled="${this.disabled}"></mwc-ripple>`:""}get isRippleActive(){var t;return(null===(t=this.rippleElement)||void 0===t?void 0:t.isActive)||!1}connectedCallback(){super.connectedCallback(),this._selectionController=ar.getController(this),this._selectionController.register(this),this._selectionController.update(this)}disconnectedCallback(){this._selectionController.unregister(this),this._selectionController=void 0}focus(){this.formElement.focus()}createAdapter(){return Object.assign(Object.assign({},(t=this.mdcRoot,{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)})),{setNativeControlDisabled:t=>{this.formElement.disabled=t}});var t}handleFocus(){this.focused=!0,this.handleRippleFocus()}handleClick(){this.formElement.focus()}handleBlur(){this.focused=!1,this.formElement.blur(),this.rippleHandlers.endFocus()}setFormData(t){this.name&&this.checked&&t.append(this.name,this.value)}render(){const t={"mdc-radio--touch":!this.reducedTouchTarget,"mdc-ripple-upgraded--background-focused":this.focused,"mdc-radio--disabled":this.disabled};return K`
924
- <div class="mdc-radio ${bi(t)}">
925
- <input
926
- tabindex="${this.formElementTabIndex}"
927
- class="mdc-radio__native-control"
928
- type="radio"
929
- name="${this.name}"
930
- aria-label="${zi(this.ariaLabel)}"
931
- aria-labelledby="${zi(this.ariaLabelledBy)}"
932
- .checked="${this.checked}"
933
- .value="${this.value}"
934
- ?disabled="${this.disabled}"
935
- @change="${this.changeHandler}"
936
- @focus="${this.handleFocus}"
937
- @click="${this.handleClick}"
938
- @blur="${this.handleBlur}"
939
- @mousedown="${this.handleRippleMouseDown}"
940
- @mouseenter="${this.handleRippleMouseEnter}"
941
- @mouseleave="${this.handleRippleMouseLeave}"
942
- @touchstart="${this.handleRippleTouchStart}"
943
- @touchend="${this.handleRippleDeactivate}"
944
- @touchcancel="${this.handleRippleDeactivate}">
945
- <div class="mdc-radio__background">
946
- <div class="mdc-radio__outer-circle"></div>
947
- <div class="mdc-radio__inner-circle"></div>
948
- </div>
949
- ${this.renderRipple()}
950
- </div>`}handleRippleMouseDown(t){const e=()=>{window.removeEventListener("mouseup",e),this.handleRippleDeactivate()};window.addEventListener("mouseup",e),this.rippleHandlers.startPress(t)}handleRippleTouchStart(t){this.rippleHandlers.startPress(t)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}changeHandler(){this.checked=this.formElement.checked}}ii([a(".mdc-radio")],pr.prototype,"mdcRoot",void 0),ii([a("input")],pr.prototype,"formElement",void 0),ii([o()],pr.prototype,"useStateLayerCustomProperties",void 0),ii([r({type:Boolean})],pr.prototype,"global",void 0),ii([r({type:Boolean,reflect:!0})],pr.prototype,"checked",null),ii([r({type:Boolean}),er((function(t){this.mdcFoundation.setDisabled(t)}))],pr.prototype,"disabled",void 0),ii([r({type:String}),er((function(t){this._handleUpdatedValue(t)}))],pr.prototype,"value",void 0),ii([r({type:String})],pr.prototype,"name",void 0),ii([r({type:Boolean})],pr.prototype,"reducedTouchTarget",void 0),ii([r({type:Number})],pr.prototype,"formElementTabIndex",void 0),ii([o()],pr.prototype,"focused",void 0),ii([o()],pr.prototype,"shouldRenderRipple",void 0),ii([s("mwc-ripple")],pr.prototype,"ripple",void 0),ii([ki,r({attribute:"aria-label"})],pr.prototype,"ariaLabel",void 0),ii([ki,r({attribute:"aria-labelledby"})],pr.prototype,"ariaLabelledBy",void 0),ii([n({passive:!0})],pr.prototype,"handleRippleTouchStart",null);
951
- /**
952
- * @license
953
- * Copyright 2021 Google LLC
954
- * SPDX-LIcense-Identifier: Apache-2.0
955
- */
956
- const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40px - 20px) / 2)}.mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54)}.mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#018786;border-color:var(--mdc-theme-secondary, #018786)}.mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#018786;border-color:var(--mdc-theme-secondary, #018786)}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.38)}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.38)}.mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:rgba(0, 0, 0, 0.38)}.mdc-radio .mdc-radio__background::before{background-color:#018786;background-color:var(--mdc-theme-secondary, #018786)}.mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);width:40px;height:40px}.mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);right:calc((40px - 40px) / 2);left:calc((40px - 40px) / 2);width:40px;height:40px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:GrayText}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:GrayText}.mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:GrayText}}.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}:host{display:inline-block;outline:none}.mdc-radio{vertical-align:bottom}.mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unchecked-color, rgba(0, 0, 0, 0.54))}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-color, rgba(0, 0, 0, 0.38))}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-color, rgba(0, 0, 0, 0.38))}.mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-color, rgba(0, 0, 0, 0.38))}`
957
- /**
958
- * @license
959
- * Copyright 2018 Google LLC
960
- * SPDX-License-Identifier: Apache-2.0
961
- */;let ur=class extends pr{};ur.styles=[hr],ur=ii([e("mwc-radio")],ur);var fr=function(t,e,i,r){for(var o,c=arguments.length,n=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(c<3?o(n):c>3?o(e,i,n):o(e,i))||n);return c>3&&n&&Object.defineProperty(e,i,n),n};const mr={borderRadiusM:mt.external(vt.borderRadiusM,"Design system"),colorOutline:mt.external(vt.colorOutline,"Design system"),colorOnSurface:mt.external(vt.colorOnSurface,"Design system"),colorOnSurfaceMedium:mt.external(vt.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:mt.external(vt.colorOnSurfaceDisabled,"Design system"),colorPrimary:mt.external(vt.colorPrimary,"Design system"),colorOnPrimary:mt.external(vt.colorOnPrimary,"Design system"),fontFamily:mt.external(de.fontFamily,"Body2 typography"),fontSize:mt.external(de.fontSize,"Body2 typography"),fontWeight:mt.external(de.fontWeight,"Body2 typography"),letterSpacing:mt.external(de.letterSpacing,"Body2 typography"),lineHeight:mt.external(de.lineHeight,"Body2 typography"),textTransform:mt.external(de.textTransform,"Body2 typography")};class br extends gt{constructor(){super(...arguments),this.id="",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 K`
632
+ `}resolveIcon(){return this.loading?W`
633
+ <ft-loader></ft-loader> `:this.icon?W`
634
+ <ft-icon variant="material">${this.icon}</ft-icon> `:V}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}}ki.elementDefinitions={"ft-ripple":Qe,"ft-tooltip":ri,"ft-typography":De,"ft-icon":bi,"ft-loader":ai},xi([i({type:Boolean})],ki.prototype,"primary",void 0),xi([i({type:Boolean})],ki.prototype,"outlined",void 0),xi([i({type:Boolean})],ki.prototype,"disabled",void 0),xi([i({type:Boolean})],ki.prototype,"dense",void 0),xi([i({type:Boolean})],ki.prototype,"round",void 0),xi([i({type:String})],ki.prototype,"label",void 0),xi([i({type:String})],ki.prototype,"icon",void 0),xi([i({type:Boolean})],ki.prototype,"trailingIcon",void 0),xi([i({type:Boolean})],ki.prototype,"loading",void 0),xi([i({type:String})],ki.prototype,"tooltipPosition",void 0),xi([n(".ft-button")],ki.prototype,"button",void 0),xi([n(".ft-button--label slot")],ki.prototype,"slottedContent",void 0),h("ft-button")(ki);var Oi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Si=dt.extend("--ft-checkbox-text-color",ut.colorOnSurfaceHigh),Ci=dt.external(ut.colorPrimary,"Design system"),Ei=dt.external(ut.colorOnPrimary,"Design system"),Ni=dt.extend("--ft-checkbox-border-color",ut.colorOnSurfaceMedium),zi=dt.external(ut.colorOnSurfaceDisabled,"Design system");class Ri extends vt{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 W`
635
+ <label class="${Xe(t)}">
636
+ <div class="ft-checkbox--box-container">
637
+ <input type="checkbox"
638
+ name=${this.name}
639
+ .checked=${this.checked}
640
+ .disabled=${this.disabled}
641
+ @change=${this.onChange}
642
+ >
643
+ <ft-ripple
644
+ ?disabled=${this.disabled}
645
+ ?primary=${this.checked||this.indeterminate}
646
+ unbounded>
647
+ </ft-ripple>
648
+ <div class="ft-checkbox--box">
649
+ <svg class="ft-checkbox--checkmark" viewBox="0 0 24 24">
650
+ <path class="ft-checkbox--checkmark-path" fill="none"
651
+ d=${this.indeterminate&&!this.checked?"M2,12 22,12":"M1.73,12.91 8.1,19.28 22.79,4.59"}></path>
652
+ </svg>
653
+ </div>
654
+ </div>
655
+ <ft-typography variant="body2">
656
+ <slot></slot>
657
+ </ft-typography>
658
+ </label>
659
+ `}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)}}Ri.elementDefinitions={"ft-ripple":Qe,"ft-typography":De},Ri.styles=v`
660
+ * {
661
+ box-sizing: border-box;
662
+ }
663
+
664
+ .ft-checkbox {
665
+ box-sizing: border-box;
666
+ color: ${Si};
667
+
668
+ display: inline-flex;
669
+ align-items: center;
670
+ gap: 4px;
671
+ }
672
+
673
+ .ft-checkbox--disabled {
674
+ color: ${zi};
675
+ }
676
+
677
+ input {
678
+ opacity: 0;
679
+ position: absolute;
680
+ width: 40px;
681
+ height: 40px;
682
+ margin: 0;
683
+ }
684
+
685
+ .ft-checkbox--box-container {
686
+ position: relative;
687
+ width: 40px;
688
+ height: 40px;
689
+
690
+ display: flex;
691
+ justify-content: center;
692
+ align-items: center;
693
+ flex-shrink: 0;
694
+ }
695
+
696
+ .ft-checkbox--box {
697
+ border: 2px solid ${Ni};
698
+ border-radius: 2px;
699
+
700
+ width: 18px;
701
+ height: 18px;
702
+
703
+ color: ${Ei};
704
+ }
705
+
706
+
707
+ .ft-checkbox--checked .ft-checkbox--box,
708
+ .ft-checkbox--indeterminate .ft-checkbox--box {
709
+ border-color: ${Ci};
710
+ background-color: ${Ci};
711
+ }
712
+
713
+ .ft-checkbox--disabled .ft-checkbox--box {
714
+ border-color: ${zi};
715
+ background-color: transparent;
716
+ color: ${zi};
717
+ }
718
+
719
+ .ft-checkbox--checkmark {
720
+ transition: opacity 180ms cubic-bezier(0, 0, 0.2, 1) 0ms, transform 180ms cubic-bezier(0, 0, 0.2, 1) 0ms;
721
+ opacity: 0;
722
+ }
723
+
724
+ .ft-checkbox--checkmark-path {
725
+ stroke-dashoffset: 0;
726
+ stroke: currentcolor;
727
+ stroke-width: 3px;
728
+ stroke-dasharray: 30;
729
+ }
730
+
731
+ .ft-checkbox--checked .ft-checkbox--checkmark,
732
+ .ft-checkbox--indeterminate .ft-checkbox--checkmark {
733
+ opacity: 1;
734
+ }
735
+ `,Oi([i()],Ri.prototype,"name",void 0),Oi([i({type:Boolean})],Ri.prototype,"checked",void 0),Oi([i({type:Boolean})],Ri.prototype,"indeterminate",void 0),Oi([i({type:Boolean})],Ri.prototype,"disabled",void 0),Oi([n(".ft-checkbox")],Ri.prototype,"container",void 0),Oi([n("ft-ripple")],Ri.prototype,"ripple",void 0),h("ft-checkbox")(Ri);var Mi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Bi=dt.extend("--ft-radio-text-color",ut.colorOnSurfaceHigh),Fi=dt.external(ut.colorPrimary,"Design system"),ji=(dt.external(ut.colorOnPrimary,"Design system"),dt.extend("--ft-radio-border-color",ut.colorOnSurfaceMedium)),Ui=dt.external(ut.colorOnSurfaceDisabled,"Design system");class Di extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Li extends vt{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 W`
736
+ <div class="${Xe(t)}">
737
+ <div class="ft-radio--box-container">
738
+ <input id="radio-button"
739
+ type="radio"
740
+ name="${this.name}"
741
+ value="${this.value}"
742
+ .checked=${this.checked}
743
+ .disabled=${this.disabled}
744
+ @change=${this.onChange}
745
+ >
746
+ <ft-ripple
747
+ ?disabled=${this.disabled}
748
+ ?primary=${this.checked}
749
+ unbounded>
750
+ </ft-ripple>
751
+ <div class="ft-radio--box">
752
+ </div>
753
+ </div>
754
+ <label for="radio-button" @click=${t=>t.stopPropagation()}>
755
+ <ft-typography variant="body2">
756
+ <slot></slot>
757
+ </ft-typography>
758
+ </label>
759
+ </div>
760
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Di(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 Di(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Li.elementDefinitions={"ft-ripple":Qe,"ft-typography":De},Li.styles=v`
761
+ * {
762
+ box-sizing: border-box;
763
+ }
764
+
765
+ .ft-radio {
766
+ box-sizing: border-box;
767
+ color: ${Bi};
768
+
769
+ display: inline-flex;
770
+ align-items: center;
771
+ gap: 4px;
772
+ }
773
+
774
+ .ft-radio--disabled {
775
+ color: ${Ui};
776
+ }
777
+
778
+ input {
779
+ opacity: 0;
780
+ position: absolute;
781
+ width: 40px;
782
+ height: 40px;
783
+ margin: 0;
784
+ }
785
+
786
+ .ft-radio--box-container {
787
+ position: relative;
788
+ width: 40px;
789
+ height: 40px;
790
+
791
+ display: flex;
792
+ justify-content: center;
793
+ align-items: center;
794
+ flex-shrink: 0;
795
+ }
796
+
797
+ .ft-radio--box {
798
+ border: 2px solid ${ji};
799
+ border-radius: 50%;
800
+
801
+ display: flex;
802
+ justify-content: center;
803
+ align-items: center;
804
+
805
+ width: 20px;
806
+ height: 20px;
807
+ }
808
+
809
+ .ft-radio--box:after {
810
+ content: " ";
811
+ background-color: ${Fi};
812
+
813
+ border-radius: 50%;
814
+
815
+ width: 12px;
816
+ height: 12px;
817
+
818
+ transform: scale(0);
819
+ transition: transform 100ms ease;
820
+ }
821
+
822
+ .ft-radio--checked .ft-radio--box {
823
+ border-color: ${Fi};
824
+ }
825
+
826
+
827
+ .ft-radio--checked .ft-radio--box:after {
828
+ transform: scale(1);
829
+ }
830
+
831
+ .ft-radio--disabled .ft-radio--box {
832
+ border-color: ${Ui};
833
+ background-color: transparent;
834
+ }
835
+
836
+ .ft-radio--disabled .ft-radio--box:after {
837
+ background-color: ${Ui};
838
+ }
839
+ `,Mi([i()],Li.prototype,"value",void 0),Mi([i()],Li.prototype,"name",void 0),Mi([i({type:Boolean})],Li.prototype,"checked",void 0),Mi([i({type:Boolean})],Li.prototype,"disabled",void 0),Mi([n(".ft-radio")],Li.prototype,"container",void 0),Mi([n("ft-ripple")],Li.prototype,"ripple",void 0),Mi([n("input")],Li.prototype,"input",void 0);var Ti=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Ai extends vt{constructor(){super(...arguments),this.name=""}render(){return W`
840
+ <slot @slotchange=${this.onSlotChange}
841
+ @change=${this.onChange}
842
+ @keydown=${this.onKeyDown}
843
+ @focusin=${this.onFocusIn}
844
+ ></slot>
845
+ `}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}))}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))}onFocusIn(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Ai.elementDefinitions={},Ai.styles=v`
846
+ :host {
847
+ display: contents;
848
+ }
849
+ `,Ti([i()],Ai.prototype,"name",void 0),Ti([a()],Ai.prototype,"radioButtons",void 0),h("ft-radio")(Li),h("ft-radio-group")(Ai);var _i=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Pi={borderRadiusM:dt.external(ut.borderRadiusM,"Design system"),colorOutline:dt.external(ut.colorOutline,"Design system"),colorOnSurface:dt.external(ut.colorOnSurface,"Design system"),colorOnSurfaceMedium:dt.external(ut.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:dt.external(ut.colorOnSurfaceDisabled,"Design system"),colorPrimary:dt.external(ut.colorPrimary,"Design system"),colorOnPrimary:dt.external(ut.colorOnPrimary,"Design system"),fontFamily:dt.external(re.fontFamily,"Body2 typography"),fontSize:dt.external(re.fontSize,"Body2 typography"),fontWeight:dt.external(re.fontWeight,"Body2 typography"),letterSpacing:dt.external(re.letterSpacing,"Body2 typography"),lineHeight:dt.external(re.lineHeight,"Body2 typography"),textTransform:dt.external(re.textTransform,"Body2 typography")};class Ii extends vt{constructor(){super(...arguments),this.id="",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 W`
962
850
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
963
- ${null==this.parent?null:K`
851
+ ${null==this.parent?null:W`
964
852
  <div tabindex="0"
965
853
  class="ft-filter-level--go-back"
966
854
  ?disabled=${this.disabled}
967
855
  @keyup=${this.goBackOnKeyPress}
968
856
  @click=${this.goBackOnClick}>
969
857
  <ft-ripple></ft-ripple>
970
- <mwc-icon>chevron_left</mwc-icon>
858
+ <ft-icon variant="material">chevron_left</ft-icon>
971
859
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
972
860
  </div>
973
861
  `}
974
- ${Ye(e,(t=>t.value),(t=>{var e;return K`
862
+ ${qe(e,(t=>t.value),(t=>{var e;return W`
975
863
  <div class="ft-filter-level--option" part="options">
976
864
  ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
977
- ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?q:K`
865
+ ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?V:W`
978
866
  <ft-button icon="chevron_right"
979
867
  label="${t.label}"
980
868
  ?disabled=${this.disabled}
@@ -983,7 +871,7 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
983
871
  `}
984
872
  </div>
985
873
  `}))}
986
- ${e.length<t.length?K`
874
+ ${e.length<t.length?W`
987
875
  <ft-button
988
876
  class="ft-filter-level--display-more"
989
877
  icon="expand_more"
@@ -991,29 +879,27 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
991
879
  @click=${this.displayMore}>
992
880
  ${this.moreValuesButtonLabel}
993
881
  </ft-button>
994
- `:q}
882
+ `:V}
995
883
  </div>
996
- `}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 K`
997
- <mwc-formfield label="${t.label}">
998
- <mwc-checkbox
999
- reducedTouchTarget
1000
- .checked=${t.selected}
1001
- .disabled=${this.disabled}
1002
- .indeterminate=${Ue(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
1003
- @change=${e=>this.optionsChanged(e,t)}
1004
- ></mwc-checkbox>
1005
- </mwc-formfield>
1006
- `}buildMonoValuedOption(t){return K`
1007
- <mwc-formfield label="${t.label}">
1008
- <mwc-radio
1009
- reducedTouchTarget
1010
- name="${this.id}"
1011
- ?checked=${t.selected}
1012
- ?disabled=${this.disabled}
1013
- @click=${e=>this.optionsChanged(e,t)}
1014
- ></mwc-radio>
1015
- </mwc-formfield>
1016
- `}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}br.elementDefinitions={"ft-button":Ji,"ft-ripple":Ti,"ft-typography":je,"mwc-checkbox":Ei,"mwc-formfield":or,"mwc-icon":Mi,"mwc-radio":ur},br.styles=[g`
884
+ `}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 W`
885
+ <ft-checkbox name="${this.id}"
886
+ .checked=${t.selected}
887
+ .disabled=${this.disabled}
888
+ .indeterminate=${Le(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
889
+ @change=${e=>this.optionsChanged(e,t)}>
890
+ ${t.label}
891
+ </ft-checkbox>
892
+ `}buildMonoValuedOption(t){return W`
893
+ <ft-radio name="${this.id+Math.round(1e6*Math.random())}"
894
+ .checked=${t.selected}
895
+ ?disabled=${this.disabled}
896
+ @click=${e=>this.optionsChanged(e,t)}
897
+ @keyup=${e=>this.onRadioKeyUp(e,t)}
898
+ @change=${t=>t.stopPropagation()}>
899
+
900
+ ${t.label}
901
+ </ft-radio>
902
+ `}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}))}}Ii.elementDefinitions={"ft-button":ki,"ft-ripple":Qe,"ft-typography":De,"ft-checkbox":Ri,"ft-icon":bi,"ft-radio":Li},Ii.styles=[v`
1017
903
  .ft-filter-level--container {
1018
904
  display: flex;
1019
905
  flex-direction: column;
@@ -1027,21 +913,21 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1027
913
  flex-shrink: 0;
1028
914
  text-decoration: none;
1029
915
  position: relative;
1030
- border-radius: ${mr.borderRadiusM};
916
+ border-radius: ${Pi.borderRadiusM};
1031
917
  overflow: hidden;
1032
918
  display: flex;
1033
919
  align-items: center;
1034
920
  padding: 4px 4px;
1035
921
  gap: 4px;
1036
922
  cursor: pointer;
1037
- color: ${mr.colorOnSurface};
923
+ color: ${Pi.colorOnSurface};
1038
924
  }
1039
925
 
1040
926
  .ft-filter-level--go-back:focus {
1041
927
  outline: none;
1042
928
  }
1043
929
 
1044
- .ft-filter-level--go-back mwc-icon {
930
+ .ft-filter-level--go-back ft-icon {
1045
931
  flex-shrink: 0;
1046
932
  }
1047
933
 
@@ -1063,41 +949,18 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1063
949
  }
1064
950
 
1065
951
  ft-button {
1066
- ${bt(Ki.color,mr.colorOnSurface)};
952
+ ${ft(gi.color,Pi.colorOnSurface)};
1067
953
  }
1068
954
 
1069
- mwc-formfield {
955
+ ft-radio, ft-checkbox {
1070
956
  flex-shrink: 1;
1071
957
  flex-grow: 1;
1072
958
  display: block;
1073
959
  max-width: calc(100% + 10px);
1074
960
  margin-left: -10px;
1075
961
  word-break: break-word;
1076
-
1077
- --mdc-theme-secondary: ${mr.colorPrimary};
1078
-
1079
- --mdc-radio-unchecked-color: ${mr.colorOnSurfaceMedium};
1080
- --mdc-checkbox-unchecked-color: ${mr.colorOnSurfaceMedium};
1081
- --mdc-checkbox-ink-color: ${mr.colorOnPrimary};
1082
-
1083
- --mdc-radio-disabled-color: ${mr.colorOnSurfaceDisabled};
1084
- --mdc-checkbox-disabled-color: ${mr.colorOnSurfaceDisabled};
1085
-
1086
- --mdc-theme-on-surface: ${mr.colorPrimary};
1087
-
1088
- --mdc-typography-body2-font-family: ${mr.fontFamily};
1089
- --mdc-typography-body2-font-size: ${mr.fontSize};
1090
- --mdc-typography-body2-font-weight: ${mr.fontWeight};
1091
- --mdc-typography-body2-letter-spacing: ${mr.letterSpacing};
1092
- --mdc-typography-body2-line-height: ${mr.lineHeight};
1093
- --mdc-typography-body2-text-transform: ${mr.textTransform};
1094
- --mdc-theme-text-primary-on-background: ${mr.colorOnSurface};
1095
- }
1096
-
1097
- .ft-filter--disabled {
1098
- --mdc-theme-text-primary-on-background: ${mr.colorOnSurfaceDisabled};
1099
962
  }
1100
- `],fr([r({type:String})],br.prototype,"id",void 0),fr([r({type:Object})],br.prototype,"parent",void 0),fr([r({type:Array})],br.prototype,"options",void 0),fr([r({type:Boolean})],br.prototype,"multivalued",void 0),fr([r({type:Boolean})],br.prototype,"disabled",void 0),fr([r({type:Boolean})],br.prototype,"hideSelectedOptions",void 0),fr([r({type:Boolean})],br.prototype,"preventNavigation",void 0),fr([r({type:String})],br.prototype,"filter",void 0),fr([r({type:String})],br.prototype,"moreValuesButtonLabel",void 0),fr([r({type:Number})],br.prototype,"displayedValuesLimit",void 0),fr([a(".ft-filter-level--container")],br.prototype,"container",void 0),fr([o()],br.prototype,"displayedPages",void 0);var vr=function(t,e,i,r){for(var o,c=arguments.length,n=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(c<3?o(n):c>3?o(e,i,n):o(e,i))||n);return c>3&&n&&Object.defineProperty(e,i,n),n};const gr={buttonsColor:mt.extend("--ft-snap-scroll-buttons-color",vt.colorPrimary),buttonsZIndex:mt.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:mt.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:mt.external(vt.colorSurface,"Design system")};class yr extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class xr extends gt{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 t(200),this.updateScrollDebouncer=new t(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=bi({"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":$t}),e=this.controls&&this.withScroll;return K`
963
+ `],_i([i({type:String})],Ii.prototype,"id",void 0),_i([i({type:Object})],Ii.prototype,"parent",void 0),_i([i({type:Array})],Ii.prototype,"options",void 0),_i([i({type:Boolean})],Ii.prototype,"multivalued",void 0),_i([i({type:Boolean})],Ii.prototype,"disabled",void 0),_i([i({type:Boolean})],Ii.prototype,"hideSelectedOptions",void 0),_i([i({type:Boolean})],Ii.prototype,"preventNavigation",void 0),_i([i({type:String})],Ii.prototype,"filter",void 0),_i([i({type:String})],Ii.prototype,"moreValuesButtonLabel",void 0),_i([i({type:Number})],Ii.prototype,"displayedValuesLimit",void 0),_i([n(".ft-filter-level--container")],Ii.prototype,"container",void 0),_i([o()],Ii.prototype,"displayedPages",void 0);var Hi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Wi={buttonsColor:dt.extend("--ft-snap-scroll-buttons-color",ut.colorPrimary),buttonsZIndex:dt.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:dt.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:dt.external(ut.colorSurface,"Design system")};class Ki extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class Vi extends vt{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 t(200),this.updateScrollDebouncer=new t(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=Xe({"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":$t}),e=this.controls&&this.withScroll;return W`
1101
964
  <div part="container" class="${t}">
1102
965
  <ft-button
1103
966
  class="ft-snap-scroll--previous"
@@ -1121,7 +984,7 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1121
984
  @click=${this.next}
1122
985
  ></ft-button>
1123
986
  </div>
1124
- `}updated(t){var e;super.updated(t),this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer!==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))),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 yr(this.currentElement,this.elements[this.currentElement]))}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)}}xr.elementDefinitions={"ft-button":Ji},xr.styles=g`
987
+ `}updated(t){var e;super.updated(t),this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer!==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))),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 Ki(this.currentElement,this.elements[this.currentElement]))}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)}}Vi.elementDefinitions={"ft-button":ki},Vi.styles=v`
1125
988
  .ft-snap-scroll {
1126
989
  box-sizing: border-box;
1127
990
  position: relative;
@@ -1156,7 +1019,7 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1156
1019
  flex-wrap: nowrap;
1157
1020
  align-items: flex-start;
1158
1021
  justify-content: flex-start;
1159
- gap: ${gr.gap};
1022
+ gap: ${Wi.gap};
1160
1023
  }
1161
1024
 
1162
1025
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1199,11 +1062,11 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1199
1062
  .ft-snap-scroll--next {
1200
1063
  position: absolute;
1201
1064
  display: flex;
1202
- z-index: ${gr.buttonsZIndex};
1065
+ z-index: ${Wi.buttonsZIndex};
1203
1066
  opacity: 1;
1204
1067
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1205
- ${bt(Ki.backgroundColor,"transparent")};
1206
- ${bt(Ki.color,gr.buttonsColor)};
1068
+ ${ft(gi.backgroundColor,"transparent")};
1069
+ ${ft(gi.color,Wi.buttonsColor)};
1207
1070
  }
1208
1071
 
1209
1072
  .ft-snap-scroll--previous[hidden],
@@ -1216,55 +1079,55 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1216
1079
  top: 0;
1217
1080
  left: -1px;
1218
1081
  bottom: 0;
1219
- background: linear-gradient(to right, ${gr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1082
+ background: linear-gradient(to right, ${Wi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1220
1083
  }
1221
1084
 
1222
1085
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1223
1086
  top: -1px;
1224
1087
  left: 0;
1225
1088
  right: 0;
1226
- background: linear-gradient(to bottom, ${gr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1089
+ background: linear-gradient(to bottom, ${Wi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1227
1090
  }
1228
1091
 
1229
1092
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1230
1093
  top: 0;
1231
1094
  right: -1px;
1232
1095
  bottom: 0;
1233
- background: linear-gradient(to left, ${gr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1096
+ background: linear-gradient(to left, ${Wi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1234
1097
  }
1235
1098
 
1236
1099
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1237
1100
  left: 0;
1238
1101
  right: 0;
1239
1102
  bottom: -1px;
1240
- background: linear-gradient(to top, ${gr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1103
+ background: linear-gradient(to top, ${Wi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1241
1104
  }
1242
1105
 
1243
1106
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1244
1107
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1245
1108
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1246
1109
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1247
- background-color: ${gr.colorSurface};
1110
+ background-color: ${Wi.colorSurface};
1248
1111
  }
1249
- `,vr([r({type:Boolean})],xr.prototype,"horizontal",void 0),vr([r({type:Boolean})],xr.prototype,"hideScrollbar",void 0),vr([r({type:Boolean})],xr.prototype,"controls",void 0),vr([r({type:Boolean})],xr.prototype,"limitSize",void 0),vr([o()],xr.prototype,"elements",void 0),vr([o()],xr.prototype,"currentElement",void 0),vr([o()],xr.prototype,"withScroll",void 0),vr([o()],xr.prototype,"startReached",void 0),vr([o()],xr.prototype,"endReached",void 0),vr([a(".ft-snap-scroll--content")],xr.prototype,"contentSlot",void 0),h("ft-snap-scroll")(xr);var kr=function(t,e,i,r){for(var o,c=arguments.length,n=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(c<3?o(n):c>3?o(e,i,n):o(e,i))||n);return c>3&&n&&Object.defineProperty(e,i,n),n};const _r=mt.external(vt.colorOutline,"Design system"),wr=mt.external(vt.colorOnSurface,"Design system"),$r=mt.external(vt.colorOnSurfaceMedium,"Design system"),Or=mt.external(vt.colorPrimary,"Design system"),Sr=mt.external(vt.colorSurface,"Design system"),zr=mt.external(vt.transitionDuration,"Design system"),Cr=mt.external(vt.transitionTimingFunction,"Design system");class Rr extends CustomEvent{constructor(t){super("change",{detail:t})}}class Er extends gt{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new t(300),this.changeDebouncer=new t(10)}get flatOptions(){return Ue(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}render(){var t,e;const i=this.flatOptions.some((t=>t.selected));let r=this.withScroll||this.filter||null!==(e=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==e&&e;return K`
1112
+ `,Hi([i({type:Boolean})],Vi.prototype,"horizontal",void 0),Hi([i({type:Boolean})],Vi.prototype,"hideScrollbar",void 0),Hi([i({type:Boolean})],Vi.prototype,"controls",void 0),Hi([i({type:Boolean})],Vi.prototype,"limitSize",void 0),Hi([o()],Vi.prototype,"elements",void 0),Hi([o()],Vi.prototype,"currentElement",void 0),Hi([o()],Vi.prototype,"withScroll",void 0),Hi([o()],Vi.prototype,"startReached",void 0),Hi([o()],Vi.prototype,"endReached",void 0),Hi([n(".ft-snap-scroll--content")],Vi.prototype,"contentSlot",void 0),h("ft-snap-scroll")(Vi);var Zi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ji=dt.external(ut.colorOutline,"Design system"),qi=dt.external(ut.colorOnSurface,"Design system"),Xi=dt.external(ut.colorOnSurfaceMedium,"Design system"),Yi=dt.external(ut.colorPrimary,"Design system"),Gi=dt.external(ut.colorSurface,"Design system"),Qi=dt.external(ut.transitionDuration,"Design system"),to=dt.external(ut.transitionTimingFunction,"Design system");class eo extends CustomEvent{constructor(t){super("change",{detail:t})}}class io extends vt{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new t(300),this.changeDebouncer=new t(10)}get flatOptions(){return Le(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}render(){var t,e;const i=this.flatOptions.some((t=>t.selected));let o=this.withScroll||this.filter||null!==(e=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==e&&e;return W`
1250
1113
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1251
1114
  part="container">
1252
- ${this.label||i?K`
1115
+ ${this.label||i?W`
1253
1116
  <div class="ft-filter--header" part="header">
1254
1117
  <ft-typography class="ft-filter--label" variant="overline" part="label">${this.label}
1255
1118
  </ft-typography>
1256
- ${i?K`
1119
+ ${i?W`
1257
1120
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1258
1121
  ${this.clearButtonLabel}
1259
1122
  </ft-button>
1260
1123
  `:null}
1261
1124
  </div>
1262
1125
  `:null}
1263
- <div class="ft-filter--filter" ?hidden=${!r}>
1126
+ <div class="ft-filter--filter" ?hidden=${!o}>
1264
1127
  <input type="search"
1265
1128
  part="input"
1266
1129
  class="ft-typography--caption"
1267
- ?disabled=${!r}
1130
+ ?disabled=${!o}
1268
1131
  placeholder="${this.filterPlaceHolder.replace("{0}",this.label)}"
1269
1132
  @keyup=${this.onFilterChange}>
1270
1133
  </div>
@@ -1275,8 +1138,8 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1275
1138
  @slotchange=${this.updateOptionsFromSlot}
1276
1139
  @option-change=${this.optionsChanged}></slot>
1277
1140
  </div>
1278
- `}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)))}}contentAvailableCallback(t){var e,i;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))}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,r=i<0?"ft-filter--level-center":"ft-filter--level-left";return K`
1279
- ${this.raiseSelectedOptions&&e.length>0?K`
1141
+ `}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)))}}contentAvailableCallback(t){var e,i;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))}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 W`
1142
+ ${this.raiseSelectedOptions&&e.length>0?W`
1280
1143
  <ft-filter-level
1281
1144
  id="${this.id}"
1282
1145
  ?multivalued=${this.multivalued}
@@ -1291,10 +1154,10 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1291
1154
  <ft-snap-scroll horizontal hideScrollbar
1292
1155
  class="ft-filter--levels"
1293
1156
  @current-element-change=${t=>this.levelsScrollDebouncer.run((()=>{for(;t.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()}))}>
1294
- ${this.renderLevel(r,this.options)}
1295
- ${this.displayedLevels.map((e=>t.find((t=>t.value===e)))).map(((t,e)=>{var r;const o=(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(o,null!==(r=null==t?void 0:t.subOptions)&&void 0!==r?r:[],t)}))}
1157
+ ${this.renderLevel(o,this.options)}
1158
+ ${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)}))}
1296
1159
  </ft-snap-scroll>
1297
- `}renderLevel(t,e,i){return K`
1160
+ `}renderLevel(t,e,i){return W`
1298
1161
  <ft-filter-level
1299
1162
  class="${t}"
1300
1163
  id="${this.id}"
@@ -1311,7 +1174,7 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1311
1174
  @display-level=${this.onDisplayLevel}
1312
1175
  part="values"
1313
1176
  ></ft-filter-level>
1314
- `}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 r=t=>{var e;t!==i&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(r)};this.multivalued?null===(e=i.subOptions)||void 0===e||e.forEach(r):this.options.forEach(r),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const e=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new Rr(e)),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(t){const e=t.composedPath()[0];this.filter=e.value}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Er.elementDefinitions={"ft-button":Ji,"ft-filter-level":br,"ft-snap-scroll":xr,"ft-typography":je},Er.styles=[Me,g`
1177
+ `}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;const e=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new eo(e)),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(t){const e=t.composedPath()[0];this.filter=e.value}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}io.elementDefinitions={"ft-button":ki,"ft-filter-level":Ii,"ft-snap-scroll":Vi,"ft-typography":De},io.styles=[Be,v`
1315
1178
  :host {
1316
1179
  display: flex;
1317
1180
  max-height: 100%;
@@ -1324,8 +1187,8 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1324
1187
  flex-direction: column;
1325
1188
  max-height: 100%;
1326
1189
  max-width: 100%;
1327
- color: ${wr};
1328
- background: ${Sr};
1190
+ color: ${qi};
1191
+ background: ${Gi};
1329
1192
  }
1330
1193
 
1331
1194
  .ft-filter--header {
@@ -1335,13 +1198,13 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1335
1198
  flex-shrink: 0;
1336
1199
  padding: 0 10px;
1337
1200
  margin-bottom: 8px;
1338
- ${bt(At.fontSize,"14px")};
1201
+ ${ft(zt.fontSize,"14px")};
1339
1202
  }
1340
1203
 
1341
1204
  .ft-filter--header ft-button {
1342
1205
  flex-shrink: 0;
1343
1206
  margin-left: auto;
1344
- ${bt(Ki.iconSize,"18px")};
1207
+ ${ft(gi.iconSize,"18px")};
1345
1208
  }
1346
1209
 
1347
1210
  .ft-filter--label {
@@ -1349,8 +1212,8 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1349
1212
  flex-shrink: 1;
1350
1213
  flex-grow: 1;
1351
1214
  word-break: break-word;
1352
- ${bt(At.lineHeight,"22px")};
1353
- ${bt(At.fontWeight,"bold")};
1215
+ ${ft(zt.lineHeight,"22px")};
1216
+ ${ft(zt.fontWeight,"bold")};
1354
1217
  }
1355
1218
 
1356
1219
  .ft-filter--filter {
@@ -1361,8 +1224,8 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1361
1224
  padding: 0 10px;
1362
1225
  overflow: hidden;
1363
1226
  height: 32px;
1364
- transition: height ${zr} ${Cr},
1365
- margin ${zr} ${Cr};
1227
+ transition: height ${Qi} ${to},
1228
+ margin ${Qi} ${to};
1366
1229
  transition-delay: 500ms;
1367
1230
  }
1368
1231
 
@@ -1375,11 +1238,11 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1375
1238
  display: block;
1376
1239
  width: 100%;
1377
1240
  border-radius: 4px;
1378
- border: 1px solid ${_r};
1241
+ border: 1px solid ${Ji};
1379
1242
  padding: 4px;
1380
- background-color: ${Sr};
1381
- color: ${$r};
1382
- outline-color: ${Or};
1243
+ background-color: ${Gi};
1244
+ color: ${Xi};
1245
+ outline-color: ${Yi};
1383
1246
  }
1384
1247
 
1385
1248
  .ft-filter--values {
@@ -1391,7 +1254,7 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1391
1254
  }
1392
1255
 
1393
1256
  .ft-filter--separator {
1394
- border-top: 1px solid ${_r};
1257
+ border-top: 1px solid ${Ji};
1395
1258
  margin: 4px 10px;
1396
1259
  }
1397
1260
 
@@ -1416,6 +1279,6 @@ const hr=g`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40p
1416
1279
  slot {
1417
1280
  display: none;
1418
1281
  }
1419
- `],kr([r({type:String})],Er.prototype,"id",void 0),kr([r({type:String})],Er.prototype,"label",void 0),kr([r({type:String})],Er.prototype,"filterPlaceHolder",void 0),kr([r({type:String})],Er.prototype,"clearButtonLabel",void 0),kr([r({type:String})],Er.prototype,"moreValuesButtonLabel",void 0),kr([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return r({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],Er.prototype,"options",void 0),kr([r({type:Boolean})],Er.prototype,"multivalued",void 0),kr([r({type:Boolean})],Er.prototype,"disabled",void 0),kr([r({type:Boolean})],Er.prototype,"raiseSelectedOptions",void 0),kr([r({type:Number})],Er.prototype,"displayedValuesLimit",void 0),kr([a(".ft-filter--slot")],Er.prototype,"slotElement",void 0),kr([a(".ft-filter--container")],Er.prototype,"container",void 0),kr([a(".ft-filter--values")],Er.prototype,"valuesContainer",void 0),kr([a(".ft-filter--levels")],Er.prototype,"levelsContainer",void 0),kr([a(".ft-filter--levels ft-filter-level:last-child")],Er.prototype,"lastLevel",void 0),kr([function(t){return c({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")],Er.prototype,"levels",void 0),kr([o()],Er.prototype,"withScroll",void 0),kr([o()],Er.prototype,"filter",void 0),kr([o()],Er.prototype,"slideIn",void 0),kr([o()],Er.prototype,"slideOut",void 0);var Nr=function(t,e,i,r){for(var o,c=arguments.length,n=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(c<3?o(n):c>3?o(e,i,n):o(e,i))||n);return c>3&&n&&Object.defineProperty(e,i,n),n};class Ar extends gt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return K`
1282
+ `],Zi([i({type:String})],io.prototype,"id",void 0),Zi([i({type:String})],io.prototype,"label",void 0),Zi([i({type:String})],io.prototype,"filterPlaceHolder",void 0),Zi([i({type:String})],io.prototype,"clearButtonLabel",void 0),Zi([i({type:String})],io.prototype,"moreValuesButtonLabel",void 0),Zi([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return i({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],io.prototype,"options",void 0),Zi([i({type:Boolean})],io.prototype,"multivalued",void 0),Zi([i({type:Boolean})],io.prototype,"disabled",void 0),Zi([i({type:Boolean})],io.prototype,"raiseSelectedOptions",void 0),Zi([i({type:Number})],io.prototype,"displayedValuesLimit",void 0),Zi([n(".ft-filter--slot")],io.prototype,"slotElement",void 0),Zi([n(".ft-filter--container")],io.prototype,"container",void 0),Zi([n(".ft-filter--values")],io.prototype,"valuesContainer",void 0),Zi([n(".ft-filter--levels")],io.prototype,"levelsContainer",void 0),Zi([n(".ft-filter--levels ft-filter-level:last-child")],io.prototype,"lastLevel",void 0),Zi([function(t){return s({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")],io.prototype,"levels",void 0),Zi([o()],io.prototype,"withScroll",void 0),Zi([o()],io.prototype,"filter",void 0),Zi([o()],io.prototype,"slideIn",void 0),Zi([o()],io.prototype,"slideOut",void 0);var oo=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class so extends vt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return W`
1420
1283
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1421
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Ar.elementDefinitions={},Nr([r({type:String})],Ar.prototype,"label",void 0),Nr([r({type:Object,converter:t=>t})],Ar.prototype,"value",void 0),Nr([r({type:Boolean,reflect:!0})],Ar.prototype,"selected",void 0),Nr([r({type:Object})],Ar.prototype,"subOptions",void 0),Nr([a(".ft-filter-option--slot")],Ar.prototype,"slotElement",void 0),h("ft-filter")(xt(Er)),h("ft-filter-option")(xt(Ar))}();
1284
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}so.elementDefinitions={},oo([i({type:String})],so.prototype,"label",void 0),oo([i({type:Object,converter:t=>t})],so.prototype,"value",void 0),oo([i({type:Boolean,reflect:!0})],so.prototype,"selected",void 0),oo([i({type:Object})],so.prototype,"subOptions",void 0),oo([n(".ft-filter-option--slot")],so.prototype,"slotElement",void 0),h("ft-filter")(xt(io)),h("ft-filter-option")(xt(so))}();