@fluid-topics/ft-copy-block 1.1.68 → 1.1.70

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.
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);d(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},h=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):h(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),l=t;try{new o.elementClass}catch(t){h(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Jl){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);d(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},h=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):h(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),l=t;try{new o.elementClass}catch(t){h(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Xl){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -141,7 +141,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
141
141
  .highlight-html-match {
142
142
  background: ${Di};
143
143
  }
144
- `,Ti={className:"highlight-html-match"};var Gi=Object.freeze({__proto__:null,highlightHtml:function(t,o){var e;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=o?o:"")){const r=new Ki(t);if(r.unmark(Ti),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...Ti,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Ti,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")},highlightHtmlColorCssVariable:Di,highlightHtmlStyles:Hi});const Vi=dt`
144
+ `,Ti={className:"highlight-html-match"};function Gi(t,o){var e;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=o?o:"")){const r=new Ki(t);if(r.unmark(Ti),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...Ti,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Ti,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")}var Vi=Object.freeze({__proto__:null,highlightHtml:Gi,highlightHtmlColorCssVariable:Di,highlightHtmlStyles:Hi});const qi=dt`
145
145
  .ft-no-text-select {
146
146
  -webkit-touch-callout: none;
147
147
  -webkit-user-select: none;
@@ -150,7 +150,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
150
150
  -ms-user-select: none;
151
151
  user-select: none;
152
152
  }
153
- `,qi=dt`
153
+ `,Yi=dt`
154
154
  .ft-word-wrap {
155
155
  white-space: normal;
156
156
  word-wrap: break-word;
@@ -162,7 +162,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
162
162
  -webkit-hyphens: auto;
163
163
  hyphens: auto
164
164
  }
165
- `,Yi=dt`
165
+ `,Ji=dt`
166
166
  .ft-safari-ellipsis-fix {
167
167
  margin-right: 0;
168
168
 
@@ -173,7 +173,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
173
173
  display: inline-block;
174
174
  width: 0;
175
175
  }
176
- `;var Ji=Object.freeze({__proto__:null,noTextSelect:Vi,safariEllipsisFix:Yi,wordWrap:qi}),Xi=Object.freeze({__proto__:null});class Qi{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}var tn=Object.freeze({__proto__:null,ParametrizedLabelResolver:Qi});const on=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!de(t,o),attribute:!1,...o};So(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};class en{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function rn(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var nn,an,sn;const ln=Symbol("internalReduxEventsUnsubscribers"),cn=Symbol("internalStoresUnsubscribers"),fn=Symbol("internalStores");class pn extends Pi{constructor(){super(...arguments),this[nn]=new Map,this[an]=new Map,this[sn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[fn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[fn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[fn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:rn(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[fn].delete(o)}setupStore(t,o){this[fn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[fn].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[cn].has(t.store):this[cn].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[cn].set(t,o.subscribe((()=>this.updateFromStores()))),rn(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[ln].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[cn].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[ln].forEach((t=>t())),this[ln]=[]}unsubscribeFromStore(t){this[cn].has(t)&&this[cn].get(t)(),this[cn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function dn(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function hn(t){return!!t&&!!t[Qn]}function un(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===ta}(t)||Array.isArray(t)||!!t[Xn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Xn])||xn(t)||On(t))}function yn(t,o,e){void 0===e&&(e=!1),0===gn(t)?(e?Object.keys:oa)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function gn(t){var o=t[Qn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:xn(t)?2:On(t)?3:0}function bn(t,o){return 2===gn(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function mn(t,o,e){var r=gn(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function vn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function xn(t){return Vn&&t instanceof Map}function On(t){return qn&&t instanceof Set}function wn(t){return t.o||t.t}function Sn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=ea(t);delete o[Qn];for(var e=oa(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function Cn(t,o){return void 0===o&&(o=!1),En(t)||hn(t)||!un(t)||(gn(t)>1&&(t.set=t.add=t.clear=t.delete=Nn),Object.freeze(t),o&&yn(t,(function(t,o){return Cn(o,!0)}),!0)),t}function Nn(){dn(2)}function En(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function In(t){var o=ra[t];return o||dn(18,t),o}function $n(){return Tn}function Rn(t,o){o&&(In("Patches"),t.u=[],t.s=[],t.v=o)}function kn(t){Ln(t),t.p.forEach(Wn),t.p=null}function Ln(t){t===Tn&&(Tn=t.l)}function Un(t){return Tn={p:[],l:Tn,h:t,m:!0,_:0}}function Wn(t){var o=t[Qn];0===o.i||1===o.i?o.j():o.g=!0}function zn(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||In("ES5").S(o,t,r),r?(e[Qn].P&&(kn(o),dn(4)),un(t)&&(t=Bn(o,t),o.l||An(o,t)),o.u&&In("Patches").M(e[Qn].t,t,o.u,o.s)):t=Bn(o,e,[]),kn(o),o.u&&o.v(o.u,o.s),t!==Jn?t:void 0}function Bn(t,o,e){if(En(o))return o;var r=o[Qn];if(!r)return yn(o,(function(i,n){return Fn(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return An(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=Sn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),yn(n,(function(o,n){return Fn(t,r,i,o,n,e,a)})),An(t,i,!1),e&&t.u&&In("Patches").N(r,e,t.u,t.s)}return r.o}function Fn(t,o,e,r,i,n,a){if(hn(i)){var s=Bn(t,i,n&&o&&3!==o.i&&!bn(o.R,r)?n.concat(r):void 0);if(mn(e,r,s),!hn(s))return;t.m=!1}else a&&e.add(i);if(un(i)&&!En(i)){if(!t.h.D&&t._<1)return;Bn(t,i),o&&o.A.l||An(t,i)}}function An(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&Cn(o,e)}function jn(t,o){var e=t[Qn];return(e?wn(e):t)[o]}function Pn(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function _n(t){t.P||(t.P=!0,t.l&&_n(t.l))}function Mn(t){t.o||(t.o=Sn(t.t))}function Zn(t,o,e){var r=xn(o)?In("MapSet").F(o,e):On(o)?In("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:$n(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=ia;e&&(i=[r],n=na);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(o,e):In("ES5").J(o,e);return(e?e.A:$n()).p.push(r),r}function Kn(t){return hn(t)||dn(22,t),function t(o){if(!un(o))return o;var e,r=o[Qn],i=gn(o);if(r){if(!r.P&&(r.i<4||!In("ES5").K(r)))return r.t;r.I=!0,e=Dn(o,i),r.I=!1}else e=Dn(o,i);return yn(e,(function(o,i){r&&function(t,o){return 2===gn(t)?t.get(o):t[o]}(r.t,o)===i||mn(e,o,t(i))})),3===i?new Set(e):e}(t)}function Dn(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Sn(t)}nn=cn,an=fn,sn=ln,pn.reduxProperties=new Map,pn.reduxReactiveProperties=new Set,pn.reduxEventListeners=new Map;var Hn,Tn,Gn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Vn="undefined"!=typeof Map,qn="undefined"!=typeof Set,Yn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Jn=Gn?Symbol.for("immer-nothing"):((Hn={})["immer-nothing"]=!0,Hn),Xn=Gn?Symbol.for("immer-draftable"):"__$immer_draftable",Qn=Gn?Symbol.for("immer-state"):"__$immer_state",ta=""+Object.prototype.constructor,oa="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ea=Object.getOwnPropertyDescriptors||function(t){var o={};return oa(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},ra={},ia={get:function(t,o){if(o===Qn)return t;var e=wn(t);if(!bn(e,o))return function(t,o,e){var r,i=Pn(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!un(r)?r:r===jn(t.t,o)?(Mn(t),t.o[o]=Zn(t.A.h,r,t)):r},has:function(t,o){return o in wn(t)},ownKeys:function(t){return Reflect.ownKeys(wn(t))},set:function(t,o,e){var r=Pn(wn(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=jn(wn(t),o),n=null==i?void 0:i[Qn];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(vn(e,i)&&(void 0!==e||bn(t.t,o)))return!0;Mn(t),_n(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==jn(t.t,o)||o in t.t?(t.R[o]=!1,Mn(t),_n(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=wn(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){dn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){dn(12)}},na={};yn(ia,(function(t,o){na[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),na.deleteProperty=function(t,o){return na.set.call(this,t,o,void 0)},na.set=function(t,o,e){return ia.set.call(this,t[0],o,e,t[0])};var aa=function(){function t(t){var o=this;this.O=Yn,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&dn(6),void 0!==r&&"function"!=typeof r&&dn(7),un(t)){var s=Un(o),l=Zn(o,t,void 0),c=!0;try{a=e(l),c=!1}finally{c?kn(s):Ln(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Rn(s,r),zn(t,s)}),(function(t){throw kn(s),t})):(Rn(s,r),zn(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Jn&&(a=void 0),o.D&&Cn(a,!0),r){var f=[],p=[];In("Patches").M(t,a,f,p),r(f,p)}return a}dn(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){un(t)||dn(8),hn(t)&&(t=Kn(t));var o=Un(this),e=Zn(this,t,void 0);return e[Qn].C=!0,Ln(o),e},o.finishDraft=function(t,o){var e=(t&&t[Qn]).A;return Rn(e,o),zn(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Yn&&dn(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=In("Patches").$;return hn(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),sa=new aa,la=sa.produce;function ca(t){return ca="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ca(t)}function fa(t){var o=function(t,o){if("object"!==ca(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==ca(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===ca(o)?o:String(o)}function pa(t,o,e){return(o=fa(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function da(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function ha(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?da(Object(e),!0).forEach((function(o){pa(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):da(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function ua(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}sa.produceWithPatches.bind(sa),sa.setAutoFreeze.bind(sa),sa.setUseProxies.bind(sa),sa.applyPatches.bind(sa),sa.createDraft.bind(sa),sa.finishDraft.bind(sa);var ya="function"==typeof Symbol&&Symbol.observable||"@@observable",ga=function(){return Math.random().toString(36).substring(7).split("").join(".")},ba={INIT:"@@redux/INIT"+ga(),REPLACE:"@@redux/REPLACE"+ga(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ga()}};function ma(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(ua(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(ua(1));return e(ma)(t,o)}if("function"!=typeof t)throw new Error(ua(2));var i=t,n=o,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(ua(3));return n}function p(t){if("function"!=typeof t)throw new Error(ua(4));if(l)throw new Error(ua(5));var o=!0;return c(),s.push(t),function(){if(o){if(l)throw new Error(ua(6));o=!1,c();var e=s.indexOf(t);s.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(ua(7));if(void 0===t.type)throw new Error(ua(8));if(l)throw new Error(ua(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:ba.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ua(10));i=t,d({type:ba.REPLACE})}})[ya]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ua(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ya]=function(){return this},t},r}function va(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ba.INIT}))throw new Error(ua(12));if(void 0===e(void 0,{type:ba.PROBE_UNKNOWN_ACTION()}))throw new Error(ua(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=e[l],f=t[l],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(ua(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function xa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function Oa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(ua(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=xa.apply(void 0,n)(e.dispatch),ha(ha({},e),{},{dispatch:r})}}}function wa(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var Sa=wa();Sa.withExtraArgument=wa;var Ca,Na=Sa,Ea=(Ca=function(t,o){return Ca=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},Ca(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}Ca(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),Ia=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},$a=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},Ra=Object.defineProperty,ka=Object.defineProperties,La=Object.getOwnPropertyDescriptors,Ua=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,za=Object.prototype.propertyIsEnumerable,Ba=function(t,o,e){return o in t?Ra(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Fa=function(t,o){for(var e in o||(o={}))Wa.call(o,e)&&Ba(t,e,o[e]);if(Ua)for(var r=0,i=Ua(o);r<i.length;r++){e=i[r];za.call(o,e)&&Ba(t,e,o[e])}return t},Aa=function(t,o){return ka(t,La(o))},ja="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?xa:xa.apply(null,arguments)};var Pa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Ea(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,$a([void 0],t[0].concat(this)))):new(o.bind.apply(o,$a([void 0],t.concat(this))))},o}(Array),_a=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Ea(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,$a([void 0],t[0].concat(this)))):new(o.bind.apply(o,$a([void 0],t.concat(this))))},o}(Array);function Ma(t){return un(t)?la(t,(function(){})):t}function Za(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Pa;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(Na.withExtraArgument(e.extraArgument)):r.push(Na));return r}(t)}}function Ka(t){var o,e=Za(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?e():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,h=void 0===d?void 0:d;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=va(n)}var u=s;"function"==typeof u&&(u=u(e));var y=Oa.apply(void 0,u),g=xa;c&&(g=ja(Fa({trace:!1},"object"==typeof c&&c)));var b=new _a(y),m=b;return Array.isArray(h)?m=$a([y],h):"function"==typeof h&&(m=h(b)),ma(o,p,g.apply(void 0,m))}function Da(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return Fa(Fa({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Ha(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Ta(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Ma(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var o="function"==typeof t.extraReducers?Ha(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,l=o[2],c=void 0===l?void 0:l,f=Fa(Fa({},i),s);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Ha(o):[o,e,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ma(t())};else{var c=Ma(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=$a([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(hn(t))return void 0===(r=e(t,o))?t:r;if(un(t))return la(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,s[c]=e,l[t]=r?Da(c,r):Da(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ga=["name","message","stack","code"],Va=function(t,o){this.payload=t,this.meta=o},qa=function(t,o){this.payload=t,this.meta=o},Ya=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ga;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Ja(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Da(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Aa(Fa({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Da(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Aa(Fa({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Da(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Ya)(t||"Rejected"),meta:Aa(Fa({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function h(t){f=t,d.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,g,b,m;return Ia(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(u=null==e?void 0:e.getPendingMeta)?void 0:u.call(e,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:d.signal,abort:h,rejectWithValue:function(t,o){return new Va(t,o)},fulfillWithValue:function(t,o){return new qa(t,o)}})).then((function(o){if(o instanceof Va)throw o;return o instanceof qa?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Va?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,u)).next())}));var a,u,y}();return Object.assign(u,{abort:h,requestId:p,arg:t,unwrap:function(){return u.then(Ja)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Xa="listenerMiddleware";Da(Xa+"/add"),Da(Xa+"/removeAll"),Da(Xa+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Qn];return ia.get(o,t)},set:function(o){var e=this[Qn];ia.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Qn];if(!i.P)switch(i.i){case 5:r(i)&&_n(i);break;case 4:e(i)&&_n(i)}}}function e(t){for(var o=t.t,e=t.k,r=oa(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Qn){var a=o[n];if(void 0===a&&!bn(o,n))return!0;var s=e[n],l=s&&s[Qn];if(l?l.t!==a:!vn(s,a))return!0}}var c=!!o[Qn];return r.length!==oa(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){ra[t]||(ra[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=ea(e);delete n[Qn];for(var a=oa(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,o||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:$n(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Qn,{value:n,writable:!0}),i},S:function(t,e,i){i?hn(e)&&e[Qn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Qn];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)yn(n,(function(o){o!==Qn&&(void 0!==i[o]||bn(i,o)?a[o]||t(n[o]):(a[o]=!0,_n(e)))})),yn(i,(function(t){void 0!==n[t]||bn(n,t)||(a[t]=!1,_n(e))}));else if(5===s){if(r(e)&&(_n(e),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Qa{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(rn(i))return i;if(null==r)return;const n=Ta({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Ka({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?n.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:n.reducer(t,o)});return window.ftReduxStores[r.name]=new Qa(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new en,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var ts=Object.freeze({__proto__:null,FtCommandQueue:en,FtLitElementRedux:pn,FtReduxStore:Qa,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))rn(o)&&o.clear()},isFtReduxStore:rn,redux:on,reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var os=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e,r,i,n;const a=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all"});if((null===(r=o.query)||void 0===r?void 0:r.length)>0&&a.append("query",o.query),o.scope&&"DEFAULT"!==o.scope&&a.append("scope",o.scope.toLowerCase()),o.virtualField&&a.append("virtual-field",o.virtualField.toLowerCase()),o.periodFilter){let t=o.periodFilter.period;const e=t?`_${t.from}_${t.to}`:"";a.append("period",o.periodFilter.periodType.toLowerCase()+e)}if((null===(i=o.sort)||void 0===i?void 0:i.length)>0&&"ft:lastEdition"===o.sort[0].key&&a.append("sort","last_update"),(null===(n=o.filters)||void 0===n?void 0:n.length)>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const es=Symbol("elementInternals");function rs(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[es].form}constructor(...t){super(t),this[es]=this.attachInternals(),this[es].role=o}setFormValue(t){this[es].setFormValue(t)}}}var is,ns,as,ss,ls=Object.freeze({__proto__:null,toFtFormComponent:rs});const cs=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(as=null===(ns=null===(is=window.safari)||void 0===is?void 0:is.pushNotification)||void 0===ns?void 0:ns.toString())&&void 0!==as?as:""),fs="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(ss=window.ftGlobals)&&void 0!==ss?ss:{lit:xo,litDecorators:ko,litRepeat:Ko,litClassMap:Ho,litStyleMap:qo,litUnsafeHTML:Xo,wcUtils:{...ie,...ee,...ae,...le,...be,...wr,...Er,...Ri,...xr,..._i,...Mi,...he,...Gi,...Ji,...Xi,...tn,...ts,...zi,...os,...ls,isSafari:cs,isTouchScreen:fs}};const ps=ve.extend("--ft-ripple-color","",Or.colorContent),ds={color:ps,backgroundColor:ve.extend("--ft-ripple-background-color","",ps),opacityContentOnSurfacePressed:ve.external(Or.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ve.external(Or.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ve.external(Or.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ve.external(Or.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ve.create("--ft-ripple-border-radius","","SIZE","0px")},hs=ve.extend("--ft-ripple-color","",Or.colorPrimary),us=hs,ys=ve.extend("--ft-ripple-background-color","",hs),gs=ve.extend("--ft-ripple-color","",Or.colorSecondary),bs=gs,ms=ve.extend("--ft-ripple-background-color","",gs),vs=dt`
176
+ `;var Xi=Object.freeze({__proto__:null,noTextSelect:qi,safariEllipsisFix:Ji,wordWrap:Yi}),Qi=Object.freeze({__proto__:null});class tn{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}var on=Object.freeze({__proto__:null,ParametrizedLabelResolver:tn});const en=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!de(t,o),attribute:!1,...o};So(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};class rn{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function nn(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var an,sn,ln;const cn=Symbol("internalReduxEventsUnsubscribers"),fn=Symbol("internalStoresUnsubscribers"),pn=Symbol("internalStores");class dn extends Pi{constructor(){super(...arguments),this[an]=new Map,this[sn]=new Map,this[ln]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[pn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[pn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[pn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:nn(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[pn].delete(o)}setupStore(t,o){this[pn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[pn].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[fn].has(t.store):this[fn].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[fn].set(t,o.subscribe((()=>this.updateFromStores()))),nn(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[cn].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[fn].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[cn].forEach((t=>t())),this[cn]=[]}unsubscribeFromStore(t){this[fn].has(t)&&this[fn].get(t)(),this[fn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function hn(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function un(t){return!!t&&!!t[ta]}function yn(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===oa}(t)||Array.isArray(t)||!!t[Qn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Qn])||On(t)||wn(t))}function gn(t,o,e){void 0===e&&(e=!1),0===bn(t)?(e?Object.keys:ea)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function bn(t){var o=t[ta];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:On(t)?2:wn(t)?3:0}function mn(t,o){return 2===bn(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function vn(t,o,e){var r=bn(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function xn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function On(t){return qn&&t instanceof Map}function wn(t){return Yn&&t instanceof Set}function Sn(t){return t.o||t.t}function Cn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=ra(t);delete o[ta];for(var e=ea(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function Nn(t,o){return void 0===o&&(o=!1),In(t)||un(t)||!yn(t)||(bn(t)>1&&(t.set=t.add=t.clear=t.delete=En),Object.freeze(t),o&&gn(t,(function(t,o){return Nn(o,!0)}),!0)),t}function En(){hn(2)}function In(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function $n(t){var o=ia[t];return o||hn(18,t),o}function Rn(){return Gn}function kn(t,o){o&&($n("Patches"),t.u=[],t.s=[],t.v=o)}function Ln(t){Un(t),t.p.forEach(zn),t.p=null}function Un(t){t===Gn&&(Gn=t.l)}function Wn(t){return Gn={p:[],l:Gn,h:t,m:!0,_:0}}function zn(t){var o=t[ta];0===o.i||1===o.i?o.j():o.g=!0}function Bn(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||$n("ES5").S(o,t,r),r?(e[ta].P&&(Ln(o),hn(4)),yn(t)&&(t=Fn(o,t),o.l||jn(o,t)),o.u&&$n("Patches").M(e[ta].t,t,o.u,o.s)):t=Fn(o,e,[]),Ln(o),o.u&&o.v(o.u,o.s),t!==Xn?t:void 0}function Fn(t,o,e){if(In(o))return o;var r=o[ta];if(!r)return gn(o,(function(i,n){return An(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return jn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=Cn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),gn(n,(function(o,n){return An(t,r,i,o,n,e,a)})),jn(t,i,!1),e&&t.u&&$n("Patches").N(r,e,t.u,t.s)}return r.o}function An(t,o,e,r,i,n,a){if(un(i)){var s=Fn(t,i,n&&o&&3!==o.i&&!mn(o.R,r)?n.concat(r):void 0);if(vn(e,r,s),!un(s))return;t.m=!1}else a&&e.add(i);if(yn(i)&&!In(i)){if(!t.h.D&&t._<1)return;Fn(t,i),o&&o.A.l||jn(t,i)}}function jn(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&Nn(o,e)}function Pn(t,o){var e=t[ta];return(e?Sn(e):t)[o]}function _n(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function Mn(t){t.P||(t.P=!0,t.l&&Mn(t.l))}function Zn(t){t.o||(t.o=Cn(t.t))}function Kn(t,o,e){var r=On(o)?$n("MapSet").F(o,e):wn(o)?$n("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:Rn(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=na;e&&(i=[r],n=aa);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(o,e):$n("ES5").J(o,e);return(e?e.A:Rn()).p.push(r),r}function Dn(t){return un(t)||hn(22,t),function t(o){if(!yn(o))return o;var e,r=o[ta],i=bn(o);if(r){if(!r.P&&(r.i<4||!$n("ES5").K(r)))return r.t;r.I=!0,e=Hn(o,i),r.I=!1}else e=Hn(o,i);return gn(e,(function(o,i){r&&function(t,o){return 2===bn(t)?t.get(o):t[o]}(r.t,o)===i||vn(e,o,t(i))})),3===i?new Set(e):e}(t)}function Hn(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Cn(t)}an=fn,sn=pn,ln=cn,dn.reduxProperties=new Map,dn.reduxReactiveProperties=new Set,dn.reduxEventListeners=new Map;var Tn,Gn,Vn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),qn="undefined"!=typeof Map,Yn="undefined"!=typeof Set,Jn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Xn=Vn?Symbol.for("immer-nothing"):((Tn={})["immer-nothing"]=!0,Tn),Qn=Vn?Symbol.for("immer-draftable"):"__$immer_draftable",ta=Vn?Symbol.for("immer-state"):"__$immer_state",oa=""+Object.prototype.constructor,ea="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ra=Object.getOwnPropertyDescriptors||function(t){var o={};return ea(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},ia={},na={get:function(t,o){if(o===ta)return t;var e=Sn(t);if(!mn(e,o))return function(t,o,e){var r,i=_n(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!yn(r)?r:r===Pn(t.t,o)?(Zn(t),t.o[o]=Kn(t.A.h,r,t)):r},has:function(t,o){return o in Sn(t)},ownKeys:function(t){return Reflect.ownKeys(Sn(t))},set:function(t,o,e){var r=_n(Sn(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=Pn(Sn(t),o),n=null==i?void 0:i[ta];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(xn(e,i)&&(void 0!==e||mn(t.t,o)))return!0;Zn(t),Mn(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==Pn(t.t,o)||o in t.t?(t.R[o]=!1,Zn(t),Mn(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=Sn(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){hn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){hn(12)}},aa={};gn(na,(function(t,o){aa[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),aa.deleteProperty=function(t,o){return aa.set.call(this,t,o,void 0)},aa.set=function(t,o,e){return na.set.call(this,t[0],o,e,t[0])};var sa=function(){function t(t){var o=this;this.O=Jn,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&hn(6),void 0!==r&&"function"!=typeof r&&hn(7),yn(t)){var s=Wn(o),l=Kn(o,t,void 0),c=!0;try{a=e(l),c=!1}finally{c?Ln(s):Un(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return kn(s,r),Bn(t,s)}),(function(t){throw Ln(s),t})):(kn(s,r),Bn(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Xn&&(a=void 0),o.D&&Nn(a,!0),r){var f=[],p=[];$n("Patches").M(t,a,f,p),r(f,p)}return a}hn(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){yn(t)||hn(8),un(t)&&(t=Dn(t));var o=Wn(this),e=Kn(this,t,void 0);return e[ta].C=!0,Un(o),e},o.finishDraft=function(t,o){var e=(t&&t[ta]).A;return kn(e,o),Bn(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Jn&&hn(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=$n("Patches").$;return un(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),la=new sa,ca=la.produce;function fa(t){return fa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fa(t)}function pa(t){var o=function(t,o){if("object"!==fa(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==fa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===fa(o)?o:String(o)}function da(t,o,e){return(o=pa(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function ha(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function ua(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?ha(Object(e),!0).forEach((function(o){da(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ha(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function ya(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}la.produceWithPatches.bind(la),la.setAutoFreeze.bind(la),la.setUseProxies.bind(la),la.applyPatches.bind(la),la.createDraft.bind(la),la.finishDraft.bind(la);var ga="function"==typeof Symbol&&Symbol.observable||"@@observable",ba=function(){return Math.random().toString(36).substring(7).split("").join(".")},ma={INIT:"@@redux/INIT"+ba(),REPLACE:"@@redux/REPLACE"+ba(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ba()}};function va(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(ya(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(ya(1));return e(va)(t,o)}if("function"!=typeof t)throw new Error(ya(2));var i=t,n=o,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(ya(3));return n}function p(t){if("function"!=typeof t)throw new Error(ya(4));if(l)throw new Error(ya(5));var o=!0;return c(),s.push(t),function(){if(o){if(l)throw new Error(ya(6));o=!1,c();var e=s.indexOf(t);s.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(ya(7));if(void 0===t.type)throw new Error(ya(8));if(l)throw new Error(ya(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:ma.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ya(10));i=t,d({type:ma.REPLACE})}})[ga]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ya(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ga]=function(){return this},t},r}function xa(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ma.INIT}))throw new Error(ya(12));if(void 0===e(void 0,{type:ma.PROBE_UNKNOWN_ACTION()}))throw new Error(ya(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=e[l],f=t[l],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(ya(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function Oa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function wa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(ya(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=Oa.apply(void 0,n)(e.dispatch),ua(ua({},e),{},{dispatch:r})}}}function Sa(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var Ca=Sa();Ca.withExtraArgument=Sa;var Na,Ea=Ca,Ia=(Na=function(t,o){return Na=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},Na(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}Na(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),$a=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},Ra=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},ka=Object.defineProperty,La=Object.defineProperties,Ua=Object.getOwnPropertyDescriptors,Wa=Object.getOwnPropertySymbols,za=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable,Fa=function(t,o,e){return o in t?ka(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Aa=function(t,o){for(var e in o||(o={}))za.call(o,e)&&Fa(t,e,o[e]);if(Wa)for(var r=0,i=Wa(o);r<i.length;r++){e=i[r];Ba.call(o,e)&&Fa(t,e,o[e])}return t},ja=function(t,o){return La(t,Ua(o))},Pa="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Oa:Oa.apply(null,arguments)};var _a=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Ia(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Ra([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ra([void 0],t.concat(this))))},o}(Array),Ma=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Ia(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Ra([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ra([void 0],t.concat(this))))},o}(Array);function Za(t){return yn(t)?ca(t,(function(){})):t}function Ka(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new _a;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(Ea.withExtraArgument(e.extraArgument)):r.push(Ea));return r}(t)}}function Da(t){var o,e=Ka(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?e():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,h=void 0===d?void 0:d;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=xa(n)}var u=s;"function"==typeof u&&(u=u(e));var y=wa.apply(void 0,u),g=Oa;c&&(g=Pa(Aa({trace:!1},"object"==typeof c&&c)));var b=new Ma(y),m=b;return Array.isArray(h)?m=Ra([y],h):"function"==typeof h&&(m=h(b)),va(o,p,g.apply(void 0,m))}function Ha(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return Aa(Aa({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Ta(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Ga(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Za(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var o="function"==typeof t.extraReducers?Ta(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,l=o[2],c=void 0===l?void 0:l,f=Aa(Aa({},i),s);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Ta(o):[o,e,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Za(t())};else{var c=Za(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=Ra([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(un(t))return void 0===(r=e(t,o))?t:r;if(yn(t))return ca(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,s[c]=e,l[t]=r?Ha(c,r):Ha(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Va=["name","message","stack","code"],qa=function(t,o){this.payload=t,this.meta=o},Ya=function(t,o){this.payload=t,this.meta=o},Ja=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Va;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Xa(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Ha(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:ja(Aa({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Ha(t+"/pending",(function(t,o,e){return{payload:void 0,meta:ja(Aa({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Ha(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Ja)(t||"Rejected"),meta:ja(Aa({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function h(t){f=t,d.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,g,b,m;return $a(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(u=null==e?void 0:e.getPendingMeta)?void 0:u.call(e,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:d.signal,abort:h,rejectWithValue:function(t,o){return new qa(t,o)},fulfillWithValue:function(t,o){return new Ya(t,o)}})).then((function(o){if(o instanceof qa)throw o;return o instanceof Ya?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof qa?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,u)).next())}));var a,u,y}();return Object.assign(u,{abort:h,requestId:p,arg:t,unwrap:function(){return u.then(Xa)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Qa="listenerMiddleware";Ha(Qa+"/add"),Ha(Qa+"/removeAll"),Ha(Qa+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[ta];return na.get(o,t)},set:function(o){var e=this[ta];na.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][ta];if(!i.P)switch(i.i){case 5:r(i)&&Mn(i);break;case 4:e(i)&&Mn(i)}}}function e(t){for(var o=t.t,e=t.k,r=ea(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==ta){var a=o[n];if(void 0===a&&!mn(o,n))return!0;var s=e[n],l=s&&s[ta];if(l?l.t!==a:!xn(s,a))return!0}}var c=!!o[ta];return r.length!==ea(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){ia[t]||(ia[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=ra(e);delete n[ta];for(var a=ea(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,o||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:Rn(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,ta,{value:n,writable:!0}),i},S:function(t,e,i){i?un(e)&&e[ta].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[ta];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)gn(n,(function(o){o!==ta&&(void 0!==i[o]||mn(i,o)?a[o]||t(n[o]):(a[o]=!0,Mn(e)))})),gn(i,(function(t){void 0!==n[t]||mn(n,t)||(a[t]=!1,Mn(e))}));else if(5===s){if(r(e)&&(Mn(e),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class ts{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(nn(i))return i;if(null==r)return;const n=Ga({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Da({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?n.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:n.reducer(t,o)});return window.ftReduxStores[r.name]=new ts(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new rn,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var os=Object.freeze({__proto__:null,FtCommandQueue:rn,FtLitElementRedux:dn,FtReduxStore:ts,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))nn(o)&&o.clear()},isFtReduxStore:nn,redux:en,reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var es=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e,r,i,n;const a=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all"});if((null===(r=o.query)||void 0===r?void 0:r.length)>0&&a.append("query",o.query),o.scope&&"DEFAULT"!==o.scope&&a.append("scope",o.scope.toLowerCase()),o.virtualField&&a.append("virtual-field",o.virtualField.toLowerCase()),o.periodFilter){let t=o.periodFilter.period;const e=t?`_${t.from}_${t.to}`:"";a.append("period",o.periodFilter.periodType.toLowerCase()+e)}if((null===(i=o.sort)||void 0===i?void 0:i.length)>0&&"ft:lastEdition"===o.sort[0].key&&a.append("sort","last_update"),(null===(n=o.filters)||void 0===n?void 0:n.length)>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const rs=Symbol("elementInternals");function is(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[rs].form}constructor(...t){super(t),this[rs]=this.attachInternals(),this[rs].role=o}setFormValue(t){this[rs].setFormValue(t)}}}var ns,as,ss,ls,cs=Object.freeze({__proto__:null,toFtFormComponent:is});const fs=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ss=null===(as=null===(ns=window.safari)||void 0===ns?void 0:ns.pushNotification)||void 0===as?void 0:as.toString())&&void 0!==ss?ss:""),ps="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(ls=window.ftGlobals)&&void 0!==ls?ls:{lit:xo,litDecorators:ko,litRepeat:Ko,litClassMap:Ho,litStyleMap:qo,litUnsafeHTML:Xo,wcUtils:{...ie,...ee,...ae,...le,...be,...wr,...Er,...Ri,...xr,..._i,...Mi,...he,...Vi,...Xi,...Qi,...on,...os,...zi,...es,...cs,isSafari:fs,isTouchScreen:ps}};const ds=ve.extend("--ft-ripple-color","",Or.colorContent),hs={color:ds,backgroundColor:ve.extend("--ft-ripple-background-color","",ds),opacityContentOnSurfacePressed:ve.external(Or.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ve.external(Or.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ve.external(Or.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ve.external(Or.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ve.create("--ft-ripple-border-radius","","SIZE","0px")},us=ve.extend("--ft-ripple-color","",Or.colorPrimary),ys=us,gs=ve.extend("--ft-ripple-background-color","",us),bs=ve.extend("--ft-ripple-color","",Or.colorSecondary),ms=bs,vs=ve.extend("--ft-ripple-background-color","",bs),xs=dt`
177
177
  :host {
178
178
  display: contents;
179
179
  }
@@ -186,7 +186,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
186
186
 
187
187
  .ft-ripple:not(.ft-ripple--unbounded) {
188
188
  overflow: hidden;
189
- border-radius: ${ds.borderRadius};
189
+ border-radius: ${hs.borderRadius};
190
190
  }
191
191
 
192
192
  .ft-ripple .ft-ripple--background,
@@ -220,27 +220,27 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
220
220
  }
221
221
 
222
222
  .ft-ripple .ft-ripple--background {
223
- background-color: ${ds.backgroundColor};
223
+ background-color: ${hs.backgroundColor};
224
224
  }
225
225
 
226
226
  .ft-ripple .ft-ripple--effect {
227
- background-color: ${ds.color};
227
+ background-color: ${hs.color};
228
228
  }
229
229
 
230
230
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
231
- background-color: ${ms};
231
+ background-color: ${vs};
232
232
  }
