@fluid-topics/ft-search-context 1.0.58 → 1.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,44 +14,44 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,n=window.customElements,r=new WeakMap,o=new WeakMap,s=new WeakMap,a=new WeakMap;let u;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,u=new Set(r.observedAttributes||[]);f(r,u,a);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:u};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let l=i.call(n,t);l||(l=h(t),e.call(n,t,l)),this===window.customElements&&(s.set(r,c),c.standInClass=l);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)o.delete(t),v(t,c,!0)}const p=this._whenDefinedPromises.get(t);return void 0!==p&&(p.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){b.push(this),n.upgrade.apply(n,arguments),b.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let n=this._awaitingUpgrade.get(e);n||this._awaitingUpgrade.set(e,n=new Set),i?n.add(t):n.delete(t)}},window.HTMLElement=function(){let e=u;if(e)return u=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,l=t=>{let e=t.getRootNode();if(!c(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const n=l(i)||window.customElements,r=n._getDefinition(e);return r?v(i,r):o.set(i,n),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):o.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):o.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const n=t.prototype.setAttribute;n&&(t.prototype.setAttribute=function(t,r){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o,r),i.call(this,o,t,r)}else n.call(this,o,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n),i.call(this,n,t,null)}else r.call(this,n)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},v=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),u=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},p=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=p.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const y=(t,e,i=void 0)=>{const n=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=n.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const w=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(w(Element,"innerHTML"),w(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const n=e.call(this,...i);return t.set(n,this),n},i.forEach((e=>{const i=window.ElementInternals.prototype,n=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${n} on 'ElementInternals': The target element is not a form-associated custom element.`);n?.call(this,...e)}}));class n extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class o{constructor(t){const e=new Map;t.forEach(((t,i)=>{const n=t.getAttribute("name"),r=e.get(n)||[];this[+i]=t,r.push(t),e.set(n,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new n(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new o(e)}})}}try{window.customElements.define("custom-element",null)}catch(P){const t=window.customElements.define;window.customElements.define=(e,i,n)=>{if(null!==i)try{t.bind(window.customElements)(e,i,n)}catch(t){console.info(e,i,n,t)}}}class e extends Error{constructor(t,e,i){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=i}}class i extends Promise{constructor(t){super(((i,n)=>t((t=>{this.isCanceled?n(new e("Promise has been canceled",t)):i(t)}),(t=>{this.isCanceled?n(new e("Promise has been canceled",void 0,t)):n(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const n=t=>new i(((e,i)=>t.then(e).catch(i)));class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof i&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,i){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=n(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=i&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),i)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const n=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void n(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,r=window.customElements.get,e=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,c=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const c=n.prototype.attributeChangedCallback,s=new Set(n.observedAttributes||[]);h(n,s,c);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:c,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,l),this._definitionsByClass.set(n,l);let f=r.call(e,t);f||(f=u(t),o.call(e,t,f)),this===window.customElements&&(a.set(n,l),l.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)i.delete(t),p(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){b.push(this),e.upgrade.apply(e,arguments),b.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 r=this._whenDefinedPromises.get(t);return void 0===r&&(r={},r.promise=new Promise((t=>r.resolve=t)),this._whenDefinedPromises.set(t,r)),r.promise}_upgradeWhenDefined(t,o,r){let e=this._awaitingUpgrade.get(o);e||this._awaitingUpgrade.set(o,e=new Set),r?e.add(t):e.delete(t)}},window.HTMLElement=function(){let o=s;if(o)return s=void 0,o;const r=a.get(this.constructor);if(!r)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],r.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),n.set(o,r),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!l(o)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=c.get(o)?.getRootNode()||document)}return o.customElements},u=o=>class{static get formAssociated(){return!0}constructor(){const r=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(r,HTMLElement.prototype);const e=f(r)||window.customElements,n=e._getDefinition(o);return n?p(r,n):i.set(r,e),r}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,r)=>{if(0===o.size||void 0===r)return;const e=t.prototype.setAttribute;e&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);e.call(this,i,n),r.call(this,i,t,n)}else e.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const e=t.toLowerCase();if(o.has(e)){const t=this.getAttribute(e);n.call(this,e),r.call(this,e,t,null)}else n.call(this,e)})},d=o=>{const r=Object.getPrototypeOf(o);if(r!==window.HTMLElement)return r===t||"HTMLElement"===r?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):d(r)},p=(t,o,r=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),s=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.observedAttributes.forEach((r=>{t.hasAttribute(r)&&o.attributeChangedCallback.call(t,r,null,t.getAttribute(r))})),r&&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 b=[document];const g=(t,o,r=void 0)=>{const e=(r?Object.getPrototypeOf(r):t.prototype)[o];t.prototype[o]=function(){b.push(this);const t=e.apply(r||this,arguments);return void 0!==t&&c.set(t,this),b.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const m=(t,o)=>{const r=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...r,set(t){b.push(this),r.set.call(this,t),b.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,r=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...r){const e=o.call(this,...r);return t.set(e,this),e},r.forEach((o=>{const r=window.ElementInternals.prototype,e=r[o];r[o]=function(...o){const r=t.get(this);if(!0!==n.get(r).formAssociated)throw new DOMException(`Failed to execute ${e} on 'ElementInternals': The target element is not a form-associated custom element.`);e?.call(this,...o)}}));class e extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class i{constructor(t){const o=new Map;t.forEach(((t,r)=>{const e=t.getAttribute("name"),n=o.get(e)||[];this[+r]=t,n.push(t),o.set(e,n)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new e(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 r of t){const t=n.get(r);t&&!0!==t.formAssociated||o.push(r)}return new i(o)}})}}try{window.customElements.define("custom-element",null)}catch(Z){const t=window.customElements.define;window.customElements.define=(o,r,e)=>{if(null!==r)try{t.bind(window.customElements)(o,r,e)}catch(t){console.info(o,r,e,t)}}}class o extends Error{constructor(t,o,r){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=r}}class r extends Promise{constructor(t){super(((r,e)=>t((t=>{this.isCanceled?e(new o("Promise has been canceled",t)):r(t)}),(t=>{this.isCanceled?e(new o("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const e=t=>new r(((o,r)=>t.then(o).catch(r)));class n{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof r&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,r){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const n=e(o());return this.content[t]=n,n.then((o=>(this.content[t]=o,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const r=[...this.callbacks];this.callbacks=[];const e=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of r)try{await t()}catch(t){return void e(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */const s=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function a(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):s(t,e)
22
+ */const a=(t,o)=>"method"===o.kind&&o.descriptor&&!("value"in o.descriptor)?{...o,finisher(r){r.createProperty(o.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:o.key,initializer(){"function"==typeof o.initializer&&(this[o.key]=o.initializer.call(this))},finisher(r){r.createProperty(o.key,t)}};function c(t){return(o,r)=>void 0!==r?((t,o,r)=>{o.constructor.createProperty(r,t)})(t,o,r):a(t,o)
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */}function u(t){return a({...t,state:!0})}
27
+ */}function s(t){return c({...t,state:!0})}
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2021 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
- */var c;null===(c=window.HTMLSlotElement)||void 0===c||c.prototype.assignedElements;const l=t=>new Promise((e=>setTimeout(e,t)));function h(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var i,n,r;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(n=i;0!=n--;)if(!h(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!h(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((i=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(n=i;0!=n--;)if(!Object.prototype.hasOwnProperty.call(e,r[n]))return!1;for(n=i;0!=n--;){var o=r[n];if(!h(t[o],e[o]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const f=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function d(t,e){const i=()=>JSON.parse(JSON.stringify(t));return a({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!h(t,e),...null!=e?e:{}})}
32
+ */var l;null===(l=window.HTMLSlotElement)||void 0===l||l.prototype.assignedElements;const f=t=>new Promise((o=>setTimeout(o,t)));function u(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var r,e,n;if(Array.isArray(t)){if((r=t.length)!=o.length)return!1;for(e=r;0!=e--;)if(!u(t[e],o[e]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(e of t.entries())if(!o.has(e[0]))return!1;for(e of t.entries())if(!u(e[1],o.get(e[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(e of t.entries())if(!o.has(e[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((r=(n=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(e=r;0!=e--;)if(!Object.prototype.hasOwnProperty.call(o,n[e]))return!1;for(e=r;0!=e--;){var i=n[e];if(!u(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const h=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function d(t,o){const r=()=>JSON.parse(JSON.stringify(t));return c({type:Object,converter:{fromAttribute:t=>{if(null==t)return r();try{return JSON.parse(t)}catch{return r()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!u(t,o),...null!=o?o:{}})}
33
33
  /**
34
34
  * @license
35
35
  * Copyright 2019 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
- */const v=window,p=v.ShadowRoot&&(void 0===v.ShadyCSS||v.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,b=Symbol(),y=new WeakMap;let w=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==b)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(p&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=y.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&y.set(e,t))}return t}toString(){return this.cssText}};const m=t=>new w("string"==typeof t?t:t+"",void 0,b),g=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[n+1]),t[0]);return new w(i,t,b)},x=(t,e)=>{p?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),n=v.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))},O=p?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return m(e)})(t):t
37
+ */const p=window,y=p.ShadowRoot&&(void 0===p.ShadyCSS||p.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,b=Symbol(),g=new WeakMap;let m=class{constructor(t,o,r){if(this._$cssResult$=!0,r!==b)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(y&&void 0===t){const r=void 0!==o&&1===o.length;r&&(t=g.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&g.set(o,t))}return t}toString(){return this.cssText}};const v=t=>new m("string"==typeof t?t:t+"",void 0,b),O=(t,...o)=>{const r=1===t.length?t[0]:o.reduce(((o,r,e)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[e+1]),t[0]);return new m(r,t,b)},N=(t,o)=>{y?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const r=document.createElement("style"),e=p.litNonce;void 0!==e&&r.setAttribute("nonce",e),r.textContent=o.cssText,t.appendChild(r)}))},w=y?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const r of t.cssRules)o+=r.cssText;return v(o)})(t):t
38
38
  /**
39
39
  * @license
40
40
  * Copyright 2017 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */;var S;const E=window,j=E.trustedTypes,C=j?j.emptyScript:"",R=E.reactiveElementPolyfillSupport,N={toAttribute(t,e){switch(e){case Boolean:t=t?C:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},M=(t,e)=>e!==t&&(e==e||t==t),A={attribute:!0,type:String,converter:N,reflect:!1,hasChanged:M};let k=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const n=this._$Ep(i,e);void 0!==n&&(this._$Ev.set(n,i),t.push(n))})),t}static createProperty(t,e=A){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,n=this.getPropertyDescriptor(t,i,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(n){const r=this[t];this[e]=n,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||A}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(O(t))}else void 0!==t&&e.push(O(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return x(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=A){var n;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const o=(void 0!==(null===(n=i.converter)||void 0===n?void 0:n.toAttribute)?i.converter:N).toAttribute(e,i.type);this._$El=t,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$El=null}}_$AK(t,e){var i;const n=this.constructor,r=n._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=n.getPropertyOptions(r),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:N;this._$El=r,this[r]=o.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let n=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||M)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):n=!1),!this.isUpdatePending&&n&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
42
+ */;var S;const C=window,x=C.trustedTypes,E=x?x.emptyScript:"",R=C.reactiveElementPolyfillSupport,U={toAttribute(t,o){switch(o){case Boolean:t=t?E:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let r=t;switch(o){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},L=(t,o)=>o!==t&&(o==o||t==t),I={attribute:!0,type:String,converter:U,reflect:!1,hasChanged:L};let W=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;this.finalize(),(null!==(o=this.h)&&void 0!==o?o:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,r)=>{const e=this._$Ep(r,o);void 0!==e&&(this._$Ev.set(e,r),t.push(e))})),t}static createProperty(t,o=I){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const r="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,r,o);void 0!==e&&Object.defineProperty(this.prototype,t,e)}}static getPropertyDescriptor(t,o,r){return{get(){return this[o]},set(e){const n=this[t];this[o]=e,this.requestUpdate(t,n,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||I}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const r of o)this.createProperty(r,t[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)o.unshift(w(t))}else void 0!==t&&o.push(w(t));return o}static _$Ep(t,o){const r=o.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,r;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(r=t.hostConnected)||void 0===r||r.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return N(o,this.constructor.elementStyles),o}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,r){this._$AK(t,r)}_$EO(t,o,r=I){var e;const n=this.constructor._$Ep(t,r);if(void 0!==n&&!0===r.reflect){const i=(void 0!==(null===(e=r.converter)||void 0===e?void 0:e.toAttribute)?r.converter:U).toAttribute(o,r.type);this._$El=t,null==i?this.removeAttribute(n):this.setAttribute(n,i),this._$El=null}}_$AK(t,o){var r;const e=this.constructor,n=e._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=e.getPropertyOptions(n),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(r=t.converter)||void 0===r?void 0:r.fromAttribute)?t.converter:U;this._$El=n,this[n]=i.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,r){let e=!0;void 0!==t&&(((r=r||this.constructor.getPropertyOptions(t)).hasChanged||L)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===r.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,r))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const r=this._$AL;try{o=this.shouldUpdate(r),o?(this.willUpdate(r),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(r)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(r)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- var U;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==R||R({ReactiveElement:k}),(null!==(S=E.reactiveElementVersions)&&void 0!==S?S:E.reactiveElementVersions=[]).push("1.6.1");const L=window,F=L.trustedTypes,P=F?F.createPolicy("lit-html",{createHTML:t=>t}):void 0,$="$lit$",_=`lit$${(Math.random()+"").slice(9)}$`,T="?"+_,I=`<${T}>`,B=document,q=()=>B.createComment(""),W=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,K="[ \t\n\f\r]",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,V=/-->/g,H=/>/g,J=RegExp(`>|${K}(?:([^\\s"'>=/]+)(${K}*=${K}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Z=/'/g,Q=/"/g,X=/^(?:script|style|textarea|title)$/i,G=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Y=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),et=new WeakMap,it=B.createTreeWalker(B,129,null,!1),nt=(t,e)=>{const i=t.length-1,n=[];let r,o=2===e?"<svg>":"",s=z;for(let e=0;e<i;e++){const i=t[e];let a,u,c=-1,l=0;for(;l<i.length&&(s.lastIndex=l,u=s.exec(i),null!==u);)l=s.lastIndex,s===z?"!--"===u[1]?s=V:void 0!==u[1]?s=H:void 0!==u[2]?(X.test(u[2])&&(r=RegExp("</"+u[2],"g")),s=J):void 0!==u[3]&&(s=J):s===J?">"===u[0]?(s=null!=r?r:z,c=-1):void 0===u[1]?c=-2:(c=s.lastIndex-u[2].length,a=u[1],s=void 0===u[3]?J:'"'===u[3]?Q:Z):s===Q||s===Z?s=J:s===V||s===H?s=z:(s=J,r=void 0);const h=s===J&&t[e+1].startsWith("/>")?" ":"";o+=s===z?i+I:c>=0?(n.push(a),i.slice(0,c)+$+i.slice(c)+_+h):i+_+(-2===c?(n.push(void 0),e):h)}const a=o+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==P?P.createHTML(a):a,n]};class rt{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let r=0,o=0;const s=t.length-1,a=this.parts,[u,c]=nt(t,e);if(this.el=rt.createElement(u,i),it.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(n=it.nextNode())&&a.length<s;){if(1===n.nodeType){if(n.hasAttributes()){const t=[];for(const e of n.getAttributeNames())if(e.endsWith($)||e.startsWith(_)){const i=c[o++];if(t.push(e),void 0!==i){const t=n.getAttribute(i.toLowerCase()+$).split(_),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?ut:"?"===e[1]?lt:"@"===e[1]?ht:at})}else a.push({type:6,index:r})}for(const e of t)n.removeAttribute(e)}if(X.test(n.tagName)){const t=n.textContent.split(_),e=t.length-1;if(e>0){n.textContent=F?F.emptyScript:"";for(let i=0;i<e;i++)n.append(t[i],q()),it.nextNode(),a.push({type:2,index:++r});n.append(t[e],q())}}}else if(8===n.nodeType)if(n.data===T)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=n.data.indexOf(_,t+1));)a.push({type:7,index:r}),t+=_.length-1}r++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function ot(t,e,i=t,n){var r,o,s,a;if(e===Y)return e;let u=void 0!==n?null===(r=i._$Co)||void 0===r?void 0:r[n]:i._$Cl;const c=W(e)?void 0:e._$litDirective$;return(null==u?void 0:u.constructor)!==c&&(null===(o=null==u?void 0:u._$AO)||void 0===o||o.call(u,!1),void 0===c?u=void 0:(u=new c(t),u._$AT(t,i,n)),void 0!==n?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[n]=u:i._$Cl=u),void 0!==u&&(e=ot(t,u._$AS(t,e.values),u,n)),e}let st=class t{constructor(t,e,i,n){var r;this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=n,this._$Cp=null===(r=null==n?void 0:n.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ot(this,t,e),W(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Y&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>D(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==tt&&W(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:n}=t,r="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=rt.createElement(n.h,this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(i);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:n}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:B).importNode(i,!0);it.currentNode=r;let o=it.nextNode(),s=0,a=0,u=n[0];for(;void 0!==u;){if(s===u.index){let e;2===u.type?e=new st(o,o.nextSibling,this,t):1===u.type?e=new u.ctor(o,u.name,u.strings,this,t):6===u.type&&(e=new ft(o,this,t)),this._$AV.push(e),u=n[++a]}s!==(null==u?void 0:u.index)&&(o=it.nextNode(),s++)}return r}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}(r,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=et.get(t.strings);return void 0===e&&et.set(t.strings,e=new rt(t)),e}T(e){D(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let n,r=0;for(const o of e)r===i.length?i.push(n=new t(this.k(q()),this.k(q()),this,this.options)):n=i[r],n._$AI(o),r++;r<i.length&&(this._$AR(n&&n._$AB.nextSibling,r),i.length=r)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}},at=class{constructor(t,e,i,n,r){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=tt}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,n){const r=this.strings;let o=!1;if(void 0===r)t=ot(this,t,e,0),o=!W(t)||t!==this._$AH&&t!==Y,o&&(this._$AH=t);else{const n=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=ot(this,n[i+s],e,s),a===Y&&(a=this._$AH[s]),o||(o=!W(a)||a!==this._$AH[s]),a===tt?t=tt:t!==tt&&(t+=(null!=a?a:"")+r[s+1]),this._$AH[s]=a}o&&!n&&this.j(t)}j(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},ut=class extends at{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===tt?void 0:t}};const ct=F?F.emptyScript:"";let lt=class extends at{constructor(){super(...arguments),this.type=4}j(t){t&&t!==tt?this.element.setAttribute(this.name,ct):this.element.removeAttribute(this.name)}},ht=class extends at{constructor(t,e,i,n,r){super(t,e,i,n,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=ot(this,t,e,0))&&void 0!==i?i:tt)===Y)return;const n=this._$AH,r=t===tt&&n!==tt||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,o=t!==tt&&(n===tt||r);r&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}},ft=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){ot(this,t)}};const dt=L.litHtmlPolyfillSupport;null==dt||dt(rt,st),(null!==(U=L.litHtmlVersions)&&void 0!==U?U:L.litHtmlVersions=[]).push("2.7.3");
48
+ var k;W.finalized=!0,W.elementProperties=new Map,W.elementStyles=[],W.shadowRootOptions={mode:"open"},null==R||R({ReactiveElement:W}),(null!==(S=C.reactiveElementVersions)&&void 0!==S?S:C.reactiveElementVersions=[]).push("1.6.1");const K=window,j=K.trustedTypes,Z=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,A="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,M="?"+F,B=`<${M}>`,P=document,D=()=>P.createComment(""),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,$=Array.isArray,_="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,H=/>/g,q=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,V=/"/g,J=/^(?:script|style|textarea|title)$/i,Q=(t=>(o,...r)=>({_$litType$:t,strings:o,values:r}))(1),X=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),ot=new WeakMap,rt=P.createTreeWalker(P,129,null,!1),et=(t,o)=>{const r=t.length-1,e=[];let n,i=2===o?"<svg>":"",a=T;for(let o=0;o<r;o++){const r=t[o];let c,s,l=-1,f=0;for(;f<r.length&&(a.lastIndex=f,s=a.exec(r),null!==s);)f=a.lastIndex,a===T?"!--"===s[1]?a=G:void 0!==s[1]?a=H:void 0!==s[2]?(J.test(s[2])&&(n=RegExp("</"+s[2],"g")),a=q):void 0!==s[3]&&(a=q):a===q?">"===s[0]?(a=null!=n?n:T,l=-1):void 0===s[1]?l=-2:(l=a.lastIndex-s[2].length,c=s[1],a=void 0===s[3]?q:'"'===s[3]?V:Y):a===V||a===Y?a=q:a===G||a===H?a=T:(a=q,n=void 0);const u=a===q&&t[o+1].startsWith("/>")?" ":"";i+=a===T?r+B:l>=0?(e.push(c),r.slice(0,l)+A+r.slice(l)+F+u):r+F+(-2===l?(e.push(void 0),o):u)}const c=i+(t[r]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==Z?Z.createHTML(c):c,e]};class nt{constructor({strings:t,_$litType$:o},r){let e;this.parts=[];let n=0,i=0;const a=t.length-1,c=this.parts,[s,l]=et(t,o);if(this.el=nt.createElement(s,r),rt.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(e=rt.nextNode())&&c.length<a;){if(1===e.nodeType){if(e.hasAttributes()){const t=[];for(const o of e.getAttributeNames())if(o.endsWith(A)||o.startsWith(F)){const r=l[i++];if(t.push(o),void 0!==r){const t=e.getAttribute(r.toLowerCase()+A).split(F),o=/([.?@])?(.*)/.exec(r);c.push({type:1,index:n,name:o[2],strings:t,ctor:"."===o[1]?st:"?"===o[1]?ft:"@"===o[1]?ut:ct})}else c.push({type:6,index:n})}for(const o of t)e.removeAttribute(o)}if(J.test(e.tagName)){const t=e.textContent.split(F),o=t.length-1;if(o>0){e.textContent=j?j.emptyScript:"";for(let r=0;r<o;r++)e.append(t[r],D()),rt.nextNode(),c.push({type:2,index:++n});e.append(t[o],D())}}}else if(8===e.nodeType)if(e.data===M)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=e.data.indexOf(F,t+1));)c.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,o){const r=P.createElement("template");return r.innerHTML=t,r}}function it(t,o,r=t,e){var n,i,a,c;if(o===X)return o;let s=void 0!==e?null===(n=r._$Co)||void 0===n?void 0:n[e]:r._$Cl;const l=z(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==l&&(null===(i=null==s?void 0:s._$AO)||void 0===i||i.call(s,!1),void 0===l?s=void 0:(s=new l(t),s._$AT(t,r,e)),void 0!==e?(null!==(a=(c=r)._$Co)&&void 0!==a?a:c._$Co=[])[e]=s:r._$Cl=s),void 0!==s&&(o=it(t,s._$AS(t,o.values),s,e)),o}let at=class t{constructor(t,o,r,e){var n;this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=r,this.options=e,this._$Cp=null===(n=null==e?void 0:e.isConnected)||void 0===n||n}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=it(this,t,o),z(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>$(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==tt&&z(this._$AH)?this._$AA.nextSibling.data=t:this.$(P.createTextNode(t)),this._$AH=t}g(t){var o;const{values:r,_$litType$:e}=t,n="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=nt.createElement(e.h,this.options)),e);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===n)this._$AH.v(r);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:r},parts:e}=this._$AD,n=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:P).importNode(r,!0);rt.currentNode=n;let i=rt.nextNode(),a=0,c=0,s=e[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new at(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new ht(i,this,t)),this._$AV.push(o),s=e[++c]}a!==(null==s?void 0:s.index)&&(i=rt.nextNode(),a++)}return n}v(t){let o=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,o),o+=r.strings.length-2):r._$AI(t[o])),o++}}(n,this),o=t.u(this.options);t.v(r),this.$(o),this._$AH=t}}_$AC(t){let o=ot.get(t.strings);return void 0===o&&ot.set(t.strings,o=new nt(t)),o}T(o){$(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let e,n=0;for(const i of o)n===r.length?r.push(e=new t(this.k(D()),this.k(D()),this,this.options)):e=r[n],e._$AI(i),n++;n<r.length&&(this._$AR(e&&e._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,o){var r;for(null===(r=this._$AP)||void 0===r||r.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}},ct=class{constructor(t,o,r,e,n){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=e,this.options=n,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=tt}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,r,e){const n=this.strings;let i=!1;if(void 0===n)t=it(this,t,o,0),i=!z(t)||t!==this._$AH&&t!==X,i&&(this._$AH=t);else{const e=t;let a,c;for(t=n[0],a=0;a<n.length-1;a++)c=it(this,e[r+a],o,a),c===X&&(c=this._$AH[a]),i||(i=!z(c)||c!==this._$AH[a]),c===tt?t=tt:t!==tt&&(t+=(null!=c?c:"")+n[a+1]),this._$AH[a]=c}i&&!e&&this.j(t)}j(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},st=class extends ct{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===tt?void 0:t}};const lt=j?j.emptyScript:"";let ft=class extends ct{constructor(){super(...arguments),this.type=4}j(t){t&&t!==tt?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}},ut=class extends ct{constructor(t,o,r,e,n){super(t,o,r,e,n),this.type=5}_$AI(t,o=this){var r;if((t=null!==(r=it(this,t,o,0))&&void 0!==r?r:tt)===X)return;const e=this._$AH,n=t===tt&&e!==tt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==tt&&(e===tt||n);n&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}},ht=class{constructor(t,o,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){it(this,t)}};const dt=K.litHtmlPolyfillSupport;null==dt||dt(nt,at),(null!==(k=K.litHtmlVersions)&&void 0!==k?k:K.litHtmlVersions=[]).push("2.7.3");
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
53
  */
54
- var vt,pt;let bt=class extends k{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var n,r;const o=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:e;let s=o._$litPart$;if(void 0===s){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;o._$litPart$=s=new st(e.insertBefore(q(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Y}};bt.finalized=!0,bt._$litElement$=!0,null===(vt=globalThis.litElementHydrateSupport)||void 0===vt||vt.call(globalThis,{LitElement:bt});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:bt}),(null!==(pt=globalThis.litElementVersions)&&void 0!==pt?pt:globalThis.litElementVersions=[]).push("3.3.2");class wt{static create(t,e,i){let n=t=>m(null!=t?t:i),r=g`var(${m(t)}, ${n(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=n,r.get=e=>g`var(${m(t)}, ${n(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let n=t=>e.get(null!=t?t:i),r=g`var(${m(t)}, ${n(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=n,r.get=e=>g`var(${m(t)}, ${n(e)})`,r.breadcrumb=()=>[e.name,...e.breadcrumb()],r.lastResortDefaultValue=()=>i,r}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):m(null!=e?e:t.defaultValue),n=g`var(${m(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=e,n.defaultCssValue=i,n.get=e=>g`var(${m(t.name)}, ${i(e)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},n}}wt.create("--ft-color-primary","COLOR","#2196F3"),wt.create("--ft-color-primary-variant","COLOR","#1976D2"),wt.create("--ft-color-secondary","COLOR","#FFCC80"),wt.create("--ft-color-secondary-variant","COLOR","#F57C00"),wt.create("--ft-color-surface","COLOR","#FFFFFF"),wt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),wt.create("--ft-color-error","COLOR","#B00020"),wt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),wt.create("--ft-color-opacity-high","NUMBER","1"),wt.create("--ft-color-opacity-medium","NUMBER","0.74"),wt.create("--ft-color-opacity-disabled","NUMBER","0.38"),wt.create("--ft-color-on-primary","COLOR","#FFFFFF"),wt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),wt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),wt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),wt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),wt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),wt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),wt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),wt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),wt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),wt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),wt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),wt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),wt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),wt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),wt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),wt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),wt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),wt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),wt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),wt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),wt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),wt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),wt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),wt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),wt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),wt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),wt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),wt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),wt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),wt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),wt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),wt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),wt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),wt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),wt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),wt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),wt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),wt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),wt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),wt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),wt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),wt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),wt.create("--ft-border-radius-S","SIZE","4px"),wt.create("--ft-border-radius-M","SIZE","8px"),wt.create("--ft-border-radius-L","SIZE","12px"),wt.create("--ft-border-radius-XL","SIZE","16px"),wt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),wt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),wt.create("--ft-transition-duration","UNKNOWN","250ms"),wt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out");class mt extends bt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return x(i,t.elementStyles),i}}var gt,xt=function(t,e,i,n){for(var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};const Ot=Symbol("constructorPrototype"),St=Symbol("constructorName"),Et=Symbol("exportpartsDebouncer");class jt extends mt{constructor(){super(),this[gt]=new o(5),this[St]=this.constructor.name,this[Ot]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[St]&&Object.setPrototypeOf(this,this[Ot])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Et].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,n,r,o,s;const a=t=>null!=t&&t.trim().length>0,u=t.filter(a).map((t=>t.trim()));if(0===u.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(r=null===(n=t.getAttribute("part"))||void 0===n?void 0:n.split(" "))&&void 0!==r?r:[],i=null!==(s=null===(o=t.getAttribute("exportparts"))||void 0===o?void 0:o.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const l=[...c.values()].flatMap((t=>u.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...l].join(", "))}}gt=Et,xt([a()],jt.prototype,"exportpartsPrefix",void 0),xt([d([])],jt.prototype,"exportpartsPrefixes",void 0),xt([a()],jt.prototype,"customStylesheet",void 0),g`
54
+ var pt,yt;let bt=class extends W{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const r=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=r.firstChild),r}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,r)=>{var e,n;const i=null!==(e=null==r?void 0:r.renderBefore)&&void 0!==e?e:o;let a=i._$litPart$;if(void 0===a){const t=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:null;i._$litPart$=a=new at(o.insertBefore(D(),t),t,void 0,null!=r?r:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return X}};bt.finalized=!0,bt._$litElement$=!0,null===(pt=globalThis.litElementHydrateSupport)||void 0===pt||pt.call(globalThis,{LitElement:bt});const gt=globalThis.litElementPolyfillSupport;null==gt||gt({LitElement:bt}),(null!==(yt=globalThis.litElementVersions)&&void 0!==yt?yt:globalThis.litElementVersions=[]).push("3.3.2");const mt=t=>"string"==typeof t?v(t):t;class vt{static create(t,o,r,e){const n=t=>mt(null!=t?t:e),i=O`var(${mt(t)}, ${n(e)})`;return i.name=t,i.description=t,i.category=r,i.defaultValue=e,i.defaultCssValue=n,i.get=o=>O`var(${mt(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>e,i}static extend(t,o,r,e){const n=t=>r.get(null!=t?t:e),i=O`var(${mt(t)}, ${n(e)})`;return i.name=t,i.description=o,i.category=r.category,i.fallbackVariable=r,i.defaultValue=e,i.defaultCssValue=n,i.get=o=>O`var(${mt(t)}, ${n(o)})`,i.breadcrumb=()=>[r.name,...r.breadcrumb()],i.lastResortDefaultValue=()=>null!=e?e:r.lastResortDefaultValue(),i}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):mt(null!=o?o:t.lastResortDefaultValue()),e=O`var(${mt(t.name)}, ${r(t.defaultValue)})`;return e.name=t.name,e.category=t.category,e.fallbackVariable=t.fallbackVariable,e.defaultValue=t.defaultValue,e.context=o,e.defaultCssValue=r,e.get=o=>O`var(${mt(t.name)}, ${r(o)})`,e.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],e.lastResortDefaultValue=()=>t.lastResortDefaultValue(),e}}const Ot={colorWhite:vt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:vt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:vt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:vt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:vt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:vt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:vt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:vt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:vt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:vt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:vt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:vt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:vt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:vt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:vt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:vt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:vt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:vt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:vt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:vt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:vt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:vt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:vt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:vt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:vt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:vt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:vt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:vt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:vt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:vt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:vt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:vt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:vt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:vt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:vt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:vt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:vt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:vt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:vt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:vt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:vt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:vt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:vt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:vt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:vt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:vt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:vt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:vt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:vt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:vt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:vt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:vt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:vt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:vt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:vt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:vt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:vt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:vt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:vt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:vt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:vt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:vt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:vt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:vt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:vt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:vt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:vt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:vt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:vt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:vt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:vt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:vt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:vt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:vt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:vt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:vt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:vt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:vt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:vt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:vt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:vt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:vt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:vt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:vt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:vt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:vt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:vt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:vt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:vt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:vt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:vt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:vt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:vt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:vt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:vt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:vt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:vt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:vt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:vt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:vt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:vt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:vt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:vt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:vt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:vt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:vt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:vt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:vt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:vt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:vt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:vt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:vt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:vt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:vt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:vt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:vt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:vt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:vt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:vt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:vt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:vt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:vt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:vt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:vt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:vt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:vt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:vt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:vt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:vt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:vt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:vt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:vt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:vt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:vt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:vt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:vt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:vt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:vt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:vt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:vt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:vt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:vt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:vt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:vt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:vt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:vt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:vt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:vt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:vt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:vt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:vt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:vt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:vt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:vt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:vt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:vt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:vt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:vt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:vt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:vt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:vt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:vt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:vt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:vt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:vt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:vt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:vt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:vt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:vt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:vt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:vt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:vt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:vt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:vt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:vt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:vt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:vt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:vt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:vt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:vt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:vt.create("--ft-opacity-0","","NUMBER","0"),opacity8:vt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:vt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:vt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:vt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:vt.create("--ft-opacity-80","","NUMBER","0.8")};vt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-display-lineHeight","","SIZE","120%"),vt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),vt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),vt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-display-textCase","","UNKNOWN","none"),vt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),vt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),vt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),vt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),vt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),vt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),vt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),vt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),vt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),vt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),vt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),vt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),vt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),vt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),vt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),vt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),vt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),vt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),vt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),vt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),vt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),vt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),vt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),vt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),vt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),vt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),vt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),vt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),vt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),vt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),vt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),vt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),vt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),vt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),vt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),vt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),vt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),vt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),vt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),vt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),vt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),vt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),vt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),vt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),vt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),vt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),vt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),vt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),vt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),vt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),vt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),vt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),vt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),vt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),vt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),vt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),vt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),vt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),vt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),vt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),vt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),vt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),vt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),vt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),vt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),vt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),vt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),vt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),vt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),vt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),vt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),vt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),vt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),vt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),vt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),vt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),vt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),vt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),vt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),vt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),vt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),vt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),vt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),vt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),vt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const Nt={backgroundActionPrimary:vt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ot.colorBrand0),backgroundErrorPrimary:vt.extend("--ft-background-error-primary","Used as background of error components.",Ot.colorRed0),backgroundErrorSubtle:vt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ot.colorRed10),backgroundInfoPrimary:vt.extend("--ft-background-info-primary","Used as background of information components.",Ot.colorCyan200),backgroundInfoSubtle:vt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ot.colorCyan10),backgroundWarningPrimary:vt.extend("--ft-background-warning-primary","Used as background of warning components.",Ot.colorOrange300),backgroundWarningSubtle:vt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ot.colorOrange10),backgroundSuccessPrimary:vt.extend("--ft-background-success-primary","Used as background of success components.",Ot.colorGreen200),backgroundSuccessSubtle:vt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ot.colorGreen10),backgroundGlobalSurface:vt.extend("--ft-background-global-surface","Used as app background.",Ot.colorWhite),backgroundGlobalOnSurface:vt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ot.colorGray10),backgroundGlobalOnSurfaceDark:vt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ot.colorGray30),contentActionPrimary:vt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ot.colorBrand0),contentWarningPrimary:vt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ot.colorOrange300),contentWarningIconOnly:vt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ot.colorOrange0),contentErrorPrimary:vt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ot.colorRed0),contentErrorIconOnly:vt.extend("--ft-content-error-icon-only","Used on error status icons alone",Ot.colorRed0),contentInfoPrimary:vt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ot.colorCyan200),contentInfoIconOnly:vt.extend("--ft-content-info-icon-only","Used on info status icons alone",Ot.colorCyan0),contentSuccessIconOnly:vt.extend("--ft-content-success-icon-only","Used on success status icons alone",Ot.colorGreen0),contentSuccessPrimary:vt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ot.colorGreen200),contentGlobalPrimary:vt.extend("--ft-content-global-primary","Used for main content on the page.",Ot.colorGray500),contentGlobalSecondary:vt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ot.colorGray200),contentGlobalSubtle:vt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ot.colorGray0),contentGlobalOnColor:vt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ot.colorWhite),borderActionPrimary:vt.extend("--ft-border-action-primary","Used as border for primary action components.",Ot.colorBrand0),borderActionFocusRing:vt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ot.colorCyan0),borderWarningPrimary:vt.extend("--ft-border-warning-primary","Used as border for warning components.",Ot.colorOrange30),borderSuccessPrimary:vt.extend("--ft-border-success-primary","Used as border for success components.",Ot.colorGreen30),borderErrorPrimary:vt.extend("--ft-border-error-primary","Used as border for error components.",Ot.colorRed30),borderInfoPrimary:vt.extend("--ft-border-info-primary","Used as border for information components.",Ot.colorCyan30),borderGlobalSubtle:vt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ot.colorGray30),borderGlobalPrimary:vt.extend("--ft-border-global-primary","Used as border for element like input.",Ot.colorGray50),borderInputPrimary:vt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ot.colorGray80)};vt.create("--ft-button-large-height","","SIZE","40px"),vt.extend("--ft-button-large-horizontal-padding","",Ot.spacing4),vt.extend("--ft-button-large-gap","",Ot.spacing2),vt.extend("--ft-button-large-border-radius","",Ot.borderRadiusS),vt.extend("--ft-button-large-icon-size","",Ot.iconSize3),vt.create("--ft-button-large-border-width","","SIZE","1px"),vt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),vt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),vt.create("--ft-button-large-icon-only-width","","SIZE","40px"),vt.create("--ft-button-small-height","","SIZE","30px"),vt.extend("--ft-button-small-horizontal-padding","",Ot.spacing3),vt.extend("--ft-button-small-gap","",Ot.spacing2),vt.extend("--ft-button-small-border-radius","",Ot.borderRadiusS),vt.extend("--ft-button-small-icon-size","",Ot.iconSize2),vt.create("--ft-button-small-border-width","","SIZE","1px"),vt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),vt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),vt.create("--ft-button-small-icon-only-width","","SIZE","30px"),vt.extend("--ft-button-primary-background-color","",Nt.backgroundActionPrimary),vt.extend("--ft-button-primary-color","",Nt.contentGlobalOnColor),vt.extend("--ft-button-primary-icon-color","",Nt.contentGlobalOnColor),vt.extend("--ft-button-primary-state-layer-color","",Nt.contentGlobalOnColor),vt.extend("--ft-button-primary-state-layer-opacity-hover","",Ot.opacity16),vt.extend("--ft-button-primary-state-layer-opacity-focus","",Ot.opacity16),vt.extend("--ft-button-primary-state-layer-opacity-active","",Ot.opacity24),vt.extend("--ft-button-primary-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-button-focus-focus-ring-color","",Nt.borderActionFocusRing),vt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),vt.extend("--ft-button-tertiary-color","",Nt.contentActionPrimary),vt.extend("--ft-button-tertiary-icon-color","",Nt.contentActionPrimary),vt.extend("--ft-button-tertiary-state-layer-color","",Nt.contentActionPrimary),vt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ot.opacity8),vt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ot.opacity8),vt.extend("--ft-button-tertiary-state-layer-opacity-active","",Ot.opacity16),vt.extend("--ft-button-tertiary-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-button-secondary-background-color","",Ot.colorWhite),vt.extend("--ft-button-secondary-color","",Nt.contentActionPrimary),vt.extend("--ft-button-secondary-icon-color","",Nt.contentActionPrimary),vt.extend("--ft-button-secondary-state-layer-color","",Nt.contentActionPrimary),vt.extend("--ft-button-secondary-state-layer-opacity-hover","",Ot.opacity8),vt.extend("--ft-button-secondary-state-layer-opacity-focus","",Ot.opacity8),vt.extend("--ft-button-secondary-state-layer-opacity-active","",Ot.opacity16),vt.extend("--ft-button-secondary-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-button-secondary-border-color","",Nt.borderActionPrimary),vt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),vt.extend("--ft-button-neutral-icon-color","",Nt.contentGlobalSecondary),vt.extend("--ft-button-neutral-color","",Nt.contentGlobalSecondary),vt.extend("--ft-button-neutral-state-layer-color","",Nt.contentGlobalSecondary),vt.extend("--ft-button-neutral-state-layer-opacity-hover","",Ot.opacity8),vt.extend("--ft-button-neutral-state-layer-opacity-focus","",Ot.opacity8),vt.extend("--ft-button-neutral-state-layer-opacity-active","",Ot.opacity16),vt.extend("--ft-button-neutral-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-tabs-top-left-border-radius","",Ot.borderRadiusS),vt.extend("--ft-tabs-top-right-border-radius","",Ot.borderRadiusS),vt.extend("--ft-tabs-label-horizontal-padding","",Ot.spacing4),vt.extend("--ft-tabs-label-vertical-padding","",Ot.spacing3),vt.extend("--ft-tabs-label-gap","",Ot.spacing1),vt.extend("--ft-switch-group-horizontal-padding","",Ot.spacing1),vt.extend("--ft-switch-group-vertical-padding","",Ot.spacing1),vt.extend("--ft-switch-group-gap","",Ot.spacing1),vt.extend("--ft-switch-group-background-color","",Nt.backgroundGlobalSurface),vt.extend("--ft-switch-group-border-color","",Nt.borderGlobalSubtle),vt.create("--ft-switch-group-border-radius","","SIZE","6px"),vt.extend("--ft-switch-label-horizontal-padding","",Ot.spacing2),vt.extend("--ft-switch-label-vertical-padding","",Ot.spacing1),vt.extend("--ft-switch-icon-horizontal-padding","",Ot.spacing1),vt.extend("--ft-switch-icon-vertical-padding","",Ot.spacing1),vt.create("--ft-switch-focus-outline-width","","SIZE","2px"),vt.extend("--ft-switch-focus-focus-ring-color","",Nt.borderActionFocusRing),vt.extend("--ft-switch-option-border-radius","",Ot.borderRadiusS),vt.extend("--ft-switch-off-state-layer-opacity-hover","",Ot.opacity8),vt.extend("--ft-switch-off-state-layer-opacity-focus","",Ot.opacity8),vt.extend("--ft-switch-off-state-layer-opacity-active","",Ot.opacity16),vt.extend("--ft-switch-off-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-switch-off-color","",Nt.contentGlobalSubtle),vt.extend("--ft-switch-off-state-layer-color","",Nt.contentGlobalSubtle),vt.extend("--ft-chart-1-light","for area color charts",Ot.colorBrand40),vt.extend("--ft-chart-1-base","for line charts",Ot.colorBrand0),vt.extend("--ft-chart-2-light","for area color charts",Ot.colorYellow60),vt.extend("--ft-chart-2-base","for line charts",Ot.colorYellow100),vt.extend("--ft-chart-3-light","",Ot.colorUltramarine40),vt.extend("--ft-chart-3-base","",Ot.colorUltramarine70),vt.extend("--ft-chart-4-light","",Ot.colorCyan50),vt.extend("--ft-chart-4-base","",Ot.colorCyan100),vt.extend("--ft-chart-5-light","",Ot.colorRed40),vt.extend("--ft-chart-5-base","",Ot.colorRed60),vt.extend("--ft-chart-6-light","",Ot.colorGreen40),vt.extend("--ft-chart-6-base","",Ot.colorGreen70),vt.extend("--ft-chart-7-light","",Ot.colorOrange70),vt.extend("--ft-chart-7-base","",Ot.colorOrange100),vt.extend("--ft-chart-8-light","",Ot.colorAvocado70),vt.extend("--ft-chart-8-base","",Ot.colorAvocado200),vt.extend("--ft-chart-9-light","",Ot.colorBrown50),vt.extend("--ft-chart-9-base","",Ot.colorBrown200),vt.extend("--ft-chart-10-light","",Ot.colorGray50),vt.extend("--ft-chart-10-base","",Ot.colorGray80),vt.extend("--ft-chart-monochrome-10","",Ot.colorBrand10),vt.extend("--ft-chart-monochrome-20","",Ot.colorBrand20),vt.extend("--ft-chart-monochrome-30","",Ot.colorBrand40),vt.extend("--ft-chart-monochrome-40","",Ot.colorBrand60),vt.extend("--ft-chart-monochrome-50","",Ot.colorBrand0),vt.extend("--ft-chart-monochrome-60","",Ot.colorBrand200),vt.extend("--ft-chip-large-horizontal-padding","",Ot.spacing4),vt.extend("--ft-chip-large-vertical-padding","",Ot.spacing2),vt.extend("--ft-chip-large-gap","",Ot.spacing1),vt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),vt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),vt.extend("--ft-chip-large-border-radius","",Ot.borderRadiusPill),vt.create("--ft-chip-large-border-width","","SIZE","1px"),vt.extend("--ft-chip-large-icon-size","",Ot.iconSize3),vt.extend("--ft-chip-medium-horizontal-padding","",Ot.spacing3),vt.extend("--ft-chip-medium-vertical-padding","",Ot.spacing1),vt.extend("--ft-chip-medium-gap","",Ot.spacing1),vt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),vt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),vt.extend("--ft-chip-medium-border-radius","",Ot.borderRadiusPill),vt.create("--ft-chip-medium-border-width","","SIZE","1px"),vt.extend("--ft-chip-medium-icon-size","",Ot.iconSize2),vt.extend("--ft-chip-small-horizontal-padding","",Ot.spacing2),vt.extend("--ft-chip-small-vertical-padding","",Ot.spacing05),vt.extend("--ft-chip-small-gap","",Ot.spacing1),vt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),vt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),vt.extend("--ft-chip-small-border-radius","",Ot.borderRadiusPill),vt.create("--ft-chip-small-border-width","","SIZE","1px"),vt.extend("--ft-chip-small-icon-size","",Ot.iconSize1),vt.extend("--ft-chip-neutral-background-color","",Nt.backgroundGlobalOnSurface),vt.extend("--ft-chip-neutral-color","",Nt.contentGlobalPrimary),vt.extend("--ft-chip-neutral-border-color","",Nt.borderGlobalSubtle),vt.extend("--ft-chip-info-background-color","",Nt.backgroundInfoSubtle),vt.extend("--ft-chip-info-color","",Nt.contentInfoPrimary),vt.extend("--ft-chip-info-border-color","",Nt.borderInfoPrimary),vt.extend("--ft-chip-success-background-color","",Nt.backgroundSuccessSubtle),vt.extend("--ft-chip-success-color","",Nt.contentSuccessPrimary),vt.extend("--ft-chip-success-border-color","",Nt.borderSuccessPrimary),vt.extend("--ft-chip-warning-background-color","",Nt.backgroundWarningSubtle),vt.extend("--ft-chip-warning-color","",Nt.contentWarningPrimary),vt.extend("--ft-chip-warning-border-color","",Nt.borderWarningPrimary),vt.extend("--ft-chip-error-background-color","",Nt.backgroundErrorSubtle),vt.extend("--ft-chip-error-color","",Nt.contentErrorPrimary),vt.extend("--ft-chip-error-border-color","",Nt.borderErrorPrimary),vt.create("--ft-notice-border-width","","SIZE","1px"),vt.extend("--ft-notice-horizontal-padding","",Ot.spacing2),vt.extend("--ft-notice-vertical-padding","",Ot.spacing1),vt.extend("--ft-notice-border-radius","",Ot.borderRadiusS),vt.extend("--ft-notice-gap","",Ot.spacing2),vt.extend("--ft-notice-icon-size","",Ot.iconSize3),vt.extend("--ft-notice-info-background-color","",Nt.backgroundInfoSubtle),vt.extend("--ft-notice-info-border-color","",Nt.borderInfoPrimary),vt.extend("--ft-notice-info-color","",Nt.contentInfoPrimary),vt.extend("--ft-notice-warning-background-color","",Nt.backgroundWarningSubtle),vt.extend("--ft-notice-warning-border-color","",Nt.borderWarningPrimary),vt.extend("--ft-notice-warning-color","",Nt.contentWarningPrimary),vt.extend("--ft-checkbox-label-color","",Nt.contentGlobalPrimary),vt.extend("--ft-checkbox-checked-background-color","",Nt.contentActionPrimary),vt.extend("--ft-checkbox-checked-state-layer-color","",Nt.contentActionPrimary),vt.extend("--ft-checkbox-checked-color","",Nt.contentGlobalOnColor),vt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ot.opacity16),vt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ot.opacity16),vt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ot.opacity24),vt.extend("--ft-checkbox-checked-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-checkbox-unchecked-border-color","",Ot.colorGray80),vt.extend("--ft-checkbox-unchecked-state-layer-color","",Ot.colorGray80),vt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ot.opacity16),vt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ot.opacity16),vt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ot.opacity24),vt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-checkbox-focus-focus-ring-color","",Nt.borderActionFocusRing),vt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),vt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),vt.extend("--ft-checkbox-gap","",Ot.spacing3),vt.extend("--ft-toggle-off-state-layer-opacity-hover","",Ot.opacity16),vt.extend("--ft-toggle-off-state-layer-opacity-focus","",Ot.opacity16),vt.extend("--ft-toggle-off-state-layer-opacity-active","",Ot.opacity24),vt.extend("--ft-toggle-off-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-toggle-off-background-color","",Nt.contentGlobalSubtle),vt.extend("--ft-toggle-off-icon-color","",Nt.contentGlobalSubtle),vt.extend("--ft-toggle-off-state-layer-color","",Nt.contentGlobalSubtle),vt.extend("--ft-toggle-on-state-layer-opacity-hover","",Ot.opacity16),vt.extend("--ft-toggle-on-state-layer-opacity-focus","",Ot.opacity16),vt.extend("--ft-toggle-on-state-layer-opacity-active","",Ot.opacity24),vt.extend("--ft-toggle-on-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-toggle-on-background-color","",Nt.contentActionPrimary),vt.extend("--ft-toggle-on-icon-color","",Nt.contentActionPrimary),vt.extend("--ft-toggle-on-state-layer-color","",Nt.contentActionPrimary),vt.extend("--ft-toggle-label-color","",Nt.contentGlobalPrimary),vt.extend("--ft-toggle-focus-focus-ring-color","",Nt.borderActionFocusRing),vt.extend("--ft-toggle-gap","",Ot.spacing3),vt.extend("--ft-radio-label-color","",Nt.contentGlobalPrimary),vt.extend("--ft-radio-selected-color","",Nt.contentActionPrimary),vt.extend("--ft-radio-selected-state-layer-color","",Nt.contentActionPrimary),vt.extend("--ft-radio-selected-state-layer-opacity-hover","",Ot.opacity16),vt.extend("--ft-radio-selected-state-layer-opacity-focus","",Ot.opacity16),vt.extend("--ft-radio-selected-state-layer-opacity-active","",Ot.opacity24),vt.extend("--ft-radio-selected-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-radio-unselected-state-layer-color","",Ot.colorGray80),vt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ot.opacity16),vt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ot.opacity16),vt.extend("--ft-radio-unselected-state-layer-opacity-active","",Ot.opacity24),vt.extend("--ft-radio-unselected-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-radio-focus-focus-ring-color","",Nt.borderActionFocusRing),vt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),vt.create("--ft-radio-focus-outline-width","","SIZE","2px"),vt.extend("--ft-radio-gap","",Ot.spacing3),vt.extend("--ft-notification-icon-size","",Ot.iconSize4),vt.extend("--ft-notification-horizontal-padding","",Ot.spacing4),vt.extend("--ft-notification-vertical-padding","",Ot.spacing4),vt.extend("--ft-notification-info-background-color","",Nt.backgroundInfoSubtle),vt.extend("--ft-notification-info-color","",Nt.contentInfoPrimary),vt.extend("--ft-notification-info-border-color","",Nt.borderInfoPrimary),vt.extend("--ft-notification-success-background-color","",Nt.backgroundSuccessSubtle),vt.extend("--ft-notification-success-color","",Nt.contentSuccessPrimary),vt.extend("--ft-notification-success-border-color","",Nt.borderSuccessPrimary),vt.extend("--ft-notification-warning-background-color","",Nt.backgroundWarningSubtle),vt.extend("--ft-notification-warning-color","",Nt.contentWarningPrimary),vt.extend("--ft-notification-warning-border-color","",Nt.borderWarningPrimary),vt.extend("--ft-notification-error-background-color","",Nt.backgroundErrorSubtle),vt.extend("--ft-notification-error-color","",Nt.contentErrorPrimary),vt.extend("--ft-notification-error-border-color","",Nt.borderErrorPrimary),vt.extend("--ft-notification-border-radius","",Ot.borderRadiusPill),vt.create("--ft-notification-border-width","","SIZE","1px"),vt.extend("--ft-notification-gap-leading","",Ot.spacing2),vt.extend("--ft-notification-gap-trailing","",Ot.spacing8),vt.create("--ft-color-primary","","COLOR","#2196F3"),vt.create("--ft-color-primary-variant","","COLOR","#1976D2"),vt.create("--ft-color-secondary","","COLOR","#FFCC80"),vt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),vt.create("--ft-color-surface","","COLOR","#FFFFFF"),vt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),vt.create("--ft-color-error","","COLOR","#B00020"),vt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),vt.create("--ft-color-opacity-high","","NUMBER","1"),vt.create("--ft-color-opacity-medium","","NUMBER","0.74"),vt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),vt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),vt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),vt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),vt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),vt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),vt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),vt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),vt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),vt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),vt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),vt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),vt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),vt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),vt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),vt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),vt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),vt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),vt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),vt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),vt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),vt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),vt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),vt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),vt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),vt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),vt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),vt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),vt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),vt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),vt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),vt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),vt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),vt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),vt.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),vt.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),vt.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),vt.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),vt.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),vt.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),vt.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),vt.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),vt.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),vt.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),vt.create("--ft-border-radius-S","","SIZE","4px"),vt.create("--ft-border-radius-M","","SIZE","8px"),vt.create("--ft-border-radius-L","","SIZE","12px"),vt.create("--ft-border-radius-XL","","SIZE","16px"),vt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),vt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),vt.create("--ft-transition-duration","","UNKNOWN","250ms"),vt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");class wt extends bt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,r])=>t.registry.define(o,r))));const o={...t.shadowRootOptions,customElements:t.registry},r=this.renderOptions.creationScope=this.attachShadow(o);return N(r,t.elementStyles),r}}var St,Ct=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};const xt=Symbol("constructorPrototype"),Et=Symbol("constructorName"),Rt=Symbol("exportpartsDebouncer");class Ut extends wt{constructor(){super(),this[St]=new i(5),this[Et]=this.constructor.name,this[xt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Et]&&Object.setPrototypeOf(this,this[xt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,r;if((null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Rt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,r,e,n,i,a;const c=t=>null!=t&&t.trim().length>0,s=t.filter(c).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==r?r:[]){const o=null!==(n=null===(e=t.getAttribute("part"))||void 0===e?void 0:e.split(" "))&&void 0!==n?n:[],r=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...r).filter(c).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}St=Rt,Ct([c()],Ut.prototype,"exportpartsPrefix",void 0),Ct([d([])],Ut.prototype,"exportpartsPrefixes",void 0),Ct([c()],Ut.prototype,"customStylesheet",void 0),O`
55
55
  .ft-no-text-select {
56
56
  -webkit-touch-callout: none;
57
57
  -webkit-user-select: none;
@@ -60,7 +60,7 @@ var vt,pt;let bt=class extends k{constructor(){super(...arguments),this.renderOp
60
60
  -ms-user-select: none;
61
61
  user-select: none;
62
62
  }
63
- `,g`
63
+ `,O`
64
64
  .ft-word-wrap {
65
65
  white-space: normal;
66
66
  word-wrap: break-word;
@@ -72,7 +72,7 @@ var vt,pt;let bt=class extends k{constructor(){super(...arguments),this.renderOp
72
72
  -webkit-hyphens: auto;
73
73
  hyphens: auto
74
74
  }
75
- `,g`
75
+ `,O`
76
76
  .ft-safari-ellipsis-fix {
77
77
  margin-right: 0;
78
78
 
@@ -83,10 +83,10 @@ var vt,pt;let bt=class extends k{constructor(){super(...arguments),this.renderOp
83
83
  display: inline-block;
84
84
  width: 0;
85
85
  }
86
- `;class Ct{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,n;t=this.resolvePluralKey(t,e);let r=null!==(n=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==n?n:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),r}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}function Rt(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Nt,Mt,At;const kt=Symbol("internalReduxEventsUnsubscribers"),Ut=Symbol("internalStoresUnsubscribers"),Lt=Symbol("internalStores");class Ft extends jt{constructor(){super(...arguments),this[Nt]=new Map,this[Mt]=new Map,this[At]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Lt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Lt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Lt].get(t)}addStore(t,e){var i;e=null!==(i=null!=e?e:Rt(t)?t.name:void 0)&&void 0!==i?i:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Lt].delete(e)}setupStore(t,e){this[Lt].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Lt].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(t.store?this[Ut].has(t.store):this[Ut].size>0)&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){var i;this[Ut].set(t,e.subscribe((()=>this.updateFromStores()))),Rt(e)&&e.eventBus&&(null===(i=this.reduxEventListeners)||void 0===i||i.forEach(((t,i)=>{if("function"==typeof this[i]&&(!t.store||e.name===t.store)){const n=t=>this[i](t);e.eventBus.addEventListener(t.eventName,n),this[kt].push((()=>e.eventBus.removeEventListener(t.eventName,n)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ut].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[kt].forEach((t=>t())),this[kt]=[]}unsubscribeFromStore(t){this[Ut].has(t)&&this[Ut].get(t)(),this[Ut].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Pt(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+t+(i.length?" "+i.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function $t(t){return!!t&&!!t[Oe]}function _t(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===Se}(t)||Array.isArray(t)||!!t[xe]||!!(null===(e=t.constructor)||void 0===e?void 0:e[xe])||Dt(t)||Kt(t))}function Tt(t,e,i){void 0===i&&(i=!1),0===It(t)?(i?Object.keys:Ee)(t).forEach((function(n){i&&"symbol"==typeof n||e(n,t[n],t)})):t.forEach((function(i,n){return e(n,i,t)}))}function It(t){var e=t[Oe];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Dt(t)?2:Kt(t)?3:0}function Bt(t,e){return 2===It(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function qt(t,e,i){var n=It(t);2===n?t.set(e,i):3===n?t.add(i):t[e]=i}function Wt(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Dt(t){return ye&&t instanceof Map}function Kt(t){return we&&t instanceof Set}function zt(t){return t.o||t.t}function Vt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=je(t);delete e[Oe];for(var i=Ee(e),n=0;n<i.length;n++){var r=i[n],o=e[r];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(e[r]={configurable:!0,writable:!0,enumerable:o.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function Ht(t,e){return void 0===e&&(e=!1),Zt(t)||$t(t)||!_t(t)||(It(t)>1&&(t.set=t.add=t.clear=t.delete=Jt),Object.freeze(t),e&&Tt(t,(function(t,e){return Ht(e,!0)}),!0)),t}function Jt(){Pt(2)}function Zt(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Qt(t){var e=Ce[t];return e||Pt(18,t),e}function Xt(){return pe}function Gt(t,e){e&&(Qt("Patches"),t.u=[],t.s=[],t.v=e)}function Yt(t){te(t),t.p.forEach(ie),t.p=null}function te(t){t===pe&&(pe=t.l)}function ee(t){return pe={p:[],l:pe,h:t,m:!0,_:0}}function ie(t){var e=t[Oe];0===e.i||1===e.i?e.j():e.g=!0}function ne(t,e){e._=e.p.length;var i=e.p[0],n=void 0!==t&&t!==i;return e.h.O||Qt("ES5").S(e,t,n),n?(i[Oe].P&&(Yt(e),Pt(4)),_t(t)&&(t=re(e,t),e.l||se(e,t)),e.u&&Qt("Patches").M(i[Oe].t,t,e.u,e.s)):t=re(e,i,[]),Yt(e),e.u&&e.v(e.u,e.s),t!==ge?t:void 0}function re(t,e,i){if(Zt(e))return e;var n=e[Oe];if(!n)return Tt(e,(function(r,o){return oe(t,n,e,r,o,i)}),!0),e;if(n.A!==t)return e;if(!n.P)return se(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var r=4===n.i||5===n.i?n.o=Vt(n.k):n.o,o=r,s=!1;3===n.i&&(o=new Set(r),r.clear(),s=!0),Tt(o,(function(e,o){return oe(t,n,r,e,o,i,s)})),se(t,r,!1),i&&t.u&&Qt("Patches").N(n,i,t.u,t.s)}return n.o}function oe(t,e,i,n,r,o,s){if($t(r)){var a=re(t,r,o&&e&&3!==e.i&&!Bt(e.R,n)?o.concat(n):void 0);if(qt(i,n,a),!$t(a))return;t.m=!1}else s&&i.add(r);if(_t(r)&&!Zt(r)){if(!t.h.D&&t._<1)return;re(t,r),e&&e.A.l||se(t,r)}}function se(t,e,i){void 0===i&&(i=!1),!t.l&&t.h.D&&t.m&&Ht(e,i)}function ae(t,e){var i=t[Oe];return(i?zt(i):t)[e]}function ue(t,e){if(e in t)for(var i=Object.getPrototypeOf(t);i;){var n=Object.getOwnPropertyDescriptor(i,e);if(n)return n;i=Object.getPrototypeOf(i)}}function ce(t){t.P||(t.P=!0,t.l&&ce(t.l))}function le(t){t.o||(t.o=Vt(t.t))}function he(t,e,i){var n=Dt(e)?Qt("MapSet").F(e,i):Kt(e)?Qt("MapSet").T(e,i):t.O?function(t,e){var i=Array.isArray(t),n={i:i?1:0,A:e?e.A:Xt(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=n,o=Re;i&&(r=[n],o=Ne);var s=Proxy.revocable(r,o),a=s.revoke,u=s.proxy;return n.k=u,n.j=a,u}(e,i):Qt("ES5").J(e,i);return(i?i.A:Xt()).p.push(n),n}function fe(t){return $t(t)||Pt(22,t),function t(e){if(!_t(e))return e;var i,n=e[Oe],r=It(e);if(n){if(!n.P&&(n.i<4||!Qt("ES5").K(n)))return n.t;n.I=!0,i=de(e,r),n.I=!1}else i=de(e,r);return Tt(i,(function(e,r){n&&function(t,e){return 2===It(t)?t.get(e):t[e]}(n.t,e)===r||qt(i,e,t(r))})),3===r?new Set(i):i}(t)}function de(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Vt(t)}Nt=Ut,Mt=Lt,At=kt;var ve,pe,be="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ye="undefined"!=typeof Map,we="undefined"!=typeof Set,me="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ge=be?Symbol.for("immer-nothing"):((ve={})["immer-nothing"]=!0,ve),xe=be?Symbol.for("immer-draftable"):"__$immer_draftable",Oe=be?Symbol.for("immer-state"):"__$immer_state",Se=""+Object.prototype.constructor,Ee="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,je=Object.getOwnPropertyDescriptors||function(t){var e={};return Ee(t).forEach((function(i){e[i]=Object.getOwnPropertyDescriptor(t,i)})),e},Ce={},Re={get:function(t,e){if(e===Oe)return t;var i=zt(t);if(!Bt(i,e))return function(t,e,i){var n,r=ue(e,i);return r?"value"in r?r.value:null===(n=r.get)||void 0===n?void 0:n.call(t.k):void 0}(t,i,e);var n=i[e];return t.I||!_t(n)?n:n===ae(t.t,e)?(le(t),t.o[e]=he(t.A.h,n,t)):n},has:function(t,e){return e in zt(t)},ownKeys:function(t){return Reflect.ownKeys(zt(t))},set:function(t,e,i){var n=ue(zt(t),e);if(null==n?void 0:n.set)return n.set.call(t.k,i),!0;if(!t.P){var r=ae(zt(t),e),o=null==r?void 0:r[Oe];if(o&&o.t===i)return t.o[e]=i,t.R[e]=!1,!0;if(Wt(i,r)&&(void 0!==i||Bt(t.t,e)))return!0;le(t),ce(t)}return t.o[e]===i&&(void 0!==i||e in t.o)||Number.isNaN(i)&&Number.isNaN(t.o[e])||(t.o[e]=i,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==ae(t.t,e)||e in t.t?(t.R[e]=!1,le(t),ce(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var i=zt(t),n=Reflect.getOwnPropertyDescriptor(i,e);return n?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:n.enumerable,value:i[e]}:n},defineProperty:function(){Pt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Pt(12)}},Ne={};Tt(Re,(function(t,e){Ne[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Ne.deleteProperty=function(t,e){return Ne.set.call(this,t,e,void 0)},Ne.set=function(t,e,i){return Re.set.call(this,t[0],e,i,t[0])};var Me=function(){function t(t){var e=this;this.O=me,this.D=!0,this.produce=function(t,i,n){if("function"==typeof t&&"function"!=typeof i){var r=i;i=t;var o=e;return function(t){var e=this;void 0===t&&(t=r);for(var n=arguments.length,s=Array(n>1?n-1:0),a=1;a<n;a++)s[a-1]=arguments[a];return o.produce(t,(function(t){var n;return(n=i).call.apply(n,[e,t].concat(s))}))}}var s;if("function"!=typeof i&&Pt(6),void 0!==n&&"function"!=typeof n&&Pt(7),_t(t)){var a=ee(e),u=he(e,t,void 0),c=!0;try{s=i(u),c=!1}finally{c?Yt(a):te(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return Gt(a,n),ne(t,a)}),(function(t){throw Yt(a),t})):(Gt(a,n),ne(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=i(t))&&(s=t),s===ge&&(s=void 0),e.D&&Ht(s,!0),n){var l=[],h=[];Qt("Patches").M(t,s,l,h),n(l,h)}return s}Pt(21,t)},this.produceWithPatches=function(t,i){if("function"==typeof t)return function(i){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.produceWithPatches(i,(function(e){return t.apply(void 0,[e].concat(r))}))};var n,r,o=e.produce(t,i,(function(t,e){n=t,r=e}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(t){return[t,n,r]})):[o,n,r]},"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 e=t.prototype;return e.createDraft=function(t){_t(t)||Pt(8),$t(t)&&(t=fe(t));var e=ee(this),i=he(this,t,void 0);return i[Oe].C=!0,te(e),i},e.finishDraft=function(t,e){var i=(t&&t[Oe]).A;return Gt(i,e),ne(void 0,i)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!me&&Pt(20),this.O=t},e.applyPatches=function(t,e){var i;for(i=e.length-1;i>=0;i--){var n=e[i];if(0===n.path.length&&"replace"===n.op){t=n.value;break}}i>-1&&(e=e.slice(i+1));var r=Qt("Patches").$;return $t(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),Ae=new Me,ke=Ae.produce;function Ue(t){return Ue="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},Ue(t)}function Le(t){var e=function(t,e){if("object"!==Ue(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==Ue(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Ue(e)?e:String(e)}function Fe(t,e,i){return(e=Le(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Pe(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function $e(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Pe(Object(i),!0).forEach((function(e){Fe(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Pe(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function _e(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. "}Ae.produceWithPatches.bind(Ae),Ae.setAutoFreeze.bind(Ae),Ae.setUseProxies.bind(Ae),Ae.applyPatches.bind(Ae),Ae.createDraft.bind(Ae),Ae.finishDraft.bind(Ae);var Te="function"==typeof Symbol&&Symbol.observable||"@@observable",Ie=function(){return Math.random().toString(36).substring(7).split("").join(".")},Be={INIT:"@@redux/INIT"+Ie(),REPLACE:"@@redux/REPLACE"+Ie(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ie()}};function qe(t,e,i){var n;if("function"==typeof e&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(_e(0));if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw new Error(_e(1));return i(qe)(t,e)}if("function"!=typeof t)throw new Error(_e(2));var r=t,o=e,s=[],a=s,u=!1;function c(){a===s&&(a=s.slice())}function l(){if(u)throw new Error(_e(3));return o}function h(t){if("function"!=typeof t)throw new Error(_e(4));if(u)throw new Error(_e(5));var e=!0;return c(),a.push(t),function(){if(e){if(u)throw new Error(_e(6));e=!1,c();var i=a.indexOf(t);a.splice(i,1),s=null}}}function f(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(_e(7));if(void 0===t.type)throw new Error(_e(8));if(u)throw new Error(_e(9));try{u=!0,o=r(o,t)}finally{u=!1}for(var e=s=a,i=0;i<e.length;i++){(0,e[i])()}return t}return f({type:Be.INIT}),(n={dispatch:f,subscribe:h,getState:l,replaceReducer:function(t){if("function"!=typeof t)throw new Error(_e(10));r=t,f({type:Be.REPLACE})}})[Te]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(_e(11));function i(){t.next&&t.next(l())}return i(),{unsubscribe:e(i)}}})[Te]=function(){return this},t},n}function We(t){for(var e=Object.keys(t),i={},n=0;n<e.length;n++){var r=e[n];"function"==typeof t[r]&&(i[r]=t[r])}var o,s=Object.keys(i);try{!function(t){Object.keys(t).forEach((function(e){var i=t[e];if(void 0===i(void 0,{type:Be.INIT}))throw new Error(_e(12));if(void 0===i(void 0,{type:Be.PROBE_UNKNOWN_ACTION()}))throw new Error(_e(13))}))}(i)}catch(t){o=t}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var n=!1,r={},a=0;a<s.length;a++){var u=s[a],c=i[u],l=t[u],h=c(l,e);if(void 0===h)throw e&&e.type,new Error(_e(14));r[u]=h,n=n||h!==l}return(n=n||s.length!==Object.keys(t).length)?r:t}}function De(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Ke(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return function(){var i=t.apply(void 0,arguments),n=function(){throw new Error(_e(15))},r={getState:i.getState,dispatch:function(){return n.apply(void 0,arguments)}},o=e.map((function(t){return t(r)}));return n=De.apply(void 0,o)(i.dispatch),$e($e({},i),{},{dispatch:n})}}}function ze(t){return function(e){var i=e.dispatch,n=e.getState;return function(e){return function(r){return"function"==typeof r?r(i,n,t):e(r)}}}}var Ve=ze();Ve.withExtraArgument=ze;var He,Je=Ve,Ze=(He=function(t,e){return He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},He(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}He(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),Qe=function(t,e){var i,n,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},Xe=function(t,e){for(var i=0,n=e.length,r=t.length;i<n;i++,r++)t[r]=e[i];return t},Ge=Object.defineProperty,Ye=Object.defineProperties,ti=Object.getOwnPropertyDescriptors,ei=Object.getOwnPropertySymbols,ii=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable,ri=function(t,e,i){return e in t?Ge(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i},oi=function(t,e){for(var i in e||(e={}))ii.call(e,i)&&ri(t,i,e[i]);if(ei)for(var n=0,r=ei(e);n<r.length;n++){i=r[n];ni.call(e,i)&&ri(t,i,e[i])}return t},si=function(t,e){return Ye(t,ti(e))},ai="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?De:De.apply(null,arguments)};var ui=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return Ze(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Xe([void 0],t[0].concat(this)))):new(e.bind.apply(e,Xe([void 0],t.concat(this))))},e}(Array),ci=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return Ze(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Xe([void 0],t[0].concat(this)))):new(e.bind.apply(e,Xe([void 0],t.concat(this))))},e}(Array);function li(t){return _t(t)?ke(t,(function(){})):t}function hi(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,i=void 0===e||e;t.immutableCheck,t.serializableCheck;var n=new ui;i&&(!function(t){return"boolean"==typeof t}(i)?n.push(Je.withExtraArgument(i.extraArgument)):n.push(Je));return n}(t)}}function fi(t){var e,i=hi(),n=t||{},r=n.reducer,o=void 0===r?void 0:r,s=n.middleware,a=void 0===s?i():s,u=n.devTools,c=void 0===u||u,l=n.preloadedState,h=void 0===l?void 0:l,f=n.enhancers,d=void 0===f?void 0:f;if("function"==typeof o)e=o;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var i=e;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return e===i}(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=We(o)}var v=a;"function"==typeof v&&(v=v(i));var p=Ke.apply(void 0,v),b=De;c&&(b=ai(oi({trace:!1},"object"==typeof c&&c)));var y=new ci(p),w=y;return Array.isArray(d)?w=Xe([p],d):"function"==typeof d&&(w=d(y)),qe(e,h,b.apply(void 0,w))}function di(t,e){function i(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var r=e.apply(void 0,i);if(!r)throw new Error("prepareAction did not return an object");return oi(oi({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:i[0]}}return i.toString=function(){return""+t},i.type=t,i.match=function(e){return e.type===t},i}function vi(t){var e,i={},n=[],r={addCase:function(t,e){var n="string"==typeof t?t:t.type;if(n in i)throw new Error("addCase cannot be called with two reducers for the same action type");return i[n]=e,r},addMatcher:function(t,e){return n.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[i,n,e]}function pi(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var i,n="function"==typeof t.initialState?t.initialState:li(t.initialState),r=t.reducers||{},o=Object.keys(r),s={},a={},u={};function c(){var e="function"==typeof t.extraReducers?vi(t.extraReducers):[t.extraReducers],i=e[0],r=void 0===i?{}:i,o=e[1],s=void 0===o?[]:o,u=e[2],c=void 0===u?void 0:u,l=oi(oi({},r),a);return function(t,e,i,n){void 0===i&&(i=[]);var r,o="function"==typeof e?vi(e):[e,i,n],s=o[0],a=o[1],u=o[2];if(function(t){return"function"==typeof t}(t))r=function(){return li(t())};else{var c=li(t);r=function(){return c}}function l(t,e){void 0===t&&(t=r());var i=Xe([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===i.filter((function(t){return!!t})).length&&(i=[u]),i.reduce((function(t,i){if(i){var n;if($t(t))return void 0===(n=i(t,e))?t:n;if(_t(t))return ke(t,(function(t){return i(t,e)}));if(void 0===(n=i(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return t}),t)}return l.getInitialState=r,l}(n,(function(t){for(var e in l)t.addCase(e,l[e]);for(var i=0,n=s;i<n.length;i++){var r=n[i];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return o.forEach((function(t){var i,n,o=r[t],c=e+"/"+t;"reducer"in o?(i=o.reducer,n=o.prepare):i=o,s[t]=i,a[c]=i,u[t]=n?di(c,n):di(c)})),{name:e,reducer:function(t,e){return i||(i=c()),i(t,e)},actions:u,caseReducers:s,getInitialState:function(){return i||(i=c()),i.getInitialState()}}}var bi=["name","message","stack","code"],yi=function(t,e){this.payload=t,this.meta=e},wi=function(t,e){this.payload=t,this.meta=e},mi=function(t){if("object"==typeof t&&null!==t){for(var e={},i=0,n=bi;i<n.length;i++){var r=n[i];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function gi(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,i){var n=di(t+"/fulfilled",(function(t,e,i,n){return{payload:t,meta:si(oi({},n||{}),{arg:i,requestId:e,requestStatus:"fulfilled"})}})),r=di(t+"/pending",(function(t,e,i){return{payload:void 0,meta:si(oi({},i||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),o=di(t+"/rejected",(function(t,e,n,r,o){return{payload:r,error:(i&&i.serializeError||mi)(t||"Rejected"),meta:si(oi({},o||{}),{arg:n,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="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(a,u,c){var l,h=(null==i?void 0:i.idGenerator)?i.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",i=t;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),f=new s;function d(t){l=t,f.abort()}var v=function(){return s=this,v=null,p=function(){var s,v,p,b,y,w;return Qe(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),b=null==(s=null==i?void 0:i.condition)?void 0:s.call(i,t,{getState:u,extra:c}),null===(g=b)||"object"!=typeof g||"function"!=typeof g.then?[3,2]:[4,b];case 1:b=m.sent(),m.label=2;case 2:if(!1===b||f.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise((function(t,e){return f.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:l||"Aborted"})}))})),a(r(h,t,null==(v=null==i?void 0:i.getPendingMeta)?void 0:v.call(i,{requestId:h,arg:t},{getState:u,extra:c}))),[4,Promise.race([y,Promise.resolve(e(t,{dispatch:a,getState:u,extra:c,requestId:h,signal:f.signal,abort:d,rejectWithValue:function(t,e){return new yi(t,e)},fulfillWithValue:function(t,e){return new wi(t,e)}})).then((function(e){if(e instanceof yi)throw e;return e instanceof wi?n(e.payload,h,t,e.meta):n(e,h,t)}))])];case 3:return p=m.sent(),[3,5];case 4:return w=m.sent(),p=w instanceof yi?o(null,h,t,w.payload,w.meta):o(w,h,t),[3,5];case 5:return i&&!i.dispatchConditionRejection&&o.match(p)&&p.meta.condition||a(p),[2,p]}var g}))},new Promise((function(t,e){var i=function(t){try{r(p.next(t))}catch(t){e(t)}},n=function(t){try{r(p.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(i,n)};r((p=p.apply(s,v)).next())}));var s,v,p}();return Object.assign(v,{abort:d,requestId:h,arg:t,unwrap:function(){return v.then(gi)}})}}),{pending:r,rejected:o,fulfilled:n,typePrefix:t})}t.withTypes=function(){return t}}();var xi="listenerMiddleware";di(xi+"/add"),di(xi+"/removeAll"),di(xi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var i=r[t];return i?i.enumerable=e:r[t]=i={configurable:!0,enumerable:e,get:function(){var e=this[Oe];return Re.get(e,t)},set:function(e){var i=this[Oe];Re.set(i,t,e)}},i}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Oe];if(!r.P)switch(r.i){case 5:n(r)&&ce(r);break;case 4:i(r)&&ce(r)}}}function i(t){for(var e=t.t,i=t.k,n=Ee(i),r=n.length-1;r>=0;r--){var o=n[r];if(o!==Oe){var s=e[o];if(void 0===s&&!Bt(e,o))return!0;var a=i[o],u=a&&a[Oe];if(u?u.t!==s:!Wt(a,s))return!0}}var c=!!e[Oe];return n.length!==Ee(e).length+(c?0:1)}function n(t){var e=t.k;if(e.length!==t.t.length)return!0;var i=Object.getOwnPropertyDescriptor(e,e.length-1);if(i&&!i.get)return!0;for(var n=0;n<e.length;n++)if(!e.hasOwnProperty(n))return!0;return!1}var r={};!function(t,e){Ce[t]||(Ce[t]=e)}("ES5",{J:function(e,i){var n=Array.isArray(e),r=function(e,i){if(e){for(var n=Array(i.length),r=0;r<i.length;r++)Object.defineProperty(n,""+r,t(r,!0));return n}var o=je(i);delete o[Oe];for(var s=Ee(o),a=0;a<s.length;a++){var u=s[a];o[u]=t(u,e||!!o[u].enumerable)}return Object.create(Object.getPrototypeOf(i),o)}(n,e),o={i:n?5:4,A:i?i.A:Xt(),P:!1,I:!1,R:{},l:i,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Oe,{value:o,writable:!0}),r},S:function(t,i,r){r?$t(i)&&i[Oe].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var i=e[Oe];if(i){var r=i.t,o=i.k,s=i.R,a=i.i;if(4===a)Tt(o,(function(e){e!==Oe&&(void 0!==r[e]||Bt(r,e)?s[e]||t(o[e]):(s[e]=!0,ce(i)))})),Tt(r,(function(t){void 0!==o[t]||Bt(o,t)||(s[t]=!1,ce(i))}));else if(5===a){if(n(i)&&(ce(i),s.length=!0),o.length<r.length)for(var u=o.length;u<r.length;u++)s[u]=!1;else for(var c=r.length;c<o.length;c++)s[c]=!0;for(var l=Math.min(o.length,r.length),h=0;h<l;h++)o.hasOwnProperty(h)||(s[h]=!0),void 0===s[h]&&t(o[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?i(t):n(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Oi{static get(t){var e;const i="string"==typeof t?t:t.name,n="string"==typeof t?void 0:t,r=window.ftReduxStores[i];if(Rt(r))return r;if(null==n)return;const o=pi({...n,reducers:null!==(e=n.reducers)&&void 0!==e?e:{}}),s=fi({reducer:(t,e)=>{var i;switch(e.type){case"CLEAR_FT_REDUX_STORE":return o.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(i=e.overwrites)&&void 0!==i?i:{}};default:return o.reducer(t,e)}}});return window.ftReduxStores[n.name]=new Oi(o,s)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,i)=>{const n=e,r=t[n];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[n]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",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()}}const Si=t=>{const e=null!=t?t:{};return(t,i)=>{var n;const r={hasChanged:(t,e)=>!h(t,e),attribute:!1,...e};a(r)(t,i);const o=t;o.reduxProperties=o.reduxProperties||new Map,o.reduxProperties.set(i,{selector:null!==(n=e.selector)&&void 0!==n?n:t=>t[i],store:e.store})}};var Ei,ji;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ji=null===(Ei=window.safari)||void 0===Ei?void 0:Ei.pushNotification)||void 0===ji||ji.toString());const Ci=g`
87
- `,Ri={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}},Ni=g`
88
- `,Mi=Oi.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Ai{static build(t){const{baseUrl:e,apiIntegrationIdentifier:i}=Mi.getState(),n=null!=t?t:i;if(e&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,n,!0)}static get(t){var e;return null!=t?Ai.build(t):null!==(e=Ai.API)&&void 0!==e?e:Ai.API=Ai.build()}static await(t){return new Promise((e=>{let i=Ai.get(t);if(i)e(i);else{const n=Mi.subscribe((()=>{i=Ai.get(t),i&&(n(),e(i))}))}}))}}var ki;const Ui=Symbol("clearAfterUnitTest");class Li{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[ki]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Mi.getState().uiLocale,Mi.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Mi.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const n={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};h(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var n,r,o;t=t.toLowerCase(),this.fetchContext(t);const s=null!==(r=null===(n=this.cache.getNow(t))||void 0===n?void 0:n.messages)&&void 0!==r?r:{};return new Ct(null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},s).resolve(e,...i)}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,e){var i;return t=t.toLowerCase(),this.listeners[t]=null!==(i=this.listeners[t])&&void 0!==i?i:new Set,this.listeners[t].add(e),()=>{var i;return null===(i=this.listeners[t])||void 0===i?void 0:i.delete(e)}}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=>l(0).then((()=>t())).catch((()=>null)))))}}ki=Ui,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Li((async(t,e)=>(await Ai.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Li((async(t,e)=>(await Ai.await()).getCustomMessageContext(t,e))));const Fi=window.FluidTopicsI18nService;var Pi=function(t,e,i,n){for(var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};class $i extends jt{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ai.get(),this.cache=new r,this.cleanSessionDebouncer=new o}render(){return G`
86
+ `;class Lt{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var r,e;t=this.resolvePluralKey(t,o);let n=null!==(e=null!==(r=this.labels[t])&&void 0!==r?r:this.defaultLabels[t])&&void 0!==e?e:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,r)=>this.formatValue(t,r))))),n}resolvePluralKey(t,o){for(let r of o)if("number"==typeof r){const o=`${String(t)}[\\=${r}]`;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 r=r=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(r):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(r):t.toLocaleString(r);try{return r(document.documentElement.lang)}catch(t){return r()}}}function It(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Wt,kt,Kt;const jt=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),At=Symbol("internalStores");class Ft extends Ut{constructor(){super(...arguments),this[Wt]=new Map,this[kt]=new Map,this[Kt]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[At].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[At].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[At].get(t)}addStore(t,o){var r;o=null!==(r=null!=o?o:It(t)?t.name:void 0)&&void 0!==r?r:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[At].delete(o)}setupStore(t,o){this[At].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[At].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const r=this.constructor.getPropertyOptions(o);if(!(null==r?void 0:r.attribute)||!this.hasAttribute("string"==typeof(null==r?void 0:r.attribute)?r.attribute:o)){const r=this.getStore(t.store);r&&(t.store?this[Zt].has(t.store):this[Zt].size>0)&&(this[o]=t.selector(r.getState(),this))}}))}subscribeToStore(t,o){var r;this[Zt].set(t,o.subscribe((()=>this.updateFromStores()))),It(o)&&o.eventBus&&(null===(r=this.reduxEventListeners)||void 0===r||r.forEach(((t,r)=>{if("function"==typeof this[r]&&(!t.store||o.name===t.store)){const e=t=>this[r](t);o.eventBus.addEventListener(t.eventName,e),this[jt].push((()=>o.eventBus.removeEventListener(t.eventName,e)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Zt].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[jt].forEach((t=>t())),this[jt]=[]}unsubscribeFromStore(t){this[Zt].has(t)&&this[Zt].get(t)(),this[Zt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Mt(t){for(var o=arguments.length,r=Array(o>1?o-1:0),e=1;e<o;e++)r[e-1]=arguments[e];throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Bt(t){return!!t&&!!t[Eo]}function Pt(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 r=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===Ro}(t)||Array.isArray(t)||!!t[xo]||!!(null===(o=t.constructor)||void 0===o?void 0:o[xo])||Gt(t)||Ht(t))}function Dt(t,o,r){void 0===r&&(r=!1),0===zt(t)?(r?Object.keys:Uo)(t).forEach((function(e){r&&"symbol"==typeof e||o(e,t[e],t)})):t.forEach((function(r,e){return o(e,r,t)}))}function zt(t){var o=t[Eo];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Gt(t)?2:Ht(t)?3:0}function $t(t,o){return 2===zt(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function _t(t,o,r){var e=zt(t);2===e?t.set(o,r):3===e?t.add(r):t[o]=r}function Tt(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Gt(t){return No&&t instanceof Map}function Ht(t){return wo&&t instanceof Set}function qt(t){return t.o||t.t}function Yt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Lo(t);delete o[Eo];for(var r=Uo(o),e=0;e<r.length;e++){var n=r[e],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function Vt(t,o){return void 0===o&&(o=!1),Qt(t)||Bt(t)||!Pt(t)||(zt(t)>1&&(t.set=t.add=t.clear=t.delete=Jt),Object.freeze(t),o&&Dt(t,(function(t,o){return Vt(o,!0)}),!0)),t}function Jt(){Mt(2)}function Qt(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Xt(t){var o=Io[t];return o||Mt(18,t),o}function to(){return vo}function oo(t,o){o&&(Xt("Patches"),t.u=[],t.s=[],t.v=o)}function ro(t){eo(t),t.p.forEach(io),t.p=null}function eo(t){t===vo&&(vo=t.l)}function no(t){return vo={p:[],l:vo,h:t,m:!0,_:0}}function io(t){var o=t[Eo];0===o.i||1===o.i?o.j():o.g=!0}function ao(t,o){o._=o.p.length;var r=o.p[0],e=void 0!==t&&t!==r;return o.h.O||Xt("ES5").S(o,t,e),e?(r[Eo].P&&(ro(o),Mt(4)),Pt(t)&&(t=co(o,t),o.l||lo(o,t)),o.u&&Xt("Patches").M(r[Eo].t,t,o.u,o.s)):t=co(o,r,[]),ro(o),o.u&&o.v(o.u,o.s),t!==Co?t:void 0}function co(t,o,r){if(Qt(o))return o;var e=o[Eo];if(!e)return Dt(o,(function(n,i){return so(t,e,o,n,i,r)}),!0),o;if(e.A!==t)return o;if(!e.P)return lo(t,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var n=4===e.i||5===e.i?e.o=Yt(e.k):e.o,i=n,a=!1;3===e.i&&(i=new Set(n),n.clear(),a=!0),Dt(i,(function(o,i){return so(t,e,n,o,i,r,a)})),lo(t,n,!1),r&&t.u&&Xt("Patches").N(e,r,t.u,t.s)}return e.o}function so(t,o,r,e,n,i,a){if(Bt(n)){var c=co(t,n,i&&o&&3!==o.i&&!$t(o.R,e)?i.concat(e):void 0);if(_t(r,e,c),!Bt(c))return;t.m=!1}else a&&r.add(n);if(Pt(n)&&!Qt(n)){if(!t.h.D&&t._<1)return;co(t,n),o&&o.A.l||lo(t,n)}}function lo(t,o,r){void 0===r&&(r=!1),!t.l&&t.h.D&&t.m&&Vt(o,r)}function fo(t,o){var r=t[Eo];return(r?qt(r):t)[o]}function uo(t,o){if(o in t)for(var r=Object.getPrototypeOf(t);r;){var e=Object.getOwnPropertyDescriptor(r,o);if(e)return e;r=Object.getPrototypeOf(r)}}function ho(t){t.P||(t.P=!0,t.l&&ho(t.l))}function po(t){t.o||(t.o=Yt(t.t))}function yo(t,o,r){var e=Gt(o)?Xt("MapSet").F(o,r):Ht(o)?Xt("MapSet").T(o,r):t.O?function(t,o){var r=Array.isArray(t),e={i:r?1:0,A:o?o.A:to(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=e,i=Wo;r&&(n=[e],i=ko);var a=Proxy.revocable(n,i),c=a.revoke,s=a.proxy;return e.k=s,e.j=c,s}(o,r):Xt("ES5").J(o,r);return(r?r.A:to()).p.push(e),e}function bo(t){return Bt(t)||Mt(22,t),function t(o){if(!Pt(o))return o;var r,e=o[Eo],n=zt(o);if(e){if(!e.P&&(e.i<4||!Xt("ES5").K(e)))return e.t;e.I=!0,r=go(o,n),e.I=!1}else r=go(o,n);return Dt(r,(function(o,n){e&&function(t,o){return 2===zt(t)?t.get(o):t[o]}(e.t,o)===n||_t(r,o,t(n))})),3===n?new Set(r):r}(t)}function go(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Yt(t)}Wt=Zt,kt=At,Kt=jt;var mo,vo,Oo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),No="undefined"!=typeof Map,wo="undefined"!=typeof Set,So="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Co=Oo?Symbol.for("immer-nothing"):((mo={})["immer-nothing"]=!0,mo),xo=Oo?Symbol.for("immer-draftable"):"__$immer_draftable",Eo=Oo?Symbol.for("immer-state"):"__$immer_state",Ro=""+Object.prototype.constructor,Uo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Lo=Object.getOwnPropertyDescriptors||function(t){var o={};return Uo(t).forEach((function(r){o[r]=Object.getOwnPropertyDescriptor(t,r)})),o},Io={},Wo={get:function(t,o){if(o===Eo)return t;var r=qt(t);if(!$t(r,o))return function(t,o,r){var e,n=uo(o,r);return n?"value"in n?n.value:null===(e=n.get)||void 0===e?void 0:e.call(t.k):void 0}(t,r,o);var e=r[o];return t.I||!Pt(e)?e:e===fo(t.t,o)?(po(t),t.o[o]=yo(t.A.h,e,t)):e},has:function(t,o){return o in qt(t)},ownKeys:function(t){return Reflect.ownKeys(qt(t))},set:function(t,o,r){var e=uo(qt(t),o);if(null==e?void 0:e.set)return e.set.call(t.k,r),!0;if(!t.P){var n=fo(qt(t),o),i=null==n?void 0:n[Eo];if(i&&i.t===r)return t.o[o]=r,t.R[o]=!1,!0;if(Tt(r,n)&&(void 0!==r||$t(t.t,o)))return!0;po(t),ho(t)}return t.o[o]===r&&(void 0!==r||o in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[o])||(t.o[o]=r,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==fo(t.t,o)||o in t.t?(t.R[o]=!1,po(t),ho(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var r=qt(t),e=Reflect.getOwnPropertyDescriptor(r,o);return e?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:e.enumerable,value:r[o]}:e},defineProperty:function(){Mt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Mt(12)}},ko={};Dt(Wo,(function(t,o){ko[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ko.deleteProperty=function(t,o){return ko.set.call(this,t,o,void 0)},ko.set=function(t,o,r){return Wo.set.call(this,t[0],o,r,t[0])};var Ko=function(){function t(t){var o=this;this.O=So,this.D=!0,this.produce=function(t,r,e){if("function"==typeof t&&"function"!=typeof r){var n=r;r=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var e=arguments.length,a=Array(e>1?e-1:0),c=1;c<e;c++)a[c-1]=arguments[c];return i.produce(t,(function(t){var e;return(e=r).call.apply(e,[o,t].concat(a))}))}}var a;if("function"!=typeof r&&Mt(6),void 0!==e&&"function"!=typeof e&&Mt(7),Pt(t)){var c=no(o),s=yo(o,t,void 0),l=!0;try{a=r(s),l=!1}finally{l?ro(c):eo(c)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return oo(c,e),ao(t,c)}),(function(t){throw ro(c),t})):(oo(c,e),ao(a,c))}if(!t||"object"!=typeof t){if(void 0===(a=r(t))&&(a=t),a===Co&&(a=void 0),o.D&&Vt(a,!0),e){var f=[],u=[];Xt("Patches").M(t,a,f,u),e(f,u)}return a}Mt(21,t)},this.produceWithPatches=function(t,r){if("function"==typeof t)return function(r){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return o.produceWithPatches(r,(function(o){return t.apply(void 0,[o].concat(n))}))};var e,n,i=o.produce(t,r,(function(t,o){e=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,e,n]})):[i,e,n]},"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){Pt(t)||Mt(8),Bt(t)&&(t=bo(t));var o=no(this),r=yo(this,t,void 0);return r[Eo].C=!0,eo(o),r},o.finishDraft=function(t,o){var r=(t&&t[Eo]).A;return oo(r,o),ao(void 0,r)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!So&&Mt(20),this.O=t},o.applyPatches=function(t,o){var r;for(r=o.length-1;r>=0;r--){var e=o[r];if(0===e.path.length&&"replace"===e.op){t=e.value;break}}r>-1&&(o=o.slice(r+1));var n=Xt("Patches").$;return Bt(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),jo=new Ko,Zo=jo.produce;function Ao(t){return Ao="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},Ao(t)}function Fo(t){var o=function(t,o){if("object"!==Ao(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var e=r.call(t,o||"default");if("object"!==Ao(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Ao(o)?o:String(o)}function Mo(t,o,r){return(o=Fo(o))in t?Object.defineProperty(t,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[o]=r,t}function Bo(t,o){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);o&&(e=e.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),r.push.apply(r,e)}return r}function Po(t){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?Bo(Object(r),!0).forEach((function(o){Mo(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Bo(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function Do(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. "}jo.produceWithPatches.bind(jo),jo.setAutoFreeze.bind(jo),jo.setUseProxies.bind(jo),jo.applyPatches.bind(jo),jo.createDraft.bind(jo),jo.finishDraft.bind(jo);var zo="function"==typeof Symbol&&Symbol.observable||"@@observable",$o=function(){return Math.random().toString(36).substring(7).split("").join(".")},_o={INIT:"@@redux/INIT"+$o(),REPLACE:"@@redux/REPLACE"+$o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+$o()}};function To(t,o,r){var e;if("function"==typeof o&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(Do(0));if("function"==typeof o&&void 0===r&&(r=o,o=void 0),void 0!==r){if("function"!=typeof r)throw new Error(Do(1));return r(To)(t,o)}if("function"!=typeof t)throw new Error(Do(2));var n=t,i=o,a=[],c=a,s=!1;function l(){c===a&&(c=a.slice())}function f(){if(s)throw new Error(Do(3));return i}function u(t){if("function"!=typeof t)throw new Error(Do(4));if(s)throw new Error(Do(5));var o=!0;return l(),c.push(t),function(){if(o){if(s)throw new Error(Do(6));o=!1,l();var r=c.indexOf(t);c.splice(r,1),a=null}}}function h(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(Do(7));if(void 0===t.type)throw new Error(Do(8));if(s)throw new Error(Do(9));try{s=!0,i=n(i,t)}finally{s=!1}for(var o=a=c,r=0;r<o.length;r++){(0,o[r])()}return t}return h({type:_o.INIT}),(e={dispatch:h,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Do(10));n=t,h({type:_o.REPLACE})}})[zo]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Do(11));function r(){t.next&&t.next(f())}return r(),{unsubscribe:o(r)}}})[zo]=function(){return this},t},e}function Go(t){for(var o=Object.keys(t),r={},e=0;e<o.length;e++){var n=o[e];"function"==typeof t[n]&&(r[n]=t[n])}var i,a=Object.keys(r);try{!function(t){Object.keys(t).forEach((function(o){var r=t[o];if(void 0===r(void 0,{type:_o.INIT}))throw new Error(Do(12));if(void 0===r(void 0,{type:_o.PROBE_UNKNOWN_ACTION()}))throw new Error(Do(13))}))}(r)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var e=!1,n={},c=0;c<a.length;c++){var s=a[c],l=r[s],f=t[s],u=l(f,o);if(void 0===u)throw o&&o.type,new Error(Do(14));n[s]=u,e=e||u!==f}return(e=e||a.length!==Object.keys(t).length)?n:t}}function Ho(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];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 qo(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return function(t){return function(){var r=t.apply(void 0,arguments),e=function(){throw new Error(Do(15))},n={getState:r.getState,dispatch:function(){return e.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return e=Ho.apply(void 0,i)(r.dispatch),Po(Po({},r),{},{dispatch:e})}}}function Yo(t){return function(o){var r=o.dispatch,e=o.getState;return function(o){return function(n){return"function"==typeof n?n(r,e,t):o(n)}}}}var Vo=Yo();Vo.withExtraArgument=Yo;var Jo,Qo=Vo,Xo=(Jo=function(t,o){return Jo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r])},Jo(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 r(){this.constructor=t}Jo(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}),tr=function(t,o){var r,e,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,e&&(n=2&i[0]?e.return:i[0]?e.throw||((n=e.return)&&n.call(e),0):e.next)&&!(n=n.call(e,i[1])).done)return n;switch(e=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,e=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],e=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},or=function(t,o){for(var r=0,e=o.length,n=t.length;r<e;r++,n++)t[n]=o[r];return t},rr=Object.defineProperty,er=Object.defineProperties,nr=Object.getOwnPropertyDescriptors,ir=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,cr=Object.prototype.propertyIsEnumerable,sr=function(t,o,r){return o in t?rr(t,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[o]=r},lr=function(t,o){for(var r in o||(o={}))ar.call(o,r)&&sr(t,r,o[r]);if(ir)for(var e=0,n=ir(o);e<n.length;e++){r=n[e];cr.call(o,r)&&sr(t,r,o[r])}return t},fr=function(t,o){return er(t,nr(o))},ur="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Ho:Ho.apply(null,arguments)};var hr=function(t){function o(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,o.prototype),n}return Xo(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,or([void 0],t[0].concat(this)))):new(o.bind.apply(o,or([void 0],t.concat(this))))},o}(Array),dr=function(t){function o(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,o.prototype),n}return Xo(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,or([void 0],t[0].concat(this)))):new(o.bind.apply(o,or([void 0],t.concat(this))))},o}(Array);function pr(t){return Pt(t)?Zo(t,(function(){})):t}function yr(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,r=void 0===o||o;t.immutableCheck,t.serializableCheck;var e=new hr;r&&(!function(t){return"boolean"==typeof t}(r)?e.push(Qo.withExtraArgument(r.extraArgument)):e.push(Qo));return e}(t)}}function br(t){var o,r=yr(),e=t||{},n=e.reducer,i=void 0===n?void 0:n,a=e.middleware,c=void 0===a?r():a,s=e.devTools,l=void 0===s||s,f=e.preloadedState,u=void 0===f?void 0:f,h=e.enhancers,d=void 0===h?void 0:h;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var r=o;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return o===r}(i))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=Go(i)}var p=c;"function"==typeof p&&(p=p(r));var y=qo.apply(void 0,p),b=Ho;l&&(b=ur(lr({trace:!1},"object"==typeof l&&l)));var g=new dr(y),m=g;return Array.isArray(d)?m=or([y],d):"function"==typeof d&&(m=d(g)),To(o,u,b.apply(void 0,m))}function gr(t,o){function r(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];if(o){var n=o.apply(void 0,r);if(!n)throw new Error("prepareAction did not return an object");return lr(lr({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:r[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function mr(t){var o,r={},e=[],n={addCase:function(t,o){var e="string"==typeof t?t:t.type;if(e in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[e]=o,n},addMatcher:function(t,o){return e.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[r,e,o]}function vr(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var r,e="function"==typeof t.initialState?t.initialState:pr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},s={};function l(){var o="function"==typeof t.extraReducers?mr(t.extraReducers):[t.extraReducers],r=o[0],n=void 0===r?{}:r,i=o[1],a=void 0===i?[]:i,s=o[2],l=void 0===s?void 0:s,f=lr(lr({},n),c);return function(t,o,r,e){void 0===r&&(r=[]);var n,i="function"==typeof o?mr(o):[o,r,e],a=i[0],c=i[1],s=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return pr(t())};else{var l=pr(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var r=or([a[o.type]],c.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===r.filter((function(t){return!!t})).length&&(r=[s]),r.reduce((function(t,r){if(r){var e;if(Bt(t))return void 0===(e=r(t,o))?t:e;if(Pt(t))return Zo(t,(function(t){return r(t,o)}));if(void 0===(e=r(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return e}return t}),t)}return f.getInitialState=n,f}(e,(function(t){for(var o in f)t.addCase(o,f[o]);for(var r=0,e=a;r<e.length;r++){var n=e[r];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var r,e,i=n[t],l=o+"/"+t;"reducer"in i?(r=i.reducer,e=i.prepare):r=i,a[t]=r,c[l]=r,s[t]=e?gr(l,e):gr(l)})),{name:o,reducer:function(t,o){return r||(r=l()),r(t,o)},actions:s,caseReducers:a,getInitialState:function(){return r||(r=l()),r.getInitialState()}}}var Or=["name","message","stack","code"],Nr=function(t,o){this.payload=t,this.meta=o},wr=function(t,o){this.payload=t,this.meta=o},Sr=function(t){if("object"==typeof t&&null!==t){for(var o={},r=0,e=Or;r<e.length;r++){var n=e[r];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Cr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,r){var e=gr(t+"/fulfilled",(function(t,o,r,e){return{payload:t,meta:fr(lr({},e||{}),{arg:r,requestId:o,requestStatus:"fulfilled"})}})),n=gr(t+"/pending",(function(t,o,r){return{payload:void 0,meta:fr(lr({},r||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=gr(t+"/rejected",(function(t,o,e,n,i){return{payload:n,error:(r&&r.serializeError||Sr)(t||"Rejected"),meta:fr(lr({},i||{}),{arg:e,requestId:o,rejectedWithValue:!!n,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(c,s,l){var f,u=(null==r?void 0:r.idGenerator)?r.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",r=t;r--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),h=new a;function d(t){f=t,h.abort()}var p=function(){return a=this,p=null,y=function(){var a,p,y,b,g,m;return tr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),b=null==(a=null==r?void 0:r.condition)?void 0:a.call(r,t,{getState:s,extra:l}),null===(O=b)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,b];case 1:b=v.sent(),v.label=2;case 2:if(!1===b||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,o){return h.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),c(n(u,t,null==(p=null==r?void 0:r.getPendingMeta)?void 0:p.call(r,{requestId:u,arg:t},{getState:s,extra:l}))),[4,Promise.race([g,Promise.resolve(o(t,{dispatch:c,getState:s,extra:l,requestId:u,signal:h.signal,abort:d,rejectWithValue:function(t,o){return new Nr(t,o)},fulfillWithValue:function(t,o){return new wr(t,o)}})).then((function(o){if(o instanceof Nr)throw o;return o instanceof wr?e(o.payload,u,t,o.meta):e(o,u,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Nr?i(null,u,t,m.payload,m.meta):i(m,u,t),[3,5];case 5:return r&&!r.dispatchConditionRejection&&i.match(y)&&y.meta.condition||c(y),[2,y]}var O}))},new Promise((function(t,o){var r=function(t){try{n(y.next(t))}catch(t){o(t)}},e=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(r,e)};n((y=y.apply(a,p)).next())}));var a,p,y}();return Object.assign(p,{abort:d,requestId:u,arg:t,unwrap:function(){return p.then(Cr)}})}}),{pending:n,rejected:i,fulfilled:e,typePrefix:t})}t.withTypes=function(){return t}}();var xr="listenerMiddleware";gr(xr+"/add"),gr(xr+"/removeAll"),gr(xr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var r=n[t];return r?r.enumerable=o:n[t]=r={configurable:!0,enumerable:o,get:function(){var o=this[Eo];return Wo.get(o,t)},set:function(o){var r=this[Eo];Wo.set(r,t,o)}},r}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][Eo];if(!n.P)switch(n.i){case 5:e(n)&&ho(n);break;case 4:r(n)&&ho(n)}}}function r(t){for(var o=t.t,r=t.k,e=Uo(r),n=e.length-1;n>=0;n--){var i=e[n];if(i!==Eo){var a=o[i];if(void 0===a&&!$t(o,i))return!0;var c=r[i],s=c&&c[Eo];if(s?s.t!==a:!Tt(c,a))return!0}}var l=!!o[Eo];return e.length!==Uo(o).length+(l?0:1)}function e(t){var o=t.k;if(o.length!==t.t.length)return!0;var r=Object.getOwnPropertyDescriptor(o,o.length-1);if(r&&!r.get)return!0;for(var e=0;e<o.length;e++)if(!o.hasOwnProperty(e))return!0;return!1}var n={};!function(t,o){Io[t]||(Io[t]=o)}("ES5",{J:function(o,r){var e=Array.isArray(o),n=function(o,r){if(o){for(var e=Array(r.length),n=0;n<r.length;n++)Object.defineProperty(e,""+n,t(n,!0));return e}var i=Lo(r);delete i[Eo];for(var a=Uo(i),c=0;c<a.length;c++){var s=a[c];i[s]=t(s,o||!!i[s].enumerable)}return Object.create(Object.getPrototypeOf(r),i)}(e,o),i={i:e?5:4,A:r?r.A:to(),P:!1,I:!1,R:{},l:r,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Eo,{value:i,writable:!0}),n},S:function(t,r,n){n?Bt(r)&&r[Eo].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var r=o[Eo];if(r){var n=r.t,i=r.k,a=r.R,c=r.i;if(4===c)Dt(i,(function(o){o!==Eo&&(void 0!==n[o]||$t(n,o)?a[o]||t(i[o]):(a[o]=!0,ho(r)))})),Dt(n,(function(t){void 0!==i[t]||$t(i,t)||(a[t]=!1,ho(r))}));else if(5===c){if(e(r)&&(ho(r),a.length=!0),i.length<n.length)for(var s=i.length;s<n.length;s++)a[s]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),u=0;u<f;u++)i.hasOwnProperty(u)||(a[u]=!0),void 0===a[u]&&t(i[u])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?r(t):e(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Er{static get(t){var o;const r="string"==typeof t?t:t.name,e="string"==typeof t?void 0:t,n=window.ftReduxStores[r];if(It(n))return n;if(null==e)return;const i=vr({...e,reducers:null!==(o=e.reducers)&&void 0!==o?o:{}}),a=br({reducer:(t,o)=>{var r;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(r=o.overwrites)&&void 0!==r?r:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[e.name]=new Er(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,r)=>{const e=o,n=t[e];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[e]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",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()}}const Rr=t=>{const o=null!=t?t:{};return(t,r)=>{var e;const n={hasChanged:(t,o)=>!u(t,o),attribute:!1,...o};c(n)(t,r);const i=t;i.reduxProperties=i.reduxProperties||new Map,i.reduxProperties.set(r,{selector:null!==(e=o.selector)&&void 0!==e?e:t=>t[r],store:o.store})}};var Ur,Lr;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Lr=null===(Ur=window.safari)||void 0===Ur?void 0:Ur.pushNotification)||void 0===Lr||Lr.toString());const Ir=O`
87
+ `,Wr={setRequest:(t,o)=>{t.request=o.payload},setRequestQuery:(t,o)=>{t.request.query=o.payload},setRequestContentLocale:(t,o)=>{t.request.contentLocale=o.payload},setPageSize:(t,o)=>{t.request.paging.perPage=o.payload},setPageNumber:(t,o)=>{t.request.paging.page=o.payload},setRequestSort:(t,o)=>{t.request.sort=o.payload},setRequestFilters:(t,o)=>{t.request.filters=o.payload},setRequestFacets:(t,o)=>{t.request.facets=o.payload},setResults:(t,o)=>{t.results=o.payload},setFacets:(t,o)=>{t.facets=o.payload},setSpellcheck:(t,o)=>{t.spellcheck=o.payload},setLocales:(t,o)=>{t.locales=o.payload},setPaging:(t,o)=>{t.paging=o.payload},setLiveQuery:(t,o)=>{t.liveQuery=o.payload},setSuggestResults:(t,o)=>{t.suggestResults=o.payload}},kr=O`
88
+ `,Kr=Er.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class jr{static build(t){const{baseUrl:o,apiIntegrationIdentifier:r}=Kr.getState(),e=null!=t?t:r;if(o&&e&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,e,!0)}static get(t){var o;return null!=t?jr.build(t):null!==(o=jr.API)&&void 0!==o?o:jr.API=jr.build()}static await(t){return new Promise((o=>{let r=jr.get(t);if(r)o(r);else{const e=Kr.subscribe((()=>{r=jr.get(t),r&&(e(),o(r))}))}}))}}var Zr;const Ar=Symbol("clearAfterUnitTest");class Fr{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new n,this.listeners={},this.currentUiLocale="",this[Zr]=()=>{this.defaultMessages={},this.cache=new n,this.listeners={}},this.currentUiLocale=Kr.getState().uiLocale,Kr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Kr.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 r;if(t=t.toLowerCase(),Object.keys(o).length>0){const e={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...o};u(this.defaultMessages[t],e)||(this.defaultMessages[t]=e,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...r){var e,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(e=this.cache.getNow(t))||void 0===e?void 0:e.messages)&&void 0!==n?n:{};return new Lt(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(o,...r)}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 r;return t=t.toLowerCase(),this.listeners[t]=null!==(r=this.listeners[t])&&void 0!==r?r:new Set,this.listeners[t].add(o),()=>{var r;return null===(r=this.listeners[t])||void 0===r?void 0:r.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=>f(0).then((()=>t())).catch((()=>null)))))}}Zr=Ar,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Fr((async(t,o)=>(await jr.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Fr((async(t,o)=>(await jr.await()).getCustomMessageContext(t,o))));const Mr=window.FluidTopicsI18nService;var Br=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};class Pr extends Ut{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>jr.get(),this.cache=new n,this.cleanSessionDebouncer=new i}render(){return Q`
89
89
  <slot></slot>
90
- `}update(t){super.update(t),t.has("baseUrl")&&Mi.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Mi.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Mi.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Mi.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Mi.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Mi.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Mi.actions.setSession(this.session),t.has("availableUiLocales")&&Mi.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Fi.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}$i.elementDefinitions={},$i.styles=Ni,Pi([a()],$i.prototype,"baseUrl",void 0),Pi([a()],$i.prototype,"apiIntegrationIdentifier",void 0),Pi([a()],$i.prototype,"uiLocale",void 0),Pi([d([])],$i.prototype,"availableUiLocales",void 0),Pi([a({type:Boolean})],$i.prototype,"editorMode",void 0),Pi([a({type:Boolean})],$i.prototype,"noCustom",void 0),Pi([a({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],$i.prototype,"noCustomComponent",void 0),Pi([a({type:Boolean})],$i.prototype,"withManualResources",void 0),Pi([d([])],$i.prototype,"messageContexts",void 0),Pi([d(void 0)],$i.prototype,"session",void 0),Pi([a({type:Object})],$i.prototype,"apiProvider",void 0);class _i{async listMySearches(){var t;return(null===(t=Mi.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ai.await()).listMySearches(Mi.getState().session.profile.userId):[]}}const Ti=new r;class Ii{async listMyBookmarks(){return Ti.get("bookmarks",(async()=>(await Ai.await()).listMyBookmarks(Mi.getState().session.profile.userId)))}clearCache(){Ti.clear("bookmarks")}}const Bi=Oi.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const qi=new class{constructor(){this.currentSession=Mi.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ii,Mi.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Mi.getState();h(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Bi.actions.savedSearches(void 0)}clearMyBookmarks(){Bi.actions.bookmarks(void 0)}async reloadMySearches(){const t=new _i,e=await t.listMySearches();Bi.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Bi.actions.bookmarks(e)}}};f("ft-app-context")($i);class Wi{static async build(){return new Wi(await Ai.await())}constructor(t){this.api=t,this.cache=new r,this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}class Di extends Event{constructor(){super(Di.eventName)}}Di.eventName="search-context-clear-all-filters";class Ki{static build(t){return new Ki((t=>Oi.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Ri}))(t.trim()||"context"),Wi.build)}constructor(t,e){this.store=t,this.serviceProvider=e,this.searchDebouncer=new o(100),this.suggestDebouncer=new o(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){for(;null==this.service;)await l(5);return this.service}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let e=this.store.getState().locales,i=this.store.getState().request.contentLocale;if(t!=i){if(e){const n=t=>e.some((e=>e.lang==t));n(t)||(t=n(i)?i:e[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Di)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let i=this.facetIds.filter((e=>e!=t));e&&i.push(e),this.facetIds=i,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let i=this.store.getState().request.filters,n={key:t,values:e,negative:!1},r=[...i.filter((e=>e.key!==t)),n];this.setFilters(r)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}async launchSearch(){return await this.awaitService(),this.searchDebouncer.run((()=>this.fetchSearchData()))}async launchSuggest(){await this.awaitService(),this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,i;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel(),this.cancelableSearch=n(this.service.launchSearch(this.store.getState().request));const e=await this.cancelableSearch;if(e.paging.currentPage<=1)this.store.actions.setResults(e.results),this.store.actions.setFacets(e.facets),this.store.actions.setSpellcheck(e.spellcheck);else{let t=(null!==(i=this.store.getState().results)&&void 0!==i?i:[]).concat(e.results);this.store.actions.setResults(t)}this.store.actions.setPaging(e.paging)}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{let e={input:this.store.getState().liveQuery,filters:this.store.getState().request.filters,sort:this.store.getState().request.sort,contentLocale:this.store.getState().request.contentLocale};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=n(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.setSuggestResults(i.suggestions)}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}}var zi=function(t,e,i,n){for(var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};class Vi extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Hi=Symbol("registerInterval");class Ji extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Hi]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Hi]):this.dispatchEvent(new Vi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Hi,zi([u()],i.prototype,"stateManager",void 0),i}(Ft)){}var Zi=function(t,e,i,n){for(var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};class Qi extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Xi extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Gi extends CustomEvent{constructor(t,e,i){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:i}})}}class Yi extends Ft{get stateManager(){return null==this._stateManager&&(this._stateManager=Ki.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0")),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")),this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.filters=[],this.sort=[],this.addStore(Mi)}render(){return G`
90
+ `}update(t){super.update(t),t.has("baseUrl")&&Kr.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Kr.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Kr.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Kr.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Kr.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Kr.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Kr.actions.setSession(this.session),t.has("availableUiLocales")&&Kr.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Mr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Pr.elementDefinitions={},Pr.styles=kr,Br([c()],Pr.prototype,"baseUrl",void 0),Br([c()],Pr.prototype,"apiIntegrationIdentifier",void 0),Br([c()],Pr.prototype,"uiLocale",void 0),Br([d([])],Pr.prototype,"availableUiLocales",void 0),Br([c({type:Boolean})],Pr.prototype,"editorMode",void 0),Br([c({type:Boolean})],Pr.prototype,"noCustom",void 0),Br([c({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Pr.prototype,"noCustomComponent",void 0),Br([c({type:Boolean})],Pr.prototype,"withManualResources",void 0),Br([d([])],Pr.prototype,"messageContexts",void 0),Br([d(void 0)],Pr.prototype,"session",void 0),Br([c({type:Object})],Pr.prototype,"apiProvider",void 0);class Dr{async listMySearches(){var t;return(null===(t=Kr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await jr.await()).listMySearches(Kr.getState().session.profile.userId):[]}}const zr=new n;class $r{async listMyBookmarks(){return zr.get("bookmarks",(async()=>(await jr.await()).listMyBookmarks(Kr.getState().session.profile.userId)))}clearCache(){zr.clear("bookmarks")}}const _r=Er.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Tr=new class{constructor(){this.currentSession=Kr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new $r,Kr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=Kr.getState();u(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(){_r.actions.savedSearches(void 0)}clearMyBookmarks(){_r.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Dr,o=await t.listMySearches();_r.actions.savedSearches(o)}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;_r.actions.bookmarks(o)}}};h("ft-app-context")(Pr);class Gr{static async build(){return new Gr(await jr.await())}constructor(t){this.api=t,this.cache=new n,this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}class Hr extends Event{constructor(){super(Hr.eventName)}}Hr.eventName="search-context-clear-all-filters";class qr{static build(t){return new qr((t=>Er.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Wr}))(t.trim()||"context"),Gr.build)}constructor(t,o){this.store=t,this.serviceProvider=o,this.searchDebouncer=new i(100),this.suggestDebouncer=new i(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){for(;null==this.service;)await f(5);return this.service}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let o=this.store.getState().locales,r=this.store.getState().request.contentLocale;if(t!=r){if(o){const e=t=>o.some((o=>o.lang==t));e(t)||(t=e(r)?r:o[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const o=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1),o.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Hr)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,o){let r=this.facetIds.filter((o=>o!=t));o&&r.push(o),this.facetIds=r,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let o=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(o)}setFilter(t,o){let r=this.store.getState().request.filters,e={key:t,values:o,negative:!1},n=[...r.filter((o=>o.key!==t)),e];this.setFilters(n)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}async launchSearch(){return await this.awaitService(),this.searchDebouncer.run((()=>this.fetchSearchData()))}async launchSuggest(){await this.awaitService(),this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,r;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel(),this.cancelableSearch=e(this.service.launchSearch(this.store.getState().request));const o=await this.cancelableSearch;if(o.paging.currentPage<=1)this.store.actions.setResults(o.results),this.store.actions.setFacets(o.facets),this.store.actions.setSpellcheck(o.spellcheck);else{let t=(null!==(r=this.store.getState().results)&&void 0!==r?r:[]).concat(o.results);this.store.actions.setResults(t)}this.store.actions.setPaging(o.paging)}catch(t){t instanceof o||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{let o={input:this.store.getState().liveQuery,filters:this.store.getState().request.filters,sort:this.store.getState().request.sort,contentLocale:this.store.getState().request.contentLocale};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=e(this.service.launchSuggest(o));let r=await this.cancelableSuggest;this.store.actions.setSuggestResults(r.suggestions)}catch(t){t instanceof o||!this.errorHandler||this.errorHandler(t)}}}var Yr=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};class Vr extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Jr=Symbol("registerInterval");class Qr extends(function(t){var o;class r extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Jr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Jr]):this.dispatchEvent(new Vr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Jr,Yr([s()],r.prototype,"stateManager",void 0),r}(Ft)){}var Xr=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};class te extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class oe extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class re extends CustomEvent{constructor(t,o,r){super("ft-search-results-change",{detail:{request:t,paging:o,spellcheck:r}})}}class ee extends Ft{get stateManager(){return null==this._stateManager&&(this._stateManager=qr.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0")),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")),this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.filters=[],this.sort=[],this.addStore(Kr)}render(){return Q`
91
91
  <slot @register-ft-search-component=${this.registerComponent}></slot>
92
- `}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new Xi(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Gi(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new Qi(t))}reloadSavedSearches(){qi.clearMySearches()}}Yi.elementDefinitions={},Yi.styles=Ci,Zi([a()],Yi.prototype,"query",void 0),Zi([a()],Yi.prototype,"contentLocale",void 0),Zi([a({type:Number})],Yi.prototype,"pageSize",void 0),Zi([d([])],Yi.prototype,"filters",void 0),Zi([d([])],Yi.prototype,"sort",void 0),Zi([Si({store:"search"})],Yi.prototype,"request",void 0),Zi([Si({store:"search"})],Yi.prototype,"paging",void 0),Zi([Si({store:"search",selector:t=>t.spellcheck})],Yi.prototype,"autocorrect",void 0),Zi([Si({store:Mi.name})],Yi.prototype,"session",void 0),f("ft-search-context")(Yi),t.ClearAllFiltersEvent=Di,t.FtSearchContext=Yi,t.FtSearchContextCssVariables={},t.FtSearchStateManager=Ki,t.LoadErrorEvent=Qi,t.SearchRequestChangeEvent=Xi,t.SearchResultsChangeEvent=Gi,t.styles=Ci}({});
92
+ `}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new oe(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new re(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new te(t))}reloadSavedSearches(){Tr.clearMySearches()}}ee.elementDefinitions={},ee.styles=Ir,Xr([c()],ee.prototype,"query",void 0),Xr([c()],ee.prototype,"contentLocale",void 0),Xr([c({type:Number})],ee.prototype,"pageSize",void 0),Xr([d([])],ee.prototype,"filters",void 0),Xr([d([])],ee.prototype,"sort",void 0),Xr([Rr({store:"search"})],ee.prototype,"request",void 0),Xr([Rr({store:"search"})],ee.prototype,"paging",void 0),Xr([Rr({store:"search",selector:t=>t.spellcheck})],ee.prototype,"autocorrect",void 0),Xr([Rr({store:Kr.name})],ee.prototype,"session",void 0),h("ft-search-context")(ee),t.ClearAllFiltersEvent=Hr,t.FtSearchContext=ee,t.FtSearchContextCssVariables={},t.FtSearchStateManager=qr,t.LoadErrorEvent=te,t.SearchRequestChangeEvent=oe,t.SearchResultsChangeEvent=re,t.styles=Ir}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-context",
3
- "version": "1.0.58",
3
+ "version": "1.0.60",
4
4
  "description": "Context block for integrated search components",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-app-context": "1.0.58",
23
- "@fluid-topics/ft-wc-utils": "1.0.58",
22
+ "@fluid-topics/ft-app-context": "1.0.60",
23
+ "@fluid-topics/ft-wc-utils": "1.0.60",
24
24
  "lit": "2.7.2"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@fluid-topics/public-api": "1.0.45"
28
28
  },
29
- "gitHead": "110d1b1f9cb2239c15279f2e89047b028e15ca61"
29
+ "gitHead": "8eb7c2ef052f5d3f61ed0bf150fcaee093805450"
30
30
  }