233
233
 
234
234
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
235
- background-color: ${bs};
235
+ background-color: ${ms};
236
236
  }
237
237
 
238
238
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
239
- background-color: ${ys};
239
+ background-color: ${gs};
240
240
  }
241
241
 
242
242
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
243
- background-color: ${us};
243
+ background-color: ${ys};
244
244
  }
245
245
 
246
246
  .ft-ripple .ft-ripple--background {
@@ -270,117 +270,117 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
270
270
  }
271
271
 
272
272
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
273
- opacity: ${ds.opacityContentOnSurfaceHover};
273
+ opacity: ${hs.opacityContentOnSurfaceHover};
274
274
  }
275
275
 
276
276
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
277
- opacity: ${ds.opacityContentOnSurfaceSelected};
277
+ opacity: ${hs.opacityContentOnSurfaceSelected};
278
278
  }
279
279
 
280
280
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
281
- opacity: ${ds.opacityContentOnSurfaceFocused};
281
+ opacity: ${hs.opacityContentOnSurfaceFocused};
282
282
  }
283
283
 
284
284
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
285
- opacity: ${ds.opacityContentOnSurfacePressed};
285
+ opacity: ${hs.opacityContentOnSurfacePressed};
286
286
  transform: translate(-50%, -50%) scale(1);
287
287
  }
288
- `;const xs=ve.extend("--ft-typography-font-family","",Or.titleFont),Os=ve.extend("--ft-typography-font-family","",Or.contentFont),ws={fontFamily:Os,fontSize:ve.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ve.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ve.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ve.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ve.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ss=ve.extend("--ft-typography-title-font-family","",xs),Cs=ve.extend("--ft-typography-title-font-size","",ws.fontSize,"20px"),Ns=ve.extend("--ft-typography-title-font-weight","",ws.fontWeight,"normal"),Es=ve.extend("--ft-typography-title-letter-spacing","",ws.letterSpacing,"0.15px"),Is=ve.extend("--ft-typography-title-line-height","",ws.lineHeight,"1.2"),$s=ve.extend("--ft-typography-title-text-transform","",ws.textTransform,"inherit"),Rs=ve.extend("--ft-typography-title-dense-font-family","",xs),ks=ve.extend("--ft-typography-title-dense-font-size","",ws.fontSize,"14px"),Ls=ve.extend("--ft-typography-title-dense-font-weight","",ws.fontWeight,"normal"),Us=ve.extend("--ft-typography-title-dense-letter-spacing","",ws.letterSpacing,"0.105px"),Ws=ve.extend("--ft-typography-title-dense-line-height","",ws.lineHeight,"1.7"),zs=ve.extend("--ft-typography-title-dense-text-transform","",ws.textTransform,"inherit"),Bs=ve.extend("--ft-typography-subtitle1-font-family","",Os),Fs=ve.extend("--ft-typography-subtitle1-font-size","",ws.fontSize,"16px"),As=ve.extend("--ft-typography-subtitle1-font-weight","",ws.fontWeight,"600"),js=ve.extend("--ft-typography-subtitle1-letter-spacing","",ws.letterSpacing,"0.144px"),Ps=ve.extend("--ft-typography-subtitle1-line-height","",ws.lineHeight,"1.5"),_s=ve.extend("--ft-typography-subtitle1-text-transform","",ws.textTransform,"inherit"),Ms=ve.extend("--ft-typography-subtitle2-font-family","",Os),Zs=ve.extend("--ft-typography-subtitle2-font-size","",ws.fontSize,"14px"),Ks=ve.extend("--ft-typography-subtitle2-font-weight","",ws.fontWeight,"normal"),Ds=ve.extend("--ft-typography-subtitle2-letter-spacing","",ws.letterSpacing,"0.098px"),Hs=ve.extend("--ft-typography-subtitle2-line-height","",ws.lineHeight,"1.7"),Ts=ve.extend("--ft-typography-subtitle2-text-transform","",ws.textTransform,"inherit"),Gs=ve.extend("--ft-typography-body1-font-family","",Os),Vs=ve.extend("--ft-typography-body1-font-size","",ws.fontSize,"16px"),qs=ve.extend("--ft-typography-body1-font-weight","",ws.fontWeight,"normal"),Ys=ve.extend("--ft-typography-body1-letter-spacing","",ws.letterSpacing,"0.496px"),Js=ve.extend("--ft-typography-body1-line-height","",ws.lineHeight,"1.5"),Xs=ve.extend("--ft-typography-body1-text-transform","",ws.textTransform,"inherit"),Qs=ve.extend("--ft-typography-body2-font-family","",Os),tl=ve.extend("--ft-typography-body2-font-size","",ws.fontSize,"14px"),ol=ve.extend("--ft-typography-body2-font-weight","",ws.fontWeight,"normal"),el=ve.extend("--ft-typography-body2-letter-spacing","",ws.letterSpacing,"0.252px"),rl=ve.extend("--ft-typography-body2-line-height","",ws.lineHeight,"1.4"),il=ve.extend("--ft-typography-body2-text-transform","",ws.textTransform,"inherit"),nl=ve.extend("--ft-typography-caption-font-family","",Os),al=ve.extend("--ft-typography-caption-font-size","",ws.fontSize,"12px"),sl=ve.extend("--ft-typography-caption-font-weight","",ws.fontWeight,"normal"),ll=ve.extend("--ft-typography-caption-letter-spacing","",ws.letterSpacing,"0.396px"),cl=ve.extend("--ft-typography-caption-line-height","",ws.lineHeight,"1.33"),fl=ve.extend("--ft-typography-caption-text-transform","",ws.textTransform,"inherit"),pl=ve.extend("--ft-typography-breadcrumb-font-family","",Os),dl=ve.extend("--ft-typography-breadcrumb-font-size","",ws.fontSize,"10px"),hl=ve.extend("--ft-typography-breadcrumb-font-weight","",ws.fontWeight,"normal"),ul=ve.extend("--ft-typography-breadcrumb-letter-spacing","",ws.letterSpacing,"0.33px"),yl=ve.extend("--ft-typography-breadcrumb-line-height","",ws.lineHeight,"1.6"),gl=ve.extend("--ft-typography-breadcrumb-text-transform","",ws.textTransform,"inherit"),bl=ve.extend("--ft-typography-overline-font-family","",Os),ml=ve.extend("--ft-typography-overline-font-size","",ws.fontSize,"10px"),vl=ve.extend("--ft-typography-overline-font-weight","",ws.fontWeight,"normal"),xl=ve.extend("--ft-typography-overline-letter-spacing","",ws.letterSpacing,"1.5px"),Ol=ve.extend("--ft-typography-overline-line-height","",ws.lineHeight,"1.6"),wl=ve.extend("--ft-typography-overline-text-transform","",ws.textTransform,"uppercase"),Sl={fontFamily:ve.extend("--ft-typography-button-font-family","",Os),fontSize:ve.extend("--ft-typography-button-font-size","",ws.fontSize,"14px"),fontWeight:ve.extend("--ft-typography-button-font-weight","",ws.fontWeight,"600"),letterSpacing:ve.extend("--ft-typography-button-letter-spacing","",ws.letterSpacing,"1.246px"),lineHeight:ve.extend("--ft-typography-button-line-height","",ws.lineHeight,"1.15"),textTransform:ve.extend("--ft-typography-button-text-transform","",ws.textTransform,"uppercase")},Cl=dt`
288
+ `;const Os=ve.extend("--ft-typography-font-family","",Or.titleFont),ws=ve.extend("--ft-typography-font-family","",Or.contentFont),Ss={fontFamily:ws,fontSize:ve.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ve.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ve.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ve.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ve.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Cs=ve.extend("--ft-typography-title-font-family","",Os),Ns=ve.extend("--ft-typography-title-font-size","",Ss.fontSize,"20px"),Es=ve.extend("--ft-typography-title-font-weight","",Ss.fontWeight,"normal"),Is=ve.extend("--ft-typography-title-letter-spacing","",Ss.letterSpacing,"0.15px"),$s=ve.extend("--ft-typography-title-line-height","",Ss.lineHeight,"1.2"),Rs=ve.extend("--ft-typography-title-text-transform","",Ss.textTransform,"inherit"),ks=ve.extend("--ft-typography-title-dense-font-family","",Os),Ls=ve.extend("--ft-typography-title-dense-font-size","",Ss.fontSize,"14px"),Us=ve.extend("--ft-typography-title-dense-font-weight","",Ss.fontWeight,"normal"),Ws=ve.extend("--ft-typography-title-dense-letter-spacing","",Ss.letterSpacing,"0.105px"),zs=ve.extend("--ft-typography-title-dense-line-height","",Ss.lineHeight,"1.7"),Bs=ve.extend("--ft-typography-title-dense-text-transform","",Ss.textTransform,"inherit"),Fs=ve.extend("--ft-typography-subtitle1-font-family","",ws),As=ve.extend("--ft-typography-subtitle1-font-size","",Ss.fontSize,"16px"),js=ve.extend("--ft-typography-subtitle1-font-weight","",Ss.fontWeight,"600"),Ps=ve.extend("--ft-typography-subtitle1-letter-spacing","",Ss.letterSpacing,"0.144px"),_s=ve.extend("--ft-typography-subtitle1-line-height","",Ss.lineHeight,"1.5"),Ms=ve.extend("--ft-typography-subtitle1-text-transform","",Ss.textTransform,"inherit"),Zs=ve.extend("--ft-typography-subtitle2-font-family","",ws),Ks=ve.extend("--ft-typography-subtitle2-font-size","",Ss.fontSize,"14px"),Ds=ve.extend("--ft-typography-subtitle2-font-weight","",Ss.fontWeight,"normal"),Hs=ve.extend("--ft-typography-subtitle2-letter-spacing","",Ss.letterSpacing,"0.098px"),Ts=ve.extend("--ft-typography-subtitle2-line-height","",Ss.lineHeight,"1.7"),Gs=ve.extend("--ft-typography-subtitle2-text-transform","",Ss.textTransform,"inherit"),Vs=ve.extend("--ft-typography-body1-font-family","",ws),qs=ve.extend("--ft-typography-body1-font-size","",Ss.fontSize,"16px"),Ys=ve.extend("--ft-typography-body1-font-weight","",Ss.fontWeight,"normal"),Js=ve.extend("--ft-typography-body1-letter-spacing","",Ss.letterSpacing,"0.496px"),Xs=ve.extend("--ft-typography-body1-line-height","",Ss.lineHeight,"1.5"),Qs=ve.extend("--ft-typography-body1-text-transform","",Ss.textTransform,"inherit"),tl=ve.extend("--ft-typography-body2-font-family","",ws),ol=ve.extend("--ft-typography-body2-font-size","",Ss.fontSize,"14px"),el=ve.extend("--ft-typography-body2-font-weight","",Ss.fontWeight,"normal"),rl=ve.extend("--ft-typography-body2-letter-spacing","",Ss.letterSpacing,"0.252px"),il=ve.extend("--ft-typography-body2-line-height","",Ss.lineHeight,"1.4"),nl=ve.extend("--ft-typography-body2-text-transform","",Ss.textTransform,"inherit"),al=ve.extend("--ft-typography-caption-font-family","",ws),sl=ve.extend("--ft-typography-caption-font-size","",Ss.fontSize,"12px"),ll=ve.extend("--ft-typography-caption-font-weight","",Ss.fontWeight,"normal"),cl=ve.extend("--ft-typography-caption-letter-spacing","",Ss.letterSpacing,"0.396px"),fl=ve.extend("--ft-typography-caption-line-height","",Ss.lineHeight,"1.33"),pl=ve.extend("--ft-typography-caption-text-transform","",Ss.textTransform,"inherit"),dl=ve.extend("--ft-typography-breadcrumb-font-family","",ws),hl=ve.extend("--ft-typography-breadcrumb-font-size","",Ss.fontSize,"10px"),ul=ve.extend("--ft-typography-breadcrumb-font-weight","",Ss.fontWeight,"normal"),yl=ve.extend("--ft-typography-breadcrumb-letter-spacing","",Ss.letterSpacing,"0.33px"),gl=ve.extend("--ft-typography-breadcrumb-line-height","",Ss.lineHeight,"1.6"),bl=ve.extend("--ft-typography-breadcrumb-text-transform","",Ss.textTransform,"inherit"),ml=ve.extend("--ft-typography-overline-font-family","",ws),vl=ve.extend("--ft-typography-overline-font-size","",Ss.fontSize,"10px"),xl=ve.extend("--ft-typography-overline-font-weight","",Ss.fontWeight,"normal"),Ol=ve.extend("--ft-typography-overline-letter-spacing","",Ss.letterSpacing,"1.5px"),wl=ve.extend("--ft-typography-overline-line-height","",Ss.lineHeight,"1.6"),Sl=ve.extend("--ft-typography-overline-text-transform","",Ss.textTransform,"uppercase"),Cl={fontFamily:ve.extend("--ft-typography-button-font-family","",ws),fontSize:ve.extend("--ft-typography-button-font-size","",Ss.fontSize,"14px"),fontWeight:ve.extend("--ft-typography-button-font-weight","",Ss.fontWeight,"600"),letterSpacing:ve.extend("--ft-typography-button-letter-spacing","",Ss.letterSpacing,"1.246px"),lineHeight:ve.extend("--ft-typography-button-line-height","",Ss.lineHeight,"1.15"),textTransform:ve.extend("--ft-typography-button-text-transform","",Ss.textTransform,"uppercase")},Nl=dt`
289
289
  .ft-typography--title {
290
- font-family: ${Ss};
291
- font-size: ${Cs};
292
- font-weight: ${Ns};
293
- letter-spacing: ${Es};
294
- line-height: ${Is};
295
- text-transform: ${$s};
290
+ font-family: ${Cs};
291
+ font-size: ${Ns};
292
+ font-weight: ${Es};
293
+ letter-spacing: ${Is};
294
+ line-height: ${$s};
295
+ text-transform: ${Rs};
296
296
  }
297
- `,Nl=dt`
297
+ `,El=dt`
298
298
  .ft-typography--title-dense {
299
- font-family: ${Rs};
300
- font-size: ${ks};
301
- font-weight: ${Ls};
302
- letter-spacing: ${Us};
303
- line-height: ${Ws};
304
- text-transform: ${zs};
299
+ font-family: ${ks};
300
+ font-size: ${Ls};
301
+ font-weight: ${Us};
302
+ letter-spacing: ${Ws};
303
+ line-height: ${zs};
304
+ text-transform: ${Bs};
305
305
  }
306
- `,El=dt`
306
+ `,Il=dt`
307
307
  .ft-typography--subtitle1 {
308
- font-family: ${Bs};
309
- font-size: ${Fs};
310
- font-weight: ${As};
311
- letter-spacing: ${js};
312
- line-height: ${Ps};
313
- text-transform: ${_s};
308
+ font-family: ${Fs};
309
+ font-size: ${As};
310
+ font-weight: ${js};
311
+ letter-spacing: ${Ps};
312
+ line-height: ${_s};
313
+ text-transform: ${Ms};
314
314
  }
315
- `,Il=dt`
315
+ `,$l=dt`
316
316
  .ft-typography--subtitle2 {
317
- font-family: ${Ms};
318
- font-size: ${Zs};
319
- font-weight: ${Ks};
320
- letter-spacing: ${Ds};
321
- line-height: ${Hs};
322
- text-transform: ${Ts};
317
+ font-family: ${Zs};
318
+ font-size: ${Ks};
319
+ font-weight: ${Ds};
320
+ letter-spacing: ${Hs};
321
+ line-height: ${Ts};
322
+ text-transform: ${Gs};
323
323
  }
324
324
 
325
- `,$l=dt`
325
+ `,Rl=dt`
326
326
  .ft-typography--body1 {
327
- font-family: ${Gs};
328
- font-size: ${Vs};
329
- font-weight: ${qs};
330
- letter-spacing: ${Ys};
331
- line-height: ${Js};
332
- text-transform: ${Xs};
327
+ font-family: ${Vs};
328
+ font-size: ${qs};
329
+ font-weight: ${Ys};
330
+ letter-spacing: ${Js};
331
+ line-height: ${Xs};
332
+ text-transform: ${Qs};
333
333
  }
334
- `,Rl=dt`
334
+ `,kl=dt`
335
335
  .ft-typography--body2 {
336
- font-family: ${Qs};
337
- font-size: ${tl};
338
- font-weight: ${ol};
339
- letter-spacing: ${el};
340
- line-height: ${rl};
341
- text-transform: ${il};
336
+ font-family: ${tl};
337
+ font-size: ${ol};
338
+ font-weight: ${el};
339
+ letter-spacing: ${rl};
340
+ line-height: ${il};
341
+ text-transform: ${nl};
342
342
  }
343
- `,kl=dt`
343
+ `,Ll=dt`
344
344
  .ft-typography--caption {
345
- font-family: ${nl};
346
- font-size: ${al};
347
- font-weight: ${sl};
348
- letter-spacing: ${ll};
349
- line-height: ${cl};
350
- text-transform: ${fl};
345
+ font-family: ${al};
346
+ font-size: ${sl};
347
+ font-weight: ${ll};
348
+ letter-spacing: ${cl};
349
+ line-height: ${fl};
350
+ text-transform: ${pl};
351
351
  }
352
- `,Ll=dt`
352
+ `,Ul=dt`
353
353
  .ft-typography--breadcrumb {
354
- font-family: ${pl};
355
- font-size: ${dl};
356
- font-weight: ${hl};
357
- letter-spacing: ${ul};
358
- line-height: ${yl};
359
- text-transform: ${gl};
354
+ font-family: ${dl};
355
+ font-size: ${hl};
356
+ font-weight: ${ul};
357
+ letter-spacing: ${yl};
358
+ line-height: ${gl};
359
+ text-transform: ${bl};
360
360
  }
361
- `,Ul=dt`
361
+ `,Wl=dt`
362
362
  .ft-typography--overline {
363
- font-family: ${bl};
364
- font-size: ${ml};
365
- font-weight: ${vl};
366
- letter-spacing: ${xl};
367
- line-height: ${Ol};
368
- text-transform: ${wl};
363
+ font-family: ${ml};
364
+ font-size: ${vl};
365
+ font-weight: ${xl};
366
+ letter-spacing: ${Ol};
367
+ line-height: ${wl};
368
+ text-transform: ${Sl};
369
369
  }
370
- `,Wl=dt`
370
+ `,zl=dt`
371
371
  .ft-typography--button {
372
- font-family: ${Sl.fontFamily};
373
- font-size: ${Sl.fontSize};
374
- font-weight: ${Sl.fontWeight};
375
- letter-spacing: ${Sl.letterSpacing};
376
- line-height: ${Sl.lineHeight};
377
- text-transform: ${Sl.textTransform};
372
+ font-family: ${Cl.fontFamily};
373
+ font-size: ${Cl.fontSize};
374
+ font-weight: ${Cl.fontWeight};
375
+ letter-spacing: ${Cl.letterSpacing};
376
+ line-height: ${Cl.lineHeight};
377
+ text-transform: ${Cl.textTransform};
378
378
  }
379
- `,zl=dt`
379
+ `,Bl=dt`
380
380
  .ft-typography {
381
381
  vertical-align: inherit;
382
382
  }
383
- `,Bl=[Object.keys(Ve).map((t=>function(t){const o=Ve[t];return dt`
383
+ `,Fl=[Object.keys(Ve).map((t=>function(t){const o=Ve[t];return dt`
384
384
  .ft-typography--${pt(t)} {
385
385
  font-family: ${o.fontFamily};
386
386
  font-size: ${o.fontSize};
@@ -389,7 +389,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
389
389
  line-height: ${o.lineHeight};
390
390
  text-transform: ${o.textCase};
391
391
  }
392
- `}(t)))],Fl={color:ve.extend("--ft-loader-color","",Or.colorPrimary),size:ve.create("--ft-loader-size","","SIZE","80px")},Al=dt`
392
+ `}(t)))],Al={color:ve.extend("--ft-loader-color","",Or.colorPrimary),size:ve.create("--ft-loader-size","","SIZE","80px")},jl=dt`
393
393
  :host {
394
394
  line-height: 0;
395
395
  }
@@ -398,8 +398,8 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
398
398
  display: inline-block;
399
399
  position: relative;
400
400
 
401
- width: ${Fl.size};
402
- height: ${Fl.size};
401
+ width: ${Al.size};
402
+ height: ${Al.size};
403
403
  }
404
404
 
405
405
  .ft-loader div {
@@ -408,7 +408,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
408
408
  width: 25%;
409
409
  height: 25%;
410
410
  border-radius: 50%;
411
- background: ${Fl.color};
411
+ background: ${Al.color};
412
412
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
413
413
  }
414
414
 
@@ -455,10 +455,10 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
455
455
  transform: translate(0, 0);
456
456
  }
457
457
  100% {
458
- transform: translate(calc(0.35 * ${Fl.size}), 0);
458
+ transform: translate(calc(0.35 * ${Al.size}), 0);
459
459
  }
460
460
  }
461
- `,jl={size:ve.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ve.extend("--ft-icon-fluid-topics-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ve.extend("--ft-icon-file-format-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ve.extend("--ft-icon-material-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ve.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Pl=dt`
461
+ `,Pl={size:ve.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ve.extend("--ft-icon-fluid-topics-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ve.extend("--ft-icon-file-format-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ve.extend("--ft-icon-material-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ve.create("--ft-icon-vertical-align","","UNKNOWN","unset")},_l=dt`
462
462
  :host, i.ft-icon {
463
463
  display: inline-flex;
464
464
  align-items: center;
@@ -467,14 +467,14 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
467
467
  }
468
468
 
469
469
  :host {
470
- width: ${jl.size};
471
- height: ${jl.size};
470
+ width: ${Pl.size};
471
+ height: ${Pl.size};
472
472
  }
473
473
 
474
474
  i.ft-icon {
475
475
  width: 100%;
476
476
  height: 100%;
477
- font-size: ${jl.size};
477
+ font-size: ${Pl.size};
478
478
  line-height: 1;
479
479
  font-weight: normal;
480
480
  text-transform: none;
@@ -485,28 +485,28 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
485
485
  text-rendering: auto;
486
486
  -webkit-font-smoothing: antialiased;
487
487
  -moz-osx-font-smoothing: grayscale;
488
- vertical-align: ${jl.verticalAlign};
488
+ vertical-align: ${Pl.verticalAlign};
489
489
  }
490
490
 
491
491
  i.ft-icon.ft-icon--fluid-topics {
492
- font-family: ${jl.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
492
+ font-family: ${Pl.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
493
493
 
494
494
  /* Ugly fix because font is broken */
495
- font-size: calc(0.75 * ${jl.size});
496
- line-height: ${jl.size};
495
+ font-size: calc(0.75 * ${Pl.size});
496
+ line-height: ${Pl.size};
497
497
  position: relative;
498
498
  top: -4%;
499
499
  justify-content: center;
500
500
  }
501
501
 
502
502
  .ft-icon--file-format {
503
- font-family: ${jl.fileFormatFontFamily}, ft-mime, sans-serif;
503
+ font-family: ${Pl.fileFormatFontFamily}, ft-mime, sans-serif;
504
504
  }
505
505
 
506
506
  .ft-icon--material {
507
- font-family: ${jl.materialFontFamily}, "Material Icons", sans-serif;
507
+ font-family: ${Pl.materialFontFamily}, "Material Icons", sans-serif;
508
508
  }
509
- `,_l=ve.extend("--ft-button-color","",Or.colorPrimary),Ml={backgroundColor:ve.extend("--ft-button-background-color","",Or.colorSurface),borderRadius:ve.extend("--ft-button-border-radius","",Or.borderRadiusL),color:_l,fontSize:ve.extend("--ft-button-font-size","",Sl.fontSize),iconSize:ve.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:ve.extend("--ft-button-ripple-color","",_l),verticalPadding:ve.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:ve.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:ve.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:ve.external(Or.colorOpacityDisabled,"Design system")},Zl=ve.extend("--ft-button-primary-color","",ve.extend("--ft-button-color","",Or.colorOnPrimary)),Kl={backgroundColor:ve.extend("--ft-button-primary-background-color","",ve.extend("--ft-button-background-color","",Or.colorPrimary)),color:Zl,rippleColor:ve.extend("--ft-button-primary-ripple-color","",Zl)},Dl=ve.extend("--ft-button-dense-border-radius","",ve.extend("--ft-button-border-radius","",Or.borderRadiusM)),Hl=ve.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Tl=ve.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Gl=ve.create("--ft-button-dense-icon-padding","","SIZE","4px"),Vl=[dt`
509
+ `,Ml=ve.extend("--ft-button-color","",Or.colorPrimary),Zl={backgroundColor:ve.extend("--ft-button-background-color","",Or.colorSurface),borderRadius:ve.extend("--ft-button-border-radius","",Or.borderRadiusL),color:Ml,fontSize:ve.extend("--ft-button-font-size","",Cl.fontSize),iconSize:ve.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:ve.extend("--ft-button-ripple-color","",Ml),verticalPadding:ve.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:ve.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:ve.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:ve.external(Or.colorOpacityDisabled,"Design system")},Kl=ve.extend("--ft-button-primary-color","",ve.extend("--ft-button-color","",Or.colorOnPrimary)),Dl={backgroundColor:ve.extend("--ft-button-primary-background-color","",ve.extend("--ft-button-background-color","",Or.colorPrimary)),color:Kl,rippleColor:ve.extend("--ft-button-primary-ripple-color","",Kl)},Hl=ve.extend("--ft-button-dense-border-radius","",ve.extend("--ft-button-border-radius","",Or.borderRadiusM)),Tl=ve.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Gl=ve.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Vl=ve.create("--ft-button-dense-icon-padding","","SIZE","4px"),ql=[dt`
510
510
  :host {
511
511
  display: inline-block;
512
512
  max-width: 100%;
@@ -517,7 +517,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
517
517
  box-shadow: 0px 0px 0px transparent;
518
518
  border: 0px solid transparent;
519
519
  text-shadow: 0px 0px 0px transparent;
520
- font-size: ${Ml.fontSize};
520
+ font-size: ${Zl.fontSize};
521
521
  }
522
522
 
523
523
  button:hover {
@@ -546,31 +546,31 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
546
546
  border: none;
547
547
  pointer-events: auto;
548
548
 
549
- --ft-button-internal-line-height: max(calc(${Ml.fontSize} + 2px), ${Ml.iconSize});
550
- --ft-button-internal-color: ${Ml.color};
551
- ${xe(jl.size,Ml.iconSize)};
552
- ${xe(ds.color,Ml.rippleColor)};
549
+ --ft-button-internal-line-height: max(calc(${Zl.fontSize} + 2px), ${Zl.iconSize});
550
+ --ft-button-internal-color: ${Zl.color};
551
+ ${xe(Pl.size,Zl.iconSize)};
552
+ ${xe(hs.color,Zl.rippleColor)};
553
553
 
554
- border-radius: ${Ml.borderRadius};
555
- padding: ${Ml.verticalPadding} ${Ml.horizontalPadding};
556
- background-color: ${Ml.backgroundColor};
554
+ border-radius: ${Zl.borderRadius};
555
+ padding: ${Zl.verticalPadding} ${Zl.horizontalPadding};
556
+ background-color: ${Zl.backgroundColor};
557
557
  color: var(--ft-button-internal-color);
558
558
  -webkit-mask-image: radial-gradient(white, black);
559
559
  }
560
560
 
561
561
  .ft-button.ft-button--outlined {
562
562
  border: 1px solid var(--ft-button-internal-color);
563
- padding: calc(${Ml.verticalPadding} - 1px) calc(${Ml.horizontalPadding} - 1px);
563
+ padding: calc(${Zl.verticalPadding} - 1px) calc(${Zl.horizontalPadding} - 1px);
564
564
  }
565
565
 
566
566
  .ft-button.ft-button--dense {
567
- padding: ${Hl} ${Tl};
568
- border-radius: ${Dl};
569
- gap: ${Gl};
567
+ padding: ${Tl} ${Gl};
568
+ border-radius: ${Hl};
569
+ gap: ${Vl};
570
570
  }
571
571
 
572
572
  .ft-button.ft-button--dense.ft-button--outlined {
573
- padding: calc(${Hl} - 1px) calc(${Tl} - 1px);
573
+ padding: calc(${Tl} - 1px) calc(${Gl} - 1px);
574
574
  }
575
575
 
576
576
  .ft-button:not([disabled]):hover {
@@ -578,22 +578,22 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
578
578
  }
579
579
 
580
580
  .ft-button--round {
581
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ml.verticalPadding});
581
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Zl.verticalPadding});
582
582
  }
583
583
 
584
584
  .ft-button--round.ft-button--dense {
585
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Hl});
585
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Tl});
586
586
  }
587
587
 
588
588
  .ft-button[disabled] {
589
589
  filter: grayscale(1);
590
- opacity: ${Ml.opacityDisabled};
590
+ opacity: ${Zl.opacityDisabled};
591
591
  }
592
592
 
593
593
  .ft-button.ft-button--primary {
594
- background-color: ${Kl.backgroundColor};
595
- --ft-button-internal-color: ${Kl.color};
596
- ${xe(ds.color,Kl.rippleColor)};
594
+ background-color: ${Dl.backgroundColor};
595
+ --ft-button-internal-color: ${Dl.color};
596
+ ${xe(hs.color,Dl.rippleColor)};
597
597
  }
598
598
 
599
599
  .ft-button:focus {
@@ -606,13 +606,13 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
606
606
  white-space: nowrap;
607
607
  text-overflow: ellipsis;
608
608
  display: block;
609
- margin: 0 ${Ml.iconPadding};
610
- ${xe(Sl.fontSize,"1em")};
611
- ${xe(Sl.lineHeight,"var(--ft-button-internal-line-height)")};
609
+ margin: 0 ${Zl.iconPadding};
610
+ ${xe(Cl.fontSize,"1em")};
611
+ ${xe(Cl.lineHeight,"var(--ft-button-internal-line-height)")};
612
612
  }
613
613
 
614
614
  .ft-button--dense .ft-button--label {
615
- margin: 0 ${Gl};
615
+ margin: 0 ${Vl};
616
616
  }
617
617
 
618
618
  .ft-button--label[hidden] {
@@ -625,13 +625,13 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
625
625
  }
626
626
 
627
627
  .ft-button--label[hidden] + ft-icon {
628
- margin: 0 calc(${Ml.horizontalPadding} * -1);
629
- padding: 0 ${Ml.verticalPadding};
628
+ margin: 0 calc(${Zl.horizontalPadding} * -1);
629
+ padding: 0 ${Zl.verticalPadding};
630
630
  }
631
631
 
632
632
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
633
- margin: 0 calc(${Tl} * -1);
634
- padding: 0 ${Hl};
633
+ margin: 0 calc(${Gl} * -1);
634
+ padding: 0 ${Tl};
635
635
  }
636
636
 
637
637
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -640,10 +640,10 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
640
640
  }
641
641
 
642
642
  ft-loader {
643
- ${xe(Fl.size,Ml.iconSize)};
644
- ${xe(Fl.color,"var(--ft-button-internal-color)")};
643
+ ${xe(Al.size,Zl.iconSize)};
644
+ ${xe(Al.color,"var(--ft-button-internal-color)")};
645
645
  }
646
- `,Vi];var ql=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Yl extends Pi{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new se(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new se(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Jt`
646
+ `,qi];var Yl=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Jl extends Pi{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new se(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new se(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Jt`
647
647
  <style>
648
648
  .ft-ripple .ft-ripple--effect {
649
649
  left: ${this.originX}px;
@@ -654,20 +654,20 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
654
654
  <div class="ft-ripple--background"></div>
655
655
  <div class="ft-ripple--effect"></div>
656
656
  </div>
657
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Yl.elementDefinitions={},Yl.styles=vs,ql([So({type:Boolean})],Yl.prototype,"primary",void 0),ql([So({type:Boolean})],Yl.prototype,"secondary",void 0),ql([So({type:Boolean})],Yl.prototype,"unbounded",void 0),ql([So({type:Boolean})],Yl.prototype,"activated",void 0),ql([So({type:Boolean})],Yl.prototype,"selected",void 0),ql([So({type:Boolean})],Yl.prototype,"disabled",void 0),ql([Co()],Yl.prototype,"hovered",void 0),ql([Co()],Yl.prototype,"focused",void 0),ql([Co()],Yl.prototype,"pressed",void 0),ql([Co()],Yl.prototype,"rippling",void 0),ql([Co()],Yl.prototype,"originX",void 0),ql([Co()],Yl.prototype,"originY",void 0),ql([Io(".ft-ripple")],Yl.prototype,"ripple",void 0),ql([Io(".ft-ripple--effect")],Yl.prototype,"rippleEffect",void 0),ue("ft-ripple")(Yl);
657
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Jl.elementDefinitions={},Jl.styles=xs,Yl([So({type:Boolean})],Jl.prototype,"primary",void 0),Yl([So({type:Boolean})],Jl.prototype,"secondary",void 0),Yl([So({type:Boolean})],Jl.prototype,"unbounded",void 0),Yl([So({type:Boolean})],Jl.prototype,"activated",void 0),Yl([So({type:Boolean})],Jl.prototype,"selected",void 0),Yl([So({type:Boolean})],Jl.prototype,"disabled",void 0),Yl([Co()],Jl.prototype,"hovered",void 0),Yl([Co()],Jl.prototype,"focused",void 0),Yl([Co()],Jl.prototype,"pressed",void 0),Yl([Co()],Jl.prototype,"rippling",void 0),Yl([Co()],Jl.prototype,"originX",void 0),Yl([Co()],Jl.prototype,"originY",void 0),Yl([Io(".ft-ripple")],Jl.prototype,"ripple",void 0),Yl([Io(".ft-ripple--effect")],Jl.prototype,"rippleEffect",void 0),ue("ft-ripple")(Jl);
658
658
  /**
659
659
  * @license
660
660
  * Copyright 2020 Google LLC
661
661
  * SPDX-License-Identifier: BSD-3-Clause
662
662
  */
663
- const Jl=Symbol.for(""),Xl=t=>{if(t?.r===Jl)return t?._$litStatic$},Ql=t=>({_$litStatic$:t,r:Jl}),tc=new Map,oc=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],s=[];let l,c=0,f=!1;for(;c<r;){for(l=o[c];c<r&&void 0!==(n=e[c],i=Xl(n));)l+=i+o[++c],f=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=tc.get(t))&&(a.raw=a,tc.set(t,o=a)),e=s}return t(o,...e)})(Z);var ec;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(ec||(ec={}));var rc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ic extends Pi{constructor(){super(...arguments),this.variant=ec.body1}render(){return this.element?oc`
664
- <${Ql(this.element)}
663
+ const Xl=Symbol.for(""),Ql=t=>{if(t?.r===Xl)return t?._$litStatic$},tc=t=>({_$litStatic$:t,r:Xl}),oc=new Map,ec=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],s=[];let l,c=0,f=!1;for(;c<r;){for(l=o[c];c<r&&void 0!==(n=e[c],i=Ql(n));)l+=i+o[++c],f=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=oc.get(t))&&(a.raw=a,oc.set(t,o=a)),e=s}return t(o,...e)})(Z);var rc;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(rc||(rc={}));var ic=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class nc extends Pi{constructor(){super(...arguments),this.variant=rc.body1}render(){return this.element?ec`
664
+ <${tc(this.element)}
665
665
  class="ft-typography ft-typography--${this.variant}">
666
666
  <slot></slot>
667
- </${Ql(this.element)}>
668
- `:oc`
667
+ </${tc(this.element)}>
668
+ `:ec`
669
669
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
670
- `}}ic.styles=[Cl,Nl,El,Il,$l,Rl,kl,Ll,Ul,Wl,zl,...Bl],rc([So()],ic.prototype,"element",void 0),rc([So()],ic.prototype,"variant",void 0),ue("ft-typography")(ic);const nc=ve.create("--ft-tooltip-distance","","SIZE","4px"),ac=ve.create("--ft-tooltip-color","","COLOR","#FFFFFF"),sc=ve.create("--ft-tooltip-background-color","","COLOR","#666666"),lc=ve.create("--ft-tooltip-z-index","","NUMBER","100"),cc=ve.external(Or.borderRadiusS,"Design system"),fc=ve.create("--ft-tooltip-max-width","","SIZE","150px"),pc=dt`
670
+ `}}nc.styles=[Nl,El,Il,$l,Rl,kl,Ll,Ul,Wl,zl,Bl,...Fl],ic([So()],nc.prototype,"element",void 0),ic([So()],nc.prototype,"variant",void 0),ue("ft-typography")(nc);const ac=ve.create("--ft-tooltip-distance","","SIZE","4px"),sc=ve.create("--ft-tooltip-color","","COLOR","#FFFFFF"),lc=ve.create("--ft-tooltip-background-color","","COLOR","#666666"),cc=ve.create("--ft-tooltip-z-index","","NUMBER","100"),fc=ve.external(Or.borderRadiusS,"Design system"),pc=ve.create("--ft-tooltip-max-width","","SIZE","150px"),dc=dt`
671
671
  .ft-tooltip--container {
672
672
  display: block;
673
673
  }
@@ -682,21 +682,21 @@ const Jl=Symbol.for(""),Xl=t=>{if(t?.r===Jl)return t?._$litStatic$},Ql=t=>({_$li
682
682
  box-sizing: border-box;
683
683
  overflow: hidden;
684
684
  width: max-content;
685
- max-width: ${fc};
685
+ max-width: ${pc};
686
686
  text-align: center;
687
- padding: ${nc};
688
- z-index: ${lc};
687
+ padding: ${ac};
688
+ z-index: ${cc};
689
689
  }
690
690
 
691
691
  .ft-tooltip--content {
692
692
  padding: 4px 8px;
693
- border-radius: ${cc};
694
- background-color: ${sc};
695
- color: ${ac};
693
+ border-radius: ${fc};
694
+ background-color: ${lc};
695
+ color: ${sc};
696
696
  position: relative;
697
697
  word-break: break-word;
698
698
  }
699
- `;var dc,hc,uc,yc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gc extends Pi{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new se,this.revealDebouncer=new se}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
699
+ `;var hc,uc,yc,gc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bc extends Pi{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new se,this.revealDebouncer=new se}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
700
700
  <div part="container"
701
701
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
702
702
  @mouseenter=${this.onHover}
@@ -714,19 +714,19 @@ const Jl=Symbol.for(""),Xl=t=>{if(t?.r===Jl)return t?._$litStatic$},Ql=t=>({_$li
714
714
  </div>
715
715
  </div>
716
716
  </div>
717
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",$i(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}gc.elementDefinitions={"ft-typography":ic},gc.styles=pc,yc([So()],gc.prototype,"text",void 0),yc([So({type:Boolean})],gc.prototype,"manual",void 0),yc([So({type:Boolean})],gc.prototype,"inline",void 0),yc([So({type:Number})],gc.prototype,"delay",void 0),yc([So()],gc.prototype,"position",void 0),yc([Ro()],gc.prototype,"slotNodes",void 0),yc([Io(".ft-tooltip--container")],gc.prototype,"container",void 0),yc([Io(".ft-tooltip")],gc.prototype,"tooltip",void 0),yc([Io(".ft-tooltip--content")],gc.prototype,"tooltipContent",void 0),yc([Co()],gc.prototype,"visible",void 0),yc([No({passive:!0})],gc.prototype,"onTouch",null),yc([No({passive:!0})],gc.prototype,"onHover",null),yc([No({passive:!0})],gc.prototype,"onOut",null),yc([No({passive:!0})],gc.prototype,"onClick",null),ue("ft-tooltip")(gc),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CONSUMER="&#xe97c;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;"}(dc||(dc={})),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;"}(hc||(hc={})),new Map([...["abw"].map((t=>[t,hc.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,hc.AUDIO])),...["avi"].map((t=>[t,hc.AVI])),...["chm","xhs"].map((t=>[t,hc.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,hc.CODE])),...["csv"].map((t=>[t,hc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,hc.DITA])),...["epub"].map((t=>[t,hc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,hc.EXCEL])),...["flac"].map((t=>[t,hc.FLAC])),...["gif"].map((t=>[t,hc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,hc.GZIP])),...["html","htm","xhtml"].map((t=>[t,hc.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,hc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,hc.JPEG])),...["json"].map((t=>[t,hc.JSON])),...["m4a","m4p"].map((t=>[t,hc.M4A])),...["mov","qt"].map((t=>[t,hc.MOV])),...["mp3"].map((t=>[t,hc.MP3])),...["mp4","m4v"].map((t=>[t,hc.MP4])),...["ogg","oga"].map((t=>[t,hc.OGG])),...["pdf","ps"].map((t=>[t,hc.PDF])),...["png"].map((t=>[t,hc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,hc.POWERPOINT])),...["rar"].map((t=>[t,hc.RAR])),...["stp"].map((t=>[t,hc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,hc.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,hc.VIDEO])),...["wav"].map((t=>[t,hc.WAV])),...["wma"].map((t=>[t,hc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,hc.WORD])),...["xml","xsl","rdf"].map((t=>[t,hc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,hc.YAML])),...["zip"].map((t=>[t,hc.ZIP]))]),hc.ABW,hc.AUDIO,hc.AVI,hc.CHM,hc.CODE,hc.CSV,hc.DITA,hc.EPUB,hc.EXCEL,hc.FLAC,hc.GIF,hc.GZIP,hc.HTML,hc.IMAGE,hc.JPEG,hc.JSON,hc.M4A,hc.MOV,hc.MP3,hc.MP4,hc.OGG,hc.PDF,hc.PNG,hc.POWERPOINT,hc.RAR,hc.STP,hc.TEXT,hc.UNKNOWN,hc.VIDEO,hc.WAV,hc.WMA,hc.WORD,hc.XML,hc.YAML,hc.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(uc||(uc={}));var bc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class mc extends Pi{constructor(){super(...arguments),this.resolvedIcon=to}render(){const t=this.variant&&Object.values(uc).includes(this.variant)?this.variant:uc.fluid_topics,o=t!==uc.material||!!this.value;return Jt`
717
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",$i(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}bc.elementDefinitions={"ft-typography":nc},bc.styles=dc,gc([So()],bc.prototype,"text",void 0),gc([So({type:Boolean})],bc.prototype,"manual",void 0),gc([So({type:Boolean})],bc.prototype,"inline",void 0),gc([So({type:Number})],bc.prototype,"delay",void 0),gc([So()],bc.prototype,"position",void 0),gc([Ro()],bc.prototype,"slotNodes",void 0),gc([Io(".ft-tooltip--container")],bc.prototype,"container",void 0),gc([Io(".ft-tooltip")],bc.prototype,"tooltip",void 0),gc([Io(".ft-tooltip--content")],bc.prototype,"tooltipContent",void 0),gc([Co()],bc.prototype,"visible",void 0),gc([No({passive:!0})],bc.prototype,"onTouch",null),gc([No({passive:!0})],bc.prototype,"onHover",null),gc([No({passive:!0})],bc.prototype,"onOut",null),gc([No({passive:!0})],bc.prototype,"onClick",null),ue("ft-tooltip")(bc),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CONSUMER="&#xe97c;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;"}(hc||(hc={})),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;"}(uc||(uc={})),new Map([...["abw"].map((t=>[t,uc.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,uc.AUDIO])),...["avi"].map((t=>[t,uc.AVI])),...["chm","xhs"].map((t=>[t,uc.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,uc.CODE])),...["csv"].map((t=>[t,uc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,uc.DITA])),...["epub"].map((t=>[t,uc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,uc.EXCEL])),...["flac"].map((t=>[t,uc.FLAC])),...["gif"].map((t=>[t,uc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,uc.GZIP])),...["html","htm","xhtml"].map((t=>[t,uc.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,uc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,uc.JPEG])),...["json"].map((t=>[t,uc.JSON])),...["m4a","m4p"].map((t=>[t,uc.M4A])),...["mov","qt"].map((t=>[t,uc.MOV])),...["mp3"].map((t=>[t,uc.MP3])),...["mp4","m4v"].map((t=>[t,uc.MP4])),...["ogg","oga"].map((t=>[t,uc.OGG])),...["pdf","ps"].map((t=>[t,uc.PDF])),...["png"].map((t=>[t,uc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,uc.POWERPOINT])),...["rar"].map((t=>[t,uc.RAR])),...["stp"].map((t=>[t,uc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,uc.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,uc.VIDEO])),...["wav"].map((t=>[t,uc.WAV])),...["wma"].map((t=>[t,uc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,uc.WORD])),...["xml","xsl","rdf"].map((t=>[t,uc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,uc.YAML])),...["zip"].map((t=>[t,uc.ZIP]))]),uc.ABW,uc.AUDIO,uc.AVI,uc.CHM,uc.CODE,uc.CSV,uc.DITA,uc.EPUB,uc.EXCEL,uc.FLAC,uc.GIF,uc.GZIP,uc.HTML,uc.IMAGE,uc.JPEG,uc.JSON,uc.M4A,uc.MOV,uc.MP3,uc.MP4,uc.OGG,uc.PDF,uc.PNG,uc.POWERPOINT,uc.RAR,uc.STP,uc.TEXT,uc.UNKNOWN,uc.VIDEO,uc.WAV,uc.WMA,uc.WORD,uc.XML,uc.YAML,uc.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(yc||(yc={}));var mc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vc extends Pi{constructor(){super(...arguments),this.resolvedIcon=to}render(){const t=this.variant&&Object.values(yc).includes(this.variant)?this.variant:yc.fluid_topics,o=t!==yc.material||!!this.value;return Jt`
718
718
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
719
719
  ${Jo(this.resolvedIcon)}
720
720
  <slot ?hidden=${o}></slot>
721
721
  </i>
722
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case uc.file_format:this.resolvedIcon=null!==(t=hc[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case uc.material:this.resolvedIcon=this.value||to;break;default:this.resolvedIcon=null!==(o=dc[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}mc.elementDefinitions={},mc.styles=Pl,bc([So()],mc.prototype,"variant",void 0),bc([So()],mc.prototype,"value",void 0),bc([Co()],mc.prototype,"resolvedIcon",void 0),bc([Io("slot")],mc.prototype,"slottedContent",void 0),ue("ft-icon")(mc);class vc extends Pi{render(){return Jt`
722
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case yc.file_format:this.resolvedIcon=null!==(t=uc[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case yc.material:this.resolvedIcon=this.value||to;break;default:this.resolvedIcon=null!==(o=hc[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}vc.elementDefinitions={},vc.styles=_l,mc([So()],vc.prototype,"variant",void 0),mc([So()],vc.prototype,"value",void 0),mc([Co()],vc.prototype,"resolvedIcon",void 0),mc([Io("slot")],vc.prototype,"slottedContent",void 0),ue("ft-icon")(vc);class xc extends Pi{render(){return Jt`
723
723
  <div class="ft-loader">
724
724
  <div></div>
725
725
  <div></div>
726
726
  <div></div>
727
727
  <div></div>
728
728
  </div>
729
- `}}vc.styles=Al,ue("ft-loader")(vc);var xc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Oc extends(rs(Pi,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(Jt`
729
+ `}}xc.styles=jl,ue("ft-loader")(xc);var Oc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class wc extends(is(Pi,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(Jt`
730
730
  <button part="button"
731
731
  class="${Do(this.buttonClasses)}"
732
732
  aria-label="${this.getLabel()}"
@@ -735,7 +735,7 @@ const Jl=Symbol.for(""),Xl=t=>{if(t?.r===Jl)return t?._$litStatic$},Ql=t=>({_$li
735
735
  <ft-typography part="label"
736
736
  variant=${this.typographyVariant}
737
737
  element="span"
738
- class="ft-button--label ${cs?"ft-safari-ellipsis-fix":""}"
738
+ class="ft-button--label ${fs?"ft-safari-ellipsis-fix":""}"
739
739
  ?hidden=${!this.hasTextContent()}>
740
740
  <slot @slotchange=${this.onSlotchange}></slot>
741
741
  </ft-typography>
@@ -749,7 +749,7 @@ const Jl=Symbol.for(""),Xl=t=>{if(t?.r===Jl)return t?._$litStatic$},Ql=t=>({_$li
749
749
  </ft-tooltip>
750
750
  `:t}resolveIcon(){return this.loading?Jt`
751
751
  <ft-loader part="loader icon"></ft-loader> `:this.icon?Jt`
752
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:to}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}}Oc.elementDefinitions={"ft-ripple":Yl,"ft-tooltip":gc,"ft-typography":ic,"ft-icon":mc,"ft-loader":vc},xc([So({type:String,reflect:!0})],Oc.prototype,"role",void 0),xc([So()],Oc.prototype,"type",void 0),xc([So({type:Boolean})],Oc.prototype,"disabled",void 0),xc([So()],Oc.prototype,"label",void 0),xc([So()],Oc.prototype,"icon",void 0),xc([So()],Oc.prototype,"iconVariant",void 0),xc([So({type:Boolean})],Oc.prototype,"trailingIcon",void 0),xc([So({type:Boolean})],Oc.prototype,"loading",void 0),xc([So()],Oc.prototype,"tooltipPosition",void 0),xc([So({type:Boolean})],Oc.prototype,"hideTooltip",void 0),xc([So({type:Boolean})],Oc.prototype,"forceTooltip",void 0),xc([Io(".ft-button")],Oc.prototype,"button",void 0),xc([Io(".ft-button--label slot")],Oc.prototype,"slottedContent",void 0);var wc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Sc extends Oc{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Sc.styles=[Yi,Vl],wc([So({type:Boolean})],Sc.prototype,"primary",void 0),wc([So({type:Boolean})],Sc.prototype,"outlined",void 0),wc([So({type:Boolean})],Sc.prototype,"dense",void 0),wc([So({type:Boolean})],Sc.prototype,"round",void 0);const Cc=[dt`
752
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:to}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}}wc.elementDefinitions={"ft-ripple":Jl,"ft-tooltip":bc,"ft-typography":nc,"ft-icon":vc,"ft-loader":xc},Oc([So({type:String,reflect:!0})],wc.prototype,"role",void 0),Oc([So()],wc.prototype,"type",void 0),Oc([So({type:Boolean})],wc.prototype,"disabled",void 0),Oc([So()],wc.prototype,"label",void 0),Oc([So()],wc.prototype,"icon",void 0),Oc([So()],wc.prototype,"iconVariant",void 0),Oc([So({type:Boolean})],wc.prototype,"trailingIcon",void 0),Oc([So({type:Boolean})],wc.prototype,"loading",void 0),Oc([So()],wc.prototype,"tooltipPosition",void 0),Oc([So({type:Boolean})],wc.prototype,"hideTooltip",void 0),Oc([So({type:Boolean})],wc.prototype,"forceTooltip",void 0),Oc([Io(".ft-button")],wc.prototype,"button",void 0),Oc([Io(".ft-button--label slot")],wc.prototype,"slottedContent",void 0);var Sc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Cc extends wc{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Cc.styles=[Ji,ql],Sc([So({type:Boolean})],Cc.prototype,"primary",void 0),Sc([So({type:Boolean})],Cc.prototype,"outlined",void 0),Sc([So({type:Boolean})],Cc.prototype,"dense",void 0),Sc([So({type:Boolean})],Cc.prototype,"round",void 0);const Nc=[dt`
753
753
  :host {
754
754
  display: inline-block;
755
755
  max-width: 100%;
@@ -828,13 +828,13 @@ const Jl=Symbol.for(""),Xl=t=>{if(t?.r===Jl)return t?._$litStatic$},Ql=t=>({_$li
828
828
  /** Primary styles **/
829
829
 
830
830
  .ft-button--primary {
831
- ${xe(Fl.color,Ye.primaryIconColor)};
831
+ ${xe(Al.color,Ye.primaryIconColor)};
832
832
 
833
- ${xe(ds.color,Ye.primaryStateLayerColor)};
834
- ${xe(ds.opacityContentOnSurfaceHover,Ye.primaryHoverStateLayerOpacity)};
835
- ${xe(ds.opacityContentOnSurfaceFocused,Ye.primaryFocusStateLayerOpacity)};
836
- ${xe(ds.opacityContentOnSurfaceSelected,Ye.primaryActiveStateLayerOpacity)};
837
- ${xe(ds.opacityContentOnSurfacePressed,Ye.primaryActiveStateLayerOpacity)};
833
+ ${xe(hs.color,Ye.primaryStateLayerColor)};
834
+ ${xe(hs.opacityContentOnSurfaceHover,Ye.primaryHoverStateLayerOpacity)};
835
+ ${xe(hs.opacityContentOnSurfaceFocused,Ye.primaryFocusStateLayerOpacity)};
836
+ ${xe(hs.opacityContentOnSurfaceSelected,Ye.primaryActiveStateLayerOpacity)};
837
+ ${xe(hs.opacityContentOnSurfacePressed,Ye.primaryActiveStateLayerOpacity)};
838
838
 
839
839
  background-color: ${Ye.primaryBackgroundColor};
840
840
  color: ${Ye.primaryColor};
@@ -852,13 +852,13 @@ const Jl=Symbol.for(""),Xl=t=>{if(t?.r===Jl)return t?._$litStatic$},Ql=t=>({_$li
852
852
  /** Secondary styles **/
853
853
 
854
854
  .ft-button--secondary {
855
- ${xe(Fl.color,Ye.secondaryIconColor)};
855
+ ${xe(Al.color,Ye.secondaryIconColor)};
856
856
 
857
- ${xe(ds.color,Ye.secondaryStateLayerColor)};
858
- ${xe(ds.opacityContentOnSurfaceHover,Ye.secondaryHoverStateLayerOpacity)};
859
- ${xe(ds.opacityContentOnSurfaceFocused,Ye.secondaryFocusStateLayerOpacity)};
860
- ${xe(ds.opacityContentOnSurfaceSelected,Ye.secondaryActiveStateLayerOpacity)};
861
- ${xe(ds.opacityContentOnSurfacePressed,Ye.secondaryActiveStateLayerOpacity)};
857
+ ${xe(hs.color,Ye.secondaryStateLayerColor)};
858
+ ${xe(hs.opacityContentOnSurfaceHover,Ye.secondaryHoverStateLayerOpacity)};
859
+ ${xe(hs.opacityContentOnSurfaceFocused,Ye.secondaryFocusStateLayerOpacity)};
860
+ ${xe(hs.opacityContentOnSurfaceSelected,Ye.secondaryActiveStateLayerOpacity)};
861
+ ${xe(hs.opacityContentOnSurfacePressed,Ye.secondaryActiveStateLayerOpacity)};
862
862
 
863
863
  background-color: ${Ye.secondaryBackgroundColor};
864
864
  color: ${Ye.secondaryColor};
@@ -877,13 +877,13 @@ const Jl=Symbol.for(""),Xl=t=>{if(t?.r===Jl)return t?._$litStatic$},Ql=t=>({_$li
877
877
  /** Tertiary styles **/
878
878
 
879
879
  .ft-button--tertiary {
880
- ${xe(Fl.color,Ye.tertiaryIconColor)};
880
+ ${xe(Al.color,Ye.tertiaryIconColor)};
881
881
 
882
- ${xe(ds.color,Ye.tertiaryStateLayerColor)};
883
- ${xe(ds.opacityContentOnSurfaceHover,Ye.tertiaryHoverStateLayerOpacity)};
884
- ${xe(ds.opacityContentOnSurfaceFocused,Ye.tertiaryFocusStateLayerOpacity)};
885
- ${xe(ds.opacityContentOnSurfaceSelected,Ye.tertiaryActiveStateLayerOpacity)};
886
- ${xe(ds.opacityContentOnSurfacePressed,Ye.tertiaryActiveStateLayerOpacity)};
882
+ ${xe(hs.color,Ye.tertiaryStateLayerColor)};
883
+ ${xe(hs.opacityContentOnSurfaceHover,Ye.tertiaryHoverStateLayerOpacity)};
884
+ ${xe(hs.opacityContentOnSurfaceFocused,Ye.tertiaryFocusStateLayerOpacity)};
885
+ ${xe(hs.opacityContentOnSurfaceSelected,Ye.tertiaryActiveStateLayerOpacity)};
886
+ ${xe(hs.opacityContentOnSurfacePressed,Ye.tertiaryActiveStateLayerOpacity)};
887
887
 
888
888
  background-color: ${Ye.tertiaryBackgroundColor};
889
889
  color: ${Ye.tertiaryColor};
@@ -901,13 +901,13 @@ const Jl=Symbol.for(""),Xl=t=>{if(t?.r===Jl)return t?._$litStatic$},Ql=t=>({_$li
901
901
  /** Neutral styles **/
902
902
 
903
903
  .ft-button--neutral {
904
- ${xe(Fl.color,Ye.neutralIconColor)};
904
+ ${xe(Al.color,Ye.neutralIconColor)};
905
905
 
906
- ${xe(ds.backgroundColor,Ye.neutralStateLayerColor)};
907
- ${xe(ds.opacityContentOnSurfaceHover,Ye.neutralHoverStateLayerOpacity)};
908
- ${xe(ds.opacityContentOnSurfaceFocused,Ye.neutralFocusStateLayerOpacity)};
909
- ${xe(ds.opacityContentOnSurfaceSelected,Ye.neutralActiveStateLayerOpacity)};
910
- ${xe(ds.opacityContentOnSurfacePressed,Ye.neutralActiveStateLayerOpacity)};
906
+ ${xe(hs.backgroundColor,Ye.neutralStateLayerColor)};
907
+ ${xe(hs.opacityContentOnSurfaceHover,Ye.neutralHoverStateLayerOpacity)};
908
+ ${xe(hs.opacityContentOnSurfaceFocused,Ye.neutralFocusStateLayerOpacity)};
909
+ ${xe(hs.opacityContentOnSurfaceSelected,Ye.neutralActiveStateLayerOpacity)};
910
+ ${xe(hs.opacityContentOnSurfacePressed,Ye.neutralActiveStateLayerOpacity)};
911
911
 
912
912
  background-color: ${Ye.neutralBackgroundColor};
913
913
  color: ${Ye.neutralColor};
@@ -925,8 +925,8 @@ const Jl=Symbol.for(""),Xl=t=>{if(t?.r===Jl)return t?._$litStatic$},Ql=t=>({_$li
925
925
  /** Large styles **/
926
926
 
927
927
  .ft-button--large {
928
- ${xe(jl.size,Ye.largeIconSize)};
929
- ${xe(Fl.size,Ye.largeIconSize)};
928
+ ${xe(Pl.size,Ye.largeIconSize)};
929
+ ${xe(Al.size,Ye.largeIconSize)};
930
930
 
931
931
  height: ${Ye.largeHeight};
932
932
  padding: 0 ${Ye.largeHorizontalPadding};
@@ -948,8 +948,8 @@ const Jl=Symbol.for(""),Xl=t=>{if(t?.r===Jl)return t?._$litStatic$},Ql=t=>({_$li
948
948
  /** Small styles **/
949
949
 
950
950
  .ft-button--small {
951
- ${xe(jl.size,Ye.smallIconSize)};
952
- ${xe(Fl.size,Ye.smallIconSize)};
951
+ ${xe(Pl.size,Ye.smallIconSize)};
952
+ ${xe(Al.size,Ye.smallIconSize)};
953
953
 
954
954
  height: ${Ye.smallHeight};
955
955
  padding: 0 ${Ye.smallHorizontalPadding};
@@ -967,62 +967,62 @@ const Jl=Symbol.for(""),Xl=t=>{if(t?.r===Jl)return t?._$litStatic$},Ql=t=>({_$li
967
967
  width: ${Ye.smallIconOnlyWidth};
968
968
  padding: unset;
969
969
  }
970
- `,Vi];var Nc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ec extends Oc{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?ec.caption1medium:ec.body2medium}}Ec.styles=[Yi,Cc],Nc([So({type:Boolean})],Ec.prototype,"primary",void 0),Nc([So({type:Boolean})],Ec.prototype,"secondary",void 0),Nc([So({type:Boolean})],Ec.prototype,"tertiary",void 0),Nc([So({type:Boolean})],Ec.prototype,"neutral",void 0),Nc([So({type:Boolean})],Ec.prototype,"small",void 0),ue("ft-button")(Sc),ue("ftds-button")(Ec);const Ic={spacing:ve.create("--ft-copy-block-spacing","","SIZE","12px 48px 12px 12px"),borderRadius:ve.extend("--ft-copy-block-border-radius","",Or.borderRadiusS),borderStyle:ve.create("--ft-copy-block-border-style","","BORDER-STYLE","solid"),borderColor:ve.extend("--ft-copy-block-border-color","",Or.colorOutline),borderWidth:ve.create("--ft-copy-block-border-width","","SIZE","1px"),backgroundColor:ve.extend("--ft-copy-block-background-color","",Or.colorSurface),buttonHeight:ve.create("--ft-copy-block-button-height","","SIZE","unset")},$c=dt`
970
+ `,qi];var Ec=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ic extends wc{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?rc.caption1medium:rc.body2medium}}Ic.styles=[Ji,Nc],Ec([So({type:Boolean})],Ic.prototype,"primary",void 0),Ec([So({type:Boolean})],Ic.prototype,"secondary",void 0),Ec([So({type:Boolean})],Ic.prototype,"tertiary",void 0),Ec([So({type:Boolean})],Ic.prototype,"neutral",void 0),Ec([So({type:Boolean})],Ic.prototype,"small",void 0),ue("ft-button")(Cc),ue("ftds-button")(Ic);const $c={spacing:ve.create("--ft-copy-block-spacing","","SIZE","12px 48px 12px 12px"),borderRadius:ve.extend("--ft-copy-block-border-radius","",Or.borderRadiusS),borderStyle:ve.create("--ft-copy-block-border-style","","BORDER-STYLE","solid"),borderColor:ve.extend("--ft-copy-block-border-color","",Or.colorOutline),borderWidth:ve.create("--ft-copy-block-border-width","","SIZE","1px"),backgroundColor:ve.extend("--ft-copy-block-background-color","",Or.colorSurface),buttonHeight:ve.create("--ft-copy-block-button-height","","SIZE","unset")},Rc=dt`
971
971
  :host {
972
972
  display: block;
973
973
  }
974
974
 
975
975
  [part="container"] {
976
976
  position: relative;
977
- border-radius: ${Ic.borderRadius};
978
- border-style: ${Ic.borderStyle};
979
- border-color: ${Ic.borderColor};
980
- border-width: ${Ic.borderWidth};
981
- background-color: ${Ic.backgroundColor};
977
+ border-radius: ${$c.borderRadius};
978
+ border-style: ${$c.borderStyle};
979
+ border-color: ${$c.borderColor};
980
+ border-width: ${$c.borderWidth};
981
+ background-color: ${$c.backgroundColor};
982
982
  }
983
983
 
984
984
  [part="button-container"] {
985
985
  position: absolute;
986
986
  right: 0;
987
987
  top: 0;
988
- height: ${Ic.buttonHeight}
988
+ height: ${$c.buttonHeight}
989
989
  }
990
990
 
991
991
  [part="content"] {
992
992
  overflow-x: auto;
993
- margin: ${Ic.spacing};
993
+ margin: ${$c.spacing};
994
994
  }
995
995
 
996
996
  [part="tooltip"] {
997
997
  display: block;
998
- height: ${Ic.buttonHeight}
998
+ height: ${$c.buttonHeight}
999
999
  }
1000
1000
 
1001
1001
  [part="tooltip"]::part(container) {
1002
- height: ${Ic.buttonHeight}
1002
+ height: ${$c.buttonHeight}
1003
1003
  }
1004
1004
 
1005
1005
  [part="button"] {
1006
- height: ${Ic.buttonHeight}
1006
+ height: ${$c.buttonHeight}
1007
1007
  }
1008
1008
 
1009
1009
  [part="button"]::part(button) {
1010
- height: ${Ic.buttonHeight}
1010
+ height: ${$c.buttonHeight}
1011
1011
  }
1012
1012
 
1013
- `,Rc=dt`
1014
1013
  `,kc=dt`
1015
- `,Lc=Qa.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});class Uc{static get(t){const{baseUrl:o,apiIntegrationIdentifier:e}=Lc.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static await(t){return new Promise((o=>{let e=Uc.get(t);if(e)o(e);else{const r=Lc.subscribe((()=>{e=Uc.get(t),e&&(r(),o(e))}))}}))}}class Wc{constructor(t=!0,o){var e;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(e=r.commonCache)&&void 0!==e?e:new re,this.cache=t?r.commonCache:new re}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Uc.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Uc.await()}clearCache(){this.cache.clearAll()}}var zc;const Bc=Symbol("clearAfterUnitTest");class Fc extends Wc{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[zc]=()=>{this.defaultMessages={},this.cache=new re,this.listeners={}},this.currentUiLocale=Lc.getState().uiLocale,Lc.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Lc.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};de(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Qi(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>ce(0).then((()=>t())).catch((()=>null)))))}}zc=Bc,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Fc{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Fc{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const Ac=window.FluidTopicsI18nService,jc=window.FluidTopicsCustomI18nService;var Pc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class _c extends Pi{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Uc.get(),this.messageContexts=[],this.cache=new re,this.cleanSessionDebouncer=new se}render(){return Jt`
1014
+ `,Lc=dt`
1015
+ `,Uc=ts.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});class Wc{static get(t){const{baseUrl:o,apiIntegrationIdentifier:e}=Uc.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static await(t){return new Promise((o=>{let e=Wc.get(t);if(e)o(e);else{const r=Uc.subscribe((()=>{e=Wc.get(t),e&&(r(),o(e))}))}}))}}class zc{constructor(t=!0,o){var e;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(e=r.commonCache)&&void 0!==e?e:new re,this.cache=t?r.commonCache:new re}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Wc.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Wc.await()}clearCache(){this.cache.clearAll()}}var Bc;const Fc=Symbol("clearAfterUnitTest");class Ac extends zc{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Bc]=()=>{this.defaultMessages={},this.cache=new re,this.listeners={}},this.currentUiLocale=Uc.getState().uiLocale,Uc.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Uc.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};de(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new tn(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>ce(0).then((()=>t())).catch((()=>null)))))}}Bc=Fc,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Ac{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Ac{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const jc=window.FluidTopicsI18nService,Pc=window.FluidTopicsCustomI18nService;var _c=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Mc extends Pi{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Wc.get(),this.messageContexts=[],this.cache=new re,this.cleanSessionDebouncer=new se}render(){return Jt`
1016
1016
  <slot></slot>
1017
- `}update(t){super.update(t),t.has("baseUrl")&&(Lc.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Lc.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Lc.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Lc.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Lc.actions.noCustom(this.noCustom),t.has("editorMode")&&Lc.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Lc.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Lc.actions.session(this.session),t.has("availableUiLocales")&&Lc.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ac.addContext(t))),t.has("openExternalDocumentInNewTab")&&Lc.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&Lc.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&Lc.actions.forcedOffline(this.forcedOffline),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}_c.elementDefinitions={},_c.styles=kc,Pc([So()],_c.prototype,"baseUrl",void 0),Pc([So()],_c.prototype,"apiIntegrationIdentifier",void 0),Pc([So()],_c.prototype,"uiLocale",void 0),Pc([ye(null)],_c.prototype,"availableUiLocales",void 0),Pc([ye(null)],_c.prototype,"metadataConfiguration",void 0),Pc([So({type:Boolean})],_c.prototype,"editorMode",void 0),Pc([So({type:Boolean})],_c.prototype,"noCustom",void 0),Pc([So({type:Boolean})],_c.prototype,"openExternalDocumentInNewTab",void 0),Pc([So({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],_c.prototype,"noCustomComponent",void 0),Pc([So({type:Boolean})],_c.prototype,"withManualResources",void 0),Pc([So({type:Boolean})],_c.prototype,"navigatorOnline",void 0),Pc([So({type:Boolean})],_c.prototype,"forcedOffline",void 0),Pc([So({type:Object})],_c.prototype,"apiProvider",void 0),Pc([ye([])],_c.prototype,"messageContexts",void 0),Pc([ye(void 0)],_c.prototype,"session",void 0);class Mc extends Wc{async listMySearches(){let t=Lc.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Zc extends Wc{async listMyBookmarks(){let t=Lc.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Kc=Qa.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Lc.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Zc,this.savedSearchesService=new Mc,Lc.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=Lc.getState();de(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Kc.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Kc.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Kc.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Kc.actions.bookmarks(o)}}},ue("ft-app-context")(_c);var Dc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Hc=Symbol("i18nAttributes"),Tc=Symbol("i18nProperties"),Gc=Symbol("i18nUnsubs");function Vc(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?jc:Ac}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o,e;null===(o=this[Hc])||void 0===o||o.forEach(((o,e)=>{var r;const i=this.getI18nAttributeValue(e);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,i,o)})),null===(e=this[Tc])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[Hc])||void 0===o||o.forEach(((o,e)=>{const r=this.getI18nAttributeValue(e);(null==r?void 0:r.context)&&r.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(e,r,o))})),null===(e=this[Tc])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,r;super.connectedCallback(),new Set([...null!==(o=null===(t=this[Tc])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[Hc])||void 0===e?void 0:e.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Gc].has(t)||this[Gc].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Gc].forEach((t=>t())),this[Gc].clear()}}return o=Gc,Dc([So({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class qc extends(Vc(Pi)){}class Yc extends(Vc(pn)){}var Jc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xc extends Yc{constructor(){super(),this.editorMode=!1,this.addStore(Lc)}render(){return this.key&&this.context?Jt`
1017
+ `}update(t){super.update(t),t.has("baseUrl")&&(Uc.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Uc.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Uc.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Uc.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Uc.actions.noCustom(this.noCustom),t.has("editorMode")&&Uc.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Uc.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Uc.actions.session(this.session),t.has("availableUiLocales")&&Uc.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>jc.addContext(t))),t.has("openExternalDocumentInNewTab")&&Uc.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&Uc.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&Uc.actions.forcedOffline(this.forcedOffline),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Mc.elementDefinitions={},Mc.styles=Lc,_c([So()],Mc.prototype,"baseUrl",void 0),_c([So()],Mc.prototype,"apiIntegrationIdentifier",void 0),_c([So()],Mc.prototype,"uiLocale",void 0),_c([ye(null)],Mc.prototype,"availableUiLocales",void 0),_c([ye(null)],Mc.prototype,"metadataConfiguration",void 0),_c([So({type:Boolean})],Mc.prototype,"editorMode",void 0),_c([So({type:Boolean})],Mc.prototype,"noCustom",void 0),_c([So({type:Boolean})],Mc.prototype,"openExternalDocumentInNewTab",void 0),_c([So({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Mc.prototype,"noCustomComponent",void 0),_c([So({type:Boolean})],Mc.prototype,"withManualResources",void 0),_c([So({type:Boolean})],Mc.prototype,"navigatorOnline",void 0),_c([So({type:Boolean})],Mc.prototype,"forcedOffline",void 0),_c([So({type:Object})],Mc.prototype,"apiProvider",void 0),_c([ye([])],Mc.prototype,"messageContexts",void 0),_c([ye(void 0)],Mc.prototype,"session",void 0);class Zc extends zc{async listMySearches(){let t=Uc.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Kc extends zc{async listMyBookmarks(){let t=Uc.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Dc=ts.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Uc.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Kc,this.savedSearchesService=new Zc,Uc.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=Uc.getState();de(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Dc.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Dc.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Dc.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Dc.actions.bookmarks(o)}}};window.FluidTopicsAppInfoStoreService=new class{addCommand(t,o=!1){Uc.commands.add(t,o)}consumeCommand(t){return Uc.commands.consume(t)}};window.FluidTopicsHighlightHtmlService=new class{highlightHtml(t,o){Gi(t,o)}},ue("ft-app-context")(Mc);var Hc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Tc=Symbol("i18nAttributes"),Gc=Symbol("i18nProperties"),Vc=Symbol("i18nUnsubs");function qc(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Pc:jc}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o,e;null===(o=this[Tc])||void 0===o||o.forEach(((o,e)=>{var r;const i=this.getI18nAttributeValue(e);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,i,o)})),null===(e=this[Gc])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[Tc])||void 0===o||o.forEach(((o,e)=>{const r=this.getI18nAttributeValue(e);(null==r?void 0:r.context)&&r.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(e,r,o))})),null===(e=this[Gc])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,r;super.connectedCallback(),new Set([...null!==(o=null===(t=this[Gc])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[Tc])||void 0===e?void 0:e.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Vc].has(t)||this[Vc].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Vc].forEach((t=>t())),this[Vc].clear()}}return o=Vc,Hc([So({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Yc extends(qc(Pi)){}class Jc extends(qc(dn)){}var Xc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qc extends Jc{constructor(){super(),this.editorMode=!1,this.addStore(Uc)}render(){return this.key&&this.context?Jt`
1018
1018
  <span class="ft-i18n">
1019
1019
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1020
1020
  </span>
1021
- `:this.editorMode?"Select a context and a label key.":to}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}Xc.elementDefinitions={},Xc.styles=Rc,Jc([on()],Xc.prototype,"editorMode",void 0),Jc([So()],Xc.prototype,"context",void 0),Jc([So()],Xc.prototype,"key",void 0),Jc([ye([])],Xc.prototype,"args",void 0),Jc([So()],Xc.prototype,"defaultMessage",void 0);class Qc{static build(t){return new Qc(t)}static fromGwt(t){return new Qc(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>Ac.resolveMessage(this.name,o,...t)})}}ue("ft-i18n")(Xc);const tf=Qc.build("copyBlockComponent"),of={tooltipMessage:"Copy to clipboard",copySuccessMessage:"Copied!"};var ef=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class rf extends qc{constructor(){super(),this.addI18nContext(tf,of)}render(){return Jt`
1021
+ `:this.editorMode?"Select a context and a label key.":to}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}Qc.elementDefinitions={},Qc.styles=kc,Xc([en()],Qc.prototype,"editorMode",void 0),Xc([So()],Qc.prototype,"context",void 0),Xc([So()],Qc.prototype,"key",void 0),Xc([ye([])],Qc.prototype,"args",void 0),Xc([So()],Qc.prototype,"defaultMessage",void 0);class tf{static build(t){return new tf(t)}static fromGwt(t){return new tf(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>jc.resolveMessage(this.name,o,...t)})}}ue("ft-i18n")(Qc);const of=tf.build("copyBlockComponent"),ef={tooltipMessage:"Copy to clipboard",copySuccessMessage:"Copied!"};var rf=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class nf extends Yc{constructor(){super(),this.addI18nContext(of,ef)}render(){return Jt`
1022
1022
  <div part="container">
1023
1023
  ${navigator.clipboard?Jt`
1024
1024
  <div part="button-container">
1025
- <ft-tooltip part="tooltip" text=${tf.messages.tooltipMessage()} position="bottom" exportpartsPrefix="tooltip">
1025
+ <ft-tooltip part="tooltip" text=${of.messages.tooltipMessage()} position="bottom" exportpartsPrefix="tooltip">
1026
1026
  <ft-button icon="CLONE" part="button" exportpartsPrefix="button" @click=${this.copyContents}></ft-button>
1027
1027
  </ft-tooltip>
1028
1028
  </div>
@@ -1032,4 +1032,4 @@ const Jl=Symbol.for(""),Xl=t=>{if(t?.r===Jl)return t?._$litStatic$},Ql=t=>({_$li
1032
1032
  <slot></slot>
1033
1033
  </div>
1034
1034
  </div>
1035
- `}async copyContents(){try{await navigator.clipboard.writeText(this.shadowRoot.host.innerText),this.tooltip.manual=!0,this.tooltip.text=tf.messages.copySuccessMessage(),await this.tooltip.show(1e3),this.tooltip.text=tf.messages.tooltipMessage(),this.tooltip.manual=!1}catch{console.log("Failed to copy to clipboard")}}}rf.elementDefinitions={"ft-button":Sc,"ft-tooltip":gc},rf.styles=$c,ef([Io("[part='tooltip']")],rf.prototype,"tooltip",void 0),ue("ft-copy-block")(rf),t.FtCopyBlock=rf,t.FtCopyBlockCssVariables=Ic,t.styles=$c}({});
1035
+ `}async copyContents(){try{await navigator.clipboard.writeText(this.shadowRoot.host.innerText),this.tooltip.manual=!0,this.tooltip.text=of.messages.copySuccessMessage(),await this.tooltip.show(1e3),this.tooltip.text=of.messages.tooltipMessage(),this.tooltip.manual=!1}catch{console.log("Failed to copy to clipboard")}}}nf.elementDefinitions={"ft-button":Cc,"ft-tooltip":bc},nf.styles=Rc,rf([Io("[part='tooltip']")],nf.prototype,"tooltip",void 0),ue("ft-copy-block")(nf),t.FtCopyBlock=nf,t.FtCopyBlockCssVariables=$c,t.styles=Rc}({